Interface ISfMenuItem

  • All Superinterfaces:
    org.apache.wicket.util.io.IClusterable, Serializable
    All Known Implementing Classes:
    AbstractSfMenuItem, SfMenuItem

    public interface ISfMenuItem
    extends org.apache.wicket.util.io.IClusterable
    Interface used to represent a single item in a SfMenu, adapted for Superfish
    Since:
    6.12.0
    Author:
    Ludger Kluitmann - JavaLuigi, Sebastien Briquet - sebfz1
    See Also:
    AbstractSfMenuItem
    • Method Detail

      • getTitle

        org.apache.wicket.model.IModel<String> getTitle()
        Gets the menu-item title
        Returns:
        the menu-item title
      • getPageClass

        Class<? extends org.apache.wicket.Page> getPageClass()
        Gets the page class registered with the link
        Returns:
        Page Class
      • getPageParameters

        org.apache.wicket.request.mapper.parameter.PageParameters getPageParameters()
        Gets the page parameters
        Returns:
        the PageParameters
      • getPageUrl

        String getPageUrl()
        Gets the url for a page. In most cases this will be an url for an external page.
        Returns:
        url of the page
      • isEnabled

        boolean isEnabled()
        Indicates whether the menu-item is enabled
        Returns:
        true or false
      • isOpenInNewWindow

        boolean isOpenInNewWindow()
        Indicates whether the pages is opened in a new window
        Returns:
        true or false