Package org.apache.myfaces.tobago.model
Class TreeDataModel
java.lang.Object
javax.faces.model.DataModel
org.apache.myfaces.tobago.model.TreeDataModel
- All Implemented Interfaces:
Iterable
- Direct Known Subclasses:
TreeNodeDataModel
public abstract class TreeDataModel
extends javax.faces.model.DataModel
Abstract class that represents the data model for a tree.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract intgetDepth()abstract intgetLevel()abstract TreePathgetPath()abstract Stringabstract intabstract intabstract Stringabstract Objectabstract 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.DataModel
addDataModelListener, getDataModelListeners, getRowData, iterator, removeDataModelListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
TreeDataModel
public TreeDataModel()
-
-
Method Details
-
reset
public abstract void reset() -
update
-
getRowCount
public abstract int getRowCount()- Specified by:
getRowCountin classjavax.faces.model.DataModel
-
getRowIndex
public abstract int getRowIndex()- Specified by:
getRowIndexin classjavax.faces.model.DataModel
-
getLevel
public abstract int getLevel() -
getPath
-
getDepth
public abstract int getDepth() -
isFolder
public abstract boolean isFolder() -
getWrappedData
- Specified by:
getWrappedDatain classjavax.faces.model.DataModel
-
isRowAvailable
public abstract boolean isRowAvailable()- Specified by:
isRowAvailablein classjavax.faces.model.DataModel
-
setRowIndex
public abstract void setRowIndex(int rowIndex) - Specified by:
setRowIndexin classjavax.faces.model.DataModel
-
setWrappedData
- Specified by:
setWrappedDatain classjavax.faces.model.DataModel
-
isRowVisible
public abstract boolean isRowVisible() -
getRowClientId
-
setRowClientId
-
getRowParentClientId
-
getRowIndicesOfChildren
-
getJunctions
-