public class SimpleTab
extends org.apache.wicket.extensions.markup.html.tabs.AbstractTab
AbstractTab
that embeds a LabelPanel
Constructor and Description |
---|
SimpleTab(org.apache.wicket.model.IModel<String> title,
org.apache.wicket.model.IModel<String> content)
Constructor
|
SimpleTab(String title,
String content)
Constructor
|
Modifier and Type | Method and Description |
---|---|
org.apache.wicket.markup.html.WebMarkupContainer |
getPanel(String panelId)
Gets the
LabelPanel that contains the content supplied in the constructor |
void |
setContent(String content)
Sets the text content of tab
|
public SimpleTab(String title, String content)
title
- the title of the tabcontent
- the content of the tabpublic void setContent(String content)
content
- the text content of tabpublic final org.apache.wicket.markup.html.WebMarkupContainer getPanel(String panelId)
LabelPanel
that contains the content supplied in the constructorgetPanel
in interface org.apache.wicket.extensions.markup.html.tabs.ITab
getPanel
in class org.apache.wicket.extensions.markup.html.tabs.AbstractTab
LabelPanel
Copyright © 2015 7thWeb. All rights reserved.