Interface IMouseClickAction
-
- All Superinterfaces:
IMouseAction
- All Known Implementing Classes:
ColumnGroupExpandCollapseAction
,MouseEditAction
,RowGroupExpandCollapseAction
public interface IMouseClickAction extends IMouseAction
Specialisation of IMouseAction for specifying an action that is executed on mouse click. It simply adds the attribute for exclusiveness, which allows to configure if the action should be executed or not if there is a single click and a double click action configured.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isExclusive()
Configuration of this IMouseClickAction to specify the behaviour when this action is configured to be a single click action, and there is also a double click action registered.-
Methods inherited from interface org.eclipse.nebula.widgets.nattable.ui.action.IMouseAction
run
-
-
-
-
Method Detail
-
isExclusive
boolean isExclusive()
Configuration of this IMouseClickAction to specify the behaviour when this action is configured to be a single click action, and there is also a double click action registered.If this method returns
true
, this means either the single OR the double click action is executed. Returningfalse
will execute the single click action immediately and the double click action additionally.Note: Being an exclusive action means that the double click action will be executed and the single click action will be cancelled. This also means that the single click action will not be performed until the double click action time is waited.
- Returns:
true
if this action is exclusive,false
if not.
-
-