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
Selects the entire row when the mouse is dragged on the body. Multiple
rows are selected as the user drags.
- See Also:
-
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidfireSelectionCommand(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, performDragActionMethods inherited from class org.eclipse.nebula.widgets.nattable.viewport.action.AutoScrollDragMode
mouseMove
-
Constructor Details
-
RowSelectionDragMode
public RowSelectionDragMode()
-
-
Method Details
-
fireSelectionCommand
public void fireSelectionCommand(NatTable natTable, int columnPosition, int rowPosition, boolean shiftMask, boolean controlMask) Description copied from class:CellSelectionDragModeExecute a command to trigger selection.- Overrides:
fireSelectionCommandin 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.
-