public static enum PbSaveButton.ButtonStyle extends Enum<PbSaveButton.ButtonStyle>
| Enum Constant and Description |
|---|
DANGER |
DEFAULT |
INFO |
LINK |
PRIMARY |
SUCCESS |
WARNING |
| Modifier and Type | Method and Description |
|---|---|
static PbSaveButton.ButtonStyle |
fromValue(String value) |
String |
toString() |
String |
value() |
static PbSaveButton.ButtonStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PbSaveButton.ButtonStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PbSaveButton.ButtonStyle DEFAULT
public static final PbSaveButton.ButtonStyle PRIMARY
public static final PbSaveButton.ButtonStyle SUCCESS
public static final PbSaveButton.ButtonStyle INFO
public static final PbSaveButton.ButtonStyle WARNING
public static final PbSaveButton.ButtonStyle DANGER
public static final PbSaveButton.ButtonStyle LINK
public static PbSaveButton.ButtonStyle[] values()
for (PbSaveButton.ButtonStyle c : PbSaveButton.ButtonStyle.values()) System.out.println(c);
public static PbSaveButton.ButtonStyle 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 toString()
toString in class Enum<PbSaveButton.ButtonStyle>public String value()
public static PbSaveButton.ButtonStyle fromValue(String value)
Copyright © 2020. All rights reserved.