public class ButtonAjaxBehavior
extends com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior
Modifier and Type | Class and Description |
---|---|
protected static class |
ButtonAjaxBehavior.ClickEvent
Provides an event object that will be broadcasted by the
ButtonAjaxBehavior callback |
Constructor and Description |
---|
ButtonAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source,
DialogButton button)
Constructor
|
Modifier and Type | Method and Description |
---|---|
DialogButton |
getButton()
Gets the
DialogButton |
protected com.googlecode.wicket.jquery.core.JQueryEvent |
newEvent() |
protected com.googlecode.wicket.jquery.core.Options |
newOnAjaxStopOptions()
Gets the new
Button 's Options to be used on when ajax stops |
protected com.googlecode.wicket.jquery.core.Options |
newOnClickOptions()
Gets the new
Button 's Options to be used on click |
void |
renderHead(org.apache.wicket.Component component,
org.apache.wicket.markup.head.IHeaderResponse response) |
protected void |
updateAjaxAttributes(org.apache.wicket.ajax.attributes.AjaxRequestAttributes attributes) |
getCallbackFunction, getCallbackParameters, respond
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onBind, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes
afterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbind
beforeRender, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, onRemove, onTag
public ButtonAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source, DialogButton button)
source
- the IJQueryAjaxAware
button
- the DialogButton
to attach to the ButtonAjaxBehavior.ClickEvent
public DialogButton getButton()
DialogButton
DialogButton
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 com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior
protected com.googlecode.wicket.jquery.core.Options newOnClickOptions()
Button
's Options
to be used on clickOptions
protected com.googlecode.wicket.jquery.core.Options newOnAjaxStopOptions()
Button
's Options
to be used on when ajax stopsOptions
protected com.googlecode.wicket.jquery.core.JQueryEvent newEvent()
newEvent
in class com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior
Copyright © 2017 7thWeb. All rights reserved.