Interface SplashView

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

    public interface SplashView
    extends com.google.gwt.event.logical.shared.HasCloseHandlers<SplashView>
    API Contract for the view container of SplashScreenActivity activities.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void hide()
      Makes this splash screen container(and the main content along with it) invisible.
      boolean isAttached()  
      void setContent​(com.google.gwt.user.client.ui.IsWidget widget, Integer height)
      Sets the contents for this splash screen view, replacing any contents that were there already.
      void setTitle​(String title)
      Sets the title text for this splash screen's popup.
      void show()
      Makes this splash screen container (and the main content along with it) visible on the workbench.
      Boolean showAgain()
      Returns true if the user has indicated that they want to see this splash screen next time its interceptor says it should be displayed.
      • 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,
                        Integer height)
        Sets the contents for this splash screen view, replacing any contents that were there already.
        Parameters:
        widget - The widget to display in the body area of the splash screen dialog.
        height - The height to give the content area in the splash screen dialog.
      • setTitle

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

        Boolean showAgain()
        Returns true if the user has indicated that they want to see this splash screen next time its interceptor says it should be displayed.
        Returns:
        true if the user has indicated that they want to see this splash screen next time it could be displayed; false if the user has indicated they do not want to see this splash screen next time; null if the user has not yet made a decision either way. The framework will keep the existing "show again" preference if this method returns null.
      • show

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

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

        boolean isAttached()