public interface IClientScriptMenuAdapter
Menu
data structure and the JavaScript
data structure.ClientMenuPanel}
Modifier and Type | Method and Description |
---|---|
String |
convert(Menu menu)
Convert menu to client side JavaScripot or relevant Markup code
|
String |
convert(MenuItemState rootState,
boolean ignoreRoot)
Translate the state of a menu to JavaScript or relevant Markup code
|
CharSequence |
getUrl(MenuItem menuItem)
Get the URL String or null (Convert MenuItem to URL)
|
String convert(Menu menu)
menu
- String convert(MenuItemState rootState, boolean ignoreRoot)
rootState
- the State of the MenuignoreRoot
- CharSequence getUrl(MenuItem menuItem)
{@link
- WebMarkupContainer
menuItem
- as MenuItem
Copyright © 2018. All rights reserved.