Package org.graffiti.editor
Enum MainFrame.HideOrDeactivateMenu
- All Implemented Interfaces:
Serializable
,Comparable<MainFrame.HideOrDeactivateMenu>
,java.lang.constant.Constable
- Enclosing class:
- MainFrame
public static enum MainFrame.HideOrDeactivateMenu extends Enum<MainFrame.HideOrDeactivateMenu>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants Enum Constant Description DISABLE_INACTIVE_MENUITEMS
All deactivated menuitems will still be shown (standard behaviour).HIDE_INACTIVE_MENUITEMS_AND_HIDE_MENU
All deactivated menuitems will also not be shown.HIDE_MENU_IF_ALL_DISABLED
If all menuitems of a menu are deactivated hide the menu. -
Method Summary
Modifier and Type Method Description static MainFrame.HideOrDeactivateMenu
valueOf(String name)
Returns the enum constant of this type with the specified name.static MainFrame.HideOrDeactivateMenu[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
DISABLE_INACTIVE_MENUITEMS
All deactivated menuitems will still be shown (standard behaviour). -
HIDE_MENU_IF_ALL_DISABLED
If all menuitems of a menu are deactivated hide the menu. -
HIDE_INACTIVE_MENUITEMS_AND_HIDE_MENU
All deactivated menuitems will also not be shown.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-