Package jmri.jmrit.display.logixng
Enum WindowManagement.BringToFrontOrBack
- java.lang.Object
-
- java.lang.Enum<WindowManagement.BringToFrontOrBack>
-
- jmri.jmrit.display.logixng.WindowManagement.BringToFrontOrBack
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<WindowManagement.BringToFrontOrBack>
- Enclosing class:
- WindowManagement
public static enum WindowManagement.BringToFrontOrBack extends java.lang.Enum<WindowManagement.BringToFrontOrBack>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run(JmriJFrame f)
java.lang.String
toString()
static WindowManagement.BringToFrontOrBack
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static WindowManagement.BringToFrontOrBack[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DoNothing
public static final WindowManagement.BringToFrontOrBack DoNothing
-
Front
public static final WindowManagement.BringToFrontOrBack Front
-
Back
public static final WindowManagement.BringToFrontOrBack Back
-
-
Method Detail
-
values
public static WindowManagement.BringToFrontOrBack[] 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 (WindowManagement.BringToFrontOrBack c : WindowManagement.BringToFrontOrBack.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WindowManagement.BringToFrontOrBack valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
run
public void run(JmriJFrame f)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<WindowManagement.BringToFrontOrBack>
-
-