public enum Icon extends Enum<Icon>
Modifier and Type | Method and Description |
---|---|
static String |
getIconSprite() |
String |
getSpriteReference(IconSize size,
String... cssClasses)
Returns an inline svg representation of this icon that refers to the icon in the sprite.
|
static Icon |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Icon[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Icon ARROW_DOWN
public static final Icon ARROW_FAT_DOWN_CIRCLE
public static final Icon ARROW_UP
public static final Icon ARROW_RIGHT_SQUARE
public static final Icon BELL
public static final Icon BULLET
public static final Icon BULLHORN
public static final Icon CALENDAR_DAY
public static final Icon CALENDAR_MONTH
public static final Icon CARET_DOWN
public static final Icon CARET_DOWN_CIRCLE
public static final Icon CARET_RIGHT
public static final Icon CARET_UP_CIRCLE
public static final Icon CHECK_CIRCLE
public static final Icon CHECK_CIRCLE_CLOCK
public static final Icon CHECK_SQUARE
public static final Icon CHEVRON_DOWN_CIRCLE
public static final Icon CHEVRON_DOWN
public static final Icon CHEVRON_LEFT_CIRCLE
public static final Icon CHEVRON_LEFT
public static final Icon CHEVRON_RIGHT_CIRCLE
public static final Icon CHEVRON_RIGHT
public static final Icon CHEVRON_UP_CIRCLE
public static final Icon CHEVRON_UP
public static final Icon CODE
public static final Icon COMPONENT
public static final Icon COMPRESS
public static final Icon CROP
public static final Icon EMPTY
public static final Icon EXCLAMATION_CIRCLE
public static final Icon EXCLAMATION
public static final Icon EXCLAMATION_TRIANGLE
public static final Icon EXPAND
public static final Icon FILE_COMPOUND
public static final Icon FILE_IMAGE
public static final Icon FILE
public static final Icon FILE_NEWS
public static final Icon FILE_PENCIL
public static final Icon FILE_TEXT
public static final Icon FILES
public static final Icon FLASK
public static final Icon FLOPPY
public static final Icon FOLDER
public static final Icon FOLDER_OPEN
public static final Icon FONT
public static final Icon FORWARD
public static final Icon GEAR
public static final Icon GLOBE_ABSTRACT
public static final Icon GLOBE
public static final Icon INFO_CIRCLE
public static final Icon INFO
public static final Icon LINK
public static final Icon LIST_UL
public static final Icon LOCKED
public static final Icon MIMETYPE_AUDIO
public static final Icon MIMETYPE_BINARY
public static final Icon MIMETYPE_DOC
public static final Icon MIMETYPE_DOCX
public static final Icon MIMETYPE_FLASH
public static final Icon MIMETYPE_IMAGE
public static final Icon MIMETYPE_ODP
public static final Icon MIMETYPE_ODS
public static final Icon MIMETYPE_ODT
public static final Icon MIMETYPE_PDF
public static final Icon MIMETYPE_PPT
public static final Icon MIMETYPE_PPTX
public static final Icon MIMETYPE_RTF
public static final Icon MIMETYPE_SXC
public static final Icon MIMETYPE_SXI
public static final Icon MIMETYPE_SXW
public static final Icon MIMETYPE_TEXT
public static final Icon MIMETYPE_VIDEO
public static final Icon MIMETYPE_XLS
public static final Icon MIMETYPE_XLSX
public static final Icon MIMETYPE_ZIP
public static final Icon MINUS_CIRCLE
public static final Icon MINUS_CIRCLE_CLOCK
public static final Icon MOVE_INTO
public static final Icon PENCIL_SQUARE
public static final Icon PIE_CHART
public static final Icon PLUS
public static final Icon PLUS_SQUARE
public static final Icon REFRESH
public static final Icon RESTORE
public static final Icon SEARCH
public static final Icon SORT
public static final Icon STEP_BACKWARD
public static final Icon STEP_FORWARD
public static final Icon THUMBNAILS
public static final Icon TIMES
public static final Icon TIMES_CIRCLE
public static final Icon TRANSLATE
public static final Icon TYPE
public static final Icon UNLINK
public static final Icon UNLOCKED
public static final Icon USER_CIRCLE
public static Icon[] values()
for (Icon c : Icon.values()) System.out.println(c);
public static Icon valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static String getIconSprite()
public String getSpriteReference(IconSize size, String... cssClasses)
size
- the size of the icon.cssClasses
- additional CSS classes to set on the SVG element.getSpriteId(IconSize)
,
getCssClasses(IconSize)
Copyright © 2007–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.