public class PageMenuItem extends UrlMenuItem
Page| Constructor and Description |
|---|
PageMenuItem(org.apache.wicket.model.IModel<String> title,
Class<? extends org.apache.wicket.Page> pageClass)
Constructor
|
PageMenuItem(org.apache.wicket.model.IModel<String> title,
Class<? extends org.apache.wicket.Page> pageClass,
org.apache.wicket.request.mapper.parameter.PageParameters parameters)
Constructor
|
PageMenuItem(org.apache.wicket.model.IModel<String> title,
String icon,
Class<? extends org.apache.wicket.Page> pageClass)
Constructor
|
PageMenuItem(org.apache.wicket.model.IModel<String> title,
String icon,
Class<? extends org.apache.wicket.Page> pageClass,
org.apache.wicket.request.mapper.parameter.PageParameters parameters)
Constructor
|
PageMenuItem(String title,
Class<? extends org.apache.wicket.Page> pageClass)
Constructor
|
PageMenuItem(String title,
Class<? extends org.apache.wicket.Page> pageClass,
org.apache.wicket.request.mapper.parameter.PageParameters parameters)
Constructor
|
PageMenuItem(String title,
String icon,
Class<? extends org.apache.wicket.Page> pageClass)
Constructor
|
PageMenuItem(String title,
String icon,
Class<? extends org.apache.wicket.Page> pageClass,
org.apache.wicket.request.mapper.parameter.PageParameters parameters)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEnabled()
Indicates whether the menu-item is enabled
|
getUrl, onClickgetIcon, getId, getItems, getTitle, setEnabled, setIcon, setTitlepublic PageMenuItem(String title, Class<? extends org.apache.wicket.Page> pageClass)
title - the title of the menu-itempageClass - the Page classpublic PageMenuItem(String title, String icon, Class<? extends org.apache.wicket.Page> pageClass)
title - the title of the menu-itemicon - either a KendoIcon constant or a 'k-i-icon' css classpageClass - the Page classpublic PageMenuItem(String title, Class<? extends org.apache.wicket.Page> pageClass, org.apache.wicket.request.mapper.parameter.PageParameters parameters)
title - the title of the menu-itempageClass - the Page classparameters - the PageParameterspublic PageMenuItem(String title, String icon, Class<? extends org.apache.wicket.Page> pageClass, org.apache.wicket.request.mapper.parameter.PageParameters parameters)
title - the title of the menu-itemicon - either a KendoIcon constant or a 'k-i-icon' css classpageClass - the Page classparameters - the PageParameterspublic PageMenuItem(org.apache.wicket.model.IModel<String> title, Class<? extends org.apache.wicket.Page> pageClass)
title - IModel that represent the title of the menu-itempageClass - the Page classpublic PageMenuItem(org.apache.wicket.model.IModel<String> title, String icon, Class<? extends org.apache.wicket.Page> pageClass)
title - IModel that represent the title of the menu-itemicon - either a KendoIcon constant or a 'k-i-icon' css classpageClass - the Page classpublic PageMenuItem(org.apache.wicket.model.IModel<String> title, Class<? extends org.apache.wicket.Page> pageClass, org.apache.wicket.request.mapper.parameter.PageParameters parameters)
title - IModel that represent the title of the menu-itempageClass - the Page classparameters - the PageParameterspublic PageMenuItem(org.apache.wicket.model.IModel<String> title, String icon, Class<? extends org.apache.wicket.Page> pageClass, org.apache.wicket.request.mapper.parameter.PageParameters parameters)
title - IModel that represent the title of the menu-itemicon - either a KendoIcon constant or a 'k-i-icon' css classpageClass - the Page classparameters - the PageParameterspublic boolean isEnabled()
IMenuItemisEnabled in interface IMenuItemisEnabled in class AbstractMenuItemCopyright © 2021 7thWeb. All rights reserved.