Class ColumnHeaderClickEventMatcher

java.lang.Object
org.eclipse.nebula.widgets.nattable.ui.matcher.MouseEventMatcher
org.eclipse.nebula.widgets.nattable.sort.event.ColumnHeaderClickEventMatcher
All Implemented Interfaces:
IMouseEventMatcher

public class ColumnHeaderClickEventMatcher extends MouseEventMatcher
Matches a click on the column header, except if the click is on the column edge.
  • Constructor Details

    • ColumnHeaderClickEventMatcher

      public ColumnHeaderClickEventMatcher(int stateMask, int button)
  • Method Details

    • matches

      public boolean matches(NatTable natTable, org.eclipse.swt.events.MouseEvent event, LabelStack regionLabels)
      Description copied from interface: IMouseEventMatcher
      Figures out if the mouse event occurred in the supplied region.
      Specified by:
      matches in interface IMouseEventMatcher
      Overrides:
      matches in class MouseEventMatcher
      Parameters:
      natTable - The NatTable on which the MouseEvent occured.
      event - The SWT MouseEvent.
      regionLabels - The LabelStack with the region labels of the MouseEvent coordinates.
      Returns:
      true if the MouseEvent matches this IMouseEventMatcher and should therefore be handled, false if not