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 aSfMenu
, adapted for Superfish- Since:
- 6.12.0
- Author:
- Ludger Kluitmann - JavaLuigi, Sebastien Briquet - sebfz1
- See Also:
AbstractSfMenuItem
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<ISfMenuItem>
getItems()
Gets theList
of submenu-itemsClass<? extends org.apache.wicket.Page>
getPageClass()
Gets the page class registered with the linkorg.apache.wicket.request.mapper.parameter.PageParameters
getPageParameters()
Gets the page parametersString
getPageUrl()
Gets the url for a page.org.apache.wicket.model.IModel<String>
getTitle()
Gets the menu-item titleboolean
isEnabled()
Indicates whether the menu-item is enabledboolean
isOpenInNewWindow()
Indicates whether the pages is opened in a new window
-
-
-
Method Detail
-
getTitle
org.apache.wicket.model.IModel<String> getTitle()
Gets the menu-item title- Returns:
- the menu-item title
-
getItems
List<ISfMenuItem> getItems()
Gets theList
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
-
-