Class ColumnGroupReorderStartCommand
java.lang.Object
org.eclipse.nebula.widgets.nattable.command.AbstractColumnCommand
org.eclipse.nebula.widgets.nattable.group.performance.command.ColumnGroupReorderStartCommand
- All Implemented Interfaces:
ILayerCommand
Command to start a column group reordering via drag mode.
The command does not inherit the ColumnReorderStartCommand as then it would be consumed first by the ColumnReorderLayer in the body layer stack and would not come to the column header layer stack.
- Since:
- 1.6
-
Constructor Summary
ModifierConstructorDescriptionprotected
Clone constructor.ColumnGroupReorderStartCommand
(ILayer layer, int level, int fromColumnPosition) -
Method Summary
Modifier and TypeMethodDescriptionSame 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.AbstractColumnCommand
convertToTargetLayer, getColumnPosition, getLayer, toString
-
Constructor Details
-
ColumnGroupReorderStartCommand
- Parameters:
layer
- The layer to which the position matches.level
- The group level on which the group reorder should be performed.fromColumnPosition
- The column position from which the reorder is started via drag.
-
ColumnGroupReorderStartCommand
Clone constructor.- Parameters:
command
- The command to clone.
-
-
Method Details
-
getLevel
public int getLevel()- Returns:
- The group level on which the group reorder should be performed.
-
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:
-