Class FillHandleConfiguration
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.config.AbstractLayerConfiguration<NatTable>
-
- org.eclipse.nebula.widgets.nattable.fillhandle.config.FillHandleConfiguration
-
- All Implemented Interfaces:
IConfiguration
public class FillHandleConfiguration extends AbstractLayerConfiguration<NatTable>
Default configuration for fill handle functionality. Registers the corresponding painter, command handler and ui bindings.- Since:
- 1.4
-
-
Field Summary
Fields Modifier and Type Field Description protected InternalCellClipboard
clipboard
protected FillHandleLayerPainter
painter
protected SelectionLayer
selectionLayer
-
Constructor Summary
Constructors Constructor Description FillHandleConfiguration(SelectionLayer selectionLayer)
Create the FillHandleConfiguration for a NatTable.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configureTypedLayer(NatTable natTable)
void
configureUiBindings(UiBindingRegistry uiBindingRegistry)
Configure NatTable'sUiBindingRegistry
upon receiving this callback.-
Methods inherited from class org.eclipse.nebula.widgets.nattable.config.AbstractLayerConfiguration
configureLayer, configureRegistry
-
-
-
-
Field Detail
-
selectionLayer
protected SelectionLayer selectionLayer
-
painter
protected FillHandleLayerPainter painter
-
clipboard
protected InternalCellClipboard clipboard
-
-
Constructor Detail
-
FillHandleConfiguration
public FillHandleConfiguration(SelectionLayer selectionLayer)
Create the FillHandleConfiguration for a NatTable.- Parameters:
selectionLayer
- TheSelectionLayer
needed to determine the current selection on which the fill handle will be rendered. Can not benull
.
-
-
Method Detail
-
configureTypedLayer
public void configureTypedLayer(NatTable natTable)
- Specified by:
configureTypedLayer
in classAbstractLayerConfiguration<NatTable>
-
configureUiBindings
public void configureUiBindings(UiBindingRegistry uiBindingRegistry)
Description copied from interface:IConfiguration
Configure NatTable'sUiBindingRegistry
upon receiving this callback. A mechanism to customize key/mouse bindings.- Specified by:
configureUiBindings
in interfaceIConfiguration
- Overrides:
configureUiBindings
in classAbstractLayerConfiguration<NatTable>
- Parameters:
uiBindingRegistry
- TheUiBindingRegistry
instance to register ui bindings to.
-
-