org.wicketstuff.yui.markup.html.menu2.contextMenu
Class YuiContextMenuBehavior
java.lang.Object
org.apache.wicket.behavior.AbstractBehavior
org.apache.wicket.behavior.AbstractAjaxBehavior
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
org.wicketstuff.yui.markup.html.menu2.contextMenu.YuiContextMenuBehavior
- All Implemented Interfaces:
- Serializable, org.apache.wicket.behavior.IBehavior, org.apache.wicket.behavior.IBehaviorListener, org.apache.wicket.behavior.IComponentConfigurationBehavior, org.apache.wicket.IClusterable, org.apache.wicket.IRequestListener, org.apache.wicket.markup.html.IHeaderContributor
public class YuiContextMenuBehavior
- extends org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
- See Also:
- Serialized Form
| Fields inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior |
INDICATOR |
| Fields inherited from interface org.apache.wicket.behavior.IBehaviorListener |
INTERFACE |
| Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior |
findIndicatorId, generateCallbackScript, getAjaxCallDecorator, getCallbackScript, getCallbackScript, getChannelName, getFailureScript, getPreconditionScript, getSuccessScript, onBind, onRequest, throttleScript |
| Methods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior |
bind, getCallbackUrl, getCallbackUrl, getComponent, getImplementationId, getStatelessHint, onComponentRendered, onComponentTag, onComponentTag, onRendered, onRenderHeadContribution, onRenderHeadInitContribution |
| Methods inherited from class org.apache.wicket.behavior.AbstractBehavior |
afterRender, beforeRender, cleanup, detach, detachModel, exception, isEnabled, isTemporary, onConfigure, onException, rendered |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
YuiContextMenuBehavior
public YuiContextMenuBehavior(List<YuiContextMenu> menus)
YuiContextMenuBehavior
public YuiContextMenuBehavior(YuiContextMenu... menus)
applyAttributes
public void applyAttributes(org.apache.wicket.Component comp,
String menuId,
org.apache.wicket.model.IModel targetId)
applyAttributes
public void applyAttributes(org.apache.wicket.Component comp,
YuiContextMenu menu,
org.apache.wicket.model.IModel targetId)
respond
protected void respond(org.apache.wicket.ajax.AjaxRequestTarget target)
- Specified by:
respond in class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
getIconUrl
protected String getIconUrl(org.apache.wicket.ResourceReference icon)
getCallBackScriptForMenu
public CharSequence getCallBackScriptForMenu(String action)
renderHead
public void renderHead(org.apache.wicket.markup.html.IHeaderResponse response)
- Specified by:
renderHead in interface org.apache.wicket.markup.html.IHeaderContributor- Overrides:
renderHead in class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
getMenuCreationScript
public String getMenuCreationScript()
Copyright © 2006-2012 Wicket developers. All Rights Reserved.