Class DialogBehavior.OnDefaultCloseAjaxBehavior
java.lang.Object
org.apache.wicket.behavior.Behavior
org.apache.wicket.behavior.AbstractAjaxBehavior
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior
com.googlecode.wicket.jquery.ui.widget.dialog.DialogBehavior.OnDefaultCloseAjaxBehavior
- All Implemented Interfaces:
Serializable,org.apache.wicket.IComponentAwareEventSink,org.apache.wicket.IRequestListener,org.apache.wicket.markup.html.IComponentAwareHeaderContributor,org.apache.wicket.util.io.IClusterable
- Enclosing class:
- DialogBehavior
protected static class DialogBehavior.OnDefaultCloseAjaxBehavior
extends com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior
Provides a
Underlying callback will be triggered when the user clicks on the X-icon
JQueryAjaxBehavior that aims to be wired to the 'close' eventUnderlying callback will be triggered when the user clicks on the X-icon
- See Also:
-
Field Summary
Fields inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
INDICATOR -
Constructor Summary
ConstructorsConstructorDescriptionOnDefaultCloseAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.googlecode.wicket.jquery.core.JQueryEventnewEvent()Methods inherited from class com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior
getCallbackParameters, respond, updateAjaxAttributesMethods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onBind, onMethodMismatch, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, renderHeadMethods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior
afterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbindMethods inherited from class org.apache.wicket.behavior.Behavior
beforeRender, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, onRemove, onTagMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.wicket.IRequestListener
rendersPage
-
Constructor Details
-
OnDefaultCloseAjaxBehavior
public OnDefaultCloseAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
-
-
Method Details
-
getCallbackFunction
- Overrides:
getCallbackFunctionin classcom.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior
-
newEvent
protected com.googlecode.wicket.jquery.core.JQueryEvent newEvent()- Specified by:
newEventin classcom.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior
-