Class SimpleTab
java.lang.Object
org.apache.wicket.extensions.markup.html.tabs.AbstractTab
com.googlecode.wicket.jquery.ui.widget.tabs.SimpleTab
- All Implemented Interfaces:
Serializable
,org.apache.wicket.extensions.markup.html.tabs.ITab
,org.apache.wicket.util.io.IClusterable
public class SimpleTab
extends org.apache.wicket.extensions.markup.html.tabs.AbstractTab
Provides a simple
AbstractTab
that embeds a LabelPanel
- Since:
- 1.2.3, 6.0.1
- Author:
- Sebastien Briquet - sebfz1
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal org.apache.wicket.markup.html.WebMarkupContainer
Gets theLabelPanel
that contains the content supplied in the constructorvoid
setContent
(String content) Sets the text content of tabMethods inherited from class org.apache.wicket.extensions.markup.html.tabs.AbstractTab
getTitle, isVisible
-
Constructor Details
-
SimpleTab
Constructor- Parameters:
title
- the title of the tabcontent
- the content of the tab
-
SimpleTab
public SimpleTab(org.apache.wicket.model.IModel<String> title, org.apache.wicket.model.IModel<String> content) Constructor- Parameters:
title
- IModel used to represent the title of the tabcontent
- IModel used to represent the content of the tab
-
-
Method Details
-
setContent
Sets the text content of tab- Parameters:
content
- the text content of tab
-
getPanel
Gets theLabelPanel
that contains the content supplied in the constructor- Specified by:
getPanel
in interfaceorg.apache.wicket.extensions.markup.html.tabs.ITab
- Specified by:
getPanel
in classorg.apache.wicket.extensions.markup.html.tabs.AbstractTab
- Returns:
- the
LabelPanel
-