Class FilterRowTextCellEditor
java.lang.Object
org.eclipse.nebula.widgets.nattable.edit.editor.AbstractCellEditor
org.eclipse.nebula.widgets.nattable.edit.editor.TextCellEditor
org.eclipse.nebula.widgets.nattable.filterrow.FilterRowTextCellEditor
- All Implemented Interfaces:
ICellEditor
Specialisation of TextCellEditor that performs a commit on edit. It is
intended to be used in a FilterRow, so filtering is triggered immediately on
entering a value. To optimize execution, the commit is triggered with a small
delay, so if a user enters multiple characters, the filter execution is not
executed for each key stroke, but only for the combination.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.nebula.widgets.nattable.edit.editor.AbstractCellEditor
AbstractCellEditor.InlineFocusListener, AbstractCellEditor.InlineTraverseListener
-
Field Summary
Fields inherited from class org.eclipse.nebula.widgets.nattable.edit.editor.TextCellEditor
autoActivationCharacters, autoActivationDelay, commitOnEnter, contentProposalAdapter, controlContentAdapter, decorationProvider, keyStroke, proposalAcceptanceStyle, proposalProvider
Fields inherited from class org.eclipse.nebula.widgets.nattable.edit.editor.AbstractCellEditor
cellStyle, configRegistry, conversionEditErrorHandler, dataValidator, displayConverter, editMode, focusListener, labelStack, layerCell, parent, traverseListener, validationEditErrorHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.swt.widgets.Text
createEditorControl
(org.eclipse.swt.widgets.Composite parent, int style) Creates the editor control that is wrapped by this ICellEditor.Methods inherited from class org.eclipse.nebula.widgets.nattable.edit.editor.TextCellEditor
activateCell, close, configureContentProposalAdapter, createEditorControl, enableContentProposal, enableContentProposal, getDecorationProvider, getEditorControl, getEditorValue, getInputConversionErrorHandler, getInputValidationErrorHandler, getSelectionMode, getTextKeyListener, isCommitOnEnter, isCommitWithCtrlKey, isEditable, isProposalPopupOpen, setCommitOnEnter, setCommitWithCtrlKey, setDecorationPositionOverride, setEditable, setEditorValue, setErrorDecorationEnabled, setFieldDecorationId, setInputConversionErrorHandler, setInputValidationErrorHandler, setSelectionMode, showErrorDecorationHover
Methods inherited from class org.eclipse.nebula.widgets.nattable.edit.editor.AbstractCellEditor
activateAtAnyPosition, activateCell, activateOnTraversal, addEditorControlListeners, calculateControlBounds, commit, commit, commit, getCanonicalValue, getCanonicalValue, getColumnIndex, getColumnPosition, getRowIndex, getRowPosition, handleConversion, isClosed, openAdjacentEditor, openInline, openMultiEditDialog, removeEditorControlListeners, setCanonicalValue, setDataValidator, supportMultiEdit, validateCanonicalValue, validateCanonicalValue
-
Constructor Details
-
FilterRowTextCellEditor
public FilterRowTextCellEditor()
-
-
Method Details
-
createEditorControl
protected org.eclipse.swt.widgets.Text createEditorControl(org.eclipse.swt.widgets.Composite parent, int style) Description copied from class:TextCellEditor
Creates the editor control that is wrapped by this ICellEditor. Will use the style configurations in ConfigRegistry for styling the control.- Overrides:
createEditorControl
in classTextCellEditor
- Parameters:
parent
- The Composite that will be the parent of the new editor control. Can not benull
style
- The SWT style of the text control to create.- Returns:
- The created editor control that is wrapped by this ICellEditor.
-