Package jmri.jmrit.signalling
Class SignallingPanel.AutoTableModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- jmri.jmrit.signalling.SignallingPanel.AutoTableModel
-
- All Implemented Interfaces:
java.beans.PropertyChangeListener
,java.io.Serializable
,java.util.EventListener
,javax.swing.table.TableModel
- Direct Known Subclasses:
SignallingPanel.AutoBlockModel
,SignallingPanel.AutoMastModel
,SignallingPanel.AutoTurnoutModel
- Enclosing class:
- SignallingPanel
abstract class SignallingPanel.AutoTableModel extends javax.swing.table.AbstractTableModel implements java.beans.PropertyChangeListener
A series of autoTableModels to display - but not edit - configurations on the Edit SML Tabs that are autogenerated from layout Editor information.
-
-
Field Summary
Fields Modifier and Type Field Description static int
SNAME_COLUMN
static int
STATE_COLUMN
static int
UNAME_COLUMN
-
Constructor Summary
Constructors Constructor Description AutoTableModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
Remove references to and from this object, so that it can eventually be garbage-collected.java.lang.Class<?>
getColumnClass(int c)
int
getColumnCount()
java.lang.String
getColumnName(int col)
boolean
isCellEditable(int r, int c)
(package private) void
smlValid()
-
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
public static final int SNAME_COLUMN
- See Also:
- Constant Field Values
-
UNAME_COLUMN
public static final int UNAME_COLUMN
- See Also:
- Constant Field Values
-
STATE_COLUMN
public static final int STATE_COLUMN
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AutoTableModel
AutoTableModel()
-
-
Method Detail
-
smlValid
final void smlValid()
-
getColumnClass
public java.lang.Class<?> getColumnClass(int c)
- Specified by:
getColumnClass
in interfacejavax.swing.table.TableModel
- Overrides:
getColumnClass
in classjavax.swing.table.AbstractTableModel
-
dispose
public void dispose()
Remove references to and from this object, so that it can eventually be garbage-collected.
-
getColumnName
public java.lang.String getColumnName(int col)
- 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
-
-