public class Icon
extends java.lang.Object
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) |
static Icon |
fromExtensionIcon(Icon icon) |
Color |
getColor() |
Family |
getFamily() |
java.lang.String |
getName() |
static Icon.Builder |
of(Color color) |
static Icon.Builder |
of(Family type) |
void |
setColor(Color color) |
java.lang.String |
toHtml() |
java.lang.String |
toString() |
public Family getFamily()
public java.lang.String getName()
public Color getColor()
public static Icon.Builder called(java.lang.String name)
public static Icon.Builder of(Family type)
public static Icon.Builder of(Color color)
public void setColor(Color color)
public java.lang.String toHtml()
public java.lang.String toString()
toString
in class java.lang.Object