Copyright © 2005 Scientific Applications. All Rights Reserved.

com.sciapp.table.remote
Interface RemoteTreeTableModel

All Superinterfaces:
TreeModel, TreeTableModel
All Known Implementing Classes:
DefaultRemoteTreeTableModel

public interface RemoteTreeTableModel
extends TreeTableModel

RemoteTreeTableModel asynchronously retrieves data from a TreeTableModel.


Field Summary
 
Fields inherited from interface com.sciapp.treetable.TreeTableModel
CHANGE_COLUMN_SOURCE
 
Method Summary
 void addRemoteTableListener(RemoteTableListener l)
          Adds a RemoteTableListener that is notified each time the RemoteTableModel will start or stop querying the underlying treetable model.
 Object getPendingValue(Object node, int column)
          Returns the object to display if a cell value is pending.
 void removeRemoteTableListener(RemoteTableListener l)
          Removes a RemoteTableListener from the list that is notified each time the RemoteTableModel will start or stop querying the underlying treetable model.
 
Methods inherited from interface com.sciapp.treetable.TreeTableModel
getColumnClass, getColumnCount, getColumnName, getValueAt, isAggregate, isCellEditable, isFooter, isHeader, setValueAt
 
Methods inherited from interface javax.swing.tree.TreeModel
addTreeModelListener, getChild, getChildCount, getIndexOfChild, getRoot, isLeaf, removeTreeModelListener, valueForPathChanged
 

Method Detail

addRemoteTableListener

void addRemoteTableListener(RemoteTableListener l)
Adds a RemoteTableListener that is notified each time the RemoteTableModel will start or stop querying the underlying treetable model.

Parameters:
l - the RemoteTableListener to add

removeRemoteTableListener

void removeRemoteTableListener(RemoteTableListener l)
Removes a RemoteTableListener from the list that is notified each time the RemoteTableModel will start or stop querying the underlying treetable model.

Parameters:
l - the RemoteTableListener to remove

getPendingValue

Object getPendingValue(Object node,
                       int column)
Returns the object to display if a cell value is pending.

Parameters:
node - the node to consider
column - the node's column index
Returns:
the pending value

Copyright © 2005 Scientific Applications. All Rights Reserved.