public abstract class AbstractPositionCommand extends Object implements ILayerCommand
Modifier | Constructor and Description |
---|---|
protected |
AbstractPositionCommand(AbstractPositionCommand command) |
protected |
AbstractPositionCommand(ILayer layer,
int columnPosition,
int rowPosition) |
Modifier and Type | Method and Description |
---|---|
boolean |
convertToTargetLayer(ILayer targetLayer)
Convert the row/column coordinates the command might be carrying from the source layer
to the destination (target) layer.
|
int |
getColumnPosition() |
int |
getRowPosition() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
cloneCommand
protected AbstractPositionCommand(ILayer layer, int columnPosition, int rowPosition)
protected AbstractPositionCommand(AbstractPositionCommand command)
public boolean convertToTargetLayer(ILayer targetLayer)
ILayerCommand
convertToTargetLayer
in interface ILayerCommand
targetLayer
- the target layerpublic int getColumnPosition()
public int getRowPosition()
Copyright © 2013. All Rights Reserved.