public enum PlacesIcons extends Enum<PlacesIcons> 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 |
PlacesIcons.Icon
Server side component for
PlacesIcons |
| Enum Constant and Description |
|---|
AC_UNIT
The places:ac-unit icon.See example
|
AIRPORT_SHUTTLE
The places:airport-shuttle icon.See example
|
ALL_INCLUSIVE
The places:all-inclusive icon.See example
|
BEACH_ACCESS
The places:beach-access icon.See example
|
BUSINESS_CENTER
The places:business-center icon.See example
|
CASINO
The places:casino icon.See example
|
CHILD_CARE
The places:child-care icon.See example
|
CHILD_FRIENDLY
The places:child-friendly icon.See example
|
FITNESS_CENTER
The places:fitness-center icon.See example
|
FREE_BREAKFAST
The places:free-breakfast icon.See example
|
GOLF_COURSE
The places:golf-course icon.See example
|
HOT_TUB
The places:hot-tub icon.See example
|
KITCHEN
The places:kitchen icon.See example
|
POOL
The places:pool icon.See example
|
ROOM_SERVICE
The places:room-service icon.See example
|
RV_HOOKUP
The places:rv-hookup icon.See example
|
SMOKE_FREE
The places:smoke-free icon.See example
|
SMOKING_ROOMS
The places:smoking-rooms icon.See example
|
SPA
The places:spa icon.See example
|
| Modifier and Type | Field and Description |
|---|---|
static String |
ICONSET
The Iconset name, i.e.
|
static String |
URL
The HTML resource that contains the places iconset
|
| Modifier and Type | Method and Description |
|---|---|
PlacesIcons.Icon |
create()
Create a new
IronIcon instance with the icon determined by the name. |
PlacesIcons.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 PlacesIcons |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlacesIcons[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlacesIcons AC_UNIT
public static final PlacesIcons AIRPORT_SHUTTLE
public static final PlacesIcons ALL_INCLUSIVE
public static final PlacesIcons BEACH_ACCESS
public static final PlacesIcons BUSINESS_CENTER
public static final PlacesIcons CASINO
public static final PlacesIcons CHILD_CARE
public static final PlacesIcons CHILD_FRIENDLY
public static final PlacesIcons FITNESS_CENTER
public static final PlacesIcons FREE_BREAKFAST
public static final PlacesIcons GOLF_COURSE
public static final PlacesIcons HOT_TUB
public static final PlacesIcons KITCHEN
public static final PlacesIcons POOL
public static final PlacesIcons ROOM_SERVICE
public static final PlacesIcons RV_HOOKUP
public static final PlacesIcons SMOKE_FREE
public static final PlacesIcons SMOKING_ROOMS
public static final PlacesIcons SPA
public static final String URL
public static final String ICONSET
"places"."public static PlacesIcons[] values()
for (PlacesIcons c : PlacesIcons.values()) System.out.println(c);
public static PlacesIcons 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"places:name"..public PlacesIcons.Icon create()
IronIcon instance with the icon determined by the name.create in interface IronIconEnumIronIcon componentpublic PlacesIcons.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 Flowing Code. All rights reserved.