org.apache.wicket.markup.html.panel
Class PanelMarkupSourcingStrategy
java.lang.Object
org.apache.wicket.markup.html.panel.AbstractMarkupSourcingStrategy
org.apache.wicket.markup.html.panel.AssociatedMarkupSourcingStrategy
org.apache.wicket.markup.html.panel.PanelMarkupSourcingStrategy
- All Implemented Interfaces:
- IMarkupSourcingStrategy
public class PanelMarkupSourcingStrategy
- extends AssociatedMarkupSourcingStrategy
- Author:
- Juergen Donnerstag
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PANEL
public static final String PANEL
- See Also:
- Constant Field Values
PanelMarkupSourcingStrategy
public PanelMarkupSourcingStrategy()
- Constructor.
onComponentTagBody
public void onComponentTagBody(Component component,
MarkupStream markupStream,
ComponentTag openTag)
- Will replace the respective component's method.
It's perfectly valid to call component.onComponentTagBody(markupStream, openTag)
from insight this method.
- 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 parent,
Component child)
- Will replace the respective component's method. However by returning null, the
component's method will be called.
- Specified by:
getMarkup
in interface IMarkupSourcingStrategy
- Specified by:
getMarkup
in class AbstractMarkupSourcingStrategy
- Parameters:
parent
- The parent containing the child.child
- The componen to find the markup for.
- Returns:
- markup fragment
- See Also:
MarkupContainer.getMarkup(Component)
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.