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
    Constructor
    Description
    SimpleTab(String title, String content)
    Constructor
    SimpleTab(org.apache.wicket.model.IModel<String> title, org.apache.wicket.model.IModel<String> content)
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    final 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

    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 Details

    • 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 Details

    • setContent

      public void setContent(String content)
      Sets the text content of tab
      Parameters:
      content - the text content of tab
    • 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