Class UploadProgressDialog

  • All Implemented Interfaces:
    com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.logical.shared.HasCloseHandlers<com.google.gwt.user.client.ui.PopupPanel>, com.google.gwt.event.shared.HasHandlers, com.google.gwt.safehtml.client.HasSafeHtml, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.EventPreview, com.google.gwt.user.client.ui.AcceptsOneWidget, com.google.gwt.user.client.ui.HasAnimation, com.google.gwt.user.client.ui.HasHTML, com.google.gwt.user.client.ui.HasOneWidget, com.google.gwt.user.client.ui.HasText, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, com.google.gwt.user.client.ui.MouseListener, com.google.gwt.user.client.ui.SourcesPopupEvents, Iterable<com.google.gwt.user.client.ui.Widget>, EventListener

    public class UploadProgressDialog
    extends org.gcube.portlets.user.gcubewidgets.client.popup.GCubeDialog
    Author:
    Massimiliano Assante, ISTI-CNR
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.DialogBox

        com.google.gwt.user.client.ui.DialogBox.Caption, com.google.gwt.user.client.ui.DialogBox.CaptionImpl
      • Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.PopupPanel

        com.google.gwt.user.client.ui.PopupPanel.AnimationType, com.google.gwt.user.client.ui.PopupPanel.PositionCallback
      • Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject

        com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
      • Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets

        com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
    • Field Summary

      • Fields inherited from class com.google.gwt.user.client.ui.UIObject

        DEBUG_ID_PREFIX
    • Constructor Summary

      Constructors 
      Constructor Description
      UploadProgressDialog​(String headerText, com.google.gwt.event.shared.HandlerManager eventBus)
      regular constructor
      UploadProgressDialog​(String headerText, com.google.gwt.event.shared.HandlerManager eventBus, boolean handleFormSubmit)
      to be used if you want to handle form submit
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void hideCloseButton()  
      protected boolean isFormSubmitHandled()  
      protected void showFinalCloseButton()  
      void showRegisteringResult​(boolean result)  
      void showRegisteringResult​(boolean result, String customFeedback)  
      void submitForm()
      to call when handle
      • Methods inherited from class com.google.gwt.user.client.ui.DialogBox

        beginDragging, continueDragging, doAttachChildren, doDetachChildren, endDragging, getCaption, getHTML, getText, hide, onBrowserEvent, onEnsureDebugId, onMouseDown, onMouseEnter, onMouseLeave, onMouseMove, onMouseUp, onPreviewNativeEvent, setHTML, setHTML, setText, show
      • Methods inherited from class com.google.gwt.user.client.ui.DecoratedPopupPanel

        clear, getCellElement, getWidget, iterator, remove, setWidget
      • Methods inherited from class com.google.gwt.user.client.ui.PopupPanel

        addAutoHidePartner, addCloseHandler, addPopupListener, center, getAnimationType, getContainerElement, getGlassElement, getGlassStyleName, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getStyleElement, getTitle, hide, isAnimationEnabled, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, isGlassEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, onUnload, removeAutoHidePartner, removePopupListener, setAnimationEnabled, setAnimationType, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled, setGlassEnabled, setGlassStyleName, setHeight, setModal, setPopupPosition, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setVisible, setWidth, showRelativeTo
      • Methods inherited from class com.google.gwt.user.client.ui.SimplePanel

        add, setWidget
      • Methods inherited from class com.google.gwt.user.client.ui.Panel

        add, adopt, orphan, remove
      • Methods inherited from class com.google.gwt.user.client.ui.Widget

        addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onDetach, onLoad, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
      • Methods inherited from class com.google.gwt.user.client.ui.UIObject

        addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkBitlessEvent, toString
      • Methods inherited from interface com.google.gwt.event.shared.HasHandlers

        fireEvent
    • Constructor Detail

      • UploadProgressDialog

        public UploadProgressDialog​(String headerText,
                                    com.google.gwt.event.shared.HandlerManager eventBus)
        regular constructor
        Parameters:
        headerText -
        eventBus -
      • UploadProgressDialog

        public UploadProgressDialog​(String headerText,
                                    com.google.gwt.event.shared.HandlerManager eventBus,
                                    boolean handleFormSubmit)
        to be used if you want to handle form submit
        Parameters:
        headerText -
        eventBus -
        handleFormSubmit -
    • Method Detail

      • showRegisteringResult

        public void showRegisteringResult​(boolean result)
      • showRegisteringResult

        public void showRegisteringResult​(boolean result,
                                          String customFeedback)
      • submitForm

        public void submitForm()
                        throws Exception
        to call when handle
        Throws:
        Exception
      • hideCloseButton

        protected void hideCloseButton()
      • isFormSubmitHandled

        protected boolean isFormSubmitHandled()
      • showFinalCloseButton

        protected void showFinalCloseButton()