Package de.xima.fc.workflow.taglib.model
Class ClientIconWrapper
- java.lang.Object
-
- de.xima.fc.workflow.taglib.model.ClientIconWrapper
-
- All Implemented Interfaces:
IGuiIcon
,Serializable
public class ClientIconWrapper extends Object implements IGuiIcon
Wraps aClientIcon
and treats it as aIGuiIcon
.- Since:
- 7.0.1
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClientIconWrapper(ClientIcon icon)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
String
getStyle()
String
getStyleClass()
EIconType
getType()
String
getValue()
boolean
isFaIcon()
boolean
isFcIcon()
boolean
isMaterialIcon()
boolean
isUiIcon()
-
-
-
Constructor Detail
-
ClientIconWrapper
public ClientIconWrapper(ClientIcon icon)
-
-
Method Detail
-
getId
public String getId()
-
getStyle
public String getStyle()
-
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
public EIconType getType()
-
getStyleClass
public String getStyleClass()
- Specified by:
getStyleClass
in interfaceIGuiIcon
- Returns:
- The CSS class(es) that need to be set on an HTML element to create this icon.
-
-