Class AbstractTab

    • Field Summary

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

      Constructors 
      Constructor Description
      AbstractTab​(java.lang.String name, java.lang.String displayName, java.lang.String url)
      Initializes a newly created tab.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDisplayName()  
      java.lang.String getName()  
      java.lang.String getUrl()
      The URL of the tab's content
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • url

        protected final java.lang.String url
      • name

        protected final java.lang.String name
      • displayName

        protected final java.lang.String displayName
    • Constructor Detail

      • AbstractTab

        public AbstractTab​(java.lang.String name,
                           java.lang.String displayName,
                           java.lang.String url)
        Initializes a newly created tab.
        Parameters:
        name - The unique name of the tab
        displayName - The name to be displayed at the top of the tab
        url - The url to be loaded and displayed within the iframe of the tab
        Since:
        12.14
    • Method Detail

      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface com.novomind.ecom.common.api.attribute.Named
        Since:
        12.14
      • getDisplayName

        public java.lang.String getDisplayName()
        Specified by:
        getDisplayName in interface com.novomind.ecom.common.api.attribute.DisplayNamed
        Since:
        12.14
      • getUrl

        public java.lang.String getUrl()
        Description copied from interface: Tab
        The URL of the tab's content
        Specified by:
        getUrl in interface Tab
        Returns:
        the URL as String
        Since:
        12.14
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        Since:
        12.14