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<java.lang.String> title,
org.apache.wicket.model.IModel<java.lang.String> content)
Constructor
|
SimpleTab(java.lang.String title,
java.lang.String content)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.wicket.markup.html.WebMarkupContainer |
getPanel(java.lang.String panelId)
Gets the
LabelPanel that contains the content supplied in the constructor |
void |
setContent(java.lang.String content)
Sets the text content of tab
|
public SimpleTab(java.lang.String title,
java.lang.String content)
title - the title of the tabcontent - the content of the tabpublic SimpleTab(org.apache.wicket.model.IModel<java.lang.String> title,
org.apache.wicket.model.IModel<java.lang.String> content)
title - IModel used to represent the title of the tabcontent - IModel used to represent the content of the tabpublic void setContent(java.lang.String content)
content - the text content of tabpublic final org.apache.wicket.markup.html.WebMarkupContainer getPanel(java.lang.String panelId)
LabelPanel that contains the content supplied in the constructorgetPanel in interface org.apache.wicket.extensions.markup.html.tabs.ITabgetPanel in class org.apache.wicket.extensions.markup.html.tabs.AbstractTabLabelPanelCopyright © 2014 7thWeb. All Rights Reserved.