Class LocoTableTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
com.jgoodies.binding.adapter.AbstractTableAdapter<org.bidib.wizard.model.locolist.LocoListModel>
org.bidib.wizard.mvc.locolist.view.LocoTableTableModel
- All Implemented Interfaces:
com.jgoodies.binding.adapter.ListModelBindable,Serializable,TableModel
public class LocoTableTableModel
extends com.jgoodies.binding.adapter.AbstractTableAdapter<org.bidib.wizard.model.locolist.LocoListModel>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class javax.swing.table.AbstractTableModel
listenerList -
Constructor Summary
ConstructorsConstructorDescriptionLocoTableTableModel(com.jgoodies.binding.list.SelectionInList<org.bidib.wizard.model.locolist.LocoListModel> boosterList) -
Method Summary
Modifier and TypeMethodDescriptionClass<?> getColumnClass(int column) getValueAt(int rowIndex, int columnIndex) booleanisCellEditable(int row, int column) voidsetValueAt(Object value, int rowIndex, int columnIndex) Methods inherited from class com.jgoodies.binding.adapter.AbstractTableAdapter
createChangeHandler, getColumnCount, getColumnName, getListModel, getRow, getRowCount, setListModelMethods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
-
Field Details
-
COLUMN_ADDRESS
public static final int COLUMN_ADDRESS- See Also:
-
COLUMN_NAME
public static final int COLUMN_NAME- See Also:
-
COLUMN_SPEED
public static final int COLUMN_SPEED- See Also:
-
COLUMN_DIRECTION
public static final int COLUMN_DIRECTION- See Also:
-
COLUMN_SPEEDSTEPS
public static final int COLUMN_SPEEDSTEPS- See Also:
-
COLUMN_FUNCTIONS_LIGHT
public static final int COLUMN_FUNCTIONS_LIGHT- See Also:
-
COLUMN_FUNCTIONS_1_TO_4
public static final int COLUMN_FUNCTIONS_1_TO_4- See Also:
-
COLUMN_FUNCTIONS_5_TO_12
public static final int COLUMN_FUNCTIONS_5_TO_12- See Also:
-
COLUMN_FUNCTIONS_13_TO_20
public static final int COLUMN_FUNCTIONS_13_TO_20- See Also:
-
COLUMN_FUNCTIONS_21_TO_28
public static final int COLUMN_FUNCTIONS_21_TO_28- See Also:
-
COLUMN_PORT_INSTANCE
public static final int COLUMN_PORT_INSTANCE- See Also:
-
-
Constructor Details
-
LocoTableTableModel
public LocoTableTableModel(com.jgoodies.binding.list.SelectionInList<org.bidib.wizard.model.locolist.LocoListModel> boosterList)
-
-
Method Details
-
getColumnClass
- Specified by:
getColumnClassin interfaceTableModel- Overrides:
getColumnClassin classAbstractTableModel
-
getValueAt
-
setValueAt
- Specified by:
setValueAtin interfaceTableModel- Overrides:
setValueAtin classAbstractTableModel
-
isCellEditable
public boolean isCellEditable(int row, int column) - Specified by:
isCellEditablein interfaceTableModel- Overrides:
isCellEditablein classAbstractTableModel
-