public static enum JCommandButton.CommandButtonPopupOrientationKind extends java.lang.Enum<JCommandButton.CommandButtonPopupOrientationKind>
Enum Constant | Description |
---|---|
DOWNWARD |
Indicates that the popup should be displayed below the button.
|
SIDEWARD |
Indicates that the popup should be displayed to the side of the
button.
|
Modifier and Type | Method | Description |
---|---|---|
static JCommandButton.CommandButtonPopupOrientationKind |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static JCommandButton.CommandButtonPopupOrientationKind[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JCommandButton.CommandButtonPopupOrientationKind DOWNWARD
public static final JCommandButton.CommandButtonPopupOrientationKind SIDEWARD
public static JCommandButton.CommandButtonPopupOrientationKind[] values()
for (JCommandButton.CommandButtonPopupOrientationKind c : JCommandButton.CommandButtonPopupOrientationKind.values()) System.out.println(c);
public static JCommandButton.CommandButtonPopupOrientationKind 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 null