uk.ac.soton.itinnovation.grid.client.registry.ui.enhancedtree
Interface EnhancedTreeTableModel

All Superinterfaces:
TreeModel
All Known Implementing Classes:
AbstractEnhancedTreeTableModel, DOMTreeTableModel

public interface EnhancedTreeTableModel
extends TreeModel

This model implements a TreeModel and adds methods required for using this model inside a JTable.


Method Summary
 Class getColumnClass(int column)
           
 int getColumnCount()
           
 String getColumnName(int column)
           
 Object getValueAt(Object node, int column)
          Get the value of the node in the defined column.
 boolean isCellEditable(Object node, int column)
           
 void setValueAt(Object aValue, Object node, int column)
           
 
Methods inherited from interface javax.swing.tree.TreeModel
addTreeModelListener, getChild, getChildCount, getIndexOfChild, getRoot, isLeaf, removeTreeModelListener, valueForPathChanged
 

Method Detail

getColumnCount

int getColumnCount()

getColumnName

String getColumnName(int column)

getColumnClass

Class getColumnClass(int column)

getValueAt

Object getValueAt(Object node,
                  int column)
Get the value of the node in the defined column.

Parameters:
node -
column -
Returns:
the user object stored in the node

isCellEditable

boolean isCellEditable(Object node,
                       int column)

setValueAt

void setValueAt(Object aValue,
                Object node,
                int column)


Copyright © 2001-2007 University of Southampton IT Innovation Centre. All Rights Reserved.