|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<StandardButton>
eu.webtoolkit.jwt.StandardButton
public enum StandardButton
Enumeration that indicates a standard button.
Multiple buttons may be specified by logically or'ing these values together, e.g.
Ok | Cancel
WMessageBox| Enum Constant Summary | |
|---|---|
Abort
An Abort button. |
|
Cancel
A Cancel button. |
|
Ignore
An Ignore button. |
|
No
A No button. |
|
NoAll
A No-to-All button. |
|
NoButton
No button. |
|
Ok
An OK button. |
|
Retry
A Retry button. |
|
Yes
A Yes button. |
|
YesAll
A Yes-to-All button. |
|
| Method Summary | |
|---|---|
int |
getValue()
Returns the numerical representation of this enum. |
static StandardButton |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static StandardButton[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final StandardButton NoButton
public static final StandardButton Ok
public static final StandardButton Cancel
public static final StandardButton Yes
public static final StandardButton No
public static final StandardButton Abort
public static final StandardButton Retry
public static final StandardButton Ignore
public static final StandardButton YesAll
public static final StandardButton NoAll
| Method Detail |
|---|
public static StandardButton[] values()
for (StandardButton c : StandardButton.values()) System.out.println(c);
public static StandardButton valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic int getValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||