org.odlabs.wiquery.ui.sortable
Enum SortableBehavior.CursorAtEnum

java.lang.Object
  extended by java.lang.Enum<SortableBehavior.CursorAtEnum>
      extended by org.odlabs.wiquery.ui.sortable.SortableBehavior.CursorAtEnum
All Implemented Interfaces:
Serializable, Comparable<SortableBehavior.CursorAtEnum>
Enclosing class:
SortableBehavior

public static enum SortableBehavior.CursorAtEnum
extends Enum<SortableBehavior.CursorAtEnum>

Enumeration for the cursorAt option

Author:
Julien Roche

Enum Constant Summary
BOTTOM
           
BOTTOM_LEFT
           
BOTTOM_RIGHT
           
LEFT
           
RIGHT
           
TOP
           
TOP_LEFT
           
TOP_RIGHT
           
 
Method Summary
static SortableBehavior.CursorAtEnum valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SortableBehavior.CursorAtEnum[] 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

TOP

public static final SortableBehavior.CursorAtEnum TOP

TOP_LEFT

public static final SortableBehavior.CursorAtEnum TOP_LEFT

TOP_RIGHT

public static final SortableBehavior.CursorAtEnum TOP_RIGHT

LEFT

public static final SortableBehavior.CursorAtEnum LEFT

RIGHT

public static final SortableBehavior.CursorAtEnum RIGHT

BOTTOM

public static final SortableBehavior.CursorAtEnum BOTTOM

BOTTOM_LEFT

public static final SortableBehavior.CursorAtEnum BOTTOM_LEFT

BOTTOM_RIGHT

public static final SortableBehavior.CursorAtEnum BOTTOM_RIGHT
Method Detail

values

public static SortableBehavior.CursorAtEnum[] 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 (SortableBehavior.CursorAtEnum c : SortableBehavior.CursorAtEnum.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SortableBehavior.CursorAtEnum 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 © 2012. All Rights Reserved.