org.jppf.ui.monitoring.node
Class NodeTreeTableModel
java.lang.Object
org.jppf.ui.treetable.AbstractTreeTableModel
org.jppf.ui.treetable.AbstractJPPFTreeTableModel
org.jppf.ui.monitoring.node.NodeTreeTableModel
- All Implemented Interfaces:
- TreeModel, TreeTableModel
public class NodeTreeTableModel
- extends AbstractJPPFTreeTableModel
Tree table model for the tree table.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeTreeTableModel
public NodeTreeTableModel(TreeNode node)
- Initialize this model witht he specified tree.
- Parameters:
node - the root of the tree.
getColumnCount
public int getColumnCount()
- Get the number of columns in the table.
- Returns:
- the number of columns as an int.
- See Also:
TreeTableModel.getColumnCount()
getValueAt
public Object getValueAt(Object node,
int column)
- Returns which object is displayed in this column.
- Parameters:
node - the node for which to get a value.column - the column from which to set a value.
- Returns:
- the value from the specified node and column.
- See Also:
TreeTableModel.getValueAt(java.lang.Object, int)
getColumnName
public String getColumnName(int column)
- What the TableHeader displays when the Table is in a JScrollPane.
- Parameters:
column - the index of the column for which to get a title.
- Returns:
- the column title as a string.
- See Also:
TreeTableModel.getColumnName(int)
Copyright © 2005-2010 JPPF Team.