Package com.metsci.glimpse.docking
Enum DockingFrameCloseOperation
- java.lang.Object
-
- java.lang.Enum<DockingFrameCloseOperation>
-
- com.metsci.glimpse.docking.DockingFrameCloseOperation
-
- All Implemented Interfaces:
Serializable
,Comparable<DockingFrameCloseOperation>
public enum DockingFrameCloseOperation extends Enum<DockingFrameCloseOperation>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISPOSE_ALL_FRAMES
DISPOSE_CLOSED_FRAME
DO_NOTHING
EXIT_JVM
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DockingFrameCloseOperation
valueOf(String name)
Returns the enum constant of this type with the specified name.static DockingFrameCloseOperation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DO_NOTHING
public static final DockingFrameCloseOperation DO_NOTHING
-
DISPOSE_CLOSED_FRAME
public static final DockingFrameCloseOperation DISPOSE_CLOSED_FRAME
-
DISPOSE_ALL_FRAMES
public static final DockingFrameCloseOperation DISPOSE_ALL_FRAMES
-
EXIT_JVM
public static final DockingFrameCloseOperation EXIT_JVM
-
-
Method Detail
-
values
public static DockingFrameCloseOperation[] 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 (DockingFrameCloseOperation c : DockingFrameCloseOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DockingFrameCloseOperation 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
-
-