public static enum CPanelPopup.ButtonBehavior extends Enum<CPanelPopup.ButtonBehavior>
| Enum Constant and Description |
|---|
OPEN_ON_CLICK
the popup shows up if the mouse is released
|
OPEN_ON_PRESS
the popup shows up if the mouse is pressed
|
| Modifier and Type | Method and Description |
|---|---|
static CPanelPopup.ButtonBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CPanelPopup.ButtonBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CPanelPopup.ButtonBehavior OPEN_ON_PRESS
public static final CPanelPopup.ButtonBehavior OPEN_ON_CLICK
public static CPanelPopup.ButtonBehavior[] values()
for (CPanelPopup.ButtonBehavior c : CPanelPopup.ButtonBehavior.values()) System.out.println(c);
public static CPanelPopup.ButtonBehavior valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018. All rights reserved.