Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.tapestry.contrib.palette
Class SortMode  view SortMode download SortMode.java

java.lang.Object
  extended byorg.apache.commons.lang.enum.Enum
      extended byorg.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 Class Summary
 
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
 
Constructor Summary
private SortMode(java.lang.String name)
           
 
Methods inherited from class org.apache.commons.lang.enum.Enum
compareTo, equals, getEnum, getEnumClass, 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.

Constructor Detail

SortMode

private SortMode(java.lang.String name)