public class Icon
extends java.lang.Object
See https://fontawesome.com/icons (select 'free')) for icons and their Family
.
Modifier and Type | Class and Description |
---|---|
static class |
Icon.Builder |
Constructor and Description |
---|
Icon(Family type,
java.lang.String name,
Color color) |
Modifier and Type | Method and Description |
---|---|
static Icon.Builder |
called(java.lang.String name) |
Color |
getColor() |
Family |
getFamily() |
java.lang.String |
getName() |
static Icon.Builder |
of(Color color) |
static Icon.Builder |
of(Family type) |
Icon |
setColor(Color color) |
java.lang.String |
toString() |
public static Icon.Builder called(java.lang.String name)
public static Icon.Builder of(Family type)
public static Icon.Builder of(Color color)
public Family getFamily()
public java.lang.String getName()
public Color getColor()
public java.lang.String toString()
toString
in class java.lang.Object