Class ProxyEvent

    • Constructor Detail

      • ProxyEvent

        public ProxyEvent​(Component realTarget,
                          Event event)

        Notice that Event.getTarget() is the same as the target of the given event. To retrieve the real target (passed thru the argument), please use getRealTarget() instead.

        realTarget - the real target. If null, it means broadcast.
        event - the proxied event.
    • Method Detail

      • getRealTarget

        public Component getRealTarget()
        Returns the real target.
      • getProxiedEvent

        public Event getProxiedEvent()
        Returns the proxied event.