public class StructuralRefreshEvent extends Object implements IStructuralChangeEvent
TIP: Consider throwing a more focused event (subclass) if you need to do this.
Modifier | Constructor and Description |
---|---|
|
StructuralRefreshEvent(ILayer layer) |
protected |
StructuralRefreshEvent(StructuralRefreshEvent event) |
Modifier and Type | Method and Description |
---|---|
ILayerEvent |
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() |
Collection<StructuralDiff> |
getColumnDiffs() |
ILayer |
getLayer() |
Collection<StructuralDiff> |
getRowDiffs() |
boolean |
isHorizontalStructureChanged() |
boolean |
isVerticalStructureChanged() |
public StructuralRefreshEvent(ILayer layer)
protected StructuralRefreshEvent(StructuralRefreshEvent event)
public ILayer getLayer()
getLayer
in interface IVisualChangeEvent
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 boolean isHorizontalStructureChanged()
isHorizontalStructureChanged
in interface IStructuralChangeEvent
public boolean isVerticalStructureChanged()
isVerticalStructureChanged
in interface IStructuralChangeEvent
public Collection<StructuralDiff> getColumnDiffs()
getColumnDiffs
in interface IStructuralChangeEvent
public Collection<StructuralDiff> getRowDiffs()
getRowDiffs
in interface IStructuralChangeEvent
public ILayerEvent cloneEvent()
cloneEvent
in interface ILayerEvent
Copyright © 2013. All Rights Reserved.