Interface UILinkItem
-
- All Known Implementing Classes:
AbstractUILinkItem,PortalElementEditSkin,PortletIndicatorEditMetric,PortletQueryForeachActionEditPublications,PortletQueryForeachActionEditQuery,PortletQueryForeachActionPublish
public interface UILinkItemAn interface representing an UILinkItem- Since:
- jcms-10.0.7
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaccept()Returns true if the menu should propose this itemButtongetButton()Returns aButtonfor this actionjava.lang.StringgetHtml()Returns the action(s) html if you need to provide multiple links (You will need to produce LI > A)java.lang.StringgetIcon()Returns the icon of the menu itemintgetIndex()Returns CSS classes to add to the link.java.lang.StringgetLabel()Return the label used in the menu.java.lang.StringgetLinkAttributes()Returns HTML attributes to add to the link.java.lang.StringgetLinkCss()Returns CSS classes to add to the link.java.lang.StringgetUrl()Returns the URL for the action linkjava.lang.StringgetWrapperCss()Returns CSS classes to add to the link wrapper (LI or other tag).booleanhasDividerAfter()Returns true if current link item has a divider afterbooleanhasDividerBefore()Returns true if current link item has a divider before
-
-
-
Method Detail
-
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
java.lang.String getUrl()
Returns the URL for the action link- Returns:
- the the URL for the action link
- Since:
- jcms-10.0.7
-
getHtml
java.lang.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
java.lang.String getLabel()
Return the label used in the menu.- Returns:
- the label used in the menu.
- Since:
- jcms-10.0.7
-
getIcon
java.lang.String getIcon()
Returns the icon of the menu item- Returns:
- the icon of the menu item
- Since:
- jcms-10.0.7
-
getLinkCss
java.lang.String getLinkCss()
Returns CSS classes to add to the link.- Returns:
- CSS classes to add to the link.
- Since:
- jcms-10.0.7
-
getWrapperCss
java.lang.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
java.lang.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
-
-