|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<JCommandButton.CommandButtonKind>
org.pushingpixels.flamingo.api.common.JCommandButton.CommandButtonKind
public static enum JCommandButton.CommandButtonKind
Enumerates the available command button kinds.
Enum Constant Summary | |
---|---|
ACTION_AND_POPUP_MAIN_ACTION
Command button that has both action and popup areas, with the main text click activating the action. |
|
ACTION_AND_POPUP_MAIN_POPUP
Command button that has both action and popup areas, with the main text click activating the popup. |
|
ACTION_ONLY
Command button that has only action area. |
|
POPUP_ONLY
Command button that has only popup area. |
Method Summary | |
---|---|
boolean |
hasAction()
Returns indication whether this command button kind has an action. |
boolean |
hasPopup()
Returns indication whether this command button kind has a popup. |
static JCommandButton.CommandButtonKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static JCommandButton.CommandButtonKind[] |
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 JCommandButton.CommandButtonKind ACTION_ONLY
public static final JCommandButton.CommandButtonKind POPUP_ONLY
public static final JCommandButton.CommandButtonKind ACTION_AND_POPUP_MAIN_ACTION
public static final JCommandButton.CommandButtonKind ACTION_AND_POPUP_MAIN_POPUP
Method Detail |
---|
public static JCommandButton.CommandButtonKind[] values()
for (JCommandButton.CommandButtonKind c : JCommandButton.CommandButtonKind.values()) System.out.println(c);
public static JCommandButton.CommandButtonKind 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 boolean hasAction()
true
if the command button kind has an action,
false
otherwise.public boolean hasPopup()
true
if the command button kind has a popup,
false
otherwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |