Class LncvProgTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
jmri.jmrix.loconet.swing.lncvprog.LncvProgTableModel
- All Implemented Interfaces:
PropertyChangeListener,Serializable,EventListener,TableModel,ProgrammingTool
public class LncvProgTableModel
extends AbstractTableModel
implements PropertyChangeListener, ProgrammingTool
Table model for the programmed LNCV Modules table.
See Sv2f Programing tool
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Rosterstatic final intstatic final intstatic final intstatic final intprotected LncvDevicesManagerstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class javax.swing.table.AbstractTableModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Class<?>getColumnClass(int c) intgetColumnName(int c) intgetValueAt(int r, int c) voidbooleanisCellEditable(int r, int c) voidopenPaneOpsProgFrame(RosterEntry re, String name, String programmerFile, Programmer p) Open a symbolic programmer for the device in the roster entry.voidvoidsetValueAt(Object value, int r, int c) Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
-
Field Details
-
COUNT_COLUMN
- See Also:
-
ARTICLE_COLUMN
- See Also:
-
MODADDR_COLUMN
- See Also:
-
CV_COLUMN
- See Also:
-
VALUE_COLUMN
- See Also:
-
DEVICENAME_COLUMN
- See Also:
-
ROSTERENTRY_COLUMN
- See Also:
-
OPENPRGMRBUTTON_COLUMN
- See Also:
-
NUMCOLUMNS
- See Also:
-
_roster
-
lncvdm
-
-
Constructor Details
-
LncvProgTableModel
LncvProgTableModel(LncvProgPane parent, @Nonnull LocoNetSystemConnectionMemo memo)
-
-
Method Details
-
initTable
-
getColumnName
- Specified by:
getColumnNamein interfaceTableModel- Overrides:
getColumnNamein classAbstractTableModel
-
getColumnClass
- Specified by:
getColumnClassin interfaceTableModel- Overrides:
getColumnClassin classAbstractTableModel
-
isCellEditable
- Specified by:
isCellEditablein interfaceTableModel- Overrides:
isCellEditablein classAbstractTableModel
-
getColumnCount
- Specified by:
getColumnCountin interfaceTableModel
-
getRowCount
- Specified by:
getRowCountin interfaceTableModel
-
getValueAt
- Specified by:
getValueAtin interfaceTableModel
-
setValueAt
- Specified by:
setValueAtin interfaceTableModel- Overrides:
setValueAtin classAbstractTableModel
-
openPaneOpsProgFrame
Open a symbolic programmer for the device in the roster entry.- Specified by:
openPaneOpsProgFramein interfaceProgrammingTool- Parameters:
re- Roster Entry of the device to be programmedname- name of the device to be programmedprogrammerFile- the programmer filep- the programmer
-
propertyChange
- Specified by:
propertyChangein interfacePropertyChangeListener
-
dispose
-