Class AbstractTab

java.lang.Object
com.novomind.ecom.api.iagent.frontend.tab.AbstractTab
All Implemented Interfaces:
Tab, com.novomind.ecom.common.api.attribute.DisplayNamed, com.novomind.ecom.common.api.attribute.Named
Direct Known Subclasses:
AccountConnectorTab, AgentHomeTab, CallInfoTab, CategoryConfigTab, ChatInfoTab, ExternalRoutingConnectorTab, MailInfoTab, MessageTab, MessengerAccountConnectorTab, PhoneSystemConnectorTab, TenantConfigTab, TransactionCodeConfigTab, UserConfigTab

public abstract class AbstractTab extends Object implements Tab
Instances of this class are used to build a custom tab with a name, displayName and an url.
Since:
12.14
  • Field Details

    • url

      protected final String url
    • name

      protected final String name
    • displayName

      protected final String displayName
  • Constructor Details

    • AbstractTab

      public AbstractTab(String name, String displayName, 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 Details

    • getName

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

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

      public 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 String toString()
      Overrides:
      toString in class Object
      Since:
      12.14