org.apache.wicket.extensions.markup.html.tabs
Interface ITab

All Superinterfaces:
IClusterable, java.io.Serializable
All Known Implementing Classes:
AbstractTab, PanelCachingTab

public interface ITab
extends IClusterable

Interface used to represent a single tab in a TabbedPanel

Author:
Igor Vaynberg (ivaynberg)
See Also:
TabbedPanel, AbstractTab

Method Summary
 WebMarkupContainer getPanel(java.lang.String containerId)
           
 IModel<java.lang.String> getTitle()
           
 boolean isVisible()
          Returns whether this tab should be visible
 

Method Detail

getTitle

IModel<java.lang.String> getTitle()
Returns:
IModel used to represent the title of the tab. Must contain a string.

getPanel

WebMarkupContainer getPanel(java.lang.String containerId)
Parameters:
containerId - returned panel MUST have this id
Returns:
a container object (e.g. Panel or Fragment) that will be placed as the content of the tab

isVisible

boolean isVisible()
Returns whether this tab should be visible

Returns:
whether this tab should be visible


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.