Enum OverlayUtil.Location
- java.lang.Object
-
- java.lang.Enum<OverlayUtil.Location>
-
- org.eclipse.nebula.widgets.xviewer.util.internal.OverlayUtil.Location
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<OverlayUtil.Location>
- Enclosing class:
- OverlayUtil
public static enum OverlayUtil.Location extends java.lang.Enum<OverlayUtil.Location>
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Location()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OverlayUtil.Location
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static OverlayUtil.Location[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TOP_LEFT
public static final OverlayUtil.Location TOP_LEFT
-
TOP_RIGHT
public static final OverlayUtil.Location TOP_RIGHT
-
BOT_LEFT
public static final OverlayUtil.Location BOT_LEFT
-
BOT_RIGHT
public static final OverlayUtil.Location BOT_RIGHT
-
-
Method Detail
-
values
public static OverlayUtil.Location[] 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 (OverlayUtil.Location c : OverlayUtil.Location.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OverlayUtil.Location 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
-
-