|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<DialogButtons>
com.smartgwt.client.types.DialogButtons
public enum DialogButtons
Default buttons that you can use in your Dialogs.
On click these call canonical methods that you can override in your Dialog.
Refer to these buttons via the syntax isc.Dialog.OK when passing them into buttons or into the properties argument of helper methods
such as isc.say.
| Enum Constant Summary | |
|---|---|
APPLY
Button object to fire dialog's "applyClick()" method on click. |
|
CANCEL
Button object to fire dialog's "cancelClick()" method on click. |
|
DONE
Button object to fire dialog's "doneClick()" method on click. |
|
NO
Button object to fire dialog's "noClick()" method on click. |
|
OK
Button object to fire dialog's "okClick()" method on click. |
|
YES
Button object to fire dialog's "yesClick()" method on click Title derived from YES_BUTTON_TITLE. |
|
| Method Summary | |
|---|---|
String |
getValue()
|
static DialogButtons |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DialogButtons[] |
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 DialogButtons OK
OK_BUTTON_TITLE.
public static final DialogButtons APPLY
APPLY_BUTTON_TITLE.
public static final DialogButtons YES
YES_BUTTON_TITLE.
public static final DialogButtons NO
NO_BUTTON_TITLE.
public static final DialogButtons CANCEL
CANCEL_BUTTON_TITLE.
public static final DialogButtons DONE
DONE_BUTTON_TITLE.
| Method Detail |
|---|
public static DialogButtons[] values()
for (DialogButtons c : DialogButtons.values()) System.out.println(c);
public static DialogButtons valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getValue()
getValue in interface ValueEnum
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||