Package org.hippoecm.frontend.skin
Enum CmsIcon
- java.lang.Object
-
- java.lang.Enum<CmsIcon>
-
- org.hippoecm.frontend.skin.CmsIcon
-
- All Implemented Interfaces:
Serializable
,Comparable<CmsIcon>
public enum CmsIcon extends Enum<CmsIcon>
References to icons that are only available in the CMS (as opposed to icons inIcon
that are coming from the Hippo Theme).
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AJAX_LOADER
DELETE
DELETE_HOVER
FILE_UNLOCKED
FLOPPY_TIMES_CIRCLE
HELP
OVERLAY_PLUS
SORT_ASCENDING
SORT_DESCENDING
STATEORDER_DOWN
STATEORDER_HOVER
STATEORDER_NONE
STATEORDER_UP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getInlineSvg(IconSize size, String... cssClasses)
Returns an inline svg representation of this icon.static CmsIcon
valueOf(String name)
Returns the enum constant of this type with the specified name.static CmsIcon[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AJAX_LOADER
public static final CmsIcon AJAX_LOADER
-
DELETE
public static final CmsIcon DELETE
-
DELETE_HOVER
public static final CmsIcon DELETE_HOVER
-
FILE_UNLOCKED
public static final CmsIcon FILE_UNLOCKED
-
FLOPPY_TIMES_CIRCLE
public static final CmsIcon FLOPPY_TIMES_CIRCLE
-
HELP
public static final CmsIcon HELP
-
OVERLAY_PLUS
public static final CmsIcon OVERLAY_PLUS
-
SORT_ASCENDING
public static final CmsIcon SORT_ASCENDING
-
SORT_DESCENDING
public static final CmsIcon SORT_DESCENDING
-
STATEORDER_DOWN
public static final CmsIcon STATEORDER_DOWN
-
STATEORDER_HOVER
public static final CmsIcon STATEORDER_HOVER
-
STATEORDER_NONE
public static final CmsIcon STATEORDER_NONE
-
STATEORDER_UP
public static final CmsIcon STATEORDER_UP
-
-
Method Detail
-
values
public static CmsIcon[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CmsIcon c : CmsIcon.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CmsIcon valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-