Interface ITab
-
- All Superinterfaces:
org.apache.wicket.util.io.IClusterable,Serializable
- All Known Implementing Classes:
AbstractTab,PanelCachingTab
public interface ITab extends org.apache.wicket.util.io.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 org.apache.wicket.markup.html.WebMarkupContainergetPanel(String containerId)org.apache.wicket.model.IModel<String>getTitle()booleanisVisible()Returns whether this tab should be visible
-
-
-
Method Detail
-
getTitle
org.apache.wicket.model.IModel<String> getTitle()
- Returns:
- IModel used to represent the title of the tab. Must contain a string.
-
getPanel
org.apache.wicket.markup.html.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
-
-