com.pcauto.gui.table
Class TestColumnTableColumnModel

java.lang.Object
  extended byjavax.swing.table.DefaultTableColumnModel
      extended bycom.pcauto.gui.table.AbstractEntityTableColumnModel
          extended bycom.pcauto.gui.table.TestColumnTableColumnModel
All Implemented Interfaces:
com.pcauto.gui.table.EntityTableColumnModel, java.util.EventListener, javax.swing.event.ListSelectionListener, java.beans.PropertyChangeListener, java.io.Serializable, javax.swing.table.TableColumnModel

public class TestColumnTableColumnModel
extends com.pcauto.gui.table.AbstractEntityTableColumnModel

The TestColumnTableColumnModel that describes models that define the columns to be displayed in an EntityTable. It subclasses AbstractEntityTableColumnModel which defines most of the basic behaviour of a column model. This TestColumnTableColumnModel is used by the TableTestBed to test the functionality of the EntityList and EntityTable.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.DefaultTableColumnModel
changeEvent, columnMargin, columnSelectionAllowed, listenerList, selectionModel, tableColumns, totalColumnWidth
 
Constructor Summary
TestColumnTableColumnModel()
          Constructs a new TestColumnTableColumnModel.
 
Method Summary
 java.lang.Object getCellValue(int col, java.lang.Object entity)
           
 void setCellValue(int col, java.lang.Object entity, java.lang.Object value)
           
 
Methods inherited from class com.pcauto.gui.table.AbstractEntityTableColumnModel
addColumn, getByName, getColumnClass, getColumnName, getRealColumnCount, hasEditableColumns, isEditable, isHidden, isLocked, isRightAlignmentSortable, isSortable, removeColumn, setEditable, setHidden, setLocked, setRightAlignmentSortable, setSortable
 
Methods inherited from class javax.swing.table.DefaultTableColumnModel
addColumn, addColumnModelListener, createSelectionModel, fireColumnAdded, fireColumnMarginChanged, fireColumnMoved, fireColumnRemoved, fireColumnSelectionChanged, getColumn, getColumnCount, getColumnIndex, getColumnIndexAtX, getColumnMargin, getColumnModelListeners, getColumns, getColumnSelectionAllowed, getListeners, getSelectedColumnCount, getSelectedColumns, getSelectionModel, getTotalColumnWidth, moveColumn, propertyChange, recalcWidthCache, removeColumn, removeColumnModelListener, setColumnMargin, setColumnSelectionAllowed, setSelectionModel, valueChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.pcauto.gui.table.EntityTableColumnModel
getColumnCount
 
Methods inherited from interface javax.swing.table.TableColumnModel
addColumn, addColumnModelListener, getColumn, getColumnIndex, getColumnIndexAtX, getColumnMargin, getColumns, getColumnSelectionAllowed, getSelectedColumnCount, getSelectedColumns, getSelectionModel, getTotalColumnWidth, moveColumn, removeColumn, removeColumnModelListener, setColumnMargin, setColumnSelectionAllowed, setSelectionModel
 

Constructor Detail

TestColumnTableColumnModel

public TestColumnTableColumnModel()
Constructs a new TestColumnTableColumnModel.

Method Detail

setCellValue

public void setCellValue(int col,
                         java.lang.Object entity,
                         java.lang.Object value)

getCellValue

public java.lang.Object getCellValue(int col,
                                     java.lang.Object entity)