public class MultiColumnReorderCommand extends Object implements ILayerCommand
Modifier | Constructor and Description |
---|---|
|
MultiColumnReorderCommand(ILayer layer,
List<Integer> fromColumnPositions,
int toColumnPosition) |
|
MultiColumnReorderCommand(ILayer layer,
List<Integer> fromColumnPositions,
int toColumnPosition,
boolean reorderToLeftEdge) |
protected |
MultiColumnReorderCommand(MultiColumnReorderCommand command) |
Modifier and Type | Method and Description |
---|---|
MultiColumnReorderCommand |
cloneCommand()
Same semantics as
Object.clone()
Used to make a copies of the command if has to passed to different layer stacks. |
boolean |
convertToTargetLayer(ILayer targetLayer)
Convert the row/column coordinates the command might be carrying from the source layer
to the destination (target) layer.
|
List<Integer> |
getFromColumnPositions() |
int |
getToColumnPosition() |
boolean |
isReorderToLeftEdge() |
public MultiColumnReorderCommand(ILayer layer, List<Integer> fromColumnPositions, int toColumnPosition)
public MultiColumnReorderCommand(ILayer layer, List<Integer> fromColumnPositions, int toColumnPosition, boolean reorderToLeftEdge)
protected MultiColumnReorderCommand(MultiColumnReorderCommand command)
public int getToColumnPosition()
public boolean isReorderToLeftEdge()
public boolean convertToTargetLayer(ILayer targetLayer)
ILayerCommand
convertToTargetLayer
in interface ILayerCommand
targetLayer
- the target layerpublic MultiColumnReorderCommand cloneCommand()
ILayerCommand
Object.clone()
Used to make a copies of the command if has to passed to different layer stacks.cloneCommand
in interface ILayerCommand
GridLayer.doCommand(ILayerCommand)
Copyright © 2013. All Rights Reserved.