public class AjaxIndicatingButtonBehavior extends ButtonBehavior
JQueryBehavior with an ajax indicator| Modifier and Type | Field and Description |
|---|---|
static String |
CSS_INDICATOR |
METHOD| Modifier | Constructor and Description |
|---|---|
protected |
AjaxIndicatingButtonBehavior(String selector,
String icon,
IndicatingAjaxButton.Position position)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
$() |
protected com.googlecode.wicket.jquery.core.Options |
newAjaxStartOptions()
Gets the new
Button's Options to be used on ajax-start |
static org.apache.wicket.markup.head.HeaderItem |
newIndicatorCssHeaderItem()
Build the
CssHeaderItem with the indicator style |
protected com.googlecode.wicket.jquery.core.Options |
newOnAjaxStopOptions()
Gets the new
Button's Options to be used on when ajax-stop |
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) |
destroy, onConfigure, onDestroy, widget, widget, widget, widget$, $, $, beforeRender, detach, getMethod, getOption, getOptions, getSelector, off, on, on, register, remove, setOption, setOption, setOption, setOptions, setSelectoradd, getJQueryLibrarySettings, renderOnDomReadyScript, renderPriorityHeaderItem, toStringpublic static final String CSS_INDICATOR
protected AjaxIndicatingButtonBehavior(String selector, String icon, IndicatingAjaxButton.Position position)
selector - the html selector (ie: "#myId")icon - the button's iconposition - the Position of the ajax-indicatorpublic void renderHead(org.apache.wicket.Component component,
org.apache.wicket.markup.head.IHeaderResponse response)
renderHead in interface org.apache.wicket.markup.html.IComponentAwareHeaderContributorrenderHead in class com.googlecode.wicket.jquery.core.JQueryBehaviorprotected String $()
$ in class com.googlecode.wicket.jquery.core.JQueryBehaviorpublic static org.apache.wicket.markup.head.HeaderItem newIndicatorCssHeaderItem()
CssHeaderItem with the indicator styleHeaderItemprotected com.googlecode.wicket.jquery.core.Options newOnClickOptions()
Button's Options to be used on clickOptionsprotected com.googlecode.wicket.jquery.core.Options newAjaxStartOptions()
Button's Options to be used on ajax-startOptionsprotected com.googlecode.wicket.jquery.core.Options newOnAjaxStopOptions()
Button's Options to be used on when ajax-stopOptionsCopyright © 2017 7thWeb. All rights reserved.