|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.htmlb.Component
com.sapportals.htmlb.Container
Base class for all components that can include other components.
Copyright 2004 SAP AG
| Field Summary | |
protected List |
elements
|
| Constructor Summary | |
Container()
|
|
Container(String id)
|
|
| Method Summary | |
Component |
addComponent(Component component)
add a component to this container |
String |
addRawText(String text)
add a raw text to this container |
String |
addText(String text)
add a raw text to this container |
int |
getChildCount()
get the number of children of this container |
Iterator |
iterator()
get an Iterator of the children |
void |
preRender(IPageContext pc)
preRender traverses the component tree right before rendering |
void |
removeComponent(Component component)
remove a specific component from this container |
void |
render(int selector,
IPageContext rendererContext)
render an aspect of the component using the current context. |
| Methods inherited from class com.sapportals.htmlb.Component |
getEncodedIdForForm, getId, getParent, getUI, initFromPageContext, initFromShortId, initializeFromId, isJsObjectNeeded, render, renderAsString, requiresForm, setId, setJsObjectNeeded, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected List elements
| Constructor Detail |
public Container()
public Container(String id)
| Method Detail |
public void render(int selector,
IPageContext rendererContext)
selector - the aspect to render.rendererContext - the context in which to render.public Component addComponent(Component component)
component - the component to addpublic String addText(String text)
text - the text to addpublic String addRawText(String text)
text - the text to addpublic void removeComponent(Component component)
component - the component to removepublic int getChildCount()
public Iterator iterator()
public void preRender(IPageContext pc)
preRender in class Component
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||