public class ContentElementList extends Object implements IContentComponentsList
Constructor and Description |
---|
ContentElementList() |
ContentElementList(ComponentBean[] beans,
ContentContext ctx,
MenuElement inPage,
boolean allArea) |
ContentElementList(ContentContext ctx,
MenuElement inPage,
boolean allArea) |
ContentElementList(ContentElementList list) |
public ContentElementList()
public ContentElementList(ComponentBean[] beans, ContentContext ctx, MenuElement inPage, boolean allArea) throws Exception
Exception
public ContentElementList(ContentContext ctx, MenuElement inPage, boolean allArea) throws Exception
Exception
public ContentElementList(ContentElementList list)
protected void addElement(IContentVisualComponent elem)
protected void addElementAsFirst(IContentVisualComponent elem)
public void addRepeatElement(IContentVisualComponent elem)
public Iterable<IContentVisualComponent> asIterable(ContentContext ctx)
ContentElementList
calling
hasNext(ContentContext)
and next(ContentContext)
with
the ctx
parameter. #initialize()
is called when Iterable.iterator()
is called.ctx
- public String getLabel(ContentContext ctx)
public String getLanguage()
getLanguage
in interface IContentComponentsList
public MenuElement getPage()
public String getPageTitle(ContentContext ctx)
public String getPrefixXHTMLCode(ContentContext ctx)
getPrefixXHTMLCode
in interface IContentComponentsList
public String getSubTitle(ContentContext ctx)
public List<String> getSubTitles(ContentContext ctx, int inLevel)
public String getLinkLabel(ContentContext ctx)
public int getSubTitleLevel(ContentContext ctx)
public String getSufixXHTMLCode(ContentContext ctx)
getSufixXHTMLCode
in interface IContentComponentsList
public String getTitle(ContentContext ctx)
public String getLocalTitle(ContentContext ctx)
public String getXHTMLTitle(ContentContext ctx) throws Exception
Exception
public boolean hasNext(ContentContext ctx)
hasNext
in interface IContentComponentsList
public void initialize(ContentContext ctx)
initialize
in interface IContentComponentsList
public IContentVisualComponent next(ContentContext ctx)
next
in interface IContentComponentsList
public int realSize()
public void setAllArea(boolean inAllArea)
setAllArea
in interface IContentComponentsList
public void setPage(MenuElement page)
public int size(ContentContext ctx)
size
in interface IContentComponentsList
public Iterable<IContentVisualComponent> getIterable(ContentContext ctx)
public LinkedList<IContentVisualComponent> getContentElements()
public IContentVisualComponent getComponent(String id)
Copyright © 2012-2018. All Rights Reserved.