Enum DialogsPanel.Action
- java.lang.Object
-
- java.lang.Enum<DialogsPanel.Action>
-
- org.openstreetmap.josm.gui.dialogs.DialogsPanel.Action
-
- All Implemented Interfaces:
Serializable
,Comparable<DialogsPanel.Action>
- Enclosing class:
- DialogsPanel
public static enum DialogsPanel.Action extends Enum<DialogsPanel.Action>
What action was performed to trigger the reconstruction
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COLLAPSED_TO_DEFAULT
The panel was collapsed by the user.ELEMENT_SHRINKS
else.INVISIBLE_TO_DEFAULT
The panel was invisible previouslyRESTORE_SAVED
Restore saved heights.
-
Constructor Summary
Constructors Modifier Constructor Description private
Action()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DialogsPanel.Action
valueOf(String name)
Returns the enum constant of this type with the specified name.static DialogsPanel.Action[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVISIBLE_TO_DEFAULT
public static final DialogsPanel.Action INVISIBLE_TO_DEFAULT
The panel was invisible previously
-
COLLAPSED_TO_DEFAULT
public static final DialogsPanel.Action COLLAPSED_TO_DEFAULT
The panel was collapsed by the user.
-
RESTORE_SAVED
public static final DialogsPanel.Action RESTORE_SAVED
Restore saved heights.- Since:
- 14425
-
ELEMENT_SHRINKS
public static final DialogsPanel.Action ELEMENT_SHRINKS
else. (Remaining elements have more space.)
-
-
Constructor Detail
-
Action
private Action()
-
-
Method Detail
-
values
public static DialogsPanel.Action[] 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 (DialogsPanel.Action c : DialogsPanel.Action.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DialogsPanel.Action 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
-
-