Enum Class CommonsDemoIcons
- All Implemented Interfaces:
IconFactory,Serializable,Comparable<CommonsDemoIcons>,Constable
CommonsDemo icons.
- Author:
- Javier Godoy / Flowing Code
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classServer side component for CommonsDemo icons.Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a newCommonsDemoIcons.Iconinstance with the icon determined by the name.Return the full icon name.Return the icon name within the iconset.static CommonsDemoIconsReturns the enum constant of this class with the specified name.static CommonsDemoIcons[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ROTATE
-
FLIP
-
HIDE_SOURCE
-
SHOW_SOURCE
-
GITHUB
-
HOME
-
DARK_MODE
-
LIGHT_MODE
-
SETTINGS
-
THEME
-
-
Field Details
-
ICONSET
The Iconset name, i.e."commons-demo".- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getIconName
Return the full icon name.- Returns:
- the full icon name, i.e.
"commons-demo:name".
-
getIconPart
Return the icon name within the iconset.- Returns:
- the icon name, i.e.
"name".
-
create
Create a newCommonsDemoIcons.Iconinstance with the icon determined by the name.- Specified by:
createin interfaceIconFactory- Returns:
- a new instance of
CommonsDemoIcons.Iconcomponent
-