Package com.uc4.communication
Enum GeneralSettings.MagneticWindows
- java.lang.Object
-
- java.lang.Enum<GeneralSettings.MagneticWindows>
-
- com.uc4.communication.GeneralSettings.MagneticWindows
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GeneralSettings.MagneticWindows>
- Enclosing class:
- GeneralSettings
public static enum GeneralSettings.MagneticWindows extends java.lang.Enum<GeneralSettings.MagneticWindows>
Setting for magnetic windows.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GeneralSettings.MagneticWindows
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GeneralSettings.MagneticWindows[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OFF
public static final GeneralSettings.MagneticWindows OFF
Off, no magnetic windows.
-
ON_DRAG
public static final GeneralSettings.MagneticWindows ON_DRAG
Magnetic window effect on drag operation.
-
ON_DROP
public static final GeneralSettings.MagneticWindows ON_DROP
Magnetic window effect on drop operation.
-
-
Method Detail
-
values
public static GeneralSettings.MagneticWindows[] 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 (GeneralSettings.MagneticWindows c : GeneralSettings.MagneticWindows.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GeneralSettings.MagneticWindows 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
-
-