qflib 0.98.1

de.qfs.lib.option
Class TableOptionEdit.NumberEditor

java.lang.Object
  |
  +--javax.swing.AbstractCellEditor
        |
        +--javax.swing.DefaultCellEditor
              |
              +--de.qfs.lib.option.TableOptionEdit.Editor
                    |
                    +--de.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

Inner classes inherited from class javax.swing.DefaultCellEditor
javax.swing.DefaultCellEditor.EditorDelegate
 
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
isCellEditable, shouldSelectCell
 
Methods inherited from class javax.swing.DefaultCellEditor
cancelCellEditing, getClickCountToStart, getComponent, getTreeCellEditorComponent, setClickCountToStart
 
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, fireEditingCanceled, fireEditingStopped, 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()
Overrides:
stopCellEditing in class javax.swing.DefaultCellEditor

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.
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()
Overrides:
getCellEditorValue in class javax.swing.DefaultCellEditor

qflib 0.98.1