Packagecom.yworks.graph.model
Interfacepublic interface ITagChangedListener

Classes that want to be informed when the tag of ITagOwner changes can implement this interface and register themselves with an ITagChangedReporter.

"Event handling in the Java manner"

An implementation of ITagChangedReporter can be retrieved from a DefaultGraph's lookup().

See also

com.yworks.graph.model.ITagChangedReporter


Public Methods
 MethodDefined By
  
tagChanged(owner:ITagOwner, oldTag:Object, newTag:Object):void
If this listener is registered with an ITagChangedReporter, this method is called when the tag of an ITagOwner has changed.
ITagChangedListener
Method Detail
tagChanged()method
public function tagChanged(owner:ITagOwner, oldTag:Object, newTag:Object):void

If this listener is registered with an ITagChangedReporter, this method is called when the tag of an ITagOwner has changed.

Parameters

owner:ITagOwner — The owner whose tag has changed
 
oldTag:Object — The old tag
 
newTag:Object — The new tag