Documentation of 'org.jgraph.event.GraphModelEvent' Java class
GraphModelEvent
org.jgraph.event

Class GraphModelEvent

  • All Implemented Interfaces:
    java.io.Serializable


    public class GraphModelEvent
    extends java.util.EventObject
    Encapsulates information describing changes to a graph model, and is used to notify graph model listeners of the change.
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class and Description
      static interface  GraphModelEvent.GraphModelChange
      Defines the interface for objects that may be included into a GraphModelEvent to describe a model change.
    • Constructor Summary

      Constructors 
      Constructor and Description
      GraphModelEvent(java.lang.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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      GraphModelEvent.GraphModelChange getChange()
      Returns the object that constitutes the change.
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • GraphModelEvent

        public GraphModelEvent(java.lang.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:
        GraphCell
    • Method Detail

      • getChange

        public GraphModelEvent.GraphModelChange getChange()
        Returns the object that constitutes the change.
        Returns:
        the object that constitutes the change.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.