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 Type
    Method
    Description
    boolean
    Returns true if the menu should propose this item
    Returns a Button for this action
    Returns the action(s) html if you need to provide multiple links (You will need to produce LI > A)
    Returns the icon of the menu item
    int
    Returns CSS classes to add to the link.
    Return the label used in the menu.
    Returns HTML attributes to add to the link.
    Returns CSS classes to add to the link.
    Returns the URL for the action link
    Returns CSS classes to add to the link wrapper (LI or other tag).
    boolean
    Returns true if current link item has a divider after
    boolean
    Returns 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 a Button for this action
      Returns:
      a Button for this action
      Since:
      jcms-10.0.7