insensa.view.dialogs.sensi
Class ModeHighLow.SpinnerEditor

java.lang.Object
  extended by javax.swing.AbstractCellEditor
      extended by insensa.view.dialogs.sensi.ModeHighLow.SpinnerEditor
All Implemented Interfaces:
java.io.Serializable, javax.swing.CellEditor, javax.swing.table.TableCellEditor
Enclosing class:
ModeHighLow

 class ModeHighLow.SpinnerEditor
extends javax.swing.AbstractCellEditor
implements javax.swing.table.TableCellEditor


Field Summary
(package private)  javax.swing.JSpinner.NumberEditor editor
           
(package private)  javax.swing.JSpinner spinner
           
(package private)  javax.swing.SpinnerNumberModel spinnerNumberModel
           
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
ModeHighLow.SpinnerEditor()
           
 
Method Summary
 java.lang.Object getCellEditorValue()
           
 javax.swing.JSpinner getSpinner()
           
 java.awt.Component getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int column)
           
 boolean isCellEditable(java.util.EventObject evt)
           
 
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

spinnerNumberModel

javax.swing.SpinnerNumberModel spinnerNumberModel

editor

javax.swing.JSpinner.NumberEditor editor
Constructor Detail

ModeHighLow.SpinnerEditor

public ModeHighLow.SpinnerEditor()
Method Detail

getCellEditorValue

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

getSpinner

public javax.swing.JSpinner getSpinner()
Returns:

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
See Also:
TableCellEditor.getTableCellEditorComponent(javax.swing.JTable, java.lang.Object, boolean, int, int)

isCellEditable

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