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

java.lang.Object
  extended by org.eclipse.nebula.widgets.nattable.selection.action.CellSelectionDragMode
      extended by org.eclipse.nebula.widgets.nattable.selection.action.RowSelectionDragMode
          extended by org.eclipse.nebula.widgets.nattable.selection.action.SingleRowSelectionDragMode
All Implemented Interfaces:
IDragMode

public class SingleRowSelectionDragMode
extends RowSelectionDragMode
implements IDragMode

Selects the entire row when the mouse is dragged on the body. Only a single row is selected at a given time. This is the row the mouse is over.

See Also:
RowOnlySelectionBindings

Constructor Summary
SingleRowSelectionDragMode()
           
 
Method Summary
 void mouseMove(NatTable natTable, org.eclipse.swt.events.MouseEvent event)
           
 
Methods inherited from class org.eclipse.nebula.widgets.nattable.selection.action.RowSelectionDragMode
fireSelectionCommand
 
Methods inherited from class org.eclipse.nebula.widgets.nattable.selection.action.CellSelectionDragMode
mouseDown, mouseUp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.nebula.widgets.nattable.ui.action.IDragMode
mouseDown, mouseUp
 

Constructor Detail

SingleRowSelectionDragMode

public SingleRowSelectionDragMode()
Method Detail

mouseMove

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


Copyright © 2015. All rights reserved.