public class RowReorderEndCommand extends Object implements ILayerCommand
Modifier | Constructor and Description |
---|---|
|
RowReorderEndCommand(ILayer layer,
int toRowPosition) |
protected |
RowReorderEndCommand(RowReorderEndCommand command)
Constructor used for cloning purposes
|
Modifier and Type | Method and Description |
---|---|
RowReorderEndCommand |
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 |
getToRowPosition() |
boolean |
isReorderToTopEdge() |
public RowReorderEndCommand(ILayer layer, int toRowPosition)
layer
- The layer the position is related totoRowPosition
- The position of the row to which the dragged row should be droppedprotected RowReorderEndCommand(RowReorderEndCommand command)
command
- The command which is base for the new onepublic int getToRowPosition()
public boolean isReorderToTopEdge()
public boolean convertToTargetLayer(ILayer targetLayer)
ILayerCommand
convertToTargetLayer
in interface ILayerCommand
targetLayer
- the target layerpublic RowReorderEndCommand 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.