net.sf.tapestry.contrib.palette
Class SortMode
java.lang.Object
|
+--com.primix.tapestry.util.Enum
|
+--net.sf.tapestry.contrib.palette.SortMode
- All Implemented Interfaces:
- java.io.Serializable
- public class SortMode
- extends Enum
Defines different sorting strategies for the Palette
component.
- Version:
- $Id: SortMode.java,v 1.2 2001/08/01 22:30:41 hship Exp $
- Author:
- Howard Ship
- See Also:
- Serialized Form
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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.