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:
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the List of submenu-items
    Class<? extends org.apache.wicket.Page>
    Gets the page class registered with the link
    org.apache.wicket.request.mapper.parameter.PageParameters
    Gets the page parameters
    Gets the url for a page.
    org.apache.wicket.model.IModel<String>
    Gets the menu-item title
    boolean
    Indicates whether the menu-item is enabled
    boolean
    Indicates whether the pages is opened in a new window
  • Method Details

    • getTitle

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

      List<ISfMenuItem> getItems()
      Gets the List of submenu-items
      Returns:
      the List of submenu-items
    • 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