Class WizardViewImpl

  • All Implemented Interfaces:
    com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, 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.IndexedPanel, com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, Iterable<com.google.gwt.user.client.ui.Widget>, org.gwtbootstrap3.client.ui.base.HasId, org.gwtbootstrap3.client.ui.base.HasInlineStyle, org.gwtbootstrap3.client.ui.base.HasPull, org.gwtbootstrap3.client.ui.base.HasResponsiveness, org.gwtbootstrap3.client.ui.IsClosable, org.uberfire.client.mvp.HasPresenter<AbstractWizard>, org.uberfire.client.mvp.UberView<AbstractWizard>, WizardView

    @Dependent
    public class WizardViewImpl
    extends org.uberfire.ext.widgets.common.client.common.popups.BaseModal
    implements WizardView
    The generic Wizard view implementation
    • Nested Class Summary

      • 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
      • Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.IndexedPanel

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

      Fields 
      Modifier and Type Field Description
      protected org.gwtbootstrap3.client.ui.Column body  
      protected WizardPopupFooter footer  
      protected org.jboss.errai.ioc.client.container.SyncBeanManager iocBeanManager  
      protected List<WizardPageTitle> pageTitleWidgets  
      protected org.gwtbootstrap3.client.ui.NavPills sideBar  
      • Fields inherited from class com.google.gwt.user.client.ui.UIObject

        DEBUG_ID_PREFIX
    • Constructor Summary

      Constructors 
      Constructor Description
      WizardViewImpl()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void hide()
      Hide the Wizard
      void init​(AbstractWizard presenter)  
      protected WizardPageTitle makeWizardPageTitle​(WizardPage page)  
      protected void onUnload()  
      void selectPage​(int pageNumber)
      Select a page
      void setBodyWidget​(com.google.gwt.user.client.ui.Widget w)
      Set the Widget to display in the body panel of the generic Wizard
      void setCompletionStatus​(boolean isComplete)
      The state (completed, not completed) of the whole Wizard has changed
      void setPageCompletionState​(int pageIndex, boolean isComplete)
      The state (completed, not completed) of a page has changed.
      void setPageTitles​(List<WizardPage> pages)
      The individual page titles
      void setPreferredHeight​(int height)
      Set the body panel preferred height
      void setPreferredWidth​(int width)
      Set the body panel preferred width
      void show()
      Show the Wizard
      • Methods inherited from class org.uberfire.ext.widgets.common.client.common.popups.BaseModal

        getEnterDomHandler, handleDefaultAction, handleDefaultAction, setBody, setFocus
      • Methods inherited from class org.gwtbootstrap3.client.ui.Modal

        add, addHiddenHandler, addHideHandler, addShowHandler, addShownHandler, isClosable, onHidden, onHide, onLoad, onShow, onShown, setClosable, setDataBackdrop, setDataKeyboard, setFade, setHideOtherModals, setRemoveOnHide, setSize, setTitle, setWidth, toggle
      • Methods inherited from class org.gwtbootstrap3.client.ui.base.ComplexWidget

        getId, getPull, insert, insert, remove, setColor, setHiddenOn, setId, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPull, setVisibleOn
      • Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel

        add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, iterator, remove
      • Methods inherited from class com.google.gwt.user.client.ui.Panel

        add, adopt, clear, doAttachChildren, doDetachChildren, 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, onBrowserEvent, onDetach, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
      • Methods inherited from class com.google.gwt.user.client.ui.UIObject

        addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, setVisible, sinkBitlessEvent, toString
      • Methods inherited from interface com.google.gwt.user.client.ui.IsWidget

        asWidget
      • Methods inherited from interface org.uberfire.ext.widgets.core.client.wizards.WizardView

        setTitle
    • Field Detail

      • sideBar

        @UiField
        protected org.gwtbootstrap3.client.ui.NavPills sideBar
      • body

        @UiField
        protected org.gwtbootstrap3.client.ui.Column body
      • iocBeanManager

        @Inject
        protected org.jboss.errai.ioc.client.container.SyncBeanManager iocBeanManager
    • Constructor Detail

      • WizardViewImpl

        public WizardViewImpl()
    • Method Detail

      • onUnload

        protected void onUnload()
        Overrides:
        onUnload in class org.gwtbootstrap3.client.ui.Modal
      • init

        public void init​(AbstractWizard presenter)
        Specified by:
        init in interface org.uberfire.client.mvp.HasPresenter<AbstractWizard>
      • selectPage

        public void selectPage​(int pageNumber)
        Description copied from interface: WizardView
        Select a page
        Specified by:
        selectPage in interface WizardView
      • setBodyWidget

        public void setBodyWidget​(com.google.gwt.user.client.ui.Widget w)
        Description copied from interface: WizardView
        Set the Widget to display in the body panel of the generic Wizard
        Specified by:
        setBodyWidget in interface WizardView
      • setPreferredHeight

        public void setPreferredHeight​(int height)
        Description copied from interface: WizardView
        Set the body panel preferred height
        Specified by:
        setPreferredHeight in interface WizardView
      • setPreferredWidth

        public void setPreferredWidth​(int width)
        Description copied from interface: WizardView
        Set the body panel preferred width
        Specified by:
        setPreferredWidth in interface WizardView
      • setPageCompletionState

        public void setPageCompletionState​(int pageIndex,
                                           boolean isComplete)
        Description copied from interface: WizardView
        The state (completed, not completed) of a page has changed.
        Specified by:
        setPageCompletionState in interface WizardView
      • setCompletionStatus

        public void setCompletionStatus​(boolean isComplete)
        Description copied from interface: WizardView
        The state (completed, not completed) of the whole Wizard has changed
        Specified by:
        setCompletionStatus in interface WizardView
      • show

        public void show()
        Description copied from interface: WizardView
        Show the Wizard
        Specified by:
        show in interface WizardView
        Overrides:
        show in class org.uberfire.ext.widgets.common.client.common.popups.BaseModal
      • hide

        public void hide()
        Description copied from interface: WizardView
        Hide the Wizard
        Specified by:
        hide in interface WizardView
        Overrides:
        hide in class org.gwtbootstrap3.client.ui.Modal