Interface UILinkItem

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean accept()
      Returns true if the menu should propose this item
      Button getButton()
      Returns a Button for this action
      java.lang.String getHtml()
      Returns the action(s) html if you need to provide multiple links (You will need to produce LI > A)
      java.lang.String getIcon()
      Returns the icon of the menu item
      int getIndex()
      Returns CSS classes to add to the link.
      java.lang.String getLabel()
      Return the label used in the menu.
      java.lang.String getLinkAttributes()
      Returns HTML attributes to add to the link.
      java.lang.String getLinkCss()
      Returns CSS classes to add to the link.
      java.lang.String getUrl()
      Returns the URL for the action link
      java.lang.String getWrapperCss()
      Returns CSS classes to add to the link wrapper (LI or other tag).
      boolean hasDividerAfter()
      Returns true if current link item has a divider after
      boolean hasDividerBefore()
      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
      • getButton

        Button getButton()
        Returns a Button for this action
        Returns:
        a Button for this action
        Since:
        jcms-10.0.7