|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.markup.renderStrategy.AbstractHeaderRenderStrategy
public abstract class AbstractHeaderRenderStrategy
An abstract implementation of a header render strategy which is only missing the code to traverse the child hierarchy, since the sequence of that traversal is what will make the difference between the different header render strategies. Besides the child hierarchy the render sequence by default (may be changed via subclassing) is as follows:
Constructor Summary | |
---|---|
AbstractHeaderRenderStrategy()
Construct. |
Method Summary | |
---|---|
static IHeaderRenderStrategy |
get()
|
protected void |
renderApplicationLevelHeaders(HtmlHeaderContainer headerContainer)
Render the application level headers |
protected abstract void |
renderChildHeaders(HtmlHeaderContainer headerContainer,
Component rootComponent)
Render the child hierarchy headers. |
void |
renderHeader(HtmlHeaderContainer headerContainer,
Component rootComponent)
Implements the render strategy |
protected void |
renderRootComponent(HtmlHeaderContainer headerContainer,
Component rootComponent)
Render the root component (e.g. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractHeaderRenderStrategy()
Method Detail |
---|
public static IHeaderRenderStrategy get()
public void renderHeader(HtmlHeaderContainer headerContainer, Component rootComponent)
IHeaderRenderStrategy
renderHeader
in interface IHeaderRenderStrategy
headerContainer
- The HeaderContainer associated to the responserootComponent
- The root component (e.g. Page) to start the render processprotected void renderRootComponent(HtmlHeaderContainer headerContainer, Component rootComponent)
headerContainer
- rootComponent
- protected abstract void renderChildHeaders(HtmlHeaderContainer headerContainer, Component rootComponent)
headerContainer
- rootComponent
- protected final void renderApplicationLevelHeaders(HtmlHeaderContainer headerContainer)
headerContainer
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |