nl.coderight.jazz
Enum View.ViewPosition
java.lang.Object
java.lang.Enum<View.ViewPosition>
nl.coderight.jazz.View.ViewPosition
- All Implemented Interfaces:
- Serializable, Comparable<View.ViewPosition>
- Enclosing class:
- View
public static enum View.ViewPosition
- extends Enum<View.ViewPosition>
Enumeration of possible View
positions.
CENTER_ON_MAIN_WINDOW
public static final View.ViewPosition CENTER_ON_MAIN_WINDOW
CENTER_ON_PARENT
public static final View.ViewPosition CENTER_ON_PARENT
RELATIVE_TO_MAIN_WINDOW
public static final View.ViewPosition RELATIVE_TO_MAIN_WINDOW
RELATIVE_TO_PARENT
public static final View.ViewPosition RELATIVE_TO_PARENT
ABSOLUTE
public static final View.ViewPosition ABSOLUTE
DEFAULT
public static final View.ViewPosition DEFAULT
values
public static View.ViewPosition[] 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.ViewPosition c : View.ViewPosition.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.ViewPosition 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.