Package jmri.jmrit.dispatcher
Class DispatcherFrame.AllocationRequestTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
jmri.jmrit.dispatcher.DispatcherFrame.AllocationRequestTableModel
- All Implemented Interfaces:
PropertyChangeListener,Serializable,EventListener,TableModel
- Enclosing class:
- DispatcherFrame
public class DispatcherFrame.AllocationRequestTableModel
extends AbstractTableModel
implements PropertyChangeListener
Table model for Allocation Request Table in Dispatcher window
- 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 intstatic final intstatic final intFields inherited from class javax.swing.table.AbstractTableModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<?>getColumnClass(int c) intgetColumnName(int col) intgetPreferredWidth(int col) intgetValueAt(int r, int c) booleanisCellEditable(int r, int c) voidvoidsetValueAt(Object value, int row, int col) Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
-
Field Details
-
TRANSIT_COLUMN
- See Also:
-
TRANSIT_COLUMN_U
- See Also:
-
TRAIN_COLUMN
- See Also:
-
PRIORITY_COLUMN
- See Also:
-
TRAINTYPE_COLUMN
- See Also:
-
SECTION_COLUMN
- See Also:
-
SECTION_COLUMN_U
- See Also:
-
STATUS_COLUMN
- See Also:
-
OCCUPANCY_COLUMN
- See Also:
-
SECTIONLENGTH_COLUMN
- See Also:
-
ALLOCATEBUTTON_COLUMN
- See Also:
-
CANCELBUTTON_COLUMN
- See Also:
-
MAX_COLUMN
- See Also:
-
-
Constructor Details
-
AllocationRequestTableModel
public AllocationRequestTableModel()
-
-
Method Details
-
propertyChange
- Specified by:
propertyChangein interfacePropertyChangeListener
-
getColumnClass
- Specified by:
getColumnClassin interfaceTableModel- Overrides:
getColumnClassin classAbstractTableModel
-
getColumnCount
- Specified by:
getColumnCountin interfaceTableModel
-
getRowCount
- Specified by:
getRowCountin interfaceTableModel
-
isCellEditable
- Specified by:
isCellEditablein interfaceTableModel- Overrides:
isCellEditablein classAbstractTableModel
-
getColumnName
- Specified by:
getColumnNamein interfaceTableModel- Overrides:
getColumnNamein classAbstractTableModel
-
getPreferredWidth
-
getValueAt
- Specified by:
getValueAtin interfaceTableModel
-
setValueAt
- Specified by:
setValueAtin interfaceTableModel- Overrides:
setValueAtin classAbstractTableModel
-