public static enum Messagebox.Button extends java.lang.Enum<Messagebox.Button>
Enum Constant and Description |
---|
ABORT
A Abort button.
|
CANCEL
A Cancel button.
|
IGNORE
A IGNORE button.
|
NO
A No button.
|
OK
A OK button.
|
RETRY
A Retry button.
|
YES
A Yes button.
|
Modifier and Type | Field and Description |
---|---|
java.lang.String |
event
The event name associated with this button type.
|
int |
id
The unique ID to represent this button type.
|
int |
label
The message ID used for loading the label.
|
Modifier and Type | Method and Description |
---|---|
static Messagebox.Button |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Messagebox.Button[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Messagebox.Button OK
public static final Messagebox.Button CANCEL
public static final Messagebox.Button YES
public static final Messagebox.Button NO
public static final Messagebox.Button ABORT
public static final Messagebox.Button RETRY
public static final Messagebox.Button IGNORE
public final int id
public final java.lang.String event
public final int label
Messages
public static Messagebox.Button[] values()
for (Messagebox.Button c : Messagebox.Button.values()) System.out.println(c);
public static Messagebox.Button 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 namejava.lang.NullPointerException
- if the argument is nullCopyright © 2005-2011 Potix Corporation. All Rights Reserved.