public abstract class RightClickBehavior extends org.apache.wicket.ajax.AbstractDefaultAjaxBehavior implements IContextMenu
Modifier and Type | Field and Description |
---|---|
static String |
MOUSE_X_PARAM |
static String |
MOUSE_Y_PARAM |
Constructor and Description |
---|
RightClickBehavior(org.apache.wicket.MarkupContainer contextmenu,
org.apache.wicket.MarkupContainer componentToUpdate) |
Modifier and Type | Method and Description |
---|---|
void |
collapse(org.apache.wicket.ajax.AjaxRequestTarget target)
Close the contextmenu
|
org.apache.wicket.MarkupContainer |
getComponentToUpdate() |
org.apache.wicket.MarkupContainer |
getContextmenu() |
void |
renderHead(org.apache.wicket.Component component,
org.apache.wicket.markup.head.IHeaderResponse response)
Set up a YUI 'contextmenu' event listener on the component.
|
protected void |
updateAjaxAttributes(org.apache.wicket.ajax.attributes.AjaxRequestAttributes attributes) |
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, getChannel, getFailureScript, getPreconditionScript, getSuccessScript, onBind, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, respond
afterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbind
public static final String MOUSE_X_PARAM
public static final String MOUSE_Y_PARAM
public RightClickBehavior(org.apache.wicket.MarkupContainer contextmenu, org.apache.wicket.MarkupContainer componentToUpdate)
public void renderHead(org.apache.wicket.Component component, org.apache.wicket.markup.head.IHeaderResponse response)
renderHead
in interface org.apache.wicket.markup.html.IComponentAwareHeaderContributor
renderHead
in class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
protected void updateAjaxAttributes(org.apache.wicket.ajax.attributes.AjaxRequestAttributes attributes)
updateAjaxAttributes
in class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
public void collapse(org.apache.wicket.ajax.AjaxRequestTarget target)
IContextMenu
collapse
in interface IContextMenu
public org.apache.wicket.MarkupContainer getContextmenu()
public org.apache.wicket.MarkupContainer getComponentToUpdate()
Copyright © 2007–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.