Interface UILinkItem
- All Known Implementing Classes:
AbstractUILinkItem,PortalElementEditSkin,PortletIndicatorEditMetric,PortletQueryForeachActionEditPublications,PortletQueryForeachActionEditQuery,PortletQueryForeachActionPublish
public interface UILinkItem
An interface representing an UILinkItem
- Since:
- jcms-10.0.7
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaccept()Returns true if the menu should propose this itemReturns aButtonfor this actiongetHtml()Returns the action(s) html if you need to provide multiple links (You will need to produce LI > A)getIcon()Returns the icon of the menu itemintgetIndex()Returns CSS classes to add to the link.getLabel()Return the label used in the menu.Returns HTML attributes to add to the link.Returns CSS classes to add to the link.getUrl()Returns the URL for the action linkReturns CSS classes to add to the link wrapper (LI or other tag).booleanReturns true if current link item has a divider afterbooleanReturns true if current link item has a divider before
-
Method Details
-
accept
boolean accept()Returns true if the menu should propose this item- Returns:
- true if the menu should propose this item
- Since:
- jcms-10.0.7
-
getUrl
String getUrl()Returns the URL for the action link- Returns:
- the the URL for the action link
- Since:
- jcms-10.0.7
-
getHtml
String getHtml()Returns the action(s) html if you need to provide multiple links (You will need to produce LI > A)- Returns:
- the actions html
- Since:
- jcms-10.0.7
-
getLabel
String getLabel()Return the label used in the menu.- Returns:
- the label used in the menu.
- Since:
- jcms-10.0.7
-
getIcon
String getIcon()Returns the icon of the menu item- Returns:
- the icon of the menu item
- Since:
- jcms-10.0.7
-
getLinkCss
String getLinkCss()Returns CSS classes to add to the link.- Returns:
- CSS classes to add to the link.
- Since:
- jcms-10.0.7
-
getWrapperCss
String getWrapperCss()Returns CSS classes to add to the link wrapper (LI or other tag).- Returns:
- CSS classes to add to the link wrapper (LI or other tag).
- Since:
- jcms-10.0.7
-
getIndex
int getIndex()Returns CSS classes to add to the link.- Returns:
- CSS classes to add to the link.
- Since:
- jcms-10.0.7
-
getLinkAttributes
String getLinkAttributes()Returns HTML attributes to add to the link.- Returns:
- HTML attributes to add to the link.
- Since:
- jcms-10.0.7
-
hasDividerBefore
boolean hasDividerBefore()Returns true if current link item has a divider before- Returns:
- true if current link item has a divider before
- Since:
- jcms-10.0.7
-
hasDividerAfter
boolean hasDividerAfter()Returns true if current link item has a divider after- Returns:
- true if current link item has a divider after
- Since:
- jcms-10.0.7
-
getButton
Button getButton()Returns aButtonfor this action- Returns:
- a
Buttonfor this action - Since:
- jcms-10.0.7
-