public class FormattedCellEditor extends DefaultCellEditor implements TableCellEditor
DefaultCellEditor.EditorDelegate
clickCountToStart, delegate, editorComponent
changeEvent, listenerList
Constructor and Description |
---|
FormattedCellEditor(Format format)
Creates a new instance of FormattedEditor
|
FormattedCellEditor(Format format,
int horizontalAlignment) |
FormattedCellEditor(JFormattedTextField ftf) |
Modifier and Type | Method and Description |
---|---|
Object |
getCellEditorValue()
Returns the value contained in the editor.
|
JFormattedTextField |
getFormattedTextField() |
Component |
getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column) |
protected Object |
getValue() |
protected void |
setValue(Object value) |
cancelCellEditing, getClickCountToStart, getComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell, stopCellEditing
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
public FormattedCellEditor(Format format)
format
- the formatpublic FormattedCellEditor(Format format, int horizontalAlignment)
public FormattedCellEditor(JFormattedTextField ftf)
public JFormattedTextField getFormattedTextField()
public Object getCellEditorValue()
getCellEditorValue
in interface CellEditor
getCellEditorValue
in class DefaultCellEditor
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent
in interface TableCellEditor
getTableCellEditorComponent
in class DefaultCellEditor
protected void setValue(Object value)
protected Object getValue()
Copyright © 2002–2019 SoftSmithy. All rights reserved.