org.apache.tapestry.contrib.palette
Class SortMode

java.lang.Object
  extended by org.apache.tapestry.contrib.palette.SortMode

public class SortMode
extends java.lang.Object

Defines different sorting strategies for the Palette component.

Author:
Howard Lewis Ship

Field Summary
static java.lang.String LABEL
          Options should be sorted by their label.
static java.lang.String NONE
          Sorting is not relevant and no sort controls should be visible.
static java.lang.String 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 java.lang.String VALUE
          Options should be sorted by thier value.
 
Constructor Summary
SortMode()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static final java.lang.String NONE
Sorting is not relevant and no sort controls should be visible.

See Also:
Constant Field Values

LABEL

public static final java.lang.String LABEL
Options should be sorted by their label.

See Also:
Constant Field Values

VALUE

public static final java.lang.String VALUE
Options should be sorted by thier value.

See Also:
Constant Field Values

USER

public static final java.lang.String USER
The user controls sort order; additional controls are added to allow the user to control the order of options in the selected list.

See Also:
Constant Field Values
Constructor Detail

SortMode

public SortMode()