|
|||||||||
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
when passing them into
com.smartgwt.client.widgets.Dialog#OK
toolbarButtons
or into the properties
argument of
helper
methods such as SC.say(java.lang.String)
.
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. |
|
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. |
Method Summary | |
---|---|
java.lang.String |
getValue()
|
static DialogButtons |
valueOf(java.lang.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're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DialogButtons OK
com.smartgwt.client.widgets.Dialog#OK_BUTTON_TITLE
.
public static final DialogButtons APPLY
com.smartgwt.client.widgets.Dialog#APPLY_BUTTON_TITLE
.
public static final DialogButtons YES
com.smartgwt.client.widgets.Dialog#YES_BUTTON_TITLE
.
public static final DialogButtons NO
com.smartgwt.client.widgets.Dialog#NO_BUTTON_TITLE
.
public static final DialogButtons CANCEL
com.smartgwt.client.widgets.Dialog#CANCEL_BUTTON_TITLE
.
Method Detail |
---|
public static final DialogButtons[] values()
for(DialogButtons c : DialogButtons.values()) System.out.println(c);
public static DialogButtons 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 namepublic java.lang.String getValue()
getValue
in interface ValueEnum
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |