Interface PopupView

  • All Superinterfaces:
    com.google.gwt.event.logical.shared.HasCloseHandlers<PopupView>, com.google.gwt.event.shared.HasHandlers

    public interface PopupView
    extends com.google.gwt.event.logical.shared.HasCloseHandlers<PopupView>
    API contract for the view container of PopupActivity activities. Implementations of this class must be Dependent-scoped CDI beans.

    Each application must have exactly one implementation of this interface in the classpath at compile time. Normally this implementation will be part of a view module.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void hide()
      Makes this popup container(and the main content along with it) invisible.
      void setContent​(com.google.gwt.user.client.ui.IsWidget widget)
      Sets the main content of this popup dialog, replacing any content that was previously set.
      void setSize​(org.uberfire.client.annotations.WorkbenchPopup.WorkbenchPopupSize size)
      Sets the size for the popup.
      void setTitle​(String title)
      Sets the title text for this popup's dialog.
      void show()
      Makes this popup container (and the main content along with it) visible on the workbench.
      • Methods inherited from interface com.google.gwt.event.logical.shared.HasCloseHandlers

        addCloseHandler
      • Methods inherited from interface com.google.gwt.event.shared.HasHandlers

        fireEvent
    • Method Detail

      • setContent

        void setContent​(com.google.gwt.user.client.ui.IsWidget widget)
        Sets the main content of this popup dialog, replacing any content that was previously set.
        Parameters:
        widget - the content to add. Must not be null.
      • setTitle

        void setTitle​(String title)
        Sets the title text for this popup's dialog. Usually, the view will put this in a large font above the main content.
        Parameters:
        title - The title text for the popup container.
      • setSize

        void setSize​(org.uberfire.client.annotations.WorkbenchPopup.WorkbenchPopupSize size)
        Sets the size for the popup.
        Parameters:
        size - The popup size
      • show

        void show()
        Makes this popup container (and the main content along with it) visible on the workbench. Has no effect if this popup is already visible.
      • hide

        void hide()
        Makes this popup container(and the main content along with it) invisible. Has no effect if the popup is not already showing.