Package jmri.jmrit.signalling
Class SignallingPanel.AutoBlockModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- jmri.jmrit.signalling.SignallingPanel.AutoTableModel
-
- jmri.jmrit.signalling.SignallingPanel.AutoBlockModel
-
- All Implemented Interfaces:
java.beans.PropertyChangeListener
,java.io.Serializable
,java.util.EventListener
,javax.swing.table.TableModel
- Enclosing class:
- SignallingPanel
class SignallingPanel.AutoBlockModel extends SignallingPanel.AutoTableModel
TableModel to display - but not edit - Auto Layout Blocks on the Edit SML Blocks Tab.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static int
PERMISSIVE_COLUMN
(package private) static int
SPEED_COLUMN
-
Fields inherited from class jmri.jmrit.signalling.SignallingPanel.AutoTableModel
SNAME_COLUMN, STATE_COLUMN, UNAME_COLUMN
-
-
Constructor Summary
Constructors Constructor Description AutoBlockModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>
getColumnClass(int c)
int
getColumnCount()
java.lang.String
getColumnName(int col)
int
getRowCount()
java.lang.Object
getValueAt(int r, int c)
boolean
isCellEditable(int r, int c)
void
propertyChange(java.beans.PropertyChangeEvent e)
void
setValueAt(java.lang.Object type, int r, int c)
-
Methods inherited from class jmri.jmrit.signalling.SignallingPanel.AutoTableModel
dispose, smlValid
-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
-
-
-
-
Field Detail
-
SPEED_COLUMN
static final int SPEED_COLUMN
- See Also:
- Constant Field Values
-
PERMISSIVE_COLUMN
static final int PERMISSIVE_COLUMN
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AutoBlockModel
AutoBlockModel()
-
-
Method Detail
-
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount
in interfacejavax.swing.table.TableModel
- Overrides:
getColumnCount
in classSignallingPanel.AutoTableModel
-
getColumnName
public java.lang.String getColumnName(int col)
- Specified by:
getColumnName
in interfacejavax.swing.table.TableModel
- Overrides:
getColumnName
in classSignallingPanel.AutoTableModel
-
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent e)
-
getColumnClass
public java.lang.Class<?> getColumnClass(int c)
- Specified by:
getColumnClass
in interfacejavax.swing.table.TableModel
- Overrides:
getColumnClass
in classSignallingPanel.AutoTableModel
-
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:
setValueAt
in interfacejavax.swing.table.TableModel
- Overrides:
setValueAt
in classjavax.swing.table.AbstractTableModel
-
isCellEditable
public boolean isCellEditable(int r, int c)
- Specified by:
isCellEditable
in interfacejavax.swing.table.TableModel
- Overrides:
isCellEditable
in classSignallingPanel.AutoTableModel
-
-