Interface ISfMenuItem
-
- All Superinterfaces:
IClusterable
,Serializable
- All Known Implementing Classes:
AbstractSfMenuItem
,SfMenuItem
public interface ISfMenuItem extends 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 Page>
getPageClass()
Gets the page class registered with the linkPageParameters
getPageParameters()
Gets the page parametersString
getPageUrl()
Gets the url for a page.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
-
getItems
List<ISfMenuItem> getItems()
Gets theList
of submenu-items- Returns:
- the
List
of submenu-items
-
getPageClass
Class<? extends Page> getPageClass()
Gets the page class registered with the link- Returns:
- Page Class
-
getPageParameters
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
-
-