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, getRowPosition
public CellSelectionEvent(SelectionLayer selectionLayer, int columnPosition, int rowPosition, boolean withShiftMask, boolean withControlMask)
protected CellSelectionEvent(CellSelectionEvent event)
public SelectionLayer getSelectionLayer()
getSelectionLayer
in interface ISelectionEvent
public CellSelectionEvent cloneEvent()
cloneEvent
in interface ILayerEvent
cloneEvent
in class CellVisualChangeEvent
public boolean isWithShiftMask()
public boolean isWithControlMask()
public boolean convertToLocal(ILayer localLayer)
ILayerEvent
convertToLocal
in interface ILayerEvent
convertToLocal
in class CellVisualChangeEvent
localLayer
- layer about to receive the eventCopyright © 2013. All Rights Reserved.