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

JTreeTable Class Reference

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

Public Methods

 JTreeTable (TreeTableModel treeTableModel)
TableCellEditor getCellEditor (int row, int column)
TableCellRenderer getCellRenderer (int row, int column)
int getEditingRow ()
JTree getTree ()
void setRowHeight (int rowHeight)
void updateUI ()

Static Public Methods

void processAbstractions (Collection abstractions)

Static Public Attributes

java util Hashtable absTable

Protected Attributes

TreeTableCellRenderer tree

Detailed Description

This example shows how to create a simple JTreeTable component, by using a JTree as a renderer (and editor) for the cells in a particular column in the JTable.

Version:
1.2 10/27/98
Author:
Philip Milne , Scott Violet

Definition at line 42 of file JTreeTable.java.


Member Function Documentation

TableCellEditor JTreeTable::getCellEditor int   row,
int   column
[inline]
 

Insert the method's description here. Creation date: (3/24/00 12:20:36 AM)

Returns:
javax.swing.table.TableCellRenderer
Parameters:
row   int
column   int

Definition at line 293 of file JTreeTable.java.

TableCellRenderer JTreeTable::getCellRenderer int   row,
int   column
[inline]
 

Insert the method's description here. Creation date: (3/24/00 12:20:36 AM)

Returns:
javax.swing.table.TableCellRenderer
Parameters:
row   int
column   int

Definition at line 363 of file JTreeTable.java.

JTree JTreeTable::getTree   [inline]
 

Returns the tree that is being shared between the model.

Definition at line 442 of file JTreeTable.java.

void JTreeTable::processAbstractions Collection   abstractions [inline, static]
 

This method was created in VisualAge.

Parameters:
abs   java.util.Collection

Definition at line 449 of file JTreeTable.java.

void JTreeTable::setRowHeight int   rowHeight [inline]
 

Overridden to pass the new rowHeight to the tree.

Definition at line 482 of file JTreeTable.java.

void JTreeTable::updateUI   [inline]
 

Overridden to message super and forward the method to the tree. Since the tree is not actually in the component hieachy it will never receive this unless we forward it in this manner.

Definition at line 493 of file JTreeTable.java.


Member Data Documentation

TreeTableCellRenderer JTreeTable::tree [protected]
 

A subclass of JTree.

Definition at line 44 of file JTreeTable.java.


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