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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WebMarkupContainer
getPanel(String containerId)
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
WebMarkupContainer getPanel(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
-
-