Class Icon
- java.lang.Object
-
- com.djrapitops.plan.delivery.rendering.html.icon.Icon
-
public class Icon extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Icon.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
getFamily
public Family getFamily()
-
getName
public java.lang.String getName()
-
getColor
public Color getColor()
-
called
public static Icon.Builder called(java.lang.String name)
-
of
public static Icon.Builder of(Family type)
-
of
public static Icon.Builder of(Color color)
-
setColor
public void setColor(Color color)
-
toHtml
public java.lang.String toHtml()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-