Interface for the portlet title bar. The title bar is drawn by the portal, but the portlet can customize the title bar properties like title, title link, custom links, etc
To get the current title bar reference use IPortletBean.getPortletTitleBar()
. To customize the titlebar
overwrite IPortletBean.getPortletTitleBar()
method.
@Deprecated public interface IPortletTitleBar extends IContentRenderer
Modifier and Type | Method and Description |
---|---|
void |
addCustomLink(String caption,
String url)
Deprecated.
Adds a custom link to the current list
|
Map<String,String> |
getCustomLinks()
Deprecated.
Returns the current custom links map
|
String |
getHelpLink()
Deprecated.
|
String |
getTitle()
Deprecated.
Returns the current portlet title
|
String |
getTitleLink()
Deprecated.
Returns the current title link url
|
String |
getWidth()
Deprecated.
|
boolean |
isToolsMenuEnabled()
Deprecated.
Returns whether the tools menu is enabled
|
void |
setCustomLinks(Map<? extends String,? extends String> links)
Deprecated.
Sets a new portlet's custom links map
|
void |
setTitle(String portletTitle)
Deprecated.
Sets a new title for the title bar
|
void |
setToolsMenuEnabled(boolean enabled)
Deprecated.
Enables or disables tools menu for the portlet
|
void |
setWidth(String value)
Deprecated.
|
setPortlet
getContent, getContentType, getContentTypes, isContentTypeSupported, setContentType
void setTitle(String portletTitle)
portletTitle
- the new portlet titleString getTitle()
String getTitleLink()
@Deprecated String getHelpLink()
void setCustomLinks(Map<? extends String,? extends String> links)
links
- the map of name/url link pairsMap<String,String> getCustomLinks()
void addCustomLink(String caption, String url)
caption
- the link captionurl
- the link url@Deprecated void setWidth(String value)
@Deprecated String getWidth()
void setToolsMenuEnabled(boolean enabled)
enabled
- false to disable the portlet's title bar tools menuboolean isToolsMenuEnabled()