org.odlabs.wiquery.ui.draggable
Enum DraggableBehavior.CursorAtEnum

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

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

Enumeration for the cursorAt option

Author:
Julien Roche

Enum Constant Summary
BOTTOM
           
BOTTOM_LEFT
          Deprecated. will be removed in 1.2
BOTTOM_RIGHT
          Deprecated. will be removed in 1.2
LEFT
           
RIGHT
           
TOP
           
TOP_LEFT
          Deprecated. will be removed in 1.2
TOP_RIGHT
          Deprecated. will be removed in 1.2
 
Method Summary
 String toString()
           
static DraggableBehavior.CursorAtEnum valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DraggableBehavior.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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TOP

public static final DraggableBehavior.CursorAtEnum TOP

TOP_LEFT

@Deprecated
public static final DraggableBehavior.CursorAtEnum TOP_LEFT
Deprecated. will be removed in 1.2

TOP_RIGHT

@Deprecated
public static final DraggableBehavior.CursorAtEnum TOP_RIGHT
Deprecated. will be removed in 1.2

LEFT

public static final DraggableBehavior.CursorAtEnum LEFT

RIGHT

public static final DraggableBehavior.CursorAtEnum RIGHT

BOTTOM

public static final DraggableBehavior.CursorAtEnum BOTTOM

BOTTOM_LEFT

@Deprecated
public static final DraggableBehavior.CursorAtEnum BOTTOM_LEFT
Deprecated. will be removed in 1.2

BOTTOM_RIGHT

@Deprecated
public static final DraggableBehavior.CursorAtEnum BOTTOM_RIGHT
Deprecated. will be removed in 1.2
Method Detail

values

public static DraggableBehavior.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 (DraggableBehavior.CursorAtEnum c : DraggableBehavior.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 DraggableBehavior.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

toString

public String toString()
Overrides:
toString in class Enum<DraggableBehavior.CursorAtEnum>


Copyright © 2012. All Rights Reserved.