org.apache.wicket.markup.html.panel
Class BorderMarkupSourcingStrategy
java.lang.Object
org.apache.wicket.markup.html.panel.AbstractMarkupSourcingStrategy
org.apache.wicket.markup.html.panel.AssociatedMarkupSourcingStrategy
org.apache.wicket.markup.html.panel.BorderMarkupSourcingStrategy
- All Implemented Interfaces:
- IMarkupSourcingStrategy
public class BorderMarkupSourcingStrategy
- extends AssociatedMarkupSourcingStrategy
The Border component's markup sourcing strategy
- Author:
- Juergen Donnerstag
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BorderMarkupSourcingStrategy
public BorderMarkupSourcingStrategy()
- Constructor.
onComponentTagBody
public void onComponentTagBody(Component component,
MarkupStream markupStream,
ComponentTag openTag)
- Description copied from class:
AbstractMarkupSourcingStrategy
- Skip the components body which is expected to be raw markup only (no wicket components). It
will be replaced by the associated markup.
- Specified by:
onComponentTagBody
in interface IMarkupSourcingStrategy
- Overrides:
onComponentTagBody
in class AbstractMarkupSourcingStrategy
- Parameters:
component
- The component calling the strategy- See Also:
Component.onComponentTagBody(MarkupStream, ComponentTag)
getMarkup
public IMarkupFragment getMarkup(MarkupContainer container,
Component child)
- Return null and thus use
Border.getMarkup(child)
to provide the Markup
- Specified by:
getMarkup
in interface IMarkupSourcingStrategy
- Overrides:
getMarkup
in class AssociatedMarkupSourcingStrategy
- Parameters:
container
- The container expected to contain the markup for childchild
- The child component to find the markup for
- Returns:
- The markup associated with the child
- See Also:
MarkupContainer.getMarkup(Component)
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.