public enum FileIcons extends Enum<FileIcons> implements IronIconEnum
These instances can be used to create IronIcon components either by using
their create() method or by passing them to Icon's constructor.
| Modifier and Type | Class and Description |
|---|---|
static class |
FileIcons.Icon
Server side component for
FileIcons |
| Enum Constant and Description |
|---|
AUDIO
The file:audio icon.See example
|
CHART
The file:chart icon.See example
|
DOCUMENT
The file:document icon.See example
|
EXCEL
The file:excel icon.See example
|
GENERIC
The file:generic icon.See example
|
HTML
The file:html icon.See example
|
IMAGE
The file:image icon.See example
|
PDF
The file:pdf icon.See example
|
POWERPOINT
The file:powerpoint icon.See example
|
VIDEO
The file:video icon.See example
|
WORD
The file:word icon.See example
|
XML
The file:xml icon.See example
|
ZIP
The file:zip icon.See example
|
| Modifier and Type | Field and Description |
|---|---|
static String |
ICONSET
The Iconset name, i.e.
|
| Modifier and Type | Method and Description |
|---|---|
FileIcons.Icon |
create()
Create a new
IronIcon instance with the icon determined by the name. |
FileIcons.Icon |
create(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.icon.IronIcon>> listener)
Create a new
IronIcon instance with the icon determined by the name and a listener for click events. |
String |
getIconName()
Return the icon name.
|
static FileIcons |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileIcons[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final String ICONSET
"file"."public static FileIcons[] values()
for (FileIcons c : FileIcons.values()) System.out.println(c);
public static FileIcons 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 String getIconName()
getIconName in interface IronIconEnum"file:name"..public FileIcons.Icon create()
IronIcon instance with the icon determined by the name.create in interface IronIconEnumIronIcon componentpublic FileIcons.Icon create(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.icon.IronIcon>> listener)
IronIcon instance with the icon determined by the name and a listener for click events.listener - the event listener for click eventsIronIcon componentCopyright © 2019–2020 Flowing Code. All rights reserved.