qflib 0.99

de.qfs.lib.option
Class TableOptionEdit.NumberEditor

java.lang.Object
  extended byjavax.swing.AbstractCellEditor
      extended byjavax.swing.DefaultCellEditor
          extended byde.qfs.lib.option.TableOptionEdit.Editor
              extended byde.qfs.lib.option.TableOptionEdit.NumberEditor
All Implemented Interfaces:
javax.swing.CellEditor, java.io.Serializable, javax.swing.table.TableCellEditor, javax.swing.tree.TreeCellEditor
Enclosing class:
TableOptionEdit

public class TableOptionEdit.NumberEditor
extends TableOptionEdit.Editor

Editor for Number table cell.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.DefaultCellEditor
javax.swing.DefaultCellEditor.EditorDelegate
 
Field Summary
 
Fields inherited from class javax.swing.DefaultCellEditor
clickCountToStart, delegate, editorComponent
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
TableOptionEdit.NumberEditor()
          Create a new NumberEditor.
 
Method Summary
 java.lang.Object getCellEditorValue()
           
 java.awt.Component getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int column)
          Get the editor component for a cell.
 boolean stopCellEditing()
           
 
Methods inherited from class de.qfs.lib.option.TableOptionEdit.Editor
insertChar, isCellEditable, shouldSelectCell
 
Methods inherited from class javax.swing.DefaultCellEditor
cancelCellEditing, getClickCountToStart, getComponent, getTreeCellEditorComponent, setClickCountToStart
 
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener
 
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, removeCellEditorListener
 

Constructor Detail

TableOptionEdit.NumberEditor

public TableOptionEdit.NumberEditor()
Create a new NumberEditor.

Method Detail

stopCellEditing

public boolean stopCellEditing()

getTableCellEditorComponent

public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table,
                                                      java.lang.Object value,
                                                      boolean isSelected,
                                                      int row,
                                                      int column)
Get the editor component for a cell.

Specified by:
getTableCellEditorComponent in interface javax.swing.table.TableCellEditor
Overrides:
getTableCellEditorComponent in class TableOptionEdit.Editor
Parameters:
table - The table being edited.
value - The cell value.
isSelected - Whether the cell is selected.
row - The cell's row index.
column - The cell's column index.
Returns:
The editor component.

getCellEditorValue

public java.lang.Object getCellEditorValue()

qflib 0.99