|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tapestry.spec.BaseLocatable
org.apache.tapestry.AbstractComponent
org.apache.tapestry.BaseComponent
public class BaseComponent
Base implementation for most components that use an HTML template.
| Constructor Summary | |
|---|---|
BaseComponent()
|
|
| Method Summary | |
|---|---|
protected 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. |
| Methods inherited from class org.apache.tapestry.spec.BaseLocatable |
|---|
getLocation, setLocation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.tapestry.ILocationHolder |
|---|
setLocation |
| Methods inherited from interface org.apache.tapestry.ILocatable |
|---|
getLocation |
| Constructor Detail |
|---|
public BaseComponent()
| Method Detail |
|---|
protected void addOuter(IRender element)
render() method. That is, they are
top-level elements on the HTML template.
protected void renderComponent(IMarkupWriter writer,
IRequestCycle cycle)
renderComponent in class AbstractComponent
public 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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||