Class ToolbarAjaxBehavior
- 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.kendo.ui.datatable.button.ToolbarAjaxBehavior
-
- All Implemented Interfaces:
Serializable
,org.apache.wicket.IComponentAwareEventSink
,org.apache.wicket.IRequestListener
,org.apache.wicket.markup.html.IComponentAwareHeaderContributor
,org.apache.wicket.util.io.IClusterable
public class ToolbarAjaxBehavior extends com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior
Provides theJQueryAjaxBehavior
being called by the toolbar button(s).- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ToolbarAjaxBehavior.ToolbarClickEvent
Provides a click event that will be transmitted to theDataTable
-
Constructor Summary
Constructors Constructor Description ToolbarAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
ConstructorToolbarAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source, ToolbarButton button)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getButtonName()
Gets theToolbarButton
nameCharSequence
getCallbackFunctionBody(org.apache.wicket.ajax.attributes.CallbackParameter... parameters)
protected org.apache.wicket.ajax.attributes.CallbackParameter[]
getCallbackParameters()
protected com.googlecode.wicket.jquery.core.JQueryEvent
newEvent()
-
Methods inherited from class com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior
getCallbackFunction, respond, updateAjaxAttributes
-
Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
findIndicatorId, getAttributes, getCallbackFunction, getCallbackScript, getCallbackScript, onBind, onMethodMismatch, 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, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, onRemove, onTag
-
-
-
-
Constructor Detail
-
ToolbarAjaxBehavior
public ToolbarAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
Constructor- Parameters:
source
- theIJQueryAjaxAware
-
ToolbarAjaxBehavior
public ToolbarAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source, ToolbarButton button)
Constructor- Parameters:
source
- theIJQueryAjaxAware
button
- the button that is passed to the behavior so it can be retrieved via theToolbarAjaxBehavior.ToolbarClickEvent
-
-
Method Detail
-
getButtonName
public String getButtonName()
Gets theToolbarButton
name- Returns:
- the button name
-
getCallbackParameters
protected org.apache.wicket.ajax.attributes.CallbackParameter[] getCallbackParameters()
- Overrides:
getCallbackParameters
in classcom.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior
-
getCallbackFunctionBody
public CharSequence getCallbackFunctionBody(org.apache.wicket.ajax.attributes.CallbackParameter... parameters)
- Overrides:
getCallbackFunctionBody
in classorg.apache.wicket.ajax.AbstractDefaultAjaxBehavior
-
newEvent
protected com.googlecode.wicket.jquery.core.JQueryEvent newEvent()
- Specified by:
newEvent
in classcom.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior
-
-