|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.cocoon.portal.layout.AbstractParameters
org.apache.cocoon.portal.layout.AbstractLayout
org.apache.cocoon.portal.layout.impl.CompositeLayoutImpl
A composite layout is a layout that contains other layouts.
| Field Summary | |
protected String |
itemClassName
The class name of the items |
protected List |
items
|
| Fields inherited from class org.apache.cocoon.portal.layout.AbstractLayout |
description, id, name, parent, rendererName, temporaryParameters |
| Fields inherited from class org.apache.cocoon.portal.layout.AbstractParameters |
parameters |
| Constructor Summary | |
CompositeLayoutImpl()
Constructor |
|
| Method Summary | |
void |
addItem(int index,
Item item)
Add indexed item to the itemList. |
void |
addItem(Item item)
Add Item to the ItemList. |
protected Object |
clone()
|
Layout |
copy()
Make a copy of this layout object and of all it's children. |
Item |
createNewItem()
Create a new item. |
Item |
getItem(int index)
Get Item from the ItemList. |
String |
getItemClassName()
|
List |
getItems()
Get the ItemList. |
int |
getSize()
Get size of ItemList. |
void |
removeItem(Item item)
Remove an item |
void |
setItemClassName(String value)
|
| Methods inherited from class org.apache.cocoon.portal.layout.AbstractLayout |
getId, getLayoutRendererName, getName, getParent, getRendererName, getTemporaryParameter, getTemporaryParameters, initialize, setDescription, setId, setLayoutRendererName, setName, setParent, setTemporaryParameter, toString |
| Methods inherited from class org.apache.cocoon.portal.layout.AbstractParameters |
addParameter, getCastorParameters, getParameter, getParameters, setParameter |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.cocoon.portal.layout.Layout |
getId, getLayoutRendererName, getName, getParameter, getParameters, getParent, getRendererName, getTemporaryParameter, getTemporaryParameters, initialize, setDescription, setParameter, setParent, setTemporaryParameter |
| Field Detail |
protected List items
protected String itemClassName
| Constructor Detail |
public CompositeLayoutImpl()
| Method Detail |
public final void addItem(int index,
Item item)
addItem in interface CompositeLayoutindex - index for the position inside the listitem - item to addpublic final void addItem(Item item)
addItem in interface CompositeLayoutitem - item to addpublic final Item getItem(int index)
getItem in interface CompositeLayoutindex -
public final List getItems()
getItems in interface CompositeLayoutpublic final int getSize()
getSize in interface CompositeLayoutpublic final void removeItem(Item item)
CompositeLayout
removeItem in interface CompositeLayoutitem - CompositeLayout.removeItem(org.apache.cocoon.portal.layout.Item)public Item createNewItem()
CompositeLayout
createNewItem in interface CompositeLayoutCompositeLayout.createNewItem()public String getItemClassName()
getItemClassName in interface CompositeLayoutpublic void setItemClassName(String value)
setItemClassName in interface CompositeLayoutvalue - The item class name to set.
protected Object clone()
throws CloneNotSupportedException
clone in class AbstractLayoutCloneNotSupportedExceptionObject.clone()public Layout copy()
Layout
copy in interface Layoutcopy in class AbstractLayoutLayout.copy()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||