wicket.extensions.wizard
Class StaticContentStep

java.lang.Object
  extended by wicket.Component
      extended by wicket.MarkupContainer
          extended by wicket.markup.html.WebMarkupContainer
              extended by wicket.markup.html.WebMarkupContainerWithAssociatedMarkup
                  extended by wicket.markup.html.panel.Panel
                      extended by wicket.extensions.wizard.WizardStep
                          extended by wicket.extensions.wizard.StaticContentStep
All Implemented Interfaces:
java.io.Serializable, IWizardStep

public class StaticContentStep
extends WizardStep

A wizard step that displays the provided static content without expecting any input.

Author:
eelcohillenius
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class wicket.markup.html.WebMarkupContainerWithAssociatedMarkup
wicket.markup.html.WebMarkupContainerWithAssociatedMarkup.HeaderPartContainer
 
Nested classes/interfaces inherited from class wicket.Component
wicket.Component.ComponentModelChange, wicket.Component.EnabledChange, wicket.Component.IVisitor, wicket.Component.VisibilityChange
 
Field Summary
 
Fields inherited from class wicket.Component
ENABLE, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED6, FLAG_RESERVED7, FLAG_RESERVED8, PATH_SEPARATOR, RENDER
 
Constructor Summary
StaticContentStep(boolean allowHtml)
          Constructor for if you want to set all the properties yourself.
StaticContentStep(wicket.model.IModel title, wicket.model.IModel summary, wicket.model.IModel content, boolean allowHtml)
          Construct.
StaticContentStep(wicket.model.IModel title, wicket.model.IModel summary, java.lang.String content, boolean allowHtml)
          Construct.
StaticContentStep(java.lang.String title, java.lang.String summary, wicket.model.IModel content, boolean allowHtml)
          Construct.
StaticContentStep(java.lang.String title, java.lang.String summary, java.lang.String content, boolean allowHtml)
          Construct.
 
Method Summary
 boolean getAllowHtml()
          Gets whether html is allowed as output.
 java.lang.String getContent()
          Gets the content from the content model.
 wicket.model.IModel getContentModel()
          Gets the content model.
 void setContentModel(wicket.model.IModel content)
          Sets the content model.
 
Methods inherited from class wicket.extensions.wizard.WizardStep
add, applyState, detachModel, getHeader, getSummary, getTitle, getView, init, isComplete, onAttach, onInit, setComplete, setSummaryModel, setTitleModel
 
Methods inherited from class wicket.markup.html.panel.Panel
onComponentTag, onComponentTagBody, renderHead
 
Methods inherited from class wicket.markup.html.WebMarkupContainerWithAssociatedMarkup
newHeaderPartContainer, renderHeadFromAssociatedMarkupFile
 
Methods inherited from class wicket.markup.html.WebMarkupContainer
getMarkupType, getWebPage
 
Methods inherited from class wicket.MarkupContainer
add, autoAdd, contains, findMarkupStream, get, getAssociatedMarkupStream, getMarkupStream, internalAdd, internalAttach, internalDetach, isTransparentResolver, iterator, iterator, newMarkupResourceStream, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderComponentTagBody, replace, setMarkupStream, setModel, size, toString, toString, visitChildren, visitChildren
 
Methods inherited from class wicket.Component
add, addStateChange, checkComponentTag, checkComponentTagAttribute, continueToOriginalDestination, debug, detachBehaviors, detachModels, error, exceptionMessage, fatal, findPage, findParent, findParentWithAssociatedMarkup, getApplication, getApplicationPages, getApplicationSettings, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getEscapeModelStrings, getFeedbackMessage, getFlag, getFlag, getId, getLocale, getLocalizer, getMarkupAttributes, getMarkupId, getMetaData, getModel, getModelComparator, getModelObject, getModelObjectAsString, getOutputMarkupId, getPage, getPageFactory, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getResponse, getSession, getSizeInBytes, getString, getString, getString, getStyle, getVariation, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnAttach, internalOnDetach, internalOnModelChanged, isActionAuthorized, isAncestorOf, isBehaviorAccepted, isEnableAllowed, isEnabled, isHeadRendered, isIgnoreAttributeModifier, isRenderAllowed, isVersioned, isVisible, isVisibleInHierarchy, modelChanged, modelChanging, newPage, newPage, onAfterRender, onBeforeRender, onBeginRequest, onDetach, onEndRequest, onModelChanged, onModelChanging, onRender, redirectToInterceptPage, remove, render, render, renderComponent, renderComponent, renderComponentTag, rendered, renderedBehaviors, replaceComponentTagBody, replaceWith, resetHeadRendered, sameRootModel, sameRootModel, setAuto, setEnabled, setEscapeModelStrings, setFlag, setFlag, setIgnoreAttributeModifier, setMetaData, setModelObject, setOutputMarkupId, setRedirect, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisible, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StaticContentStep

public StaticContentStep(boolean allowHtml)
Constructor for if you want to set all the properties yourself.

Parameters:
allowHtml - If true, any html of the content will be rendered as is. Otherwise, it will be escaped.

StaticContentStep

public StaticContentStep(wicket.model.IModel title,
                         wicket.model.IModel summary,
                         wicket.model.IModel content,
                         boolean allowHtml)
Construct.

Parameters:
title - The title of this step
summary - The summary of this step
content - The content of the step panel
allowHtml - If true, any html of the content will be rendered as is. Otherwise, it will be escaped.

StaticContentStep

public StaticContentStep(wicket.model.IModel title,
                         wicket.model.IModel summary,
                         java.lang.String content,
                         boolean allowHtml)
Construct.

Parameters:
title - The title of this step
summary - The summary of this step
content - The content of the step panel
allowHtml - If true, any html of the content will be rendered as is. Otherwise, it will be escaped.

StaticContentStep

public StaticContentStep(java.lang.String title,
                         java.lang.String summary,
                         wicket.model.IModel content,
                         boolean allowHtml)
Construct.

Parameters:
title - The title of this step
summary - The summary of this step
content - The content of the step panel
allowHtml - If true, any html of the content will be rendered as is. Otherwise, it will be escaped.

StaticContentStep

public StaticContentStep(java.lang.String title,
                         java.lang.String summary,
                         java.lang.String content,
                         boolean allowHtml)
Construct.

Parameters:
title - The title of this step
summary - The summary of this step
content - The content of the step panel
allowHtml - If true, any html of the content will be rendered as is. Otherwise, it will be escaped.
Method Detail

getAllowHtml

public final boolean getAllowHtml()
Gets whether html is allowed as output.

Returns:
Whether html is allowed as output

getContent

public final java.lang.String getContent()
Gets the content from the content model.

Returns:
The content

getContentModel

public final wicket.model.IModel getContentModel()
Gets the content model.

Returns:
The content model

setContentModel

public final void setContentModel(wicket.model.IModel content)
Sets the content model.

Parameters:
content - The content model


Copyright © 2004-2008 Wicket developers. All Rights Reserved.