Package org.apache.myfaces.tobago.model
Class TreeDataModel<E>
java.lang.Object
javax.faces.model.DataModel<E>
org.apache.myfaces.tobago.model.TreeDataModel<E>
- All Implemented Interfaces:
- Iterable<E>
- Direct Known Subclasses:
- TreeNodeDataModel
public abstract class TreeDataModel<E>
extends javax.faces.model.DataModel<E>
Abstract class that represents the data model for a tree.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract intgetDepth()abstract intgetLevel()abstract TreePathgetPath()abstract Stringabstract intabstract intabstract Stringabstract Eabstract booleanisFolder()abstract booleanabstract booleanabstract voidreset()abstract voidsetRowClientId(String clientId) abstract voidsetRowIndex(int rowIndex) abstract voidsetWrappedData(Object data) abstract voidupdate(ExpandedState expandedState) Methods inherited from class javax.faces.model.DataModeladdDataModelListener, getDataModelListeners, getRowData, iterator, removeDataModelListenerMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.IterableforEach, spliterator
- 
Constructor Details- 
TreeDataModelpublic TreeDataModel()
 
- 
- 
Method Details- 
resetpublic abstract void reset()
- 
update
- 
getRowCountpublic abstract int getRowCount()- Specified by:
- getRowCountin class- javax.faces.model.DataModel<E>
 
- 
getRowIndexpublic abstract int getRowIndex()- Specified by:
- getRowIndexin class- javax.faces.model.DataModel<E>
 
- 
getLevelpublic abstract int getLevel()
- 
getPath
- 
getDepthpublic abstract int getDepth()
- 
isFolderpublic abstract boolean isFolder()
- 
getWrappedData- Specified by:
- getWrappedDatain class- javax.faces.model.DataModel<E>
 
- 
isRowAvailablepublic abstract boolean isRowAvailable()- Specified by:
- isRowAvailablein class- javax.faces.model.DataModel<E>
 
- 
setRowIndexpublic abstract void setRowIndex(int rowIndex) - Specified by:
- setRowIndexin class- javax.faces.model.DataModel<E>
 
- 
setWrappedData- Specified by:
- setWrappedDatain class- javax.faces.model.DataModel<E>
 
- 
isRowVisiblepublic abstract boolean isRowVisible()
- 
getRowClientId
- 
setRowClientId
- 
getRowParentClientId
- 
getRowIndicesOfChildren
- 
getJunctions
 
-