org.apache.myfaces.examples.listexample
Class OpenDataList
java.lang.Object
org.apache.myfaces.examples.listexample.SortableList
org.apache.myfaces.examples.listexample.OpenDataList
public class OpenDataList
- extends SortableList
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpenDataList
public OpenDataList()
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 © 2012 The Apache Software Foundation. All Rights Reserved.