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, setRowPositionspublic 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)
ILayerCommandconvertToTargetLayer in interface ILayerCommandconvertToTargetLayer in class AbstractMultiRowCommandtargetLayer - the target layerpublic int getColumnPosition()
public boolean isWithShiftMask()
public boolean isWithControlMask()
public int getRowPositionToMoveIntoViewport()
public SelectRowsCommand cloneCommand()
ILayerCommandObject.clone() Used to make a copies of the
command if has to passed to different layer stacks.GridLayer.doCommand(ILayerCommand)Copyright © 2016. All rights reserved.