Interface GraphListener notifies interested parties of structural graph changes. The information is conveyed using objects of type GraphEvent, and covers element insertion and removal as well as element modifications like, e.g., changing an edge's end nodes.
To receive notifications, GraphListener implementations have to be properly registered with a Graph object. Figure 7.3, “Context for using GraphListener” gives an overview on interface GraphListener's role.
Copyright ©2010-2015, yWorks GmbH. All rights reserved. |