Class ListenerWrapper<T>

    • Constructor Detail

      • ListenerWrapper

        protected ListenerWrapper​(T listener)
        Deprecated.
    • Method Detail

      • baseRemove

        protected static <H extends EventHandler> void baseRemove​(Widget eventSource,
                                                                  java.util.EventListener listener,
                                                                  GwtEvent.Type... types)
        Deprecated.
        Convenience method to remove wrapped handlers from a widget.
        Type Parameters:
        H - event handler type
        Parameters:
        eventSource - the event source
        listener - the listener to remove
        types - the event types to remove it from
      • setSource

        public void setSource​(Widget source)
        Deprecated.
        Sets the widget source to pass to the listeners. Source defaults to event.getSource() if this method is not used.
        Parameters:
        source - the source to provide as the listener's source
      • getSource

        protected Widget getSource​(GwtEvent<?> event)
        Deprecated.
        Gets the widget source to pass to the listeners. Source defaults to event.getSource() if not specified by setSource(Widget).
        Parameters:
        event - the event
        Returns:
        source the source to provide as the listener's source