java.lang.Object
com.googlecode.wicket.jquery.ui.plugins.sfmenu.AbstractSfMenuItem
com.googlecode.wicket.jquery.ui.plugins.sfmenu.SfMenuItem
All Implemented Interfaces:
ISfMenuItem, Serializable, org.apache.wicket.util.io.IClusterable

public class SfMenuItem extends AbstractSfMenuItem
Provides a standard menu-item that supports sub-menus, adapted for Superfish
Since:
6.12.0
Author:
Ludger Kluitmann - JavaLuigi, Sebastien Briquet - sebfz1
See Also:
  • Constructor Details

    • SfMenuItem

      public SfMenuItem(String title)
      Constructor
      Parameters:
      title - the title of the menu-item
    • SfMenuItem

      public SfMenuItem(org.apache.wicket.model.IModel<String> title)
      Constructor
      Parameters:
      title - IModel that represents the title of the menu-item
    • SfMenuItem

      public SfMenuItem(String title, Class<? extends org.apache.wicket.Page> pageClass)
      Constructor
      Parameters:
      title - the title of the menu-item
      pageClass - the class of the page to redirect to, when menu-item is clicked
    • SfMenuItem

      public SfMenuItem(org.apache.wicket.model.IModel<String> title, Class<? extends org.apache.wicket.Page> pageClass)
      Constructor
      Parameters:
      title - IModel that represents the title of the menu-item
      pageClass - the class of the page to redirect to, when menu-item is clicked
    • SfMenuItem

      public SfMenuItem(String title, Class<? extends org.apache.wicket.Page> pageClass, org.apache.wicket.request.mapper.parameter.PageParameters pageParameters)
      Constructor
      Parameters:
      title - the title of the menu-item
      pageClass - the class of the page to redirect to, when menu-item is clicked
      pageParameters - the PageParameters
    • SfMenuItem

      public SfMenuItem(org.apache.wicket.model.IModel<String> title, Class<? extends org.apache.wicket.Page> pageClass, org.apache.wicket.request.mapper.parameter.PageParameters pageParameters)
      Constructor
      Parameters:
      title - IModel that represents the title of the menu-item
      pageClass - the class of the page to redirect to, when menu-item is clicked
      pageParameters - the PageParameters
    • SfMenuItem

      public SfMenuItem(String title, List<ISfMenuItem> items)
      Constructor
      Parameters:
      title - the title of the menu-item
      items - the sub-menu items
    • SfMenuItem

      public SfMenuItem(org.apache.wicket.model.IModel<String> title, List<ISfMenuItem> items)
      Constructor
      Parameters:
      title - IModel that represents the title of the menu-item
      items - the sub-menu items
    • SfMenuItem

      public SfMenuItem(String title, Class<? extends org.apache.wicket.Page> pageClass, List<ISfMenuItem> items)
      Constructor
      Parameters:
      title - the title of the menu-item
      pageClass - the class of the page to redirect to, when menu-item is clicked
      items - the sub-menu items
    • SfMenuItem

      public SfMenuItem(org.apache.wicket.model.IModel<String> title, Class<? extends org.apache.wicket.Page> pageClass, List<ISfMenuItem> items)
      Constructor
      Parameters:
      title - IModel that represents the title of the menu-item
      pageClass - the class of the page to redirect to, when menu-item is clicked
      items - the sub-menu items
    • SfMenuItem

      public SfMenuItem(String title, String pageUrl)
      Constructor
      Parameters:
      title - title of the menu-item
      pageUrl - the url of the page to redirect to when menu-item is clicked
    • SfMenuItem

      public SfMenuItem(org.apache.wicket.model.Model<String> title, String pageUrl)
      Constructor
      Parameters:
      title - IModel that represents the title of the menu-item
      pageUrl - the url of the page to redirect to when menu-item is clicked
    • SfMenuItem

      public SfMenuItem(String title, String pageUrl, boolean openInNewWindow)
      Constructor
      Parameters:
      title - title of the menu-item
      pageUrl - the url of the page to redirect to when menu-item is clicked
      openInNewWindow - whether the page is opened in a new window
    • SfMenuItem

      public SfMenuItem(org.apache.wicket.model.IModel<String> title, String pageUrl, boolean openInNewWindow)
      Constructor
      Parameters:
      title - IModel that represents the title of the menu-item
      pageUrl - the url of the page to redirect to when menu-item is clicked
      openInNewWindow - whether the page is opened in a new window
  • Method Details