public static enum CPanelPopup.MenuBehavior extends Enum<CPanelPopup.MenuBehavior>
CPanelPopup behaves if it is a child
of a menu.| Enum Constant and Description |
|---|
DECORATED_DIALOG
the action shows a decorated dialog if triggered
|
HIDE
the action remains invisible
|
SUBMENU
the action pushes the custom component on a
JMenu |
UNDECORATED_DIALOG
the action shows an undecorated dialog if triggered
|
| Modifier and Type | Method and Description |
|---|---|
static CPanelPopup.MenuBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CPanelPopup.MenuBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CPanelPopup.MenuBehavior HIDE
public static final CPanelPopup.MenuBehavior SUBMENU
JMenupublic static final CPanelPopup.MenuBehavior UNDECORATED_DIALOG
public static final CPanelPopup.MenuBehavior DECORATED_DIALOG
public static CPanelPopup.MenuBehavior[] values()
for (CPanelPopup.MenuBehavior c : CPanelPopup.MenuBehavior.values()) System.out.println(c);
public static CPanelPopup.MenuBehavior 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.