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 |
public SimpleTab(String title, String content)
title
- the title of the tabcontent
- the content of the 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 © 2013 7thWeb. All Rights Reserved.