org.jdesktop.swingx.table
public class NumberEditorExt extends javax.swing.DefaultCellEditor
Constructor and Description |
---|
NumberEditorExt() |
NumberEditorExt(java.text.NumberFormat formatter) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getCellEditorValue() |
java.awt.Component |
getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column)
Override and set the border back to normal in case there was an error previously
|
boolean |
stopCellEditing() |
cancelCellEditing, getClickCountToStart, getComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener
public NumberEditorExt()
public NumberEditorExt(java.text.NumberFormat formatter)
public boolean stopCellEditing()
stopCellEditing
in interface javax.swing.CellEditor
stopCellEditing
in class javax.swing.DefaultCellEditor
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.TableCellEditor
getTableCellEditorComponent
in class javax.swing.DefaultCellEditor
public java.lang.Object getCellEditorValue()
getCellEditorValue
in interface javax.swing.CellEditor
getCellEditorValue
in class javax.swing.DefaultCellEditor