Class MailInfoTab
java.lang.Object
com.novomind.ecom.api.iagent.frontend.tab.AbstractTab
com.novomind.ecom.api.imail.common.frontend.mailinfo.MailInfoTab
- All Implemented Interfaces:
InfoTab
,Tab
,com.novomind.ecom.common.api.attribute.DisplayNamed
,com.novomind.ecom.common.api.attribute.Named
Instances of this class are used as return values of
MailInfoTabProvider
to define and display custom tabs in the mail info view (Supervisor and Agent)- Since:
- 10.0.16
-
Field Summary
Fields inherited from class com.novomind.ecom.api.iagent.frontend.tab.AbstractTab
displayName, name, url
-
Constructor Summary
ConstructorsConstructorDescriptionMailInfoTab
(String name, String displayName, String url) Initializes a newly createdMailInfoTab
-
Method Summary
Modifier and TypeMethodDescriptionThe behavior of the InfoTab when the tab's parent view is being rendered.setBehavior
(InfoTabBehavior behavior) toString()
Methods inherited from class com.novomind.ecom.api.iagent.frontend.tab.AbstractTab
getDisplayName, getName, getUrl
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.novomind.ecom.common.api.attribute.DisplayNamed
getDisplayName
Methods inherited from interface com.novomind.ecom.common.api.attribute.Named
getName
-
Constructor Details
-
MailInfoTab
Initializes a newly createdMailInfoTab
- Parameters:
name
- The unique name of the mail info tabdisplayName
- The name to be displayed at the top of the mail info taburl
- The url to be loaded and displayed within the iframe of the mail info tab (Please note that relative URLs must be provided as result ofMailInfoViewContext.getViewUrl(String url)
) Example:public class HelloWorldMailInfoTab implements MailInfoTabProvider { @Override public MailInfoTab getMailInfoTab(MailInfoViewContext context) { return new MailInfoTab(name, displayName, context.getViewUrl("/mailinfo/helloworld/helloWorld.xhtml")); } }
- Since:
- 10.0.16
-
-
Method Details
-
setBehavior
- Parameters:
behavior
- The behavior of the InfoTab when the tab's parent view is being rendered.- Returns:
this
- Since:
- 10.0.28
-
getBehavior
Description copied from interface:InfoTab
The behavior of the InfoTab when the tab's parent view is being rendered.- Specified by:
getBehavior
in interfaceInfoTab
- Returns:
- the InfoTabBehavior
- Since:
- 10.0.28
-
toString
- Overrides:
toString
in classAbstractTab
- Since:
- 10.0.16
-