org.eclipse.nebula.widgets.nattable.selection.action
Class CellSelectionDragMode

java.lang.Object
  extended by org.eclipse.nebula.widgets.nattable.selection.action.CellSelectionDragMode
All Implemented Interfaces:
IDragMode
Direct Known Subclasses:
CellEditDragMode, RowSelectionDragMode

public class CellSelectionDragMode
extends Object
implements IDragMode

Fires commands to select a range of cells when the mouse is dragged in the viewport.


Constructor Summary
CellSelectionDragMode()
           
 
Method Summary
 void fireSelectionCommand(NatTable natTable, int columnPosition, int rowPosition, boolean shiftMask, boolean controlMask)
           
 void mouseDown(NatTable natTable, org.eclipse.swt.events.MouseEvent event)
           
 void mouseMove(NatTable natTable, org.eclipse.swt.events.MouseEvent event)
           
 void mouseUp(NatTable natTable, org.eclipse.swt.events.MouseEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellSelectionDragMode

public CellSelectionDragMode()
Method Detail

mouseDown

public void mouseDown(NatTable natTable,
                      org.eclipse.swt.events.MouseEvent event)
Specified by:
mouseDown in interface IDragMode

mouseMove

public void mouseMove(NatTable natTable,
                      org.eclipse.swt.events.MouseEvent event)
Specified by:
mouseMove in interface IDragMode

fireSelectionCommand

public void fireSelectionCommand(NatTable natTable,
                                 int columnPosition,
                                 int rowPosition,
                                 boolean shiftMask,
                                 boolean controlMask)

mouseUp

public void mouseUp(NatTable natTable,
                    org.eclipse.swt.events.MouseEvent event)
Specified by:
mouseUp in interface IDragMode


Copyright © 2015. All rights reserved.