public abstract class AbstractContextFreeCommand extends Object implements ILayerCommand
| Constructor and Description |
|---|
AbstractContextFreeCommand() |
| Modifier and Type | Method and Description |
|---|---|
AbstractContextFreeCommand |
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.
|
public boolean convertToTargetLayer(ILayer targetLayer)
ILayerCommandconvertToTargetLayer in interface ILayerCommandtargetLayer - the target layerpublic AbstractContextFreeCommand cloneCommand()
ILayerCommandObject.clone()
Used to make a copies of the command if has to passed to different layer stacks.cloneCommand in interface ILayerCommandGridLayer.doCommand(ILayerCommand)Copyright © 2013. All Rights Reserved.