Class 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  
      • Fields inherited from class javax.swing.AbstractCellEditor

        changeEvent, listenerList
    • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.swing.CellEditor

        addCellEditorListener, cancelCellEditing, removeCellEditorListener, shouldSelectCell, stopCellEditing
    • Field Detail

      • spinner

        final javax.swing.JSpinner spinner
    • 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 interface javax.swing.table.TableCellEditor
      • isCellEditable

        public boolean isCellEditable​(java.util.EventObject evt)
        Specified by:
        isCellEditable in interface javax.swing.CellEditor
        Overrides:
        isCellEditable in class javax.swing.AbstractCellEditor
      • getCellEditorValue

        public java.lang.Object getCellEditorValue()
        Specified by:
        getCellEditorValue in interface javax.swing.CellEditor
      • stateChanged

        public void stateChanged​(javax.swing.event.ChangeEvent eve)
        Specified by:
        stateChanged in interface javax.swing.event.ChangeListener