insensa.view.dialogs.helper
Class SpinnerEditor

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

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


Field Summary
(package private)  javax.swing.JSpinner.NumberEditor editor
           
private static long serialVersionUID
           
(package private)  javax.swing.JSpinner spinner
           
(package private)  javax.swing.SpinnerNumberModel spinnerNumberModel
           
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
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

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

spinner

final javax.swing.JSpinner spinner

spinnerNumberModel

javax.swing.SpinnerNumberModel spinnerNumberModel

editor

javax.swing.JSpinner.NumberEditor editor
Constructor Detail

SpinnerEditor

public 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)