com.vaadin.flow.theme.lumo.
Enum Class LumoIcon
All Implemented Interfaces:
Enumeration of all icons in the Lumo Icons collection.
These instances can be used to create Icon
components by using their
create()
method.
NOTE: Using this enum will also include the Vaadin icon set in the frontend bundle.
Author:
Vaadin Ltd
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptioncreate()
Creates a new
Icon
instance with the icon determined by the name of this instance.static LumoIcon
Returns the enum constant of this class with the specified name.
static LumoIcon[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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 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 -
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
-