Class NFEModelObjectEvent

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    NFEModelObjectPropertyChangedEvent

    public class NFEModelObjectEvent
    extends NFEModelEvent
    Represent a generic event related to an Object from the NFEModel. It can contain a model object that was added or removed. The context is provided by the listener method that receives an instance of this class as parameter.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      NFEModelObjectEvent​(java.lang.Object source, java.lang.Object modelObject)
      Allocates a new model object event object
    • Constructor Detail

      • NFEModelObjectEvent

        public NFEModelObjectEvent​(java.lang.Object source,
                                   java.lang.Object modelObject)
        Allocates a new model object event object
        Parameters:
        source - Where the event was fired
        modelObject - The object related to this event
    • Method Detail

      • getModelObject

        public java.lang.Object getModelObject()
        Gets the model object related to this event
        Returns:
        a model object. The actual type may be any of the types in an NFEModel such a feature, a feature element or a network element.