|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Messagebox.Button>
org.zkoss.zul.Messagebox.Button
public static enum Messagebox.Button
The button types.
Enum Constant Summary | |
---|---|
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. |
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
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 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
Field Detail |
---|
public final int id
public final java.lang.String event
public final int label
Messages
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |