Class CbusNodeNVEditTablePane.NvSpinnerEditor
- java.lang.Object
-
- javax.swing.AbstractCellEditor
-
- jmri.jmrix.can.cbus.swing.nodeconfig.CbusNodeNVEditTablePane.NvSpinnerEditor
-
- All Implemented Interfaces:
java.io.Serializable
,java.util.EventListener
,javax.swing.CellEditor
,javax.swing.event.ChangeListener
,javax.swing.table.TableCellEditor
- Enclosing class:
- CbusNodeNVEditTablePane
protected static class CbusNodeNVEditTablePane.NvSpinnerEditor extends javax.swing.AbstractCellEditor implements javax.swing.event.ChangeListener, javax.swing.table.TableCellEditor
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) javax.swing.JSpinner
spinner
-
Constructor Summary
Constructors Constructor Description NvSpinnerEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getCellEditorValue()
java.awt.Component
getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int column)
(package private) void
init()
boolean
isCellEditable(java.util.EventObject evt)
void
stateChanged(javax.swing.event.ChangeEvent eve)
-
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener, shouldSelectCell, stopCellEditing
-
-
-
-
Field Detail
-
spinner
final javax.swing.JSpinner spinner
-
-
Constructor Detail
-
NvSpinnerEditor
public NvSpinnerEditor()
-
-
Method Detail
-
init
final void init()
-
getTableCellEditorComponent
public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int column)
- Specified by:
getTableCellEditorComponent
in interfacejavax.swing.table.TableCellEditor
-
isCellEditable
public boolean isCellEditable(java.util.EventObject evt)
- Specified by:
isCellEditable
in interfacejavax.swing.CellEditor
- Overrides:
isCellEditable
in classjavax.swing.AbstractCellEditor
-
getCellEditorValue
public java.lang.Object getCellEditorValue()
- Specified by:
getCellEditorValue
in interfacejavax.swing.CellEditor
-
stateChanged
public void stateChanged(javax.swing.event.ChangeEvent eve)
- Specified by:
stateChanged
in interfacejavax.swing.event.ChangeListener
-
-