Class AutomationTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
jmri.jmrit.operations.automation.gui.AutomationTableModel
- All Implemented Interfaces:
PropertyChangeListener,Serializable,EventListener,TableModel
Table Model for edit of a automation used by operations
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) Automation(package private) AutomationTableFrame(package private) List<AutomationItem>(package private) boolean(package private) JTableprotected static final StringFields inherited from class javax.swing.table.AbstractTableModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Class<?>getColumnClass(int col) intgetColumnName(int col) intgetValueAt(int row, int col) protected voidinitTable(AutomationTableFrame frame, JTable table, Automation automation) booleanisCellEditable(int row, int col) 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
-
POINTER
- See Also:
-
_automation
-
_table
-
_frame
-
_matchMode
boolean _matchMode -
_list
-
-
Constructor Details
-
AutomationTableModel
public AutomationTableModel()
-
-
Method Details
-
initTable
-
getRowCount
- Specified by:
getRowCountin interfaceTableModel
-
getColumnCount
- Specified by:
getColumnCountin interfaceTableModel
-
getColumnName
- Specified by:
getColumnNamein interfaceTableModel- Overrides:
getColumnNamein classAbstractTableModel
-
getColumnClass
- Specified by:
getColumnClassin interfaceTableModel- Overrides:
getColumnClassin classAbstractTableModel
-
isCellEditable
- Specified by:
isCellEditablein interfaceTableModel- Overrides:
isCellEditablein classAbstractTableModel
-
getValueAt
- Specified by:
getValueAtin interfaceTableModel
-
setValueAt
- Specified by:
setValueAtin interfaceTableModel- Overrides:
setValueAtin classAbstractTableModel
-
propertyChange
- Specified by:
propertyChangein interfacePropertyChangeListener
-
dispose
-