public class CellVisualUpdateEvent extends CellVisualChangeEvent
columnPosition, layer, rowPosition| Modifier | Constructor and Description |
|---|---|
protected |
CellVisualUpdateEvent(CellVisualChangeEvent event)
Create a new CellVisualUpdateEvent out of the given event.
|
|
CellVisualUpdateEvent(ILayer layer,
int columnPosition,
int rowPosition)
Create a new CellVisualUpdateEvent based on the given information.
|
| Modifier and Type | Method and Description |
|---|---|
CellVisualUpdateEvent |
cloneEvent() |
boolean |
convertToLocal(ILayer localLayer)
Convert the column/row positions carried by the event to the layer about
to handle the event.
|
getChangedPositionRectangles, getColumnPosition, getLayer, getRowPositionpublic CellVisualUpdateEvent(ILayer layer, int columnPosition, int rowPosition)
layer - The layer to which the given column and row position belong.columnPosition - The column position of the cell that needs to be redrawn.rowPosition - The row position of the cell that needs to be redrawn.protected CellVisualUpdateEvent(CellVisualChangeEvent event)
event - The event to create the clone from.public CellVisualUpdateEvent cloneEvent()
cloneEvent in interface ILayerEventcloneEvent in class CellVisualChangeEventpublic boolean convertToLocal(ILayer localLayer)
ILayerEventconvertToLocal in interface ILayerEventconvertToLocal in class CellVisualChangeEventlocalLayer - layer about to receive the eventCopyright © 2016. All rights reserved.