Class RowSelectionDragMode
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.viewport.action.AutoScrollDragMode
-
- org.eclipse.nebula.widgets.nattable.selection.action.CellSelectionDragMode
-
- org.eclipse.nebula.widgets.nattable.selection.action.RowSelectionDragMode
-
- All Implemented Interfaces:
IDragMode
- Direct Known Subclasses:
SingleRowSelectionDragMode
public class RowSelectionDragMode extends CellSelectionDragMode
Selects the entire row when the mouse is dragged on the body. Multiple rows are selected as the user drags.- See Also:
RowOnlySelectionBindings
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.nebula.widgets.nattable.viewport.action.AutoScrollDragMode
AutoScrollDragMode.AutoScrollRunnable
-
-
Field Summary
-
Fields inherited from class org.eclipse.nebula.widgets.nattable.viewport.action.AutoScrollDragMode
horizontalBorderOffset, verticalBorderOffset
-
-
Constructor Summary
Constructors Constructor Description RowSelectionDragMode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fireSelectionCommand(NatTable natTable, int columnPosition, int rowPosition, boolean shiftMask, boolean controlMask)
Execute a command to trigger selection.-
Methods inherited from class org.eclipse.nebula.widgets.nattable.selection.action.CellSelectionDragMode
mouseDown, mouseUp, performDragAction
-
Methods inherited from class org.eclipse.nebula.widgets.nattable.viewport.action.AutoScrollDragMode
mouseMove
-
-
-
-
Method Detail
-
fireSelectionCommand
public void fireSelectionCommand(NatTable natTable, int columnPosition, int rowPosition, boolean shiftMask, boolean controlMask)
Description copied from class:CellSelectionDragMode
Execute a command to trigger selection.- Overrides:
fireSelectionCommand
in classCellSelectionDragMode
- Parameters:
natTable
- The NatTable to execute the command on.columnPosition
- The column position of the cell to select.rowPosition
- The row position of the cell to select.shiftMask
- Flag to configure whether the SHIFT mask is activated or not.controlMask
- Flag to configure whether the CTRL mask is activated or not.
-
-