public class DataFrameCellEditor extends AbstractCellEditor implements TableCellEditor
This is open source software released under the Apache 2.0 License
| Modifier and Type | Field and Description |
|---|---|
private ActionListener |
actionListener |
private Component |
editor |
private boolean |
selectAll |
private Object |
value |
changeEvent, listenerList| Constructor and Description |
|---|
DataFrameCellEditor()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancelCellEditing() |
Object |
getCellEditorValue() |
Component |
getTableCellEditorComponent(JTable table,
Object value,
boolean selected,
int rowIndex,
int colIndex) |
boolean |
isCellEditable(EventObject event) |
boolean |
isSelectAll()
Returns true if this editor is in select all mode
|
void |
setSelectAll(boolean selectAll)
Sets whether this editor performs selectAll on edit
|
boolean |
shouldSelectCell(EventObject event) |
boolean |
stopCellEditing() |
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCellEditorListener, removeCellEditorListenerprivate Object value
private Component editor
private boolean selectAll
private ActionListener actionListener
public boolean isSelectAll()
public void setSelectAll(boolean selectAll)
selectAll - true to select all text on editpublic boolean isCellEditable(EventObject event)
isCellEditable in interface CellEditorisCellEditable in class AbstractCellEditorpublic boolean shouldSelectCell(EventObject event)
shouldSelectCell in interface CellEditorshouldSelectCell in class AbstractCellEditorpublic boolean stopCellEditing()
stopCellEditing in interface CellEditorstopCellEditing in class AbstractCellEditorpublic void cancelCellEditing()
cancelCellEditing in interface CellEditorcancelCellEditing in class AbstractCellEditorpublic Object getCellEditorValue()
getCellEditorValue in interface CellEditorpublic Component getTableCellEditorComponent(JTable table, Object value, boolean selected, int rowIndex, int colIndex)
getTableCellEditorComponent in interface TableCellEditorCopyright 2014-2017, Xavier Witdouck