Class WizardViewImpl
- java.lang.Object
-
- com.google.gwt.user.client.ui.UIObject
-
- com.google.gwt.user.client.ui.Widget
-
- com.google.gwt.user.client.ui.Panel
-
- com.google.gwt.user.client.ui.ComplexPanel
-
- org.gwtbootstrap3.client.ui.base.ComplexWidget
-
- org.gwtbootstrap3.client.ui.html.Div
-
- org.gwtbootstrap3.client.ui.Modal
-
- org.uberfire.ext.widgets.common.client.common.popups.BaseModal
-
- org.uberfire.ext.widgets.core.client.wizards.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
-
-
Field Summary
Fields Modifier and Type Field Description protected org.gwtbootstrap3.client.ui.Columnbodyprotected WizardPopupFooterfooterprotected org.jboss.errai.ioc.client.container.SyncBeanManageriocBeanManagerprotected List<WizardPageTitle>pageTitleWidgetsprotected org.gwtbootstrap3.client.ui.NavPillssideBar
-
Constructor Summary
Constructors Constructor Description WizardViewImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhide()Hide the Wizardvoidinit(AbstractWizard presenter)protected WizardPageTitlemakeWizardPageTitle(WizardPage page)protected voidonUnload()voidselectPage(int pageNumber)Select a pagevoidsetBodyWidget(com.google.gwt.user.client.ui.Widget w)Set the Widget to display in the body panel of the generic WizardvoidsetCompletionStatus(boolean isComplete)The state (completed, not completed) of the whole Wizard has changedvoidsetPageCompletionState(int pageIndex, boolean isComplete)The state (completed, not completed) of a page has changed.voidsetPageTitles(List<WizardPage> pages)The individual page titlesvoidsetPreferredHeight(int height)Set the body panel preferred heightvoidsetPreferredWidth(int width)Set the body panel preferred widthvoidshow()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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
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
-
footer
protected WizardPopupFooter footer
-
iocBeanManager
@Inject protected org.jboss.errai.ioc.client.container.SyncBeanManager iocBeanManager
-
pageTitleWidgets
protected List<WizardPageTitle> pageTitleWidgets
-
-
Method Detail
-
onUnload
protected void onUnload()
- Overrides:
onUnloadin classorg.gwtbootstrap3.client.ui.Modal
-
init
public void init(AbstractWizard presenter)
- Specified by:
initin interfaceorg.uberfire.client.mvp.HasPresenter<AbstractWizard>
-
setPageTitles
public void setPageTitles(List<WizardPage> pages)
Description copied from interface:WizardViewThe individual page titles- Specified by:
setPageTitlesin interfaceWizardView
-
makeWizardPageTitle
protected WizardPageTitle makeWizardPageTitle(WizardPage page)
-
selectPage
public void selectPage(int pageNumber)
Description copied from interface:WizardViewSelect a page- Specified by:
selectPagein interfaceWizardView
-
setBodyWidget
public void setBodyWidget(com.google.gwt.user.client.ui.Widget w)
Description copied from interface:WizardViewSet the Widget to display in the body panel of the generic Wizard- Specified by:
setBodyWidgetin interfaceWizardView
-
setPreferredHeight
public void setPreferredHeight(int height)
Description copied from interface:WizardViewSet the body panel preferred height- Specified by:
setPreferredHeightin interfaceWizardView
-
setPreferredWidth
public void setPreferredWidth(int width)
Description copied from interface:WizardViewSet the body panel preferred width- Specified by:
setPreferredWidthin interfaceWizardView
-
setPageCompletionState
public void setPageCompletionState(int pageIndex, boolean isComplete)Description copied from interface:WizardViewThe state (completed, not completed) of a page has changed.- Specified by:
setPageCompletionStatein interfaceWizardView
-
setCompletionStatus
public void setCompletionStatus(boolean isComplete)
Description copied from interface:WizardViewThe state (completed, not completed) of the whole Wizard has changed- Specified by:
setCompletionStatusin interfaceWizardView
-
show
public void show()
Description copied from interface:WizardViewShow the Wizard- Specified by:
showin interfaceWizardView- Overrides:
showin classorg.uberfire.ext.widgets.common.client.common.popups.BaseModal
-
hide
public void hide()
Description copied from interface:WizardViewHide the Wizard- Specified by:
hidein interfaceWizardView- Overrides:
hidein classorg.gwtbootstrap3.client.ui.Modal
-
-