nl.coderight.jazz
Enum View.Position

java.lang.Object
  extended by java.lang.Enum<View.Position>
      extended by 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.


Enum Constant Summary
ABSOLUTE
           
CENTER_ON_MAIN_WINDOW
           
CENTER_ON_PARENT
           
DEFAULT
           
RELATIVE_TO_MAIN_WINDOW
           
RELATIVE_TO_PARENT
           
 
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.