org.jppf.ui.monitoring.job
Class JobTreeTableModel
java.lang.Object
org.jppf.ui.treetable.AbstractTreeTableModel
org.jppf.ui.treetable.AbstractJPPFTreeTableModel
org.jppf.ui.monitoring.job.JobTreeTableModel
- All Implemented Interfaces:
- TreeModel, TreeTableModel
public class JobTreeTableModel
- extends AbstractJPPFTreeTableModel
- implements TreeTableModel
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 |
JobTreeTableModel
public JobTreeTableModel(TreeNode node)
- Initialize this model with the specified tree root.
- Parameters:
node - - the root of the tree.
getColumnCount
public int getColumnCount()
- Get the number of columns in the table.
- Specified by:
getColumnCount in interface TreeTableModel
- 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.
- Specified by:
getValueAt in interface TreeTableModel
- 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.
- Specified by:
getColumnName in interface TreeTableModel
- 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.