Package jmri.jmrit.beantable
Class SectionTableAction.BlockTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
jmri.jmrit.beantable.SectionTableAction.BlockTableModel
- All Implemented Interfaces:
PropertyChangeListener,Serializable,EventListener,TableModel
- Enclosing class:
- SectionTableAction
public class SectionTableAction.BlockTableModel
extends AbstractTableModel
implements PropertyChangeListener
Table model for Blocks in Create/Edit Section window
- See Also:
-
Field Summary
FieldsFields inherited from class javax.swing.table.AbstractTableModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Class<?>getColumnClass(int c) intgetColumnName(int col) intgetPreferredWidth(int col) intgetValueAt(int r, int c) (package private) final voidinit()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
-
SNAME_COLUMN
- See Also:
-
UNAME_COLUMN
- See Also:
-
-
Constructor Details
-
BlockTableModel
public BlockTableModel()
-
-
Method Details
-
init
-
dispose
-
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
-