org.eclipse.nebula.widgets.nattable.selection.action
Class CellSelectionDragMode
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CellSelectionDragMode
public CellSelectionDragMode()
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.