Class Event

    • Method Detail

      • getSource

        public Object getSource()
        Gets the object representing the source of this event.
        Overrides:
        getSource in class EventObject
        Returns:
        the subject
      • getName

        public String getName()
        Gets the event name.
        Returns:
        the event name
      • getMessage

        public String getMessage()
        Gets a message describing the event or giving precision.
        Returns:
        message the messsage
      • getException

        public Throwable getException()
        Gets the exception, if any.
        Returns:
        the exception or null
      • is

        public boolean is​(Event event)
      • is

        public boolean is​(String... eventName)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toString

        public String toString()
        Returns the event message, if set, or the return value of toString() on source.
        Overrides:
        toString in class EventObject