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 java.lang.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 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 contentjava.lang.String
toString()
-
-
-
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 tabdisplayName
- The name to be displayed at the top of the taburl
- 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 interfacecom.novomind.ecom.common.api.attribute.Named
- Since:
- 12.14
-
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName
in interfacecom.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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- Since:
- 12.14
-
-