|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectwicket.markup.html.BodyContainer
public final class BodyContainer
This is not realy a Container component in the standard Wicket sense. It rather is a facade which allows to easily add attribute modifier to the MarkupContainer associated with <body>. That container might be a Wicket generated one (automatically) or one manually added by a user the standard Wicket way.
Container for the page body. This is mostly an internal class that is used for contributions to the body tag's onload event handler.
| Nested Class Summary | |
|---|---|
static class |
BodyContainer.AppendingAttributeModifier
Little helper |
| Constructor Summary | |
|---|---|
BodyContainer(WebPage page,
java.lang.String id)
Construct. |
|
| Method Summary | |
|---|---|
BodyContainer |
addOnLoadModifier(IModel model)
Deprecated. use addOnLoadModifier(IModel, Component) instead |
BodyContainer |
addOnLoadModifier(IModel model,
Component behaviorOwner)
Add a new AttributeModifier to the body container which appends the 'value' to the onLoad attribute of the body tag. |
BodyContainer |
addOnLoadModifier(java.lang.String value)
Deprecated. use addOnLoadModifier(String, Component) instead |
BodyContainer |
addOnLoadModifier(java.lang.String value,
Component behaviorOwner)
Add a new AttributeModifier to the body container which appends the 'value' to the onLoad attribute of the body tag. |
BodyContainer |
addOnUnLoadModifier(IModel model)
Deprecated. use addOnUnLoadModifier(IModel, Component) instead |
BodyContainer |
addOnUnLoadModifier(IModel model,
Component behaviorOwner)
Add a new AttributeModifier to the body container which appends the 'value' to the onUnLoad attribute of the body tag. |
BodyContainer |
addOnUnLoadModifier(java.lang.String value)
Deprecated. use addOnUnLoadModifier(String, Component) instead |
BodyContainer |
addOnUnLoadModifier(java.lang.String value,
Component behaviorOwner)
Add a new AttributeModifier to the body container which appends the 'value' to the onUnLoad attribute of the body tag. |
WebMarkupContainer |
getBodyContainer()
Get the real body container (WebMarkupContainer) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BodyContainer(WebPage page,
java.lang.String id)
page - The webpage where the body container is inid - The container id| Method Detail |
|---|
public final BodyContainer addOnLoadModifier(java.lang.String value)
addOnLoadModifier(String, Component) instead
Note: This method is not suitable for
value - The value to append to 'onLoad'
public final BodyContainer addOnLoadModifier(IModel model)
addOnLoadModifier(IModel, Component) instead
model - The model that holds the value that must be appended to
'onLoad'
public final BodyContainer addOnUnLoadModifier(java.lang.String value)
addOnUnLoadModifier(String, Component) instead
value - The value to append to 'onUnLoad'
public final BodyContainer addOnUnLoadModifier(IModel model)
addOnUnLoadModifier(IModel, Component) instead
model - The model which holds the value to be appended to 'onUnLoad'
public WebMarkupContainer getBodyContainer()
public final BodyContainer addOnLoadModifier(java.lang.String value,
Component behaviorOwner)
value - The value to append to 'onLoad'behaviorOwner - The component which 'owns' the attribute modifier. Null is a allowed value.
public final BodyContainer addOnLoadModifier(IModel model,
Component behaviorOwner)
model - The model which holds the value to be appended to 'onLoad'behaviorOwner - The component which 'owns' the attribute modifier. Null is a allowed value.
public final BodyContainer addOnUnLoadModifier(java.lang.String value,
Component behaviorOwner)
value - The value to append to 'onUnLoad'behaviorOwner - The component which 'owns' the attribute modifier. Null is a allowed value.
public final BodyContainer addOnUnLoadModifier(IModel model,
Component behaviorOwner)
model - The model which holds the value to be appended to 'onUnLoad'behaviorOwner - The component which 'owns' the attribute modifier. Null is a allowed value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||