public class SelectRowsCommand extends AbstractMultiRowCommand
Modifier | Constructor and Description |
---|---|
|
SelectRowsCommand(ILayer layer,
int columnPosition,
int[] rowPositions,
boolean withShiftMask,
boolean withControlMask,
int rowPositionToMoveIntoViewport) |
|
SelectRowsCommand(ILayer layer,
int columnPosition,
int rowPosition,
boolean withShiftMask,
boolean withControlMask) |
protected |
SelectRowsCommand(SelectRowsCommand command) |
Modifier and Type | Method and Description |
---|---|
SelectRowsCommand |
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 |
getColumnPosition() |
int |
getRowPositionToMoveIntoViewport() |
boolean |
isWithControlMask() |
boolean |
isWithShiftMask() |
getRowPositions, setRowPositions
public SelectRowsCommand(ILayer layer, int columnPosition, int rowPosition, boolean withShiftMask, boolean withControlMask)
public SelectRowsCommand(ILayer layer, int columnPosition, int[] rowPositions, boolean withShiftMask, boolean withControlMask, int rowPositionToMoveIntoViewport)
protected SelectRowsCommand(SelectRowsCommand command)
public boolean convertToTargetLayer(ILayer targetLayer)
ILayerCommand
convertToTargetLayer
in interface ILayerCommand
convertToTargetLayer
in class AbstractMultiRowCommand
targetLayer
- the target layerpublic int getColumnPosition()
public boolean isWithShiftMask()
public boolean isWithControlMask()
public int getRowPositionToMoveIntoViewport()
public SelectRowsCommand cloneCommand()
ILayerCommand
Object.clone()
Used to make a copies of the command if has to passed to different layer stacks.GridLayer.doCommand(ILayerCommand)
Copyright © 2013. All Rights Reserved.