Class AbstractNamedTab

  • All Implemented Interfaces:
    INamedTab, java.io.Serializable, org.apache.wicket.extensions.markup.html.tabs.ITab, org.apache.wicket.util.io.IClusterable
    Direct Known Subclasses:
    NamedTab

    public abstract class AbstractNamedTab
    extends org.apache.wicket.extensions.markup.html.tabs.AbstractTab
    implements INamedTab
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String category  
      protected java.lang.String name  
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractNamedTab​(java.lang.String name, java.lang.String titleKey)
      Create a new named tab.
      AbstractNamedTab​(java.lang.String name, java.lang.String category, java.lang.String titleKey)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCategoryName()
      Get the non-localized, brief (id) of the category this tab belongs to.
      java.lang.String getTabName()
      Get the non-localized, brief name of the tab.
      • Methods inherited from class org.apache.wicket.extensions.markup.html.tabs.AbstractTab

        getPanel, getTitle, isVisible
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.wicket.extensions.markup.html.tabs.ITab

        getPanel, getTitle, isVisible
    • Field Detail

      • name

        protected final java.lang.String name
      • category

        protected final java.lang.String category
    • Constructor Detail

      • AbstractNamedTab

        public AbstractNamedTab​(java.lang.String name,
                                java.lang.String titleKey)
        Create a new named tab.
        Parameters:
        name - The name of this tab. Used as a key for url navigation.
        titleKey - The resource key of the title of this tab.
      • AbstractNamedTab

        public AbstractNamedTab​(java.lang.String name,
                                java.lang.String category,
                                java.lang.String titleKey)
    • Method Detail

      • getTabName

        public java.lang.String getTabName()
        Description copied from interface: INamedTab
        Get the non-localized, brief name of the tab. Should be URL friendly for bookmark-able navigation
        Specified by:
        getTabName in interface INamedTab
      • getCategoryName

        public java.lang.String getCategoryName()
        Description copied from interface: INamedTab
        Get the non-localized, brief (id) of the category this tab belongs to.
        Specified by:
        getCategoryName in interface INamedTab