Interface ITab

  • All Superinterfaces:
    org.apache.wicket.util.io.IClusterable, Serializable
    All Known Implementing Classes:
    AbstractTab, PanelCachingTab

    public interface ITab
    extends org.apache.wicket.util.io.IClusterable
    Interface used to represent a single tab in a TabbedPanel
    Author:
    Igor Vaynberg (ivaynberg)
    See Also:
    TabbedPanel, AbstractTab
    • Method Detail

      • getTitle

        org.apache.wicket.model.IModel<StringgetTitle()
        Returns:
        IModel used to represent the title of the tab. Must contain a string.
      • getPanel

        org.apache.wicket.markup.html.WebMarkupContainer getPanel​(String containerId)
        Parameters:
        containerId - returned panel MUST have this id
        Returns:
        a container object (e.g. Panel or Fragment) that will be placed as the content of the tab
      • isVisible

        boolean isVisible()
        Returns whether this tab should be visible
        Returns:
        whether this tab should be visible