org.odlabs.wiquery.ui.sortable
Enum SortableBehavior.CursorAtEnum
java.lang.Object
java.lang.Enum<SortableBehavior.CursorAtEnum>
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
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
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.