Class CustomGuiIcon
java.lang.Object
de.xima.fc.mdl.ui.CustomGuiIcon
- All Implemented Interfaces:
IGuiIcon, Serializable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA new builder for a custom GUI icon. -
Method Summary
Modifier and TypeMethodDescriptionstatic CustomGuiIcon.Builderbuilder()Creates a new builder for a custom GUI icon.getCss()Additional CSS that needs to be added to the page for this icon to work.getId()getStyle()getType()getValue()booleanisFaIcon()booleanisFcIcon()booleanbooleanisUiIcon()
-
Method Details
-
getCss
-
getId
-
getStyle
-
getStyleClass
- Specified by:
getStyleClassin interfaceIGuiIcon- Returns:
- The CSS class(es) that need to be set on an HTML element to create this icon.
-
getType
-
getValue
-
isFaIcon
public boolean isFaIcon()- Specified by:
isFaIconin interfaceIGuiIcon- Returns:
- Whether the
IGuiIcon.getType()refers to an icon from the Font Awesome icon font.
-
isFcIcon
public boolean isFcIcon()- Specified by:
isFcIconin interfaceIGuiIcon- Returns:
- Whether the
IGuiIcon.getType()refers to an icon from the formcycle icon font.
-
isMaterialIcon
public boolean isMaterialIcon()- Specified by:
isMaterialIconin interfaceIGuiIcon- Returns:
- Whether the
IGuiIcon.getType()refers to an icon from the material icons font.
-
isUiIcon
public boolean isUiIcon()- Specified by:
isUiIconin interfaceIGuiIcon- Returns:
- Whether the
IGuiIcon.getType()refers to an icon from the UI (primefaces) icon font.
-
builder
Creates a new builder for a custom GUI icon.- Returns:
- A new builder for a custom GUI icon.
-