Class MouseMoveAction
java.lang.Object
org.eclipse.nebula.widgets.nattable.ui.action.MouseMoveAction
- All Implemented Interfaces:
IMouseAction
IMouseAction that is used to configure mouse move bindings. Contains
a IMouseAction that is executed on entering the
IMouseEventMatcher and a IMouseAction that is executed once
the IMouseEventMatcher is exited.-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal IMouseActionfinal IMouseActionfinal IMouseEventMatcherfinal boolean -
Constructor Summary
ConstructorsConstructorDescriptionMouseMoveAction(IMouseEventMatcher mouseEventMatcher, IMouseAction entryAction, IMouseAction exitAction, boolean reexecuteEntryAction) -
Method Summary
-
Field Details
-
mouseEventMatcher
-
entryAction
-
exitAction
-
reexecuteEntryAction
public final boolean reexecuteEntryAction
-
-
Constructor Details
-
MouseMoveAction
public MouseMoveAction(IMouseEventMatcher mouseEventMatcher, IMouseAction entryAction, IMouseAction exitAction, boolean reexecuteEntryAction) - Parameters:
mouseEventMatcher- TheIMouseEventMatcherto determine the enter and exit condition.entryAction- TheIMouseActionthat should be executed on enter.exitAction- TheIMouseActionthat should be executed on exit.reexecuteEntryAction-trueif the entry action should be executed everytime as long as theIMouseEventMatchermatches,falseif the entry action should only be executed on enter.
-
-
Method Details
-
run
Description copied from interface:IMouseActionTranslates the SWT MouseEvent to a NatTable command and executes that command accordingly.- Specified by:
runin interfaceIMouseAction- Parameters:
natTable- The NatTable instance on which the MouseEvent was fired and on which the command should be executed.event- The received MouseEvent.
-
runExit
-