Package org.openstreetmap.josm.gui
Enum MainMenu.WINDOW_MENU_GROUP
- java.lang.Object
-
- java.lang.Enum<MainMenu.WINDOW_MENU_GROUP>
-
- org.openstreetmap.josm.gui.MainMenu.WINDOW_MENU_GROUP
-
- All Implemented Interfaces:
Serializable
,Comparable<MainMenu.WINDOW_MENU_GROUP>
- Enclosing class:
- MainMenu
public static enum MainMenu.WINDOW_MENU_GROUP extends Enum<MainMenu.WINDOW_MENU_GROUP>
The possible item groups of the Windows menu.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALWAYS
Entries always displayed, at the topTOGGLE_DIALOG
Entries displayed only for visible toggle dialogsVOLATILE
Volatile entries displayed at the end
-
Constructor Summary
Constructors Modifier Constructor Description private
WINDOW_MENU_GROUP()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MainMenu.WINDOW_MENU_GROUP
valueOf(String name)
Returns the enum constant of this type with the specified name.static MainMenu.WINDOW_MENU_GROUP[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALWAYS
public static final MainMenu.WINDOW_MENU_GROUP ALWAYS
Entries always displayed, at the top
-
TOGGLE_DIALOG
public static final MainMenu.WINDOW_MENU_GROUP TOGGLE_DIALOG
Entries displayed only for visible toggle dialogs
-
VOLATILE
public static final MainMenu.WINDOW_MENU_GROUP VOLATILE
Volatile entries displayed at the end
-
-
Constructor Detail
-
WINDOW_MENU_GROUP
private WINDOW_MENU_GROUP()
-
-
Method Detail
-
values
public static MainMenu.WINDOW_MENU_GROUP[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MainMenu.WINDOW_MENU_GROUP c : MainMenu.WINDOW_MENU_GROUP.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MainMenu.WINDOW_MENU_GROUP valueOf(String name)
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
-
-