Class HorizontalResizeCursorAction

java.lang.Object
org.eclipse.nebula.widgets.nattable.resize.action.HorizontalResizeCursorAction
All Implemented Interfaces:
IMouseAction

public class HorizontalResizeCursorAction extends Object implements IMouseAction
Action to enable a custom cursor (resize) on NatTable. Used when moving over the border of a resizable composite.
Since:
1.4
  • Constructor Details

    • HorizontalResizeCursorAction

      public HorizontalResizeCursorAction()
  • Method Details

    • run

      public void run(NatTable natTable, org.eclipse.swt.events.MouseEvent event)
      Description copied from interface: IMouseAction
      Translates the SWT MouseEvent to a NatTable command and executes that command accordingly.
      Specified by:
      run in interface IMouseAction
      Parameters:
      natTable - The NatTable instance on which the MouseEvent was fired and on which the command should be executed.
      event - The received MouseEvent.