|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--javax.faces.model.DataModel
|
+--oracle.adf.view.faces.model.CollectionModel
|
+--oracle.adf.view.faces.model.TreeModel
The data model used by ADF Tree components.
| Constructor Summary | |
TreeModel()
|
|
| Method Summary | |
abstract java.lang.Object |
getParentData()
Gets the rowData of the parent that contains this Collection of children. |
abstract java.util.List |
getPath()
Gets the path that points to the row that is the parentData of this collection |
abstract boolean |
isRowContainer()
Tests to see if the row identified by getRowData() has children. |
abstract void |
popPath()
Removes the last rowKey from the path. |
abstract void |
pushPath()
The row identified by getRowKey() is added to the path and made the new parent. |
abstract void |
setPath(java.util.List path)
Sets the path |
| Methods inherited from class oracle.adf.view.faces.model.CollectionModel |
getRowKey, getSortBy, getSortOrder, isSortable, setRowKey, sort |
| Methods inherited from class javax.faces.model.DataModel |
addDataModelListener, getDataModelListeners, getRowCount, getRowData, getRowIndex, getWrappedData, isRowAvailable, removeDataModelListener, setRowIndex, setWrappedData |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TreeModel()
| Method Detail |
public abstract java.lang.Object getParentData()
public abstract boolean isRowContainer()
public abstract java.util.List getPath()
public abstract void setPath(java.util.List path)
path - each element must be a rowKey String. use null for the root
Collectionpublic abstract void pushPath()
public abstract void popPath()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||