public class FXPaintCellEditor extends DialogCellEditor
FXPaintCellEditor
is a DialogCellEditor
that is capable
of displaying a currently selected Color
and of changing that color
via a dialog.CellEditor.LayoutData
CELL_EDITOR_IMG_DOTS_BUTTON
COPY, CUT, DELETE, FIND, PASTE, REDO, SELECT_ALL, UNDO
Constructor and Description |
---|
FXPaintCellEditor(Composite parent)
Constructs a new
FXPaintCellEditor . |
FXPaintCellEditor(Composite parent,
int style)
Constructs a new
FXPaintCellEditor . |
Modifier and Type | Method and Description |
---|---|
protected ImageData |
createPaintImage(Control w,
javafx.scene.paint.Paint paint)
Creates an
ImageData filled with the given Paint . |
void |
dispose() |
protected void |
doSetValue(java.lang.Object value) |
protected java.lang.Object |
openDialogBox(Control cellEditorWindow) |
protected void |
updateContents(java.lang.Object value) |
createButton, createContents, createControl, deactivate, doGetValue, doSetFocus, getDefaultLabel
activate, activate, addListener, addPropertyChangeListener, create, deactivate, dependsOnExternalFocusListener, fireApplyEditorValue, fireCancelEditor, fireEditorValueChanged, fireEnablementChanged, focusLost, getControl, getDoubleClickTimeout, getErrorMessage, getLayoutData, getStyle, getValidator, getValue, isActivated, isCopyEnabled, isCorrect, isCutEnabled, isDeleteEnabled, isDirty, isFindEnabled, isPasteEnabled, isRedoEnabled, isSelectAllEnabled, isUndoEnabled, isValueValid, keyReleaseOccured, markDirty, performCopy, performCut, performDelete, performFind, performPaste, performRedo, performSelectAll, performUndo, removeListener, removePropertyChangeListener, setErrorMessage, setFocus, setStyle, setValidator, setValue, setValueValid, valueChanged
public FXPaintCellEditor(Composite parent)
FXPaintCellEditor
.parent
- The parent Composite
.public FXPaintCellEditor(Composite parent, int style)
FXPaintCellEditor
.parent
- The parent Composite
.style
- The SWT style for this control.public void dispose()
dispose
in class CellEditor
protected void doSetValue(java.lang.Object value)
doSetValue
in class DialogCellEditor
protected java.lang.Object openDialogBox(Control cellEditorWindow)
openDialogBox
in class DialogCellEditor
protected void updateContents(java.lang.Object value)
updateContents
in class DialogCellEditor
Copyright (c) 2014, 2016 itemis AG and others. All rights reserved.