|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.xml.containerpage.CmsContainerBean
public class CmsContainerBean
One container of a container page.
| Constructor Summary | |
|---|---|
CmsContainerBean(String name,
String type,
int maxElements,
List<CmsContainerElementBean> elements)
Creates a new container bean. |
|
CmsContainerBean(String name,
String type,
List<CmsContainerElementBean> elements)
Creates a new container bean with an unlimited number of elements. |
|
| Method Summary | |
|---|---|
boolean |
containsElement(CmsUUID elementId)
Returns true if the element with the provided id is contained in this container. |
Map<CmsUUID,Boolean> |
getContainsElement()
Returns a lazy initialized map that describes if a certain element if part of this container. |
List<CmsUUID> |
getElementIds()
Returns the id's of all elements in this container. |
List<CmsContainerElementBean> |
getElements()
Returns the elements in this container. |
int |
getMaxElements()
Returns the maximal number of elements in this container. |
String |
getName()
Returns the name of this container. |
String |
getType()
Returns the type of this container. |
String |
getWidth()
Returns the container width set by the rendering container tag. |
void |
setMaxElements(int maxElements)
Sets the maximal number of elements in the container. |
void |
setWidth(String width)
Sets the client side render with of this container. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmsContainerBean(String name,
String type,
int maxElements,
List<CmsContainerElementBean> elements)
name - the container nametype - the container typemaxElements - the maximal number of elements in the containerelements - the elements
public CmsContainerBean(String name,
String type,
List<CmsContainerElementBean> elements)
name - the container nametype - the container typeelements - the elements| Method Detail |
|---|
public boolean containsElement(CmsUUID elementId)
true if the element with the provided id is contained in this container.
elementId - the element id to check
true if the element with the provided id is contained in this containerpublic Map<CmsUUID,Boolean> getContainsElement()
public List<CmsUUID> getElementIds()
public List<CmsContainerElementBean> getElements()
public int getMaxElements()
public String getName()
public String getType()
public String getWidth()
public void setMaxElements(int maxElements)
maxElements - the maximal number of elements to setpublic void setWidth(String width)
width - the client side render with of this container
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||