com.googlecode.wicket.jquery.ui.widget.tabs
Class SimpleTab

java.lang.Object
  extended by org.apache.wicket.extensions.markup.html.tabs.AbstractTab
      extended by 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:
Serialized Form

Constructor Summary
SimpleTab(org.apache.wicket.model.IModel<String> title, org.apache.wicket.model.IModel<String> content)
          Constructor
SimpleTab(String title, String content)
          Constructor
 
Method Summary
 org.apache.wicket.markup.html.WebMarkupContainer getPanel(String panelId)
          Gets the LabelPanel that contains the content supplied in the constructor
 
Methods inherited from class org.apache.wicket.extensions.markup.html.tabs.AbstractTab
getTitle, isVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleTab

public SimpleTab(String title,
                 String content)
Constructor

Parameters:
title - the title of the tab
content - 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 tab
content - IModel used to represent the content of the tab
Method Detail

getPanel

public final org.apache.wicket.markup.html.WebMarkupContainer getPanel(String panelId)
Gets the LabelPanel that contains the content supplied in the constructor

Specified by:
getPanel in interface org.apache.wicket.extensions.markup.html.tabs.ITab
Specified by:
getPanel in class org.apache.wicket.extensions.markup.html.tabs.AbstractTab
Returns:
the LabelPanel


Copyright © 2013 7thWeb. All Rights Reserved.