public static enum CPanelPopup.MenuBehavior extends java.lang.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(java.lang.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
JMenu
public 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(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