org.equanda.tapestry5.components
Class Tabs

java.lang.Object
  extended by org.equanda.tapestry5.base.TitleContent
      extended by org.equanda.tapestry5.components.Tabs
Direct Known Subclasses:
MemTabs

@IncludeJavaScriptLibrary(value={"${tapestry.scriptaculous}/prototype.js","classpath:/org/equanda/tapestry5/resources/t5equanda.js"})
@SupportsInformalParameters
public class Tabs
extends TitleContent

Tabs component

Author:
Joachim Van der Auwera

Nested Class Summary
 
Nested classes/interfaces inherited from class org.equanda.tapestry5.base.TitleContent
TitleContent.TwoBlocks
 
Constructor Summary
Tabs()
           
 
Method Summary
 String getBackward()
          String index for previous tab if any
 org.apache.tapestry5.Block getContentAll()
           
 String getForward()
          String index for next tab if any
 boolean hasContentAll()
           
 boolean isUsingCookies()
          TitleContent provides a cookie-based mechanism to keep track of the component which is currently active.
 void setContentAll(org.apache.tapestry5.Block contentAll)
           
 
Methods inherited from class org.equanda.tapestry5.base.TitleContent
getActiveIndex, getId, getIndex, getPanel, getPanelCount, getPanels, getTitleIcon, setActiveIndex, setIndex, setPanel, setTitleIcon, setupRender
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tabs

public Tabs()
Method Detail

isUsingCookies

public boolean isUsingCookies()
Description copied from class: TitleContent
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?

Specified by:
isUsingCookies in class TitleContent
Returns:
true if it will use the cookies, false otherwise.

getContentAll

public org.apache.tapestry5.Block getContentAll()

hasContentAll

public boolean hasContentAll()

setContentAll

public void setContentAll(org.apache.tapestry5.Block contentAll)

getBackward

public String getBackward()
String index for previous tab if any

Returns:
index for previous tab as string or null

getForward

public String getForward()
String index for next tab if any

Returns:
index for next tab as string or null


Copyright © 2007-2009. All Rights Reserved.