Package com.google.gwt.user.client.ui

## Interface SourcesPopupEvents

- All Known Implementing Classes:
    `DecoratedPopupPanel`, `DialogBox`, `LoggingPopup`, `PopupPanel`

      @Deprecated
      public interface SourcesPopupEvents

  Deprecated.
  use `HasCloseHandlers` instead
  A widget that implements this interface sources the events defined by the `PopupListener` interface.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Deprecated Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `addPopupListener​(PopupListener listener)` | Deprecated. use `HasCloseHandlers.addCloseHandler(com.google.gwt.event.logical.shared.CloseHandler<T>)` instead
    `void` | `removePopupListener​(PopupListener listener)` | Deprecated. Use the `HandlerRegistration.removeHandler()` method on the object returned by `HasCloseHandlers.addCloseHandler(com.google.gwt.event.logical.shared.CloseHandler<T>)` instead

- - ### Method Detail

    - #### addPopupListener

          @Deprecated
          void addPopupListener​(PopupListener listener)

      Deprecated.
      use `HasCloseHandlers.addCloseHandler(com.google.gwt.event.logical.shared.CloseHandler<T>)` instead
      Adds a listener interface to receive popup events.
      Parameters:
        `listener` - the listener interface to add.

    - #### removePopupListener

          @Deprecated
          void removePopupListener​(PopupListener listener)

      Deprecated.
      Use the `HandlerRegistration.removeHandler()` method on the object returned by `HasCloseHandlers.addCloseHandler(com.google.gwt.event.logical.shared.CloseHandler<T>)` instead
      Removes a previously added popup listener.
      Parameters:
        `listener` - the listener interface to remove.