public class ToolbarAjaxBehavior
extends com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior
JQueryAjaxBehavior being called by the toolbar button(s).| Modifier and Type | Class and Description |
|---|---|
static class |
ToolbarAjaxBehavior.ToolbarClickEvent
Provides a click event that will be transmitted to the
DataTable |
| Constructor and Description |
|---|
ToolbarAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
Constructor
|
ToolbarAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source,
ToolbarButton button)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getButtonName()
Gets the
ToolbarButton name |
CharSequence |
getCallbackFunctionBody(org.apache.wicket.ajax.attributes.CallbackParameter... parameters) |
protected org.apache.wicket.ajax.attributes.CallbackParameter[] |
getCallbackParameters() |
protected com.googlecode.wicket.jquery.core.JQueryEvent |
newEvent() |
getCallbackFunction, respond, updateAjaxAttributesfindIndicatorId, getAttributes, getCallbackFunction, getCallbackScript, getCallbackScript, onBind, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, renderHeadafterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbindpublic ToolbarAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
source - the IJQueryAjaxAwarepublic ToolbarAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source,
ToolbarButton button)
source - the IJQueryAjaxAwarebutton - the button that is passed to the behavior so it can be retrieved via the ToolbarAjaxBehavior.ToolbarClickEventpublic String getButtonName()
ToolbarButton nameprotected org.apache.wicket.ajax.attributes.CallbackParameter[] getCallbackParameters()
getCallbackParameters in class com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehaviorpublic CharSequence getCallbackFunctionBody(org.apache.wicket.ajax.attributes.CallbackParameter... parameters)
getCallbackFunctionBody in class org.apache.wicket.ajax.AbstractDefaultAjaxBehaviorprotected com.googlecode.wicket.jquery.core.JQueryEvent newEvent()
newEvent in class com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehaviorCopyright © 2021 7thWeb. All rights reserved.