org.odlabs.wiquery.ui.sortable
Enum SortableBehavior.AxisEnum
java.lang.Object
java.lang.Enum<SortableBehavior.AxisEnum>
org.odlabs.wiquery.ui.sortable.SortableBehavior.AxisEnum
- All Implemented Interfaces:
- Serializable, Comparable<SortableBehavior.AxisEnum>
- Enclosing class:
- SortableBehavior
public static enum SortableBehavior.AxisEnum
- extends Enum<SortableBehavior.AxisEnum>
Enumeration for the axis option
- Author:
- Julien Roche
Enum Constant Summary |
X
|
Y
|
X
public static final SortableBehavior.AxisEnum X
Y
public static final SortableBehavior.AxisEnum Y
values
public static SortableBehavior.AxisEnum[] 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.AxisEnum c : SortableBehavior.AxisEnum.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.AxisEnum 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.