org.wicketstuff.yui.markup.html.menu2.contextMenu
Class YuiContextMenuBehavior

java.lang.Object
  extended by org.apache.wicket.behavior.AbstractBehavior
      extended by org.apache.wicket.behavior.AbstractAjaxBehavior
          extended by org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
              extended by 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

Field Summary
 
Fields inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
INDICATOR
 
Fields inherited from interface org.apache.wicket.behavior.IBehaviorListener
INTERFACE
 
Constructor Summary
YuiContextMenuBehavior(List<YuiContextMenu> menus)
           
YuiContextMenuBehavior(YuiContextMenu... menus)
           
 
Method Summary
 void applyAttributes(org.apache.wicket.Component comp, String menuId, org.apache.wicket.model.IModel targetId)
           
 void applyAttributes(org.apache.wicket.Component comp, YuiContextMenu menu, org.apache.wicket.model.IModel targetId)
           
 CharSequence getCallBackScriptForMenu(String action)
           
protected  String getIconUrl(org.apache.wicket.ResourceReference icon)
           
 String getMenuCreationScript()
           
 void renderHead(org.apache.wicket.markup.html.IHeaderResponse response)
           
protected  void respond(org.apache.wicket.ajax.AjaxRequestTarget target)
           
 
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
 

Constructor Detail

YuiContextMenuBehavior

public YuiContextMenuBehavior(List<YuiContextMenu> menus)

YuiContextMenuBehavior

public YuiContextMenuBehavior(YuiContextMenu... menus)
Method Detail

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.