org.apache.myfaces.examples.listexample
Class SimpleSortableCarList

java.lang.Object
  extended by org.apache.myfaces.examples.listexample.SortableList
      extended by org.apache.myfaces.examples.listexample.SimpleSortableCarList

public class SimpleSortableCarList
extends SortableList

DOCUMENT ME!

Version:
$Revision: 472610 $ $Date: 2006-11-08 14:46:34 -0500 (Wed, 08 Nov 2006) $
Author:
Thomas Spiegl (latest modification by $Author: grantsmith $)

Constructor Summary
SimpleSortableCarList()
           
 
Method Summary
 List getCars()
           
protected  boolean isDefaultAscending(String sortColumn)
          Is the default sort direction for the given column "ascending" ?
protected  void sort(String column, boolean ascending)
          Sort the list.
 
Methods inherited from class org.apache.myfaces.examples.listexample.SortableList
getSort, isAscending, setAscending, setSort, sort
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleSortableCarList

public SimpleSortableCarList()
Method Detail

getCars

public List getCars()

isDefaultAscending

protected boolean isDefaultAscending(String sortColumn)
Description copied from class: SortableList
Is the default sort direction for the given column "ascending" ?

Specified by:
isDefaultAscending in class SortableList

sort

protected void sort(String column,
                    boolean ascending)
Description copied from class: SortableList
Sort the list.

Specified by:
sort in class SortableList


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.