Package jmri.jmrit.beantable.routetable
Class RouteOutputModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- jmri.jmrit.beantable.routetable.RouteOutputModel
-
- All Implemented Interfaces:
java.beans.PropertyChangeListener
,java.io.Serializable
,java.util.EventListener
,javax.swing.table.TableModel
- Direct Known Subclasses:
RouteSensorModel
,RouteTurnoutModel
abstract class RouteOutputModel extends javax.swing.table.AbstractTableModel implements java.beans.PropertyChangeListener
Base table model for selecting outputs. Split fromRouteTableAction
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static int
INCLUDE_COLUMN
(package private) static int
SNAME_COLUMN
(package private) static int
STATE_COLUMN
(package private) static int
UNAME_COLUMN
-
Constructor Summary
Constructors Constructor Description RouteOutputModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
dispose()
java.lang.Class<?>
getColumnClass(int c)
int
getColumnCount()
java.lang.String
getColumnName(int c)
boolean
isCellEditable(int r, int c)
void
propertyChange(java.beans.PropertyChangeEvent e)
-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener, setValueAt
-
-
-
-
Field Detail
-
SNAME_COLUMN
static final int SNAME_COLUMN
- See Also:
- Constant Field Values
-
UNAME_COLUMN
static final int UNAME_COLUMN
- See Also:
- Constant Field Values
-
INCLUDE_COLUMN
static final int INCLUDE_COLUMN
- See Also:
- Constant Field Values
-
STATE_COLUMN
static final int STATE_COLUMN
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RouteOutputModel
RouteOutputModel()
-
-
Method Detail
-
getColumnClass
public java.lang.Class<?> getColumnClass(int c)
- Specified by:
getColumnClass
in interfacejavax.swing.table.TableModel
- Overrides:
getColumnClass
in classjavax.swing.table.AbstractTableModel
-
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent e)
- Specified by:
propertyChange
in interfacejava.beans.PropertyChangeListener
-
dispose
void dispose()
-
getColumnName
public java.lang.String getColumnName(int c)
- Specified by:
getColumnName
in interfacejavax.swing.table.TableModel
- Overrides:
getColumnName
in classjavax.swing.table.AbstractTableModel
-
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount
in interfacejavax.swing.table.TableModel
-
isCellEditable
public boolean isCellEditable(int r, int c)
- Specified by:
isCellEditable
in interfacejavax.swing.table.TableModel
- Overrides:
isCellEditable
in classjavax.swing.table.AbstractTableModel
-
-