public class CellVisualChangeEvent extends Object implements IVisualChangeEvent
Modifier and Type | Field and Description |
---|---|
protected int |
columnPosition |
protected ILayer |
layer |
protected int |
rowPosition |
Modifier | Constructor and Description |
---|---|
protected |
CellVisualChangeEvent(CellVisualChangeEvent event) |
|
CellVisualChangeEvent(ILayer layer,
int columnPosition,
int rowPosition) |
Modifier and Type | Method and Description |
---|---|
CellVisualChangeEvent |
cloneEvent() |
boolean |
convertToLocal(ILayer localLayer)
Convert the column/row positions carried by the event to the layer about to
handle the event.
|
Collection<org.eclipse.swt.graphics.Rectangle> |
getChangedPositionRectangles() |
int |
getColumnPosition() |
ILayer |
getLayer() |
int |
getRowPosition() |
protected ILayer layer
protected int columnPosition
protected int rowPosition
public CellVisualChangeEvent(ILayer layer, int columnPosition, int rowPosition)
protected CellVisualChangeEvent(CellVisualChangeEvent event)
public ILayer getLayer()
getLayer
in interface IVisualChangeEvent
public int getColumnPosition()
public int getRowPosition()
public boolean convertToLocal(ILayer localLayer)
ILayerEvent
convertToLocal
in interface ILayerEvent
localLayer
- layer about to receive the eventpublic Collection<org.eclipse.swt.graphics.Rectangle> getChangedPositionRectangles()
getChangedPositionRectangles
in interface IVisualChangeEvent
public CellVisualChangeEvent cloneEvent()
cloneEvent
in interface ILayerEvent
Copyright © 2013. All Rights Reserved.