Class ClearHoverStylingCommand
java.lang.Object
org.eclipse.nebula.widgets.nattable.command.AbstractContextFreeCommand
org.eclipse.nebula.widgets.nattable.hover.command.ClearHoverStylingCommand
- All Implemented Interfaces:
ILayerCommand
Command that is used to clear the hover styling in a NatTable.
This command can be used to clear every hover styling that is set in a NatTable (e.g. in a grid composition there might be several HoverLayer involved) or it can be used to clear the hover styling in every HoverLayer in the layer composition, except the one that is set to the command.
- Author:
- Dirk Fauth
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a ClearHoverStylingCommand that clears the hover styling in every HoverLayer that exists in the layer composition.ClearHoverStylingCommand
(HoverLayer hoverLayer) Create a ClearHoverStylingCommand that clears the hover styling in every HoverLayer that exists in the layer composition, except the given HoverLayer. -
Method Summary
Methods inherited from class org.eclipse.nebula.widgets.nattable.command.AbstractContextFreeCommand
cloneCommand, convertToTargetLayer
-
Constructor Details
-
ClearHoverStylingCommand
public ClearHoverStylingCommand()Create a ClearHoverStylingCommand that clears the hover styling in every HoverLayer that exists in the layer composition. -
ClearHoverStylingCommand
Create a ClearHoverStylingCommand that clears the hover styling in every HoverLayer that exists in the layer composition, except the given HoverLayer.- Parameters:
hoverLayer
- The HoverLayer whose hover styling should not be cleared. Can benull
which indicates that the hover styling in every HoverLayer in the layer composition should be cleared.
-
-
Method Details
-
getHoverLayer
- Returns:
- The HoverLayer whose hover styling should not be cleared.
-