Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

TreeTableModel Interface Reference

Inheritance diagram for TreeTableModel:
[legend]
Collaboration diagram for TreeTableModel:
[legend]
List of all members.

Public Methods

Class getColumnClass (int column)
int getColumnCount ()
String getColumnName (int column)
Object getValueAt (Object node, int column)
boolean isCellEditable (Object node, int column)
void setValueAt (Object aValue, Object node, int column)

Detailed Description

TreeTableModel is the model used by a JTreeTable. It extends TreeModel to add methods for getting inforamtion about the set of columns each node in the TreeTableModel may have. Each column, like a column in a TableModel, has a name and a type associated with it. Each node in the TreeTableModel can return a value for each of the columns and set that value if isCellEditable() returns true.

Author:
Philip Milne , Scott Violet

Definition at line 36 of file TreeTableModel.java.


Member Function Documentation

Class TreeTableModel::getColumnClass int   column
 

Returns the type for column number column.

Reimplemented in AbstractTreeTableModel.

Referenced by AbstractTreeTableModel::isCellEditable().

int TreeTableModel::getColumnCount  
 

Returns the number ofs availible column.

String TreeTableModel::getColumnName int   column
 

Returns the name for column number column.

Object TreeTableModel::getValueAt Object   node,
int   column
 

Returns the value to be displayed for node node, at column number column.

boolean TreeTableModel::isCellEditable Object   node,
int   column
 

Indicates whether the the value for node node, at column number column is editable.

Reimplemented in AbstractTreeTableModel.

void TreeTableModel::setValueAt Object   aValue,
Object   node,
int   column
 

Sets the value for node node, at column number column.

Reimplemented in AbstractTreeTableModel.


The documentation for this interface was generated from the following file:
Generated at Thu Feb 7 07:22:36 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001