org.apache.tapestry.contrib.palette
Class SortMode

java.lang.Object
  |
  +--org.apache.commons.lang.enum.Enum
        |
        +--org.apache.tapestry.contrib.palette.SortMode
All Implemented Interfaces:
Comparable, 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 $
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.
 
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.