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

All Superinterfaces:
IClusterable, 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
 Panel getPanel(String panelId)
           
 IModel<String> getTitle()
           
 boolean isVisible()
          Returns whether this tab should be visible
 

Method Detail

getTitle

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

getPanel

Panel getPanel(String panelId)
Parameters:
panelId - returned panel MUST have this id
Returns:
a Panel object that will be placed as the content panel

isVisible

boolean isVisible()
Returns whether this tab should be visible

Returns:
whether this tab should be visible


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