Package org.graffiti.event
Contains event classes and listener interfaces that are used to react to
events fired by the graph model.
-
Interface Summary Interface Description AttributeListener Interfaces an attribute events listener.EdgeListener Interface that contains methods which are called when an edge is changed.GraphListener Interface that contains methods which are called when a graph is changed.NodeListener Interface that contains methods which are called when a node is changed.TransactionListener Interface, that contains methods which are called when transactions are started or finished. -
Class Summary Class Description AbstractAttributeListener An abstract adapter class for receiving attribute events.AbstractEdgeListener An abstract adapter class for receiving edge events.AbstractEvent This class is merely meant to group all the Node-/Edge-/ etc.AbstractGraphListener An abstract adapter class for receiving graph events.AbstractNodeListener An abstract adapter class for receiving node events.AttributeAdapter Adapter for the AttributeListener interface, providing default empty implementation.AttributeEvent Contains an attribute event.EdgeAdapter Adapter for the EdgeListener interface, providing default empty implementation.EdgeEvent Contains an edge event.GraphAdapter Adapter for the GraphListener interface, providing default empty implementation.GraphEvent Contains a graph event.ListenerManager Class that is responsible to keep track of all the Listeners that are registered.NodeAdapter Adapter for the NodeListener interface, providing default empty implementation.NodeEvent Contains a node event.TransactionAdapter Adapter for the TransactionListener interface, providing default empty implementation.TransactionEvent Contains a transaction event.TransactionHashMap -
Enum Summary Enum Description AbstractEvent.EVENTTYPE PathComparisonResult -
Exception Summary Exception Description ListenerNotFoundException Will be thrown, if a method tries to deal with a listener that cannot be found in the listener list.ListenerRegistrationException In general, the exception is used to indicate that a listener could not be registered.