Class NFEModelObjectsEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class NFEModelObjectsEvent
    extends NFEModelEvent
    An event where one or more model objects are involved
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      NFEModelObjectsEvent​(java.lang.Object source, java.util.Collection<T> modelObjects, java.lang.Class<T> modelObjectsClass)
      Allocates a new model objects event object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<? extends java.lang.Object> getModelObjects()
      Gets all the model objects involved in the event
      java.lang.Class<? extends java.lang.Object> getModelObjectsClass()
      Gets the class of the model objects
      • Methods inherited from class java.util.EventObject

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

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

      • NFEModelObjectsEvent

        public NFEModelObjectsEvent​(java.lang.Object source,
                                    java.util.Collection<T> modelObjects,
                                    java.lang.Class<T> modelObjectsClass)
        Allocates a new model objects event object
        Parameters:
        source - where the event was fired
        modelObjects - a collection of model objects related to the event
        modelObjectsClass - the class of the event's model objects
    • Method Detail

      • getModelObjects

        public java.util.Collection<? extends java.lang.Object> getModelObjects()
        Gets all the model objects involved in the event
        Returns:
        a collection of model objects
      • getModelObjectsClass

        public java.lang.Class<? extends java.lang.Object> getModelObjectsClass()
        Gets the class of the model objects
        Returns:
        the model objects' Java class