be.lassi.ui.preferences
Class LogPreferencesTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
javax.swing.table.DefaultTableModel
be.lassi.ui.preferences.LogPreferencesTableModel
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.table.TableModel
public class LogPreferencesTableModel
- extends javax.swing.table.DefaultTableModel
Table model to provide access to log option details.
- See Also:
- Serialized Form
Fields inherited from class javax.swing.table.DefaultTableModel |
columnIdentifiers, dataVector |
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Methods inherited from class javax.swing.table.DefaultTableModel |
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getDataVector, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount |
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogPreferencesTableModel
public LogPreferencesTableModel(LogOptions options)
- Constructs a new instance.
- Parameters:
options
- the log options
getColumnClass
public java.lang.Class<?> getColumnClass(int columnIndex)
-
- Specified by:
getColumnClass
in interface javax.swing.table.TableModel
- Overrides:
getColumnClass
in class javax.swing.table.AbstractTableModel
getColumnCount
public int getColumnCount()
-
- Specified by:
getColumnCount
in interface javax.swing.table.TableModel
- Overrides:
getColumnCount
in class javax.swing.table.DefaultTableModel
getColumnName
public java.lang.String getColumnName(int columnIndex)
-
- Specified by:
getColumnName
in interface javax.swing.table.TableModel
- Overrides:
getColumnName
in class javax.swing.table.DefaultTableModel
getRowCount
public int getRowCount()
-
- Specified by:
getRowCount
in interface javax.swing.table.TableModel
- Overrides:
getRowCount
in class javax.swing.table.DefaultTableModel
getValueAt
public java.lang.Object getValueAt(int rowIndex,
int columnIndex)
-
- Specified by:
getValueAt
in interface javax.swing.table.TableModel
- Overrides:
getValueAt
in class javax.swing.table.DefaultTableModel
isCellEditable
public boolean isCellEditable(int rowIndex,
int columnIndex)
-
- Specified by:
isCellEditable
in interface javax.swing.table.TableModel
- Overrides:
isCellEditable
in class javax.swing.table.DefaultTableModel
setValueAt
public void setValueAt(java.lang.Object aValue,
int rowIndex,
int columnIndex)
-
- Specified by:
setValueAt
in interface javax.swing.table.TableModel
- Overrides:
setValueAt
in class javax.swing.table.DefaultTableModel