| Modifier and Type | Method and Description |
|---|---|
JQueryAjaxOption |
JQueryAjaxOption.setBeforeSendEvent(JsScope beforeSend)
A pre-callback to modify the XMLHttpRequest object before it is sent.
|
JQueryAjaxOption |
JQueryAjaxOption.setCompleteEvent(JsScope complete)
A function to be called when the request finishes (after success and error
callbacks are executed).
|
JQueryAjaxOption |
JQueryAjaxOption.setDataFilterEvent(JsScope dataFilter)
A function to be used to handle the raw responsed data of XMLHttpRequest.
|
JQueryAjaxOption |
JQueryAjaxOption.setErrorEvent(JsScope error)
A function to be called if the request fails.
|
JQueryAjaxOption |
JQueryAjaxOption.setSuccessEvent(JsScope success)
A function to be called if the request succeeds.
|
JQueryAjaxOption |
JQueryAjaxOption.setXhrEvent(JsScope xhr)
Callback for creating the XMLHttpRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
JsScope |
Effect.effectCallback()
The JavaScript code to execute after the effect is over.
|
JsScope |
Animate.getComplete() |
JsScope |
Animate.getStep() |
| Modifier and Type | Method and Description |
|---|---|
void |
Effect.setCallback(JsScope callback)
Sets the callback of this effect.
|
Animate |
Animate.setComplete(JsScope complete)
Set the complete option
|
Animate |
Animate.setStep(JsScope step)
Set the step option
|
| Constructor and Description |
|---|
Animate(Map<String,String> properties,
AnimateDuration duration,
String easing,
JsScope callback)
Constructor
|
Effect(EffectSpeed effectSpeed,
JsScope callback,
CharSequence... parameters)
Creates a new effect.
|
| Modifier and Type | Method and Description |
|---|---|
abstract JsScope |
Event.callback()
Returns an non null executable
JsScope. |
| Modifier and Type | Class and Description |
|---|---|
class |
JsScopeEvent
$Id: JsScopeEvent.java 1714 2011-09-22 20:38:30Z hielke.hoeve $
This class represent a JsScope event for the JQuery scope event The javascript
representation will be like this:
|
| Modifier and Type | Method and Description |
|---|---|
static JsScope |
JsScope.quickScope(CharSequence javascriptCode)
Creates a default
JsScope to execute the given statement. |
static JsScope |
JsScope.quickScope(JsStatement jsStatement)
Creates a default
JsScope to execute the given statement. |
| Modifier and Type | Method and Description |
|---|---|
JsStatement |
JsStatement.attr(String key,
JsScope computedValue)
Binds the
attr statement. |
JsStatement |
JsStatement.each(JsScope scope)
Appends the each jQuery statement.
|
JsStatement |
JsStatement.ready(JsScope scope)
Appends the ready jQuery statement.
|
| Modifier and Type | Method and Description |
|---|---|
static ChainableStatement |
AttributesHelper.attr(String key,
JsScope computedValue)
Binds the
attr statement. |
static ChainableStatement |
EventsHelper.bind(EventLabel eventLabel,
JsScope jsScope)
Binds a handler to one or more events (like click) for each matched element.
|
static ChainableStatement |
EventsHelper.blur(JsScope jsScope)
Bind a function to the blur event of each matched element.
|
static ChainableStatement |
EventsHelper.change(JsScope jsScope)
Bind a function to the change event of each matched element.
|
static ChainableStatement |
EventsHelper.click(JsScope jsScope)
Bind a function to the click event of each matched element.
|
static ChainableStatement |
EventsHelper.dblclick(JsScope jsScope)
Bind a function to the dblclick event of each matched element.
|
static ChainableStatement |
EventsHelper.die(EventLabel eventLabel,
JsScope jsScope)
This does the opposite of live, it removes a bound live event.
|
static ChainableStatement |
EventsHelper.error(JsScope jsScope)
Bind a function to the error event of each matched element.
|
static ChainableStatement |
EventsHelper.focus(JsScope jsScope)
Bind a function to the focus event of each matched element.
|
static ChainableStatement |
EventsHelper.hover(JsScope over,
JsScope out)
Simulates hovering (moving the mouse on, and off, an object).
|
static ChainableStatement |
EventsHelper.keydown(JsScope jsScope)
Bind a function to the keydown event of each matched element.
|
static ChainableStatement |
EventsHelper.keypress(JsScope jsScope)
Bind a function to the keypress event of each matched element.
|
static ChainableStatement |
EventsHelper.keyup(JsScope jsScope)
Bind a function to the keyup event of each matched element.
|
static ChainableStatement |
EventsHelper.live(EventLabel eventLabel,
JsScope jsScope)
Binds a handler to an event (like click) for all current - and future - matched
element.
|
static ChainableStatement |
EventsHelper.load(JsScope jsScope)
Bind a function to the load event of each matched element.
|
static ChainableStatement |
EventsHelper.mousedown(JsScope jsScope)
Bind a function to the mousedown event of each matched element.
|
static ChainableStatement |
EventsHelper.mouseenter(JsScope jsScope)
Bind a function to the mouseenter event of each matched element.
|
static ChainableStatement |
EventsHelper.mouseleave(JsScope jsScope)
Bind a function to the mouseleave event of each matched element.
|
static ChainableStatement |
EventsHelper.mousemove(JsScope jsScope)
Bind a function to the mousemove event of each matched element.
|
static ChainableStatement |
EventsHelper.mouseout(JsScope jsScope)
Bind a function to the mouseout event of each matched element.
|
static ChainableStatement |
EventsHelper.mouseover(JsScope jsScope)
Bind a function to the mouseover event of each matched element.
|
static ChainableStatement |
EventsHelper.mouseup(JsScope jsScope)
Bind a function to the mouseup event of each matched element.
|
static ChainableStatement |
EventsHelper.one(EventLabel eventLabel,
JsScope jsScope)
Binds a handler to one or more events to be executed once for each matched element.
|
static ChainableStatement |
EventsHelper.ready(JsScope jsScope)
Binds a function to be executed whenever the DOM is ready to be traversed and
manipulated.
|
static ChainableStatement |
EventsHelper.scroll(JsScope jsScope)
Bind a function to the scroll event of each matched element.
|
static ChainableStatement |
EventsHelper.select(JsScope jsScope)
Bind a function to the select event of each matched element.
|
static ChainableStatement |
EventsHelper.submit(JsScope jsScope)
Bind a function to the submit event of each matched element.
|
static ChainableStatement |
EventsHelper.toggle(JsScope jsScope,
JsScope jsScope2)
Toggle among two function calls every other click.
|
static ChainableStatement |
EventsHelper.toggle(JsScope jsScope,
JsScope jsScope2,
JsScope... jsScopes)
Toggle among two or more function calls every other click.
|
static ChainableStatement |
EventsHelper.toggle(JsScope jsScope,
JsScope jsScope2,
JsScope... jsScopes)
Toggle among two or more function calls every other click.
|
static ChainableStatement |
EventsHelper.unbind(EventLabel eventLabel,
JsScope jsScope)
This does the opposite of bind, it removes bound events from each of the matched
elements.
|
static ChainableStatement |
EventsHelper.unload(JsScope jsScope)
Bind a function to the unload event of each matched element.
|
| Modifier and Type | Method and Description |
|---|---|
JsScope |
Options.getJsScope(String key)
Returns the given option value.
|
| Modifier and Type | Method and Description |
|---|---|
Options |
Options.put(String key,
JsScope value)
Puts a
JsScope value for the given option name. |
Copyright © 2015. All Rights Reserved.