Interface IMouseEventMatcher

All Known Implementing Classes:
CellEditorMouseEventMatcher, CellLabelMouseEventMatcher, CellPainterMouseEventMatcher, ClearFilterIconMouseEventMatcher, ColumnHeaderClickEventMatcher, ColumnHideIndicatorEventMatcher, ColumnResizeEventMatcher, ComboBoxClearFilterIconMouseEventMatcher, DisplayModeMouseEventMatcher, FillHandleEventMatcher, FilterRowMouseEventMatcher, HierarchicalRowHideIndicatorEventMatcher, MouseEventMatcher, RowHideIndicatorEventMatcher, RowResizeEventMatcher

public interface IMouseEventMatcher
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    matches(NatTable natTable, org.eclipse.swt.events.MouseEvent event, LabelStack regionLabels)
    Figures out if the mouse event occurred in the supplied region.
  • Method Details

    • matches

      boolean matches(NatTable natTable, org.eclipse.swt.events.MouseEvent event, LabelStack regionLabels)
      Figures out if the mouse event occurred in the supplied region.
      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