| |
|
| java.lang.Object uk.org.ponder.rsf.components.UIComponent uk.org.ponder.rsf.components.UIParameterHolder uk.org.ponder.rsf.components.UIContainer
All known Subclasses: uk.org.ponder.rsf.components.UIBranchContainer, uk.org.ponder.rsf.components.UIForm,
Field Summary | |
public String | localID The localID allows clients to distinguish between multiple instantiations
of the "same" (by rsf:id) component within the same scope. | public boolean | noID When set to true , this container will be allocated
no ID segment at all in the fullID derived for components contained
inside it. |
localID | public String localID(Code) | | The localID allows clients to distinguish between multiple instantiations
of the "same" (by rsf:id) component within the same scope. It forms part of
the global path constructed by getFullID() which uniquely identifies the
component.
|
noID | public boolean noID(Code) | | When set to true , this container will be allocated
no ID segment at all in the fullID derived for components contained
inside it.
|
addComponent | public void addComponent(UIComponent toadd)(Code) | | Add a component as a new child of this container
|
flatChildren | public UIComponent[] flatChildren()(Code) | | Returns a flattened array of all children of this container. Note that this
method will trigger the creation of a cached internal array on its first
use, which cannot be recreated. It is essential therefore that it only be
used once ALL modifications to the component tree have concluded (i.e. once
rendering starts).
|
flattenChildren | public ComponentList flattenChildren()(Code) | | Returns a list of all CURRENT children of this container. This method is
safe to use at any time.
|
getComponent | public UIComponent getComponent(String id)(Code) | | Return the single component with the given ID. This should be an ID without
colon designating a leaf child.
|
getComponents | public Object getComponents(String id)(Code) | | Return all child components with the given prefix. This may be either a
List if the component genuinely represents a branch structure, or a single
component if a leaf.
|
|
|
|