org.apache.myfaces.examples.listexample
Class OpenDataList

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

public class OpenDataList
extends SortableList


Constructor Summary
OpenDataList()
           
 
Method Summary
 javax.faces.model.DataModel getColumnHeaders()
           
 Object getColumnValue()
           
 String getColumnWidth()
           
 javax.faces.model.DataModel getData()
           
protected  boolean isDefaultAscending(String sortColumn)
          Is the default sort direction for the given column "ascending" ?
 boolean isValueModifiable()
           
 void setColumnValue(Object value)
           
protected  void sort(int columnIndex, int direction)
           
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

OpenDataList

public OpenDataList()
Method Detail

getData

public javax.faces.model.DataModel getData()

getColumnHeaders

public javax.faces.model.DataModel getColumnHeaders()

getColumnValue

public Object getColumnValue()

setColumnValue

public void setColumnValue(Object value)

getColumnWidth

public String getColumnWidth()

isValueModifiable

public boolean isValueModifiable()

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

sort

protected void sort(int columnIndex,
                    int direction)


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