nl.coderight.jazz
Enum View.Position
java.lang.Object
java.lang.Enum<View.Position>
nl.coderight.jazz.View.Position
- All Implemented Interfaces:
- Serializable, Comparable<View.Position>
- Enclosing class:
- View
public static enum View.Position
- extends Enum<View.Position>
Enumeration of possible View
positions.
Method Summary |
static View.Position |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static View.Position[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
CENTER_ON_MAIN_WINDOW
public static final View.Position CENTER_ON_MAIN_WINDOW
CENTER_ON_PARENT
public static final View.Position CENTER_ON_PARENT
RELATIVE_TO_MAIN_WINDOW
public static final View.Position RELATIVE_TO_MAIN_WINDOW
RELATIVE_TO_PARENT
public static final View.Position RELATIVE_TO_PARENT
ABSOLUTE
public static final View.Position ABSOLUTE
DEFAULT
public static final View.Position DEFAULT
values
public static View.Position[] 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 (View.Position c : View.Position.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static View.Position 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 name
NullPointerException
- if the argument is null
Copyright 2010 CodeRight, All rights reserved.