public class NumberCellEditor<E extends Number> extends AbstractCellEditor implements TableCellEditor, FocusListener, AncestorListener
| Modifier and Type | Field and Description |
|---|---|
protected NumberEditor |
numberEditor |
changeEvent, listenerList| Constructor and Description |
|---|
NumberCellEditor(Class<E> type,
boolean useSign)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
ancestorAdded(AncestorEvent event) |
void |
ancestorMoved(AncestorEvent event) |
void |
ancestorRemoved(AncestorEvent event) |
void |
focusGained(FocusEvent e) |
void |
focusLost(FocusEvent e) |
E |
getCellEditorValue() |
NumberEditor |
getNumberEditor() |
Component |
getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column) |
boolean |
stopCellEditing() |
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCellclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCellprotected final NumberEditor numberEditor
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent in interface TableCellEditorpublic NumberEditor getNumberEditor()
public E getCellEditorValue()
getCellEditorValue in interface CellEditorpublic void focusGained(FocusEvent e)
focusGained in interface FocusListenerpublic void focusLost(FocusEvent e)
focusLost in interface FocusListenerpublic void ancestorAdded(AncestorEvent event)
ancestorAdded in interface AncestorListenerpublic void ancestorRemoved(AncestorEvent event)
ancestorRemoved in interface AncestorListenerpublic void ancestorMoved(AncestorEvent event)
ancestorMoved in interface AncestorListenerpublic boolean stopCellEditing()
stopCellEditing in interface CellEditorstopCellEditing in class AbstractCellEditorCopyright © 2008–2017 Ultreia.io. All rights reserved.