Class Icon
- java.lang.Object
-
- com.djrapitops.plan.extension.icon.Icon
-
public class Icon extends java.lang.Object
Object that represents an icon on the website.See https://fontawesome.com/icons (select 'free')) for icons and their
Family
.
-
-
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)
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()
-
-
-
Method Detail
-
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)
-
getFamily
public Family getFamily()
-
getName
public java.lang.String getName()
-
getColor
public Color getColor()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-