Class AbstractEvent

  • All Implemented Interfaces:
    Event, java.io.Serializable

    public abstract class AbstractEvent
    extends java.util.EventObject
    implements Event
    The base class for events, extending the Java event object as well as implementing the event interface.
    Author:
    Garret Wilson
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractEvent​(java.lang.Object source)
      Source constructor.
    • Method Summary

      • 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

      • AbstractEvent

        public AbstractEvent​(java.lang.Object source)
        Source constructor.
        Parameters:
        source - The object on which the event initially occurred.
        Throws:
        java.lang.NullPointerException - if the given source is null.