public class SelectRowCommandHandler extends Object implements ILayerCommandHandler<SelectRowsCommand>
Constructor and Description |
---|
SelectRowCommandHandler(SelectionLayer selectionLayer) |
Modifier and Type | Method and Description |
---|---|
boolean |
doCommand(ILayer targetLayer,
SelectRowsCommand command) |
Class<SelectRowsCommand> |
getCommandClass() |
protected void |
selectRows(int columnPosition,
Collection<Integer> rowPositions,
boolean withShiftMask,
boolean withControlMask,
int rowPositionToMoveIntoViewport) |
public SelectRowCommandHandler(SelectionLayer selectionLayer)
public boolean doCommand(ILayer targetLayer, SelectRowsCommand command)
doCommand
in interface ILayerCommandHandler<SelectRowsCommand>
targetLayer
- the target layercommand
- the commandprotected void selectRows(int columnPosition, Collection<Integer> rowPositions, boolean withShiftMask, boolean withControlMask, int rowPositionToMoveIntoViewport)
public Class<SelectRowsCommand> getCommandClass()
getCommandClass
in interface ILayerCommandHandler<SelectRowsCommand>
Copyright © 2013. All Rights Reserved.