Class PanelCachingTab

    • Constructor Detail

      • PanelCachingTab

        public PanelCachingTab​(ITab delegate)
        Constructor
        Parameters:
        delegate - ITab implementation to decorate
    • Method Detail

      • getTitle

        public IModel<StringgetTitle()
        Specified by:
        getTitle in interface ITab
        Returns:
        IModel used to represent the title of the tab. Must contain a string.
      • getPanel

        public WebMarkupContainer getPanel​(String panelId)
        Specified by:
        getPanel in interface ITab
        Parameters:
        panelId - 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

        public boolean isVisible()
        Returns whether this tab should be visible
        Specified by:
        isVisible in interface ITab
        Returns:
        whether this tab should be visible