public class AbstractWizard<T> extends AjaxWizard implements IDialogService.Dialog, org.apache.wicket.ajax.IAjaxIndicatorAware
Constructor and Description |
---|
AbstractWizard() |
AbstractWizard(org.apache.wicket.model.IModel<T> model) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
addAjaxIndicator() |
String |
getAjaxIndicatorMarkupId()
Implement
IAjaxIndicatorAware , to let ajax components in the dialog trigger the
ajax indicator when they trigger an ajax request. |
org.apache.wicket.Component |
getComponent() |
org.apache.wicket.model.IModel<T> |
getModel()
Gets model
|
T |
getModelObject()
Gets model object
|
org.apache.wicket.util.value.IValueMap |
getProperties()
Properties that determine how the dialog is rendered.
|
org.apache.wicket.model.IModel<String> |
getTitle()
The title of the dialog.
|
protected boolean |
hasError() |
protected void |
init(org.apache.wicket.extensions.wizard.IWizardModel wizardModel) |
void |
onActiveStepChanged(org.apache.wicket.extensions.wizard.IWizardStep newStep) |
void |
onCancel() |
void |
onClose()
Invoked when the dialog is closed.
|
void |
onFinish() |
void |
render(PluginRequestTarget target)
Part of the pre-rendering registration.
|
void |
setDialogService(IDialogService service)
When the dialog is shown (
IDialogService.show(Dialog) ), the
dialog service is injected into the dialog. |
AjaxUpdatingWidget<?> |
setFocus(AjaxUpdatingWidget<?> widget) |
org.apache.wicket.Component |
setFocus(org.apache.wicket.Component c) |
void |
setModel(org.apache.wicket.model.IModel<T> model)
Sets model
|
void |
setModelObject(T object)
Sets model object
|
newButtonBar
addDefaultCssStyle, getActiveStep, getForm, getWizardModel, isVersioned, newFeedbackPanel, newForm, newOverviewBar, onBeforeRender, renderHead
getWebPage, getWebRequest, getWebResponse, getWebSession
add, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onComponentTagBody, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildren
add, addStateChange, afterRender, beforeRender, canCallListenerInterface, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, clearOriginalDestination, configure, continueToOriginalDestination, debug, detach, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessages, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSession, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnModelChanged, internalPrepareForRender, internalRenderComponent, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, onAfterRender, onComponentTag, onConfigure, onDetach, onEvent, onInitialize, onModelChanged, onModelChanging, onReAdd, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setRequestFlag, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, visitParents, warn, wrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public AbstractWizard()
public AbstractWizard(org.apache.wicket.model.IModel<T> model)
protected void init(org.apache.wicket.extensions.wizard.IWizardModel wizardModel)
init
in class org.apache.wicket.extensions.wizard.Wizard
public final org.apache.wicket.model.IModel<T> getModel()
public final void setModel(org.apache.wicket.model.IModel<T> model)
model
- public final T getModelObject()
public final void setModelObject(T object)
object
- public void onActiveStepChanged(org.apache.wicket.extensions.wizard.IWizardStep newStep)
onActiveStepChanged
in interface org.apache.wicket.extensions.wizard.IWizardModelListener
onActiveStepChanged
in class org.apache.wicket.extensions.wizard.Wizard
public void onCancel()
onCancel
in interface org.apache.wicket.extensions.wizard.IWizardModelListener
onCancel
in class org.apache.wicket.extensions.wizard.Wizard
public void onFinish()
onFinish
in interface org.apache.wicket.extensions.wizard.IWizardModelListener
onFinish
in class org.apache.wicket.extensions.wizard.Wizard
protected final boolean hasError()
public org.apache.wicket.util.value.IValueMap getProperties()
getProperties
in interface IDialogService.Dialog
public org.apache.wicket.Component getComponent()
getComponent
in interface IDialogService.Dialog
public org.apache.wicket.model.IModel<String> getTitle()
IDialogService.Dialog
getTitle
in interface IDialogService.Dialog
public void onClose()
IDialogService.Dialog
IDialogService.close()
.onClose
in interface IDialogService.Dialog
public void render(PluginRequestTarget target)
IDialogService.Dialog
Implementations must invoke IRenderService.render(PluginRequestTarget)
on render services that contribute to the wicket component hierarchy.
render
in interface IDialogService.Dialog
public String getAjaxIndicatorMarkupId()
IAjaxIndicatorAware
, to let ajax components in the dialog trigger the
ajax indicator when they trigger an ajax request.getAjaxIndicatorMarkupId
in interface org.apache.wicket.ajax.IAjaxIndicatorAware
protected boolean addAjaxIndicator()
public void setDialogService(IDialogService service)
IDialogService.Dialog
IDialogService.show(Dialog)
), the
dialog service is injected into the dialog.setDialogService
in interface IDialogService.Dialog
public org.apache.wicket.Component setFocus(org.apache.wicket.Component c)
public AjaxUpdatingWidget<?> setFocus(AjaxUpdatingWidget<?> widget)
Copyright © 2007–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.