public class CellSelectionEvent extends CellVisualChangeEvent implements ISelectionEvent
columnPosition, layer, rowPosition| Modifier | Constructor and Description |
|---|---|
protected |
CellSelectionEvent(CellSelectionEvent event) |
|
CellSelectionEvent(SelectionLayer selectionLayer,
int columnPosition,
int rowPosition,
boolean withShiftMask,
boolean withControlMask) |
| Modifier and Type | Method and Description |
|---|---|
CellSelectionEvent |
cloneEvent() |
boolean |
convertToLocal(ILayer localLayer)
Convert the column/row positions carried by the event to the layer about
to handle the event.
|
SelectionLayer |
getSelectionLayer() |
boolean |
isWithControlMask() |
boolean |
isWithShiftMask() |
getChangedPositionRectangles, getColumnPosition, getLayer, getRowPositionpublic CellSelectionEvent(SelectionLayer selectionLayer, int columnPosition, int rowPosition, boolean withShiftMask, boolean withControlMask)
protected CellSelectionEvent(CellSelectionEvent event)
public SelectionLayer getSelectionLayer()
getSelectionLayer in interface ISelectionEventpublic CellSelectionEvent cloneEvent()
cloneEvent in interface ILayerEventcloneEvent in class CellVisualChangeEventpublic boolean isWithShiftMask()
public boolean isWithControlMask()
public boolean convertToLocal(ILayer localLayer)
ILayerEventconvertToLocal in interface ILayerEventconvertToLocal in class CellVisualChangeEventlocalLayer - layer about to receive the eventCopyright © 2017. All rights reserved.