|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.table.AbstractTableModel
de.tkuhn.util.prefs.gui.PrefTableModel
public abstract class PrefTableModel
Extends the AbstractTableModel with an operation setPrefs to set the Preferences instance this model reflects.
| Field Summary |
|---|
| Fields inherited from class javax.swing.table.AbstractTableModel |
|---|
listenerList |
| Constructor Summary | |
|---|---|
PrefTableModel()
|
|
| Method Summary | |
|---|---|
abstract java.util.Collection<javax.swing.Action> |
getActions()
Return a Collection of Actions that can be used to manipulate the Model |
abstract java.util.prefs.Preferences |
getPrefs()
Get the Preferences instance reflected by this TableModel |
void |
registerCellEditors(javax.swing.JTable table)
Register the CellEditors of the tree suiting to this model |
void |
registerCellRenderers(javax.swing.JTable table)
Register the CellRenderers at the tree suiting this models elements. |
abstract void |
setPrefs(java.util.prefs.Preferences prefs)
Set a new References instance to be reflected by this TableModel |
| Methods inherited from class javax.swing.table.AbstractTableModel |
|---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.swing.table.TableModel |
|---|
getColumnCount, getRowCount, getValueAt |
| Constructor Detail |
|---|
public PrefTableModel()
| Method Detail |
|---|
public abstract void setPrefs(java.util.prefs.Preferences prefs)
prefs - the new Preferences for this model.public abstract java.util.prefs.Preferences getPrefs()
public abstract java.util.Collection<javax.swing.Action> getActions()
public void registerCellEditors(javax.swing.JTable table)
table - the table to set the CellEditor forpublic void registerCellRenderers(javax.swing.JTable table)
table - the table to set the Renderers for
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||