org.chenillekit.tapestry.core.components
Class TabSet

java.lang.Object
  extended by org.chenillekit.tapestry.core.components.TabSet
All Implemented Interfaces:
ClientElement

@Import(library={"../Chenillekit.js","TabSet.js"},
        stylesheet="TabSet.css")
public class TabSet
extends Object
implements ClientElement

Simple tab controlled panel component.

This component looks in the container message resource for an entry like label-panelid for inserting as panel title. If key not found the panel id inserted instead.

Version:
$Id: TabSet.java 674 2010-07-29 12:47:25Z homburgs $

Constructor Summary
TabSet()
           
 
Method Summary
 String getClientId()
          Returns a unique id for the element.
 Block getInitialActiveBlock()
          activate the named block if page refreshed.
 String getPanelTitle()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabSet

public TabSet()
Method Detail

getPanelTitle

public String getPanelTitle()

getInitialActiveBlock

public Block getInitialActiveBlock()
activate the named block if page refreshed.

Returns:
corresponding block or an exception if named block not found.

getClientId

public String getClientId()
Returns a unique id for the element. This value will be unique for any given rendering of a page. This value is intended for use as the id attribute of the client-side element, and will be used with any DHTML/Ajax related JavaScript.

Specified by:
getClientId in interface ClientElement


Copyright © 2008-2010 ChenilleKit. All Rights Reserved.