Class RowGroupReorderStartCommand
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.command.AbstractRowCommand
-
- org.eclipse.nebula.widgets.nattable.group.performance.command.RowGroupReorderStartCommand
-
- All Implemented Interfaces:
ILayerCommand
public class RowGroupReorderStartCommand extends AbstractRowCommand
Command to start a row group reordering via drag mode.The command does not inherit the RowReorderStartCommand as then it would be consumed first by the RowReorderLayer in the body layer stack and would not come to the row header layer stack.
- Since:
- 1.6
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RowGroupReorderStartCommand(RowGroupReorderStartCommand command)
Clone constructor.RowGroupReorderStartCommand(ILayer layer, int level, int fromRowPosition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RowGroupReorderStartCommand
cloneCommand()
Same semantics asObject.clone()
Used to make a copies of the command if has to passed to different layer stacks.int
getLevel()
-
Methods inherited from class org.eclipse.nebula.widgets.nattable.command.AbstractRowCommand
convertToTargetLayer, getLayer, getRowPosition, toString
-
-
-
-
Constructor Detail
-
RowGroupReorderStartCommand
public RowGroupReorderStartCommand(ILayer layer, int level, int fromRowPosition)
- Parameters:
layer
- The layer to which the position matches.level
- The group level on which the group reorder should be performed.fromRowPosition
- The row position from which the reorder is started via drag.
-
RowGroupReorderStartCommand
protected RowGroupReorderStartCommand(RowGroupReorderStartCommand command)
Clone constructor.- Parameters:
command
- The command to clone.
-
-
Method Detail
-
getLevel
public int getLevel()
- Returns:
- The group level on which the group reorder should be performed.
-
cloneCommand
public RowGroupReorderStartCommand cloneCommand()
Description copied from interface:ILayerCommand
Same semantics asObject.clone()
Used to make a copies of the command if has to passed to different layer stacks.- Returns:
- a cloned instance of the command
- See Also:
GridLayer.doCommand(ILayerCommand)
-
-