com.sciapp.filter.tree
Class LevelFilterMapper.DoubleTreeTableModelMap
java.lang.Object
com.sciapp.treetable.AbstractTreeTableModel
com.sciapp.treetable.TreeModelMap
com.sciapp.treetable.TreeTableModelMap
com.sciapp.filter.tree.LevelFilterMapper.DoubleTreeTableModelMap
- All Implemented Interfaces:
- ReorderListener, CacheableTreeTableModel, ReorderModel, TreeTableModel, Serializable, EventListener, TreeModelListener, TreeModel
- Enclosing class:
- LevelFilterMapper
protected class LevelFilterMapper.DoubleTreeTableModelMap
- extends TreeTableModelMap
- See Also:
- Serialized Form
| Methods inherited from class com.sciapp.treetable.TreeTableModelMap |
addReorderListener, fireRowsMapped, fireRowsReordered, getColumnClass, getColumnName, getInnerTreeTableModel, getMappedIndexes, getTreeTableModel, getUncachedChildren, getUncachedGroupCount, getUncachedGroups, isAggregate, isCountCached, isFooter, isHeader, isRangedModel, isValueCached, removeReorderListener, rowsReordered, setTreeModel, setTreeTableModel, setValueAt |
| Methods inherited from class com.sciapp.treetable.TreeModelMap |
getIndexOfChild, getPathToRoot, getPathToRoot, getRoot, getTreeModel, isLeaf, nodeChanged, nodesChanged, nodeStructureChanged, treeNodesChanged, treeNodesInserted, treeNodesRemoved, treeStructureChanged, valueForPathChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LevelFilterMapper.DoubleTreeTableModelMap
public LevelFilterMapper.DoubleTreeTableModelMap(TreeTableModel model)
getColumnCount
public int getColumnCount()
- Description copied from class:
TreeTableModelMap
- Returns the number of columns.
- Specified by:
getColumnCount in interface TreeTableModel- Overrides:
getColumnCount in class TreeTableModelMap
- Returns:
- the number of columns.
isCellEditable
public boolean isCellEditable(Object node,
int columnIndex)
- Description copied from class:
TreeTableModelMap
- Returns true if
node at columnIndex is editable.
- Specified by:
isCellEditable in interface TreeTableModel- Overrides:
isCellEditable in class TreeTableModelMap
- Parameters:
node - the node to considercolumnIndex - the column index
- Returns:
- true if the node at columnIndex is editable, false otherwise
getValueAt
public Object getValueAt(Object node,
int column)
- Description copied from class:
TreeTableModelMap
- Returns the value to be displayed for
node,
at column index column.
- Specified by:
getValueAt in interface TreeTableModel- Overrides:
getValueAt in class TreeTableModelMap
- Parameters:
node - the node to querycolumn - the column index
- Returns:
- the value
getChild
public Object getChild(Object parent,
int index)
- Description copied from class:
TreeModelMap
- Returns the child of
parent at index index
in the parent's
child array. parent must be a node previously obtained
from this data source. This should not return null
if index
is a valid index for parent (that is index >= 0 &&
index < getChildCount(parent)).
- Specified by:
getChild in interface TreeModel- Overrides:
getChild in class TreeModelMap
- Parameters:
parent - a node in the tree, obtained from this data source
- Returns:
- the child of
parent at index index
getChildCount
public int getChildCount(Object parent)
- Description copied from class:
TreeModelMap
- Returns the number of children of
parent.
Returns 0 if the node
is a leaf or if it has no children. parent must be a node
previously obtained from this data source.
- Specified by:
getChildCount in interface TreeModel- Overrides:
getChildCount in class TreeModelMap
- Parameters:
parent - a node in the tree, obtained from this data source
- Returns:
- the number of children of the node
parent