|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wicket.Component
org.apache.wicket.MarkupContainer
org.apache.wicket.markup.html.WebMarkupContainer
org.apache.wicket.markup.html.WebMarkupContainerWithAssociatedMarkup
org.apache.wicket.markup.html.panel.Panel
org.apache.wicket.extensions.wizard.WizardStep
org.apache.wicket.extensions.wizard.StaticContentStep
public class StaticContentStep
A wizard step that displays the provided static content without expecting any input.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.wicket.Component |
---|
Component.ComponentModelChange, Component.EnabledChange, Component.IVisitor<T extends Component>, Component.VisibilityChange |
Field Summary |
---|
Fields inherited from class org.apache.wicket.Component |
---|
ENABLE, FLAG_CONFIGURED, FLAG_INITIALIZED, FLAG_REMOVING_FROM_HIERARCHY, 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(IModel<String> title,
IModel<String> summary,
IModel<?> content,
boolean allowHtml)
Construct. |
|
StaticContentStep(IModel<String> title,
IModel<String> summary,
String content,
boolean allowHtml)
Construct. |
|
StaticContentStep(String title,
String summary,
IModel<?> content,
boolean allowHtml)
Construct. |
|
StaticContentStep(String title,
String summary,
String content,
boolean allowHtml)
Construct. |
Method Summary | ||
---|---|---|
boolean |
getAllowHtml()
Gets whether html is allowed as output. |
|
String |
getContent()
Gets the content from the content model. |
|
IModel<?> |
getContentModel()
Gets the content model. |
|
|
setContentModel(IModel<T> content)
Sets the content model. |
Methods inherited from class org.apache.wicket.extensions.wizard.WizardStep |
---|
add, applyState, detachModel, getHeader, getSummary, getTitle, getView, getWizardModel, init, isComplete, onBeforeRender, onInit, setComplete, setSummaryModel, setTitleModel |
Methods inherited from class org.apache.wicket.markup.html.panel.Panel |
---|
onComponentTag, onComponentTagBody, renderHead |
Methods inherited from class org.apache.wicket.markup.html.WebMarkupContainerWithAssociatedMarkup |
---|
newHeaderPartContainer, renderHeadFromAssociatedMarkupFile |
Methods inherited from class org.apache.wicket.markup.html.WebMarkupContainer |
---|
getMarkupType, getWebPage, getWebRequest |
Methods inherited from class org.apache.wicket.MarkupContainer |
---|
add, addOrReplace, autoAdd, autoAdd, contains, findMarkupStream, get, get, getAssociatedMarkupStream, getMarkupStream, hasAssociatedMarkup, internalAdd, isTransparentResolver, iterator, iterator, newMarkupResourceStream, onAfterRenderChildren, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderComponentTagBody, renderNext, replace, setDefaultModel, setMarkupStream, size, swap, toString, toString, visitChildren, visitChildren |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StaticContentStep(boolean allowHtml)
allowHtml
- If true, any html of the content will be rendered as is. Otherwise, it will be
escaped.public StaticContentStep(IModel<String> title, IModel<String> summary, IModel<?> content, boolean allowHtml)
title
- The title of this stepsummary
- The summary of this stepcontent
- The content of the step panelallowHtml
- If true, any html of the content will be rendered as is. Otherwise, it will be
escaped.public StaticContentStep(IModel<String> title, IModel<String> summary, String content, boolean allowHtml)
title
- The title of this stepsummary
- The summary of this stepcontent
- The content of the step panelallowHtml
- If true, any html of the content will be rendered as is. Otherwise, it will be
escaped.public StaticContentStep(String title, String summary, IModel<?> content, boolean allowHtml)
title
- The title of this stepsummary
- The summary of this stepcontent
- The content of the step panelallowHtml
- If true, any html of the content will be rendered as is. Otherwise, it will be
escaped.public StaticContentStep(String title, String summary, String content, boolean allowHtml)
title
- The title of this stepsummary
- The summary of this stepcontent
- The content of the step panelallowHtml
- If true, any html of the content will be rendered as is. Otherwise, it will be
escaped.Method Detail |
---|
public final boolean getAllowHtml()
public final String getContent()
public final IModel<?> getContentModel()
public final <T> void setContentModel(IModel<T> content)
T
- The model object typecontent
- The content model
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |