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

AbstractTreeTableModel Class Reference

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

Public Methods

 AbstractTreeTableModel (AbstractTreeNode root)
void addTreeModelListener (TreeModelListener l)
Class getColumnClass (int column)
int getIndexOfChild (Object parent, Object child)
Object getRoot ()
boolean isCellEditable (Object node, int column)
boolean isLeaf (Object node)
void removeTreeModelListener (TreeModelListener l)
void setRoot (AbstractTreeNode root)
void setValueAt (Object aValue, Object node, int column)
void valueForPathChanged (TreePath path, Object newValue)

Protected Methods

void fireTreeNodesChanged (Object source, Object[] path, int[] childIndices, Object[] children)
void fireTreeNodesInserted (Object source, Object[] path, int[] childIndices, Object[] children)
void fireTreeNodesRemoved (Object source, Object[] path, int[] childIndices, Object[] children)
void fireTreeStructureChanged (Object source, Object[] path, int[] childIndices, Object[] children)

Protected Attributes

AbstractTreeNode root
EventListenerList listenerList = new EventListenerList()

Detailed Description

Version:
1.2 10/27/98 An abstract implementation of the TreeTableModel interface, handling the list of listeners.
Author:
Philip Milne

Definition at line 27 of file AbstractTreeTableModel.java.


Member Function Documentation

Class AbstractTreeTableModel::getColumnClass int   column [inline]
 

Returns the type for column number column.

Reimplemented from TreeTableModel.

Definition at line 150 of file AbstractTreeTableModel.java.

boolean AbstractTreeTableModel::isCellEditable Object   node,
int   column
[inline]
 

By default, make the column with the Tree in it the only editable one. Making this column editable causes the JTable to forward mouse and keyboard events in the Tree column to the underlying JTree.

Reimplemented from TreeTableModel.

Definition at line 173 of file AbstractTreeTableModel.java.

void AbstractTreeTableModel::setRoot AbstractTreeNode   root [inline]
 

Insert the method's description here. Creation date: (5/4/00 3:29:03 PM)

Parameters:
root   java.lang.Object

Definition at line 187 of file AbstractTreeTableModel.java.

void AbstractTreeTableModel::setValueAt Object   aValue,
Object   node,
int   column
[inline]
 

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

Reimplemented from TreeTableModel.

Definition at line 190 of file AbstractTreeTableModel.java.


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