com.googlecode.wicket.jquery.ui.widget.dialog
Class DialogBehavior.ButtonAjaxBehavior

java.lang.Object
  extended by org.apache.wicket.behavior.Behavior
      extended by org.apache.wicket.behavior.AbstractAjaxBehavior
          extended by org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
              extended by com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior
                  extended by com.googlecode.wicket.jquery.ui.widget.dialog.DialogBehavior.ButtonAjaxBehavior
All Implemented Interfaces:
Serializable, org.apache.wicket.behavior.IBehaviorListener, org.apache.wicket.IComponentAwareEventSink, org.apache.wicket.IRequestListener, org.apache.wicket.markup.html.IComponentAwareHeaderContributor, org.apache.wicket.util.io.IClusterable
Direct Known Subclasses:
AbstractFormDialog.FormButtonAjaxBehavior
Enclosing class:
DialogBehavior

protected static class DialogBehavior.ButtonAjaxBehavior
extends JQueryAjaxBehavior

Provides the JQueryAjaxBehavior being called by the button(s).

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
DialogBehavior.ButtonAjaxBehavior(IJQueryAjaxAware source, DialogButton button)
          Constructor
 
Method Summary
 DialogButton getButton()
          Gets the DialogButton
protected  JQueryEvent newEvent()
           
 
Methods inherited from class com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior
getCallbackFunction, getCallbackParameters, respond, updateAjaxAttributes
 
Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, getChannel, getFailureScript, getPreconditionScript, getSuccessScript, onBind, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, renderHead
 
Methods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior
afterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbind
 
Methods inherited from class org.apache.wicket.behavior.Behavior
beforeRender, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onConfigure, onEvent, onException, onRemove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DialogBehavior.ButtonAjaxBehavior

public DialogBehavior.ButtonAjaxBehavior(IJQueryAjaxAware source,
                                         DialogButton button)
Constructor

Parameters:
source - the IJQueryAjaxAware
button - the DialogButton to attach to the DialogBehavior.ClickEvent
Method Detail

getButton

public DialogButton getButton()
Gets the DialogButton

Returns:
the DialogButton

newEvent

protected JQueryEvent newEvent()
Specified by:
newEvent in class JQueryAjaxBehavior


Copyright © 2013 7thWeb. All Rights Reserved.