Interface TargetedEvent

  • All Superinterfaces:
    Event
    All Known Implementing Classes:
    GenericPropertyChangeEvent

    public interface TargetedEvent
    extends Event
    An interface indicating that an event knows its target, or the object to which the event applies (which may be different than the object that fired the event).
    Author:
    Garret Wilson
    • Method Detail

      • getTarget

        java.lang.Object getTarget()
        Returns the object to which the event applies. This may be a different than source, which is the object that generated this event instance.
        Returns:
        The target of the event, or null if the event target is not known.