public class BaseComponent extends AbstractComponent implements ITemplateComponent
| Constructor and Description |
|---|
BaseComponent() |
| Modifier and Type | Method and Description |
|---|---|
void |
addOuter(IRender element)
Adds an element as an outer element for the receiver.
|
void |
finishLoad(IRequestCycle cycle,
IPageLoader loader,
IComponentSpecification specification)
Loads the template for the component, then invokes
AbstractComponent.finishLoad(IRequestCycle, IPageLoader, IComponentSpecification). |
protected void |
renderComponent(IMarkupWriter writer,
IRequestCycle cycle)
Renders the top level components contained by the receiver.
|
addAsset, addBody, addComponent, checkActiveLock, cleanupAfterRender, enterActiveState, finishLoad, format, format, format, format, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getComponent, getComponents, getContainedComponent, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isInActiveState, isParameterBound, isRendering, pageEndRender, prepareForRender, render, renderBody, renderInformalParameters, setBinding, setContainedComponent, setContainer, setId, setNamespace, setPage, setProperty, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAsset, addBody, addComponent, enterActiveState, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getComponent, getComponents, getContainedComponent, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isRendering, renderBody, setBinding, setContainedComponent, setContainer, setId, setNamespace, setPage, setPropertypublic BaseComponent()
public void addOuter(IRender element)
render() method. That is, they are
top-level elements on the HTML template.addOuter in interface ITemplateComponentprotected void renderComponent(IMarkupWriter writer, IRequestCycle cycle)
renderComponent in class AbstractComponentpublic void finishLoad(IRequestCycle cycle, IPageLoader loader, IComponentSpecification specification)
AbstractComponent.finishLoad(IRequestCycle, IPageLoader, IComponentSpecification).
Subclasses must invoke this method first, before adding any additional behavior, though its
usually simpler to override AbstractComponent.finishLoad()instead.finishLoad in interface IComponentfinishLoad in class AbstractComponent