public class CellLabelMouseEventMatcher extends MouseEventMatcher
LEFT_BUTTON, RIGHT_BUTTON| Constructor and Description |
|---|
CellLabelMouseEventMatcher(int stateMask,
String regionName,
int button,
String labelToMatch) |
CellLabelMouseEventMatcher(String regionName,
int button,
String labelToMatch) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(NatTable natTable,
org.eclipse.swt.events.MouseEvent event,
LabelStack regionLabels)
Figures out if the mouse event occurred in the supplied region.
|
bodyLeftClick, bodyRightClick, columnGroupHeaderLeftClick, columnGroupHeaderRightClick, columnHeaderLeftClick, columnHeaderRightClick, equals, getButton, getEventRegion, getStateMask, hashCode, rowGroupHeaderLeftClick, rowGroupHeaderRightClick, rowHeaderLeftClick, rowHeaderRightClickpublic CellLabelMouseEventMatcher(String regionName, int button, String labelToMatch)
public boolean matches(NatTable natTable, org.eclipse.swt.events.MouseEvent event, LabelStack regionLabels)
IMouseEventMatchermatches in interface IMouseEventMatchermatches in class MouseEventMatchernatTable - The NatTable on which the MouseEvent occured.event - The SWT MouseEvent.regionLabels - The LabelStack with the region labels of the
MouseEvent coordinates.true if the MouseEvent matches this
IMouseEventMatcher and should therefore be handled,
false if notCopyright © 2019. All rights reserved.