public class DeclarativeTreeDataModelImpl extends TreeSequenceKeyModel<Object> implements DeclarativeTreeModel<Object>
SEPARATOR_CHAR
Constructor and Description |
---|
DeclarativeTreeDataModelImpl(AbstractTree tree) |
Modifier and Type | Method and Description |
---|---|
Iterator<TreeDataModelTuple> |
children() |
TreeDataModelTuple |
createSnapshot() |
javax.faces.component.UIComponent |
getCurrentComponent() |
javax.faces.convert.Converter |
getRowKeyConverter() |
Object |
getWrappedData() |
boolean |
isLeaf() |
void |
restoreFromSnapshot(TreeDataModelTuple tuple) |
protected void |
setupKey(SequenceRowKey key) |
void |
setWrappedData(Object data) |
getData, getParentRowKey, getRowCount, getRowData, getRowIndex, getRowKey, isDataAvailable, isRowAvailable, setData, setRowIndex, setRowKey, setRowKeyAndData, walk
addDataModelListener, getDataModelListeners, iterator, removeDataModelListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getData, getParentRowKey, getRowKey, isDataAvailable, setRowKey
public DeclarativeTreeDataModelImpl(AbstractTree tree)
public javax.faces.component.UIComponent getCurrentComponent()
getCurrentComponent
in interface DeclarativeTreeModel<Object>
public boolean isLeaf()
isLeaf
in interface TreeDataModel<Object>
public Iterator<TreeDataModelTuple> children()
children
in interface TreeDataModel<Object>
public Object getWrappedData()
getWrappedData
in interface TreeDataModel<Object>
getWrappedData
in class javax.faces.model.DataModel<Object>
public void setWrappedData(Object data)
setWrappedData
in interface TreeDataModel<Object>
setWrappedData
in class javax.faces.model.DataModel<Object>
protected void setupKey(SequenceRowKey key)
setupKey
in class TreeSequenceKeyModel<Object>
public TreeDataModelTuple createSnapshot()
createSnapshot
in interface TreeDataModel<Object>
public void restoreFromSnapshot(TreeDataModelTuple tuple)
restoreFromSnapshot
in interface TreeDataModel<Object>
public javax.faces.convert.Converter getRowKeyConverter()
getRowKeyConverter
in interface TreeDataModel<Object>
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.