Copyright © 2005 Scientific Applications. All Rights Reserved.

com.sciapp.table.group
Interface TreeTableColumnModelAdapter

All Superinterfaces:
TableColumnModel
All Known Implementing Classes:
AbstractTreeTableColumnModelAdapter, DefaultTreeTableColumnModelAdapter

public interface TreeTableColumnModelAdapter
extends TableColumnModel

TreeTableColumnModelAdapter is the interface that defines a column model capable of storing table columns in a hierarchical tree-like structure.

Since:
3.4

Field Summary
static String TREE_PROPERTY
          a string that identifies that the tree has changed
static String TREE_TABLE_COLUMN_MODEL_PROPERTY
          a string that identifies that the column model has changed
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener listener)
          Adds a PropertyChangeListener to the listener list to be notified when the TreeTableColumnModel changes.
 JTree getTree()
          Returns the associated tree.
 TreeTableColumnModel getTreeTableColumnModel()
          Returns the associated treetable column model.
 void removePropertyChangeListener(PropertyChangeListener listener)
          Removes a PropertyChangeListener from the listener list that is notified when the TreeTableColumnModel changes.
 
Methods inherited from interface javax.swing.table.TableColumnModel
addColumn, addColumnModelListener, getColumn, getColumnCount, getColumnIndex, getColumnIndexAtX, getColumnMargin, getColumns, getColumnSelectionAllowed, getSelectedColumnCount, getSelectedColumns, getSelectionModel, getTotalColumnWidth, moveColumn, removeColumn, removeColumnModelListener, setColumnMargin, setColumnSelectionAllowed, setSelectionModel
 

Field Detail

TREE_TABLE_COLUMN_MODEL_PROPERTY

static final String TREE_TABLE_COLUMN_MODEL_PROPERTY
a string that identifies that the column model has changed

See Also:
Constant Field Values

TREE_PROPERTY

static final String TREE_PROPERTY
a string that identifies that the tree has changed

See Also:
Constant Field Values
Method Detail

addPropertyChangeListener

void addPropertyChangeListener(PropertyChangeListener listener)
Adds a PropertyChangeListener to the listener list to be notified when the TreeTableColumnModel changes. The listener should check for TREE_TABLE_COLUMN_MODEL_PROPERTY property events.

Parameters:
listener - the listener to add.

getTree

JTree getTree()
Returns the associated tree.

Returns:
the tree.

getTreeTableColumnModel

TreeTableColumnModel getTreeTableColumnModel()
Returns the associated treetable column model.

Returns:
the treetable column model.

removePropertyChangeListener

void removePropertyChangeListener(PropertyChangeListener listener)
Removes a PropertyChangeListener from the listener list that is notified when the TreeTableColumnModel changes. The listener should check for TREE_TABLE_COLUMN_MODEL_PROPERTY property events.

Parameters:
listener - the listener to remove.

Copyright © 2005 Scientific Applications. All Rights Reserved.