Overview  Package   Class  Tree  Index 

be.lassi.ui.preferences
Class LogPreferencesTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by javax.swing.table.DefaultTableModel
          extended by 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

Field Summary
 
Fields inherited from class javax.swing.table.DefaultTableModel
columnIdentifiers, dataVector
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
LogPreferencesTableModel(LogOptions options)
          Constructs a new instance.
 
Method Summary
 java.lang.Class<?> getColumnClass(int columnIndex)
          
 int getColumnCount()
          
 java.lang.String getColumnName(int columnIndex)
          
 int getRowCount()
          
 java.lang.Object getValueAt(int rowIndex, int columnIndex)
          
 boolean isCellEditable(int rowIndex, int columnIndex)
          
 void setValueAt(java.lang.Object aValue, int rowIndex, int columnIndex)
          
 
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
 

Constructor Detail

LogPreferencesTableModel

public LogPreferencesTableModel(LogOptions options)
Constructs a new instance.

Parameters:
options - the log options
Method Detail

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

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2