Class NFEModelEvent

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    NFEModelObjectEvent, NFEModelObjectsEvent

    public class NFEModelEvent
    extends java.util.EventObject
    Root class of the Model Event hierarchy. It contains the information common to all the type of events of an NFEModel.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      NFEModelEvent​(java.lang.Object source)
      Allocates a new model event object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getThreadId()
      Gets the id of the thread where the event was fired
      long getTimestamp()
      Gets the time when the event was fired
      void setThreadId​(long threadId)
      Sets the id of the thread where the event was fired
      void setTimestamp​(long timestamp)
      Sets the time when the event was fired
      • 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

      • NFEModelEvent

        public NFEModelEvent​(java.lang.Object source)
        Allocates a new model event object
        Parameters:
        source - Where the event was fired
    • Method Detail

      • getThreadId

        public long getThreadId()
        Gets the id of the thread where the event was fired
        Returns:
      • setThreadId

        public void setThreadId​(long threadId)
        Sets the id of the thread where the event was fired
        Parameters:
        threadId - a thread id
      • getTimestamp

        public long getTimestamp()
        Gets the time when the event was fired
        Returns:
        a time stamp
      • setTimestamp

        public void setTimestamp​(long timestamp)
        Sets the time when the event was fired
        Parameters:
        timestamp - a time stamp