org.odlabs.wiquery.ui.position
Enum PositionOptions.Position

java.lang.Object
  extended by java.lang.Enum<PositionOptions.Position>
      extended by org.odlabs.wiquery.ui.position.PositionOptions.Position
All Implemented Interfaces:
Serializable, Comparable<PositionOptions.Position>
Enclosing class:
PositionOptions

public static enum PositionOptions.Position
extends Enum<PositionOptions.Position>

Enumeration of position values

Since:
1.1
Author:
Julien Roche

Enum Constant Summary
BOTTOM
           
CENTER
           
CENTER_BOTTOM
           
CENTER_CENTER
           
CENTER_TOP
           
LEFT
           
LEFT_BOTTOM
           
LEFT_CENTER
           
LEFT_TOP
           
RIGHT_BOTTOM
           
RIGHT_CENTER
           
RIGHT_TOP
           
TOP
           
 
Method Summary
static PositionOptions.Position getPosition(String value)
          Method searching the Position value
 String toString()
           
static PositionOptions.Position valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PositionOptions.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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BOTTOM

public static final PositionOptions.Position BOTTOM

CENTER

public static final PositionOptions.Position CENTER

CENTER_BOTTOM

public static final PositionOptions.Position CENTER_BOTTOM

CENTER_CENTER

public static final PositionOptions.Position CENTER_CENTER

CENTER_TOP

public static final PositionOptions.Position CENTER_TOP

LEFT

public static final PositionOptions.Position LEFT

LEFT_BOTTOM

public static final PositionOptions.Position LEFT_BOTTOM

LEFT_CENTER

public static final PositionOptions.Position LEFT_CENTER

LEFT_TOP

public static final PositionOptions.Position LEFT_TOP

RIGHT_BOTTOM

public static final PositionOptions.Position RIGHT_BOTTOM

RIGHT_CENTER

public static final PositionOptions.Position RIGHT_CENTER

RIGHT_TOP

public static final PositionOptions.Position RIGHT_TOP

TOP

public static final PositionOptions.Position TOP
Method Detail

values

public static PositionOptions.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 (PositionOptions.Position c : PositionOptions.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 PositionOptions.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

getPosition

public static PositionOptions.Position getPosition(String value)
Method searching the Position value

Parameters:
value -
Returns:

toString

public String toString()
Overrides:
toString in class Enum<PositionOptions.Position>


Copyright © 2012. All Rights Reserved.