Class DirectEvent

All Implemented Interfaces:
Serializable, Cloneable

public class DirectEvent extends Event
Used as a wrapper to protect an Event from being redirected by EventRedirector. The redirector only unwraps such event and sends it to the rest of the event chain.
See Also:
  • Field Details

  • Constructor Details

    • DirectEvent

      public DirectEvent(Event originalEvent)
    • DirectEvent

      public DirectEvent(Event originalEvent, Object source, EventTarget target)
  • Method Details

    • getOriginalEvent

      public Event getOriginalEvent()
    • duplicate

      public Event duplicate()
      Description copied from class: Event
      Creates and returns a copy of this Event.
      Overrides:
      duplicate in class Event
      Returns:
      a new instance of Event with all values copied from this Event.