|
|||||||||||
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 CompositeLayout
index
- index for the position inside the listitem
- item to addpublic final void addItem(Item item)
addItem
in interface CompositeLayout
item
- item to addpublic final Item getItem(int index)
getItem
in interface CompositeLayout
index
-
public final List getItems()
getItems
in interface CompositeLayout
public final int getSize()
getSize
in interface CompositeLayout
public final void removeItem(Item item)
CompositeLayout
removeItem
in interface CompositeLayout
item
- CompositeLayout.removeItem(org.apache.cocoon.portal.layout.Item)
public Item createNewItem()
CompositeLayout
createNewItem
in interface CompositeLayout
CompositeLayout.createNewItem()
public String getItemClassName()
getItemClassName
in interface CompositeLayout
public void setItemClassName(String value)
setItemClassName
in interface CompositeLayout
value
- The item class name to set.protected Object clone() throws CloneNotSupportedException
clone
in class AbstractLayout
CloneNotSupportedException
Object.clone()
public Layout copy()
Layout
copy
in interface Layout
copy
in class AbstractLayout
Layout.copy()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |