Class GraphModelEvent

java.lang.Object
java.util.EventObject
org.jgraph.event.GraphModelEvent
All Implemented Interfaces:
Serializable

public class GraphModelEvent extends EventObject
Encapsulates information describing changes to a graph model, and is used to notify graph model listeners of the change.
See Also:
  • Field Details

  • Constructor Details

    • GraphModelEvent

      public GraphModelEvent(Object source, GraphModelEvent.GraphModelChange change)
      Used to create an event when cells have been changed, inserted, or removed, identifying the change as a ModelChange object.
      Parameters:
      source - the Object responsible for generating the event (typically the creator of the event object passes this for its value)
      change - the object that describes the change
      See Also:
  • Method Details

    • getChange

      Returns the object that constitutes the change.
      Returns:
      the object that constitutes the change.