Package jmri.jmrit.beantable.routetable
Class RouteSensorModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- jmri.jmrit.beantable.routetable.RouteOutputModel
-
- jmri.jmrit.beantable.routetable.RouteSensorModel
-
- All Implemented Interfaces:
java.beans.PropertyChangeListener,java.io.Serializable,java.util.EventListener,javax.swing.table.TableModel
class RouteSensorModel extends RouteOutputModel
Set up table for selecting Sensors and Sensor State. Split fromRouteTableAction
-
-
Field Summary
-
Fields inherited from class jmri.jmrit.beantable.routetable.RouteOutputModel
INCLUDE_COLUMN, SNAME_COLUMN, STATE_COLUMN, UNAME_COLUMN
-
-
Constructor Summary
Constructors Constructor Description RouteSensorModel(AbstractRouteAddEditFrame routeAddFrame)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddispose()intgetRowCount()java.lang.ObjectgetValueAt(int r, int c)voidsetValueAt(java.lang.Object type, int r, int c)-
Methods inherited from class jmri.jmrit.beantable.routetable.RouteOutputModel
getColumnClass, getColumnCount, getColumnName, isCellEditable, propertyChange
-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
-
-
-
-
Constructor Detail
-
RouteSensorModel
RouteSensorModel(AbstractRouteAddEditFrame routeAddFrame)
-
-
Method Detail
-
getRowCount
public int getRowCount()
-
getValueAt
public java.lang.Object getValueAt(int r, int c)
-
setValueAt
public void setValueAt(java.lang.Object type, int r, int c)
- Specified by:
setValueAtin interfacejavax.swing.table.TableModel- Overrides:
setValueAtin classjavax.swing.table.AbstractTableModel
-
dispose
protected void dispose()
- Specified by:
disposein classRouteOutputModel
-
-