Package org.hippoecm.frontend.skin
Enum Class Icon
- All Implemented Interfaces:
Serializable
,Comparable<Icon>
,Constable
References to icons.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getSpriteReference
(IconSize size, String... cssClasses) Returns an inline svg representation of this icon that refers to the icon in the sprite.static Icon
Returns the enum constant of this class with the specified name.static Icon[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ARROW_DOWN
-
ARROW_DOWN_LINE
-
ARROW_FAT_DOWN_CIRCLE
-
ARROW_UP
-
ARROW_UP_LINE
-
ARROW_RIGHT_SQUARE
-
BELL
-
BULLET
-
BULLHORN
-
CALENDAR_DAY
-
CALENDAR_MONTH
-
CARET_DOWN
-
CARET_DOWN_CIRCLE
-
CARET_RIGHT
-
CARET_UP_CIRCLE
-
CHECK_CIRCLE
-
CHECK_CIRCLE_CLOCK
-
CHECK_SQUARE
-
CHEVRON_DOWN_CIRCLE
-
CHEVRON_DOWN
-
CHEVRON_LEFT_CIRCLE
-
CHEVRON_LEFT
-
CHEVRON_RIGHT_CIRCLE
-
CHEVRON_RIGHT
-
CHEVRON_UP_CIRCLE
-
CHEVRON_UP
-
CODE
-
COMPONENT
-
COMPRESS
-
CROP
-
EMPTY
-
EXCLAMATION_CIRCLE
-
EXCLAMATION
-
EXCLAMATION_TRIANGLE
-
EXPAND
-
FILE_COMPOUND
-
FILE_IMAGE
-
FILE
-
FILE_NEWS
-
FILE_PENCIL
-
FILE_TEXT
-
FILES
-
FLASK
-
FLOPPY
-
FOLDER
-
FOLDER_OPEN
-
FONT
-
FORWARD
-
GEAR
-
GLOBE_ABSTRACT
-
GLOBE
-
INFO_CIRCLE
-
INFO
-
LINK
-
LIST_UL
-
LOCKED
-
MIMETYPE_AUDIO
-
MIMETYPE_BINARY
-
MIMETYPE_DOC
-
MIMETYPE_DOCX
-
MIMETYPE_FLASH
-
MIMETYPE_IMAGE
-
MIMETYPE_ODP
-
MIMETYPE_ODS
-
MIMETYPE_ODT
-
MIMETYPE_PDF
-
MIMETYPE_PPT
-
MIMETYPE_PPTX
-
MIMETYPE_RTF
-
MIMETYPE_SXC
-
MIMETYPE_SXI
-
MIMETYPE_SXW
-
MIMETYPE_TEXT
-
MIMETYPE_VIDEO
-
MIMETYPE_XLS
-
MIMETYPE_XLSX
-
MIMETYPE_ZIP
-
MINUS_CIRCLE
-
MINUS_CIRCLE_CLOCK
-
MORE
-
MOVE_INTO
-
PENCIL_SQUARE
-
PIE_CHART
-
PLUS
-
PLUS_SQUARE
-
REFRESH
-
RESTORE
-
SEARCH
-
SORT
-
SORT_BY_ALPHA
-
STEP_BACKWARD
-
STEP_FORWARD
-
THUMBNAILS
-
TIMES
-
TIMES_CIRCLE
-
TRANSLATE
-
TYPE
-
UNLINK
-
UNLOCKED
-
USER_CIRCLE
-
XPAGE_DOCUMENT
-
XPAGE_FOLDER
-
XPAGE_FOLDER_OPEN
-
-
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
-
getIconSprite
-
getSpriteReference
Returns an inline svg representation of this icon that refers to the icon in the sprite. It is of the form<svg class="..css classes.."><use xlink:href="#spriteId"/></svg>
- Parameters:
size
- the size of the icon.cssClasses
- additional CSS classes to set on the SVG element.- See Also:
-
getSpriteId(IconSize)
getCssClasses(IconSize)
-