org.equanda.tapestry5.base
Class TitleContent
java.lang.Object
org.equanda.tapestry5.base.TitleContent
- Direct Known Subclasses:
- Accordion, Tabs, TreeTable
@SupportsInformalParameters
public abstract class TitleContent
- extends Object
Abstract superclass for tapestry components that consist of list of maximum 50 panels, where only
one of the panels is currently active. A typical example is a tabs component.
- Author:
- Joachim Van der Auwera, Geert Mergan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TitleContent
public TitleContent()
isUsingCookies
public abstract boolean isUsingCookies()
- TitleContent provides a cookie-based mechanism to keep track of the component which is currently active.
Is the superclass going to use this cookie-based mechanism or not?
- Returns:
- true if it will use the cookies, false otherwise.
getActiveIndex
protected int getActiveIndex()
setActiveIndex
protected void setActiveIndex(int activeIndex)
getId
public String getId()
getIndex
public int getIndex()
setIndex
public void setIndex(int index)
getPanel
public TitleContent.TwoBlocks getPanel()
setPanel
public void setPanel(TitleContent.TwoBlocks panel)
getTitleIcon
public org.apache.tapestry5.Block getTitleIcon()
setTitleIcon
public void setTitleIcon(org.apache.tapestry5.Block titleIcon)
getPanels
public List<TitleContent.TwoBlocks> getPanels()
setupRender
@SetupRender
protected final void setupRender()
getPanelCount
public int getPanelCount()
Copyright © 2007-2009. All Rights Reserved.