public class UrlMenuItem extends AbstractMenuItem
| Constructor and Description |
|---|
UrlMenuItem(org.apache.wicket.model.IModel<String> title,
CharSequence url)
Constructor
|
UrlMenuItem(org.apache.wicket.model.IModel<String> title,
String icon,
CharSequence url)
Constructor
|
UrlMenuItem(String title,
CharSequence url)
Constructor
|
UrlMenuItem(String title,
String icon,
CharSequence url)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getUrl() |
void |
onClick(org.apache.wicket.ajax.AjaxRequestTarget target)
Triggered when the menu-item is clicked
|
getIcon, getId, getItems, getTitle, isEnabled, setEnabled, setIcon, setTitlepublic UrlMenuItem(String title, CharSequence url)
title - the title of the menu-itemurl - the url to redirect topublic UrlMenuItem(String title, String icon, CharSequence url)
title - the title of the menu-itemicon - either a KendoIcon constant or a 'k-i-icon' css classurl - the url to redirect topublic UrlMenuItem(org.apache.wicket.model.IModel<String> title, CharSequence url)
title - IModel that represent the title of the menu-itemurl - the url to redirect topublic UrlMenuItem(org.apache.wicket.model.IModel<String> title, String icon, CharSequence url)
title - IModel that represent the title of the menu-itemicon - either a KendoIcon constant or a 'k-i-icon' css classurl - the url to redirect toCopyright © 2021 7thWeb. All rights reserved.