org.apache.myfaces.examples.listexample
Class PagedSortableCarList

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

public class PagedSortableCarList
extends SortableList


Constructor Summary
PagedSortableCarList()
           
 
Method Summary
 List getCars()
           
protected  boolean isDefaultAscending(String sortColumn)
          Is the default sort direction for the given column "ascending" ?
 void setCars(List cars)
           
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

PagedSortableCarList

public PagedSortableCarList()
Method Detail

getCars

public List getCars()

setCars

public void setCars(List cars)

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 © 2010 The Apache Software Foundation. All Rights Reserved.