java.lang.Object
org.apache.commons.lang.enum.Enum
org.apache.tapestry.contrib.palette.SortMode
- All Implemented Interfaces:
- java.lang.Comparable, java.io.Serializable
- public class SortMode
- extends org.apache.commons.lang.enum.Enum
Defines different sorting strategies for the Palette component.
- Version:
- $Id: SortMode.java,v 1.3 2004/02/19 17:38:06 hlship Exp $
| Nested classes inherited from class org.apache.commons.lang.enum.Enum |
|
|
Field Summary |
static SortMode |
LABEL
Options should be sorted by their label. |
static SortMode |
NONE
Sorting is not relevant and no sort controls should be visible. |
static SortMode |
USER
The user controls sort order; additional controls are added
to allow the user to control the order of options in the
selected list. |
static SortMode |
VALUE
Options should be sorted by thier value. |
| Fields inherited from class org.apache.commons.lang.enum.Enum |
iToString |
| Methods inherited from class org.apache.commons.lang.enum.Enum |
compareTo, equals, getEnum, getEnumClass, getEnumList, getEnumMap, getName, hashCode, iterator, readResolve, toString |
NONE
public static final SortMode NONE
- Sorting is not relevant and no sort controls should be visible.
LABEL
public static final SortMode LABEL
- Options should be sorted by their label.
VALUE
public static final SortMode VALUE
- Options should be sorted by thier value.
USER
public static final SortMode USER
- The user controls sort order; additional controls are added
to allow the user to control the order of options in the
selected list.
SortMode
private SortMode(java.lang.String name)