org.apache.tapestry.contrib.palette
Class SortMode

java.lang.Object
  extended by org.apache.commons.lang.enum.Enum
      extended by org.apache.tapestry.contrib.palette.SortMode
All Implemented Interfaces:
Serializable, Comparable

public class SortMode
extends org.apache.commons.lang.enum.Enum

Defines different sorting strategies for the Palette component.

Version:
$Id: SortMode.java 243791 2004-02-19 17:38:13Z hlship $
Author:
Howard Lewis 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.
 
Method Summary
 
Methods inherited from class org.apache.commons.lang.enum.Enum
compareTo, equals, getEnum, getEnumList, getEnumMap, getName, hashCode, iterator, readResolve, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

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.