public interface IMenuItem
extends org.apache.wicket.util.io.IClusterable
Menu
AbstractMenuItem
Modifier and Type | Method and Description |
---|---|
String |
getIcon()
Gets the icon css class being displayed in the
Menu |
String |
getId()
Gets the menu-item markup id
|
List<IMenuItem> |
getItems()
Gets the
List of submenu-items |
org.apache.wicket.model.IModel<String> |
getTitle()
Gets the menu-item title
|
boolean |
isEnabled()
Indicates whether the menu-item is enabled
|
void |
onClick(org.apache.wicket.ajax.AjaxRequestTarget target)
Triggered when the menu-item is clicked
|
String getId()
org.apache.wicket.model.IModel<String> getTitle()
String getIcon()
Menu
boolean isEnabled()
List<IMenuItem> getItems()
List
of submenu-itemsList
of submenu-itemsvoid onClick(org.apache.wicket.ajax.AjaxRequestTarget target)
target
- the AjaxRequestTarget
Copyright © 2022 7thWeb. All rights reserved.