Module wicket.bootstrap.core
Class TextContentTab
java.lang.Object
org.apache.wicket.extensions.markup.html.tabs.AbstractTab
de.agilecoders.wicket.core.markup.html.bootstrap.tabs.TextContentTab
- All Implemented Interfaces:
Serializable,ITab,IClusterable
- Direct Known Subclasses:
AjaxLazyLoadTextContentTab
Simple
AbstractTab that contains only a TextPanel.- Version:
- 1.0
- Author:
- miha
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal WebMarkupContainerprotected WebMarkupContainercreates a new tab panel.Methods inherited from class org.apache.wicket.extensions.markup.html.tabs.AbstractTab
getTitle, isVisible
-
Constructor Details
-
TextContentTab
Constructor- Parameters:
title- IModel used to represent the title of the tab. Must contain a string
-
-
Method Details
-
getPanel
- Specified by:
getPanelin interfaceITab- Specified by:
getPanelin classAbstractTab
-
newPanel
creates a new tab panel.- Parameters:
markupId- The markup id of new tab paneltext- The text to render- Returns:
- new tab panel
-