public static enum Button.ButtonStyleType extends Enum<Button.ButtonStyleType>
Enum Constant and Description |
---|
DANGER |
DEFAULT |
INFO |
LINK |
PRIMARY |
SUCCESS |
WARNING |
Modifier and Type | Method and Description |
---|---|
String |
getCssClass() |
static Button.ButtonStyleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Button.ButtonStyleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Button.ButtonStyleType DEFAULT
public static final Button.ButtonStyleType PRIMARY
public static final Button.ButtonStyleType SUCCESS
public static final Button.ButtonStyleType INFO
public static final Button.ButtonStyleType WARNING
public static final Button.ButtonStyleType DANGER
public static final Button.ButtonStyleType LINK
public static Button.ButtonStyleType[] values()
for (Button.ButtonStyleType c : Button.ButtonStyleType.values()) System.out.println(c);
public static Button.ButtonStyleType 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 getCssClass()
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.