| java.lang.Object org.netbeans.swing.outline.ProxyTableModel
ProxyTableModel | final class ProxyTableModel implements TableModel,NodeRowModel(Code) | | A TableModel which is driven by a RowModel - the RowModel
supplies row contents, based on nodes suppled by the tree
column of an OutlineModel. This model supplies the additional
rows of the TableModel to the OutlineModel.
author: Tim Boudreau |
Constructor Summary | |
public | ProxyTableModel(RowModel rowmodel) Creates a new instance of ProxyTableModel that will use the supplied
RowModel to produce its values. |
ProxyTableModel | public ProxyTableModel(RowModel rowmodel)(Code) | | Creates a new instance of ProxyTableModel that will use the supplied
RowModel to produce its values.
|
getColumnClass | public Class getColumnClass(int columnIndex)(Code) | | |
getColumnCount | public int getColumnCount()(Code) | | |
getColumnName | public String getColumnName(int columnIndex)(Code) | | |
getNodeForRow | public Object getNodeForRow(int row)(Code) | | Get the object that will be passed to the RowModel to fetch values
for the given row.
changed to public 4/19/2004 so a cell editor can figure out information
about the node being edited. - David Botterill
Parameters: row - The row we need the tree node for |
getOutlineModel | OutlineModel getOutlineModel()(Code) | | Get the outline model used to provide column 0 nodes to the
RowModel for setting the values.
|
getRowCount | public int getRowCount()(Code) | | |
getValueAt | public Object getValueAt(int rowIndex, int columnIndex)(Code) | | |
isCellEditable | public boolean isCellEditable(int rowIndex, int columnIndex)(Code) | | |
setOutlineModel | void setOutlineModel(OutlineModel mdl)(Code) | | Set the OutlineModel that will be used to find nodes for
rows. DefaultOutlineModel will do this in its constructor.
|
setValueAt | public void setValueAt(Object aValue, int rowIndex, int columnIndex)(Code) | | |
|
|