public class TigraDHTMLMenu extends Object implements IClientScriptWicketMenuAdapter
MenuItem
to :
// Title: Tigra Menu (JavaScript)
// Description: Free JavaScript Menu Navigation
// URL: http://www.javascript-menu.com/
// Version: 2.1 (commented source)
// Date: 06/26/2007
// Tech. Support: http://www.softcomplex.com/forum/forumdisplay_29/
// Notes: This script is free. Visit official site for further details.Constructor and Description |
---|
TigraDHTMLMenu() |
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
|
String |
getScriptTemplateFileName()
Resources to be found in the folder matching the package name of
JavaScriptMapWriterBehavior . |
CharSequence |
getUrl(MenuItem menuItem)
Get the URL String or null (Convert MenuItem to URL)
|
org.apache.wicket.markup.html.WebMarkupContainer |
getWebComponent() |
void |
setWebComponent(org.apache.wicket.markup.html.WebMarkupContainer webComponent)
Allow the Web Component calling the Menu adapter to set itself so the adapter can access it.
|
public CharSequence getUrl(MenuItem menuItem)
getUrl
in interface IClientScriptMenuAdapter
menuItem
- as MenuItem
public String convert(MenuItemState rootState, boolean ignoreRoot)
convert
in interface IClientScriptMenuAdapter
rootState
- the State of the Menupublic String convert(Menu menu)
convert
in interface IClientScriptMenuAdapter
public org.apache.wicket.markup.html.WebMarkupContainer getWebComponent()
public void setWebComponent(org.apache.wicket.markup.html.WebMarkupContainer webComponent)
setWebComponent
in interface IClientScriptWicketMenuAdapter
public String getScriptTemplateFileName()
JavaScriptMapWriterBehavior
.
getScriptTemplateFileName
in interface IClientScriptWicketMenuAdapter
Copyright © 2018. All rights reserved.