Package de.xima.fc.mdl.ui
Class CustomGuiIcon
java.lang.Object
de.xima.fc.mdl.ui.CustomGuiIcon
- All Implemented Interfaces:
IGuiIcon
,Serializable
A custom GUI icon with a freely configurable style, style class, and value.
- Since:
- 8.0.1
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Method Details
-
getId
-
isFcIcon
public boolean isFcIcon()- Specified by:
isFcIcon
in interfaceIGuiIcon
- Returns:
- Whether the
IGuiIcon.getType()
refers to an icon from the formcycle icon font.
-
isFaIcon
public boolean isFaIcon()- Specified by:
isFaIcon
in interfaceIGuiIcon
- Returns:
- Whether the
IGuiIcon.getType()
refers to an icon from the Font Awesome icon font.
-
isUiIcon
public boolean isUiIcon()- Specified by:
isUiIcon
in interfaceIGuiIcon
- Returns:
- Whether the
IGuiIcon.getType()
refers to an icon from the UI (primefaces) icon font.
-
isMaterialIcon
public boolean isMaterialIcon()- Specified by:
isMaterialIcon
in interfaceIGuiIcon
- Returns:
- Whether the
IGuiIcon.getType()
refers to an icon from the material icons font.
-
getType
-
getStyleClass
- Specified by:
getStyleClass
in interfaceIGuiIcon
- Returns:
- The CSS class(es) that need to be set on an HTML element to create this icon.
-
getStyle
-
getValue
-
builder
Creates a new builder for a custom GUI icon.- Returns:
- A new builder for a custom GUI icon.
-