public class DoubleCellEditor
extends javax.swing.DefaultCellEditor
| Constructor and Description |
|---|
DoubleCellEditor()
Constructor.
|
DoubleCellEditor(double min,
double max)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getCellEditorValue() |
static DoubleCellEditor |
getInstance()
Returns the default instance.
|
java.awt.Component |
getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column) |
boolean |
stopCellEditing() |
cancelCellEditing, getClickCountToStart, getComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCelladdCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListenerpublic DoubleCellEditor()
public DoubleCellEditor(double min,
double max)
min - the minimum of valid values.max - the maximum of valid values.public static DoubleCellEditor getInstance()
public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column)
getTableCellEditorComponent in interface javax.swing.table.TableCellEditorgetTableCellEditorComponent in class javax.swing.DefaultCellEditorpublic java.lang.Object getCellEditorValue()
getCellEditorValue in interface javax.swing.CellEditorgetCellEditorValue in class javax.swing.DefaultCellEditorpublic boolean stopCellEditing()
stopCellEditing in interface javax.swing.CellEditorstopCellEditing in class javax.swing.DefaultCellEditor