com.vaadin.flow.theme.lumo.
Enum LumoIcon
- java.lang.Object
-
- java.lang.Enum<LumoIcon>
-
- com.vaadin.flow.theme.lumo.LumoIcon
-
All Implemented Interfaces:
public enum LumoIcon extends Enum<LumoIcon> implements IconFactory
Enumeration of all icons in the Lumo Icons collection.
These instances can be used to create
Icon
components by using theircreate()
method.NOTE: Using this enum will also include the Vaadin icon set in the frontend bundle.
Author:
Vaadin Ltd
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALIGN_CENTER
ALIGN_LEFT
ALIGN_RIGHT
ANGLE_DOWN
ANGLE_LEFT
ANGLE_RIGHT
ANGLE_UP
ARROW_DOWN
ARROW_LEFT
ARROW_RIGHT
ARROW_UP
BAR_CHART
BELL
CALENDAR
CHECKMARK
CHEVRON_DOWN
CHEVRON_LEFT
CHEVRON_RIGHT
CHEVRON_UP
CLOCK
COG
CROSS
DOWNLOAD
DROPDOWN
EDIT
ERROR
EYE
EYE_DISABLED
MENU
MINUS
ORDERED_LIST
PHONE
PHOTO
PLAY
PLUS
REDO
RELOAD
SEARCH
UNDO
UNORDERED_LIST
UPLOAD
USER
-
Method Summary
All Methods Modifier and Type Method Description Icon
create()
Creates a new
Icon
instance with the icon determined by the name of this instance.static LumoIcon
valueOf​(String name)
Returns the enum constant of this type with the specified name.
static LumoIcon[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALIGN_CENTER
public static final LumoIcon ALIGN_CENTER
-
ALIGN_LEFT
public static final LumoIcon ALIGN_LEFT
-
ALIGN_RIGHT
public static final LumoIcon ALIGN_RIGHT
-
ANGLE_DOWN
public static final LumoIcon ANGLE_DOWN
-
ANGLE_LEFT
public static final LumoIcon ANGLE_LEFT
-
ANGLE_RIGHT
public static final LumoIcon ANGLE_RIGHT
-
ANGLE_UP
public static final LumoIcon ANGLE_UP
-
ARROW_DOWN
public static final LumoIcon ARROW_DOWN
-
ARROW_LEFT
public static final LumoIcon ARROW_LEFT
-
ARROW_RIGHT
public static final LumoIcon ARROW_RIGHT
-
ARROW_UP
public static final LumoIcon ARROW_UP
-
BAR_CHART
public static final LumoIcon BAR_CHART
-
BELL
public static final LumoIcon BELL
-
CALENDAR
public static final LumoIcon CALENDAR
-
CHECKMARK
public static final LumoIcon CHECKMARK
-
CHEVRON_DOWN
public static final LumoIcon CHEVRON_DOWN
-
CHEVRON_LEFT
public static final LumoIcon CHEVRON_LEFT
-
CHEVRON_RIGHT
public static final LumoIcon CHEVRON_RIGHT
-
CHEVRON_UP
public static final LumoIcon CHEVRON_UP
-
CLOCK
public static final LumoIcon CLOCK
-
COG
public static final LumoIcon COG
-
CROSS
public static final LumoIcon CROSS
-
DOWNLOAD
public static final LumoIcon DOWNLOAD
-
DROPDOWN
public static final LumoIcon DROPDOWN
-
EDIT
public static final LumoIcon EDIT
-
ERROR
public static final LumoIcon ERROR
-
EYE
public static final LumoIcon EYE
-
EYE_DISABLED
public static final LumoIcon EYE_DISABLED
-
MENU
public static final LumoIcon MENU
-
MINUS
public static final LumoIcon MINUS
-
ORDERED_LIST
public static final LumoIcon ORDERED_LIST
-
PHONE
public static final LumoIcon PHONE
-
PHOTO
public static final LumoIcon PHOTO
-
PLAY
public static final LumoIcon PLAY
-
PLUS
public static final LumoIcon PLUS
-
REDO
public static final LumoIcon REDO
-
RELOAD
public static final LumoIcon RELOAD
-
SEARCH
public static final LumoIcon SEARCH
-
UNDO
public static final LumoIcon UNDO
-
UNORDERED_LIST
public static final LumoIcon UNORDERED_LIST
-
UPLOAD
public static final LumoIcon UPLOAD
-
USER
public static final LumoIcon USER
-
-
Method Detail
-
values
public static LumoIcon[] 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 (LumoIcon c : LumoIcon.values()) System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LumoIcon 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
-
create
public Icon create()
Creates a new
Icon
instance with the icon determined by the name of this instance.Specified by:
create
in interfaceIconFactory
Returns:
a new instance of
Icon
component
-
-