Each graph event contains an ID and a previous value for all changes and deletions, the specifics of which are described on a case-by-case basis below. @see GraphModel @author Michael Shilman @author John Reekie @version $Id: GraphEvent.java,v 1.16 2005/07/08 19:55:01 cxh Exp $ @Pt.AcceptedRating Yellow
GraphChangeHandler handler = ..; event.getDiff().apply(handler);@since 1.2
TripleCollection. A GraphEvent object keeps information about this event. These information are: The Triple that was part of the modification, the type of modification (addition or removal) and the TripleCollection that was modified.
@author mir
getSource() method.
| - ADD_NODES: | Add nodes to the graph |
| - REMOVE_NODES: | Remove nodes from the graph, with their edges |
| - ADD_EDGES: | Add edges to the graph |
| - REMOVE_EDGES: | Remove edges from the graph |
| - MOVE_NODE: | Move nodes on the hierarchy, parent node is changed |
| - VISIBLE_VIEW: | Current visible view is changed |
| - NEW_VIEW: | A new view is created |
| - DESTROY_VIEW: | A view is destroyed |
| - EXPAND: | Expand nodes in the hierarchy |
| - RETRACT: | Retract nodes in the hierarchy |
| - META_EDGES_UPDATE | Meta-Edges are updated |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |