public static class TreeTable.ColorEditor extends AbstractCellEditor implements ITreeTableCellEditor
Color.changeEvent, listenerList| Constructor and Description |
|---|
ColorEditor()
Constructs a new editor for
Color values. |
| Modifier and Type | Method and Description |
|---|---|
Object |
getCellEditorValue() |
Component |
getTreeTableCellEditorComponent(TreeTable tree,
Object value,
boolean selected,
int row,
int column)
Returns the editor component that will be placed inside the cell so that
the user can edit the cell's value.
|
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditingpublic ColorEditor()
Color values.public Component getTreeTableCellEditorComponent(TreeTable tree, Object value, boolean selected, int row, int column)
ITreeTableCellEditorgetTreeTableCellEditorComponent in interface ITreeTableCellEditortree - the tree table component to which the editor component will be
addedvalue - the current value shown in the tree table cellselected - a flag that signals whether the row in which the cell is
located is currently selectedrow - the row in which the cell is locatedcolumn - the column in which the cell is locatedpublic Object getCellEditorValue()
getCellEditorValue in interface CellEditorCopyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.