jmri.jmrix.cmri.serial.nodeconfig
Class NodeConfigFrame.CardConfigModel
java.lang.Object
javax.swing.table.AbstractTableModel
jmri.jmrix.cmri.serial.nodeconfig.NodeConfigFrame.CardConfigModel
- All Implemented Interfaces:
- Serializable, TableModel
- Enclosing class:
- NodeConfigFrame
public class NodeConfigFrame.CardConfigModel
- extends AbstractTableModel
Set up table for selecting card type by address for USIC_SUSIC nodes
- See Also:
- Serialized Form
| Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ADDRESS_COLUMN
public static final int ADDRESS_COLUMN
- See Also:
- Constant Field Values
TYPE_COLUMN
public static final int TYPE_COLUMN
- See Also:
- Constant Field Values
NodeConfigFrame.CardConfigModel
public NodeConfigFrame.CardConfigModel()
getColumnName
public String getColumnName(int c)
- Specified by:
getColumnName in interface TableModel- Overrides:
getColumnName in class AbstractTableModel
getColumnClass
public Class<?> getColumnClass(int c)
- Specified by:
getColumnClass in interface TableModel- Overrides:
getColumnClass in class AbstractTableModel
getColumnCount
public int getColumnCount()
getRowCount
public int getRowCount()
getValueAt
public Object getValueAt(int r,
int c)
setValueAt
public void setValueAt(Object type,
int r,
int c)
- Specified by:
setValueAt in interface TableModel- Overrides:
setValueAt in class AbstractTableModel
isCellEditable
public boolean isCellEditable(int r,
int c)
- Specified by:
isCellEditable in interface TableModel- Overrides:
isCellEditable in class AbstractTableModel
Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.
Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: