Class AutomationsTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
jmri.jmrit.operations.automation.gui.AutomationsTableModel
- All Implemented Interfaces:
PropertyChangeListener,Serializable,EventListener,TableModel
Table model allowing the edit and status of an automation used by operations.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) List<Automation>(package private) JTable(package private) Hashtable<String,AutomationTableFrame> (package private) AutomationManagerfinal intfinal intFields 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(AutomationsTableFrame frame, JTable table) booleanisCellEditable(int row, int col) voidvoidsetSort(int sort) voidsetValueAt(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
-
automationManager
-
SORTBYNAME
- See Also:
-
SORTBYID
- See Also:
-
_sysList
-
_table
-
automationEditFrames
-
-
Constructor Details
-
AutomationsTableModel
public AutomationsTableModel()
-
-
Method Details
-
setSort
-
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
-
dispose
-
propertyChange
- Specified by:
propertyChangein interfacePropertyChangeListener
-