|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cocoon.portal.aspect.impl.AbstractAspectalizable
org.apache.cocoon.portal.factory.impl.AbstractProducible
org.apache.cocoon.portal.layout.AbstractLayout
org.apache.cocoon.portal.layout.impl.CompositeLayoutImpl
public class 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 |
|---|
parameters, parent, rendererName |
| Fields inherited from class org.apache.cocoon.portal.factory.impl.AbstractProducible |
|---|
description, id, name |
| Fields inherited from class org.apache.cocoon.portal.aspect.impl.AbstractAspectalizable |
|---|
aspectDataHandler, persistentDatas |
| 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 |
|---|
addParameter, getCastorParameters, getLayoutRendererName, getParameters, getParent, getRendererName, setLayoutRendererName, setParent |
| Methods inherited from class org.apache.cocoon.portal.factory.impl.AbstractProducible |
|---|
getId, getName, initialize, setDescription, setId, setName |
| Methods inherited from class org.apache.cocoon.portal.aspect.impl.AbstractAspectalizable |
|---|
addPersistentAspectData, getAspectData, getAspectDatas, getPersistentAspectData, isAspectSupported, setAspectData, setAspectDataHandler |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.cocoon.portal.layout.Layout |
|---|
getLayoutRendererName, getParent, getRendererName, setParent |
| Methods inherited from interface org.apache.cocoon.portal.layout.Parameters |
|---|
getParameters |
| Methods inherited from interface org.apache.cocoon.portal.factory.Producible |
|---|
getId, getName, initialize, setDescription |
| Methods inherited from interface org.apache.cocoon.portal.aspect.Aspectalizable |
|---|
addPersistentAspectData, getAspectData, getAspectDatas, getPersistentAspectData, isAspectSupported, setAspectData, setAspectDataHandler |
| 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 CompositeLayoutpublic final List getItems()
getItems in interface CompositeLayoutpublic final int getSize()
getSize in interface CompositeLayoutpublic final void removeItem(Item item)
CompositeLayout
removeItem in interface CompositeLayoutpublic Item createNewItem()
CompositeLayout
createNewItem in interface CompositeLayoutpublic 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 AbstractLayoutCloneNotSupportedExceptionpublic Layout copy()
Layout
copy in interface Layoutcopy in class AbstractLayout
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||