public class RowReorderStartCommand extends Object implements ILayerCommand
Modifier | Constructor and Description |
---|---|
|
RowReorderStartCommand(ILayer layer,
int fromRowPosition) |
protected |
RowReorderStartCommand(RowReorderStartCommand command)
Constructor used for cloning purposes
|
Modifier and Type | Method and Description |
---|---|
RowReorderStartCommand |
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.
|
int |
getFromRowPosition() |
public RowReorderStartCommand(ILayer layer, int fromRowPosition)
layer
- The layer the position is related tofromRowPosition
- The position of the row that should be reorderedprotected RowReorderStartCommand(RowReorderStartCommand command)
command
- The command which is base for the new onepublic int getFromRowPosition()
public boolean convertToTargetLayer(ILayer targetLayer)
ILayerCommand
convertToTargetLayer
in interface ILayerCommand
targetLayer
- the target layerpublic RowReorderStartCommand 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.