Package | com.yworks.canvas |
Class | public class TagChangedInvalidator |
Inheritance | TagChangedInvalidator Object |
The register()
method will register an ITagChangedListener
with the graph that is
shown in the graph canvas.
When the graph
property of the provided graph canvas changes,
the listener will be removed from the previous graph, and a new listener will be registered with the new graph.
See also
Method | Defined By | ||
---|---|---|---|
TagChangedInvalidator(graphCanvas:GraphCanvasComponent)
Creates a new instance that the will register/deregister the ITagChangedListener with the
graph shown in the provided canvas. | TagChangedInvalidator | ||
deregister():void
If register() has been called before, the registered listener is removed from the graph. | TagChangedInvalidator | ||
register():void
Register an ITagChangedListener with the graph shown in the
canvas that has been provided upon initialization. | TagChangedInvalidator |
TagChangedInvalidator | () | Constructor |
public function TagChangedInvalidator(graphCanvas:GraphCanvasComponent)
Creates a new instance that the will register/deregister the ITagChangedListener
with the
graph shown in the provided canvas.
graphCanvas:GraphCanvasComponent — The graph canvas that visualizes the model items that should be automatically updated
on userObject changes.
|
deregister | () | method |
public function deregister():void
If register()
has been called before, the registered listener is removed from the graph.
register | () | method |
public function register():void
Register an ITagChangedListener
with the graph shown in the
canvas that has been provided upon initialization.
When the graph
property of the provided graph canvas changes,
the listener will be removed from the previous graph, and a new listener will be registered with the new graph.