Class TreeExpandCollapseAction

All Implemented Interfaces:

public class TreeExpandCollapseAction extends Object implements IMouseAction
IMouseAction that triggers a TreeExpandCollapseCommand for the clicked cell position. By default registered on click on the tree expand/collapse icon.
See Also:
  • Constructor Details

    • TreeExpandCollapseAction

      public TreeExpandCollapseAction()
  • Method Details

    • run

      public void run(NatTable natTable, 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
      natTable - The NatTable instance on which the MouseEvent was fired and on which the command should be executed.
      event - The received MouseEvent.