net.simplace.pipe.formcomponents.choice.FWTableChoiceSubComponent.FWTableModel
javax.swing.table.TableModel for FWTableChoiceSubComponent.
Even the constructors technically accept FWFormOption the table model
requires instances of FWFormTableOption. Exception will be generated
otherwise!
protected class FWTableChoiceSubComponent.FWTableModel extends
javax.swing.table.AbstractTableModel {
// Public Constructors
public FWTableModel(Vector aOptions, int aSelectionValueColIdx);
// Protected Instance Variables
protected Vector iOptions;
protected Vector iRowOptions;
protected FWFormTableOption iHeadOption;
protected int iSelectionValueColIdx;
// Public Instance Methods public int getRowCount();
Returns the number of table rows.
public int getColumnCount();
Returns the number of table columns.
public Class getColumnClass(int col); // Defines
javax.swing.table.AbstractTableModel
Returns the class for a column.
public Object getSelectionValueAt(int row);
Returns the cell value which represents the selection / choice value
for the specified table row.
public void updateTable(Vector aFormOptionVector);
Updates the table data from form options.
// Protected Instance Methods
}
Hierarchy: java.lang.Object - javax.swing.table.AbstractTableModel (javax.swing.table.TableModel, java.io.Serializable) - FWTableChoiceSubComponent.FWTableModel
Type of: FWTableChoiceSubComponent.iTableModel