|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.table.AbstractTableModel javax.swing.table.DefaultTableModel edu.northwestern.at.utils.swing.labeledsettingstable.LabeledSettingsTableModel
public class LabeledSettingsTableModel
Settings table model.
Field Summary |
---|
Fields inherited from class javax.swing.table.DefaultTableModel |
---|
columnIdentifiers, dataVector |
Fields inherited from class javax.swing.table.AbstractTableModel |
---|
listenerList |
Constructor Summary | |
---|---|
LabeledSettingsTableModel(java.lang.String[] columnNames)
Create settings table model. |
Method Summary | |
---|---|
void |
addSetting(java.lang.String settingName,
int settingValue)
Add labeled setting to table. |
void |
addSetting(java.lang.String settingName,
long settingValue)
Add labeled setting to table. |
void |
addSetting(java.lang.String settingName,
java.lang.Object settingData)
Add a setting/value pair to the table. |
Methods inherited from class javax.swing.table.DefaultTableModel |
---|
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getColumnCount, getColumnName, getDataVector, getRowCount, getValueAt, insertRow, insertRow, isCellEditable, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount, setValueAt |
Methods inherited from class javax.swing.table.AbstractTableModel |
---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LabeledSettingsTableModel(java.lang.String[] columnNames)
Method Detail |
---|
public void addSetting(java.lang.String settingName, java.lang.Object settingData)
settingName
- Name of the setting.settingData
- Value of the setting. Must be an
object type that implements the
"toString()" method. public void addSetting(java.lang.String settingName, int settingValue)
settingName
- Setting namesettingValue
- Setting value public void addSetting(java.lang.String settingName, long settingValue)
settingName
- Setting namesettingValue
- Setting value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |