public class AbstractEventListener extends Object implements EventListener
Constructor and Description |
---|
AbstractEventListener() |
Modifier and Type | Method and Description |
---|---|
void |
afterInsertion(Node parent,
Node node) |
void |
afterMove(Node parent,
Node child)
notified when node is moved among siblings (the same parent)
|
void |
afterRemoval(Node parent,
Node node) |
void |
anchorChanged(AnchoredElement element,
InstanceLine oldAnchor,
InstanceLine newAnchor) |
void |
beforeRemoval(Node parent,
Node node) |
void |
edgeSourceChanged(Edge source,
AbstractLocation oldSource,
AbstractLocation newSource) |
void |
edgeTargetChanged(Edge source,
AbstractLocation oldTarget,
AbstractLocation newTarget) |
void |
messageSourceChanged(Message source,
InstanceLine oldSource,
InstanceLine newSource) |
void |
messageTargetChanged(Message source,
InstanceLine oldTarget,
InstanceLine newTarget) |
void |
propertyChanged(Property source,
String property,
Object old,
Object value) |
public void propertyChanged(Property source, String property, Object old, Object value)
propertyChanged
in interface EventListener
public void afterInsertion(Node parent, Node node)
afterInsertion
in interface EventListener
public void afterMove(Node parent, Node child)
EventListener
afterMove
in interface EventListener
public void beforeRemoval(Node parent, Node node)
beforeRemoval
in interface EventListener
public void afterRemoval(Node parent, Node node)
afterRemoval
in interface EventListener
public void edgeSourceChanged(Edge source, AbstractLocation oldSource, AbstractLocation newSource)
edgeSourceChanged
in interface EventListener
public void edgeTargetChanged(Edge source, AbstractLocation oldTarget, AbstractLocation newTarget)
edgeTargetChanged
in interface EventListener
public void messageSourceChanged(Message source, InstanceLine oldSource, InstanceLine newSource)
messageSourceChanged
in interface EventListener
public void messageTargetChanged(Message source, InstanceLine oldTarget, InstanceLine newTarget)
messageTargetChanged
in interface EventListener
public void anchorChanged(AnchoredElement element, InstanceLine oldAnchor, InstanceLine newAnchor)
anchorChanged
in interface EventListener
Copyright © 2012 Uppsala University and Aalborg University. All Rights Reserved.