Class MenuItem
java.lang.Object
com.googlecode.wicket.jquery.ui.widget.menu.AbstractMenuItem
com.googlecode.wicket.jquery.ui.widget.menu.MenuItem
- All Implemented Interfaces:
IMenuItem
,Serializable
,org.apache.wicket.util.io.IClusterable
Provides a standard menu-item that supports sub-menus
- Since:
- 1.4.2, 6.2.2
- Author:
- Sebastien Briquet - sebfz1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructorConstructorConstructorConstructorConstructorConstructorConstructorConstructor -
Method Summary
Methods inherited from class com.googlecode.wicket.jquery.ui.widget.menu.AbstractMenuItem
getIcon, getId, getTitle, isEnabled, setEnabled, setIcon, setTitle
-
Constructor Details
-
MenuItem
Constructor- Parameters:
title
- the title of the menu-item
-
MenuItem
Constructor- Parameters:
title
- the title of the menu-itemicon
- the icon css class (ie: ui-my-icon)
-
MenuItem
Constructor- Parameters:
title
- IModel that represent the title of the menu-item
-
MenuItem
Constructor- Parameters:
title
- IModel that represent the title of the menu-itemicon
- the icon css class (ie: ui-my-icon)
-
MenuItem
Constructor- Parameters:
title
- the title of the menu-itemitems
- the sub-menu items
-
MenuItem
Constructor- Parameters:
title
- the title of the menu-itemicon
- the icon css class (ie: ui-my-icon)items
- the sub-menu items
-
MenuItem
Constructor- Parameters:
title
- IModel that represent the title of the menu-itemitems
- the sub-menu items
-
MenuItem
Constructor- Parameters:
title
- IModel that represent the title of the menu-itemicon
- the icon css class (ie: ui-my-icon)items
- the sub-menu items
-
-
Method Details
-
getItems
Description copied from interface:IMenuItem
Gets theList
of submenu-items- Specified by:
getItems
in interfaceIMenuItem
- Overrides:
getItems
in classAbstractMenuItem
- Returns:
- the
List
of submenu-items
-
onClick
public void onClick(org.apache.wicket.ajax.AjaxRequestTarget target) Description copied from interface:IMenuItem
Triggered when the menu-item is clicked- Parameters:
target
- theAjaxRequestTarget
-