| java.lang.Object javax.swing.table.AbstractTableModel org.netbeans.lib.profiler.ui.components.treetable.TreeTableModelAdapter
Method Summary | |
protected void | delayedFireTableDataChanged() Invokes fireTableDataChanged after all the pending events have been
processed. | public void | expandRoot() Opens the root node. | public Class | getColumnClass(int column) TableModel wrapper, passes it through to the model. | public int | getColumnCount() TableModel wrapper, passes it through to the model. | public String | getColumnName(int column) TableModel wrapper, passes it through to the model. | public Vector | getExpandedPaths() | public TreePath | getRootPath() Returns the (tree)path to the root of the model. | public int | getRowCount() TableModel wrapper, passes it through to the model. | public Object | getValueAt(int row, int column) Returns the object on the given row and column. | public boolean | isCellEditable(int row, int column) TableModel wrapper, passes it through to the model after
fetching the right TreeTableNode for the given row. | protected Object | nodeForRow(int row) Returns the object (TreeTableNode) on the given row in the tree. | public void | restoreExpandedPaths(Vector paths) Restores the given open paths on the treeModel. | public void | setValueAt(Object value, int row, int column) TableModel wrapper, passes it through to the model after
fetching the right TreeTableNode for the given row. | public void | updateTreeTable() |
TreeTableModelAdapter | public TreeTableModelAdapter(AbstractTreeTableModel treeTableModel, JTreeTable treeTable)(Code) | | Constructs a TreeTableModelAdapter, bridging the given treeTable and the model
Parameters: treeTableModel - the model to use Parameters: treeTable - the table which is going to use this model |
delayedFireTableDataChanged | protected void delayedFireTableDataChanged()(Code) | | Invokes fireTableDataChanged after all the pending events have been
processed. SwingUtilities.invokeLater is used to handle this.
|
expandRoot | public void expandRoot()(Code) | | Opens the root node.
|
getColumnClass | public Class getColumnClass(int column)(Code) | | TableModel wrapper, passes it through to the model.
|
getColumnCount | public int getColumnCount()(Code) | | TableModel wrapper, passes it through to the model.
|
getColumnName | public String getColumnName(int column)(Code) | | TableModel wrapper, passes it through to the model.
|
getExpandedPaths | public Vector getExpandedPaths()(Code) | | Returns a vector of open paths in the tree, can be used to
re-open the paths in a tree after a call to 'treeStructureChanged'
(which causes all open paths to collapse)
|
getRootPath | public TreePath getRootPath()(Code) | | Returns the (tree)path to the root of the model.
|
getRowCount | public int getRowCount()(Code) | | TableModel wrapper, passes it through to the model.
|
getValueAt | public Object getValueAt(int row, int column)(Code) | | Returns the object on the given row and column.
|
isCellEditable | public boolean isCellEditable(int row, int column)(Code) | | TableModel wrapper, passes it through to the model after
fetching the right TreeTableNode for the given row.
|
nodeForRow | protected Object nodeForRow(int row)(Code) | | Returns the object (TreeTableNode) on the given row in the tree.
|
restoreExpandedPaths | public void restoreExpandedPaths(Vector paths)(Code) | | Restores the given open paths on the treeModel.
Parameters: paths - a Vector of TreePaths which are going to be opened. |
setValueAt | public void setValueAt(Object value, int row, int column)(Code) | | TableModel wrapper, passes it through to the model after
fetching the right TreeTableNode for the given row.
|
updateTreeTable | public void updateTreeTable()(Code) | | |
|
|