|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.Component org.apache.wicket.MarkupContainer org.apache.wicket.markup.html.WebMarkupContainer 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.
Field Summary |
---|
Fields inherited from class org.apache.wicket.markup.html.panel.Panel |
---|
PANEL |
Fields inherited from class org.apache.wicket.Component |
---|
ENABLE, FLAG_INITIALIZED, FLAG_REMOVING_FROM_HIERARCHY, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED8, PARENT_PATH, PATH_SEPARATOR, RENDER |
Constructor Summary | |
---|---|
StaticContentStep(boolean allowHtml)
Constructor for if you want to set all the properties yourself. |
|
StaticContentStep(IModel<java.lang.String> title,
IModel<java.lang.String> summary,
IModel<?> content,
boolean allowHtml)
Construct. |
|
StaticContentStep(IModel<java.lang.String> title,
IModel<java.lang.String> summary,
java.lang.String content,
boolean allowHtml)
Construct. |
|
StaticContentStep(java.lang.String title,
java.lang.String summary,
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. |
|
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, onInit, onInitialize, setComplete, setSummaryModel, setTitleModel |
Methods inherited from class org.apache.wicket.markup.html.panel.Panel |
---|
newMarkupSourcingStrategy |
Methods inherited from class org.apache.wicket.markup.html.WebMarkupContainer |
---|
getWebPage, getWebRequest |
Methods inherited from class org.apache.wicket.MarkupContainer |
---|
add, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, hasAssociatedMarkup, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onComponentTagBody, onMarkupAttached, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, 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<java.lang.String> title, IModel<java.lang.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<java.lang.String> title, IModel<java.lang.String> summary, java.lang.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(java.lang.String title, java.lang.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(java.lang.String title, java.lang.String summary, java.lang.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 java.lang.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 |