com.icesoft.faces.component.tree
Class TreeDataModel
java.lang.Object
javax.faces.model.DataModel
com.icesoft.faces.component.tree.TreeDataModel
- All Implemented Interfaces:
- java.lang.Iterable
public class TreeDataModel
- extends javax.faces.model.DataModel
TreeDataModel is an implementation of DataModel that wraps a
DefaultTreeModel.
Methods inherited from class javax.faces.model.DataModel |
addDataModelListener, getDataModelListeners, iterator, removeDataModelListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeDataModel
public TreeDataModel()
- Default no args contructor
TreeDataModel
public TreeDataModel(javax.swing.tree.TreeModel treeModel)
- Parameters:
treeModel
-
isRowAvailable
public boolean isRowAvailable()
- Specified by:
isRowAvailable
in class javax.faces.model.DataModel
getRowCount
public int getRowCount()
- Specified by:
getRowCount
in class javax.faces.model.DataModel
getRowData
public java.lang.Object getRowData()
- Specified by:
getRowData
in class javax.faces.model.DataModel
getRowIndex
public int getRowIndex()
- Specified by:
getRowIndex
in class javax.faces.model.DataModel
setRowIndex
public void setRowIndex(int rowIndex)
- Specified by:
setRowIndex
in class javax.faces.model.DataModel
getWrappedData
public java.lang.Object getWrappedData()
- Specified by:
getWrappedData
in class javax.faces.model.DataModel
setWrappedData
public void setWrappedData(java.lang.Object data)
- Specified by:
setWrappedData
in class javax.faces.model.DataModel
Copyright 2013 ICEsoft Technologies Canada Corp., All Rights Reserved.