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, stopCellEditing
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
public ColorEditor()
Color
values.public Component getTreeTableCellEditorComponent(TreeTable tree, Object value, boolean selected, int row, int column)
ITreeTableCellEditor
getTreeTableCellEditorComponent
in interface ITreeTableCellEditor
tree
- 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 CellEditor
Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.