|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.markup.html.panel.AbstractMarkupSourcingStrategy org.apache.wicket.markup.html.panel.AssociatedMarkupSourcingStrategy org.apache.wicket.markup.html.panel.BorderMarkupSourcingStrategy
public class BorderMarkupSourcingStrategy
Constructor Summary | |
---|---|
BorderMarkupSourcingStrategy()
Constructor. |
Method Summary | |
---|---|
IMarkupFragment |
getMarkup(MarkupContainer container,
Component child)
Return null and thus use component.getMarkup(child) to provide the Markup |
void |
onComponentTag(Component component,
ComponentTag tag)
Make sure we open up open-close tags to open-body-close |
void |
onComponentTagBody(Component component,
MarkupStream markupStream,
ComponentTag openTag)
Will replace the respective component's method.
It's perfectly valid to call |
Methods inherited from class org.apache.wicket.markup.html.panel.AssociatedMarkupSourcingStrategy |
---|
findMarkupInAssociatedFileHeader, renderHead, renderHeadFromAssociatedMarkupFile |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BorderMarkupSourcingStrategy()
Method Detail |
---|
public void onComponentTag(Component component, ComponentTag tag)
onComponentTag
in interface IMarkupSourcingStrategy
onComponentTag
in class AssociatedMarkupSourcingStrategy
component
- The component calling the strategyComponent.onComponentTag(ComponentTag)
public void onComponentTagBody(Component component, MarkupStream markupStream, ComponentTag openTag)
It's perfectly valid to call component.onComponentTagBody(markupStream, openTag)
from insight this method.
onComponentTagBody
in interface IMarkupSourcingStrategy
onComponentTagBody
in class AbstractMarkupSourcingStrategy
component
- The component calling the strategyComponent.onComponentTagBody(MarkupStream, ComponentTag)
public IMarkupFragment getMarkup(MarkupContainer container, Component child)
component.getMarkup(child)
to provide the Markup
getMarkup
in interface IMarkupSourcingStrategy
getMarkup
in class AbstractMarkupSourcingStrategy
container
- The parent containing the child.child
- The componen to find the markup for.
MarkupContainer.getMarkup(Component)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |