@JsType(name="jQuery",
isNative=true)
public class JQueryElement
extends Node
| Constructor and Description |
|---|
JQueryElement() |
| Modifier and Type | Method and Description |
|---|---|
JQueryElement |
add(com.google.gwt.dom.client.Element element)
Create a new jQuery object with elements added to the set of matched elements.
|
JQueryElement |
add(JQueryElement selection)
Create a new jQuery object with elements added to the set of matched elements.
|
JQueryElement |
add(String selectorOrHtml)
Create a new jQuery object with elements added to the set of matched elements.
|
JQueryElement |
add(String selector,
com.google.gwt.dom.client.Element context)
Create a new jQuery object with elements added to the set of matched elements.
|
JQueryElement |
addBack(String... selector)
Add the previous set of elements on the stack to the current set, optionally
filtered by a selector.
|
JQueryElement |
addClass(Functions.Func2<Integer,String> function)
Adds the specified class(es) to each element in the set of matched elements.
|
JQueryElement |
addClass(String className)
Adds the specified class(es) to each element in the set of matched elements.
|
JQueryElement |
after(com.google.gwt.dom.client.Element... content)
Insert content, specified by the parameter, after each element in the
set of matched elements.
|
JQueryElement |
after(Functions.Func1<Integer> function)
Insert content, specified by the parameter, after each element in the
set of matched elements.
|
JQueryElement |
after(Functions.Func2<Integer,String> function)
Insert content, specified by the parameter, after each element in the
set of matched elements.
|
JQueryElement |
after(JQueryElement content)
Insert content, specified by the parameter, after each element in the
set of matched elements.
|
JQueryElement |
after(String content)
Insert content, specified by the parameter, after each element in the
set of matched elements.
|
JQueryElement |
andSelf()
Deprecated.
|
JQueryElement |
animate(Object properties,
AnimateOptions options)
Perform a custom animation of a set of CSS properties.
|
JQueryElement |
animate(Object properties,
double duration)
Perform a custom animation of a set of CSS properties.
|
JQueryElement |
animate(Object properties,
double duration,
String easing)
Perform a custom animation of a set of CSS properties.
|
JQueryElement |
animate(Object properties,
double duration,
String easing,
Functions.Func function)
Perform a custom animation of a set of CSS properties.
|
JQueryElement |
append(com.google.gwt.dom.client.Element... element)
Insert content, specified by the parameter, to the end of each element in the set of matched elements.
|
JQueryElement |
append(JQueryElement element)
Insert content, specified by the parameter, to the end of each element in the set of matched elements.
|
JQueryElement |
append(String htmlString)
Insert content, specified by the parameter, to the end of each element in the set of matched elements.
|
JQueryElement |
appendTo(com.google.gwt.dom.client.Element... element)
Insert every element in the set of matched elements to the end of the target.
|
JQueryElement |
appendTo(JQueryElement element)
Insert every element in the set of matched elements to the end of the target.
|
JQueryElement |
appendTo(String htmlString)
Insert every element in the set of matched elements to the end of the target.
|
com.google.gwt.dom.client.Element |
asElement()
Use as the raw 0 index element.
|
Object |
attr(String attr)
Get the value of an attribute for the first element in the set of matched elements.
|
JQueryElement |
attr(String attr,
Functions.Func2<Integer,Object> function)
Set one or more attributes for the set of matched elements.
|
JQueryElement |
attr(String attr,
Object value)
Set one or more attributes for the set of matched elements.
|
JQueryElement |
before(com.google.gwt.dom.client.Element... element)
Insert content, specified by the parameter, before each element in the set of matched elements.
|
JQueryElement |
before(JQueryElement element)
Insert content, specified by the parameter, before each element in the set of matched elements.
|
JQueryElement |
before(String htmlString)
Insert content, specified by the parameter, before each element in the set of matched elements.
|
JQueryElement |
bind(Object events)
Attach a handler to an event for the elements.
|
JQueryElement |
bind(String eventType,
Functions.EventFunc handler)
Attach a handler to an event for the elements.
|
JQueryElement |
bind(String eventType,
Functions.EventFunc1 handler)
Attach a handler to an event for the elements.
|
JQueryElement |
bind(String eventType,
Functions.EventFunc2 handler)
Attach a handler to an event for the elements.
|
JQueryElement |
bind(String eventType,
Object eventData,
boolean preventBubble)
Attach a handler to an event for the elements.
|
JQueryElement |
bind(String eventType,
Object eventData,
Functions.EventFunc handler)
Attach a handler to an event for the elements.
|
JQueryElement |
bind(String eventType,
Object eventData,
Functions.EventFunc1 handler)
Attach a handler to an event for the elements.
|
JQueryElement |
bind(String eventType,
Object eventData,
Functions.EventFunc2 handler)
Attach a handler to an event for the elements.
|
JQueryElement |
blur()
Bind an event handler to the "blur" JavaScript event, or trigger that event on an element.
|
JQueryElement |
blur(Functions.EventFunc1 handler)
Bind an event handler to the "blur" JavaScript event, or trigger that event on an element.
|
JQueryElement |
blur(Functions.EventFunc2 handler)
Bind an event handler to the "blur" JavaScript event, or trigger that event on an element.
|
JQueryElement |
blur(Object eventData,
Functions.EventFunc handler)
Bind an event handler to the "blur" JavaScript event, or trigger that event on an element.
|
JQueryElement |
blur(Object eventData,
Functions.EventFunc1 handler)
Bind an event handler to the "blur" JavaScript event, or trigger that event on an element.
|
JQueryElement |
blur(Object eventData,
Functions.EventFunc2 handler)
Bind an event handler to the "blur" JavaScript event, or trigger that event on an element.
|
<T extends JQueryElement> |
cast()
A helper method to enable cross-casting from any
JQueryElement
type to any other JQueryElement type. |
JQueryElement |
change()
Bind an event handler to the "change" JavaScript event, or trigger that event on an element.
|
JQueryElement |
change(Functions.EventFunc1 handler)
Bind an event handler to the "change" JavaScript event, or trigger that event on an element.
|
JQueryElement |
change(Functions.EventFunc2 handler)
Bind an event handler to the "change" JavaScript event, or trigger that event on an element.
|
JQueryElement |
change(Object eventData,
Functions.EventFunc handler)
Bind an event handler to the "change" JavaScript event, or trigger that event on an element.
|
JQueryElement |
change(Object eventData,
Functions.EventFunc1 handler)
Bind an event handler to the "change" JavaScript event, or trigger that event on an element.
|
JQueryElement |
change(Object eventData,
Functions.EventFunc2 handler)
Bind an event handler to the "change" JavaScript event, or trigger that event on an element.
|
JQueryElement |
children(String selector)
Get the children of each element in the set of matched elements, optionally filtered by a selector.
|
JQueryElement |
clearQueue()
Remove from the queue all items that have not yet been run.
|
JQueryElement |
clearQueue(String queueName)
Remove from the queue all items that have not yet been run.
|
JQueryElement |
click()
Bind an event handler to the "click" JavaScript event, or trigger that
event on an element.
|
JQueryElement |
click(Functions.MouseEventFunc handler)
Bind an event handler to the "click" JavaScript event, or trigger that
event on an element.
|
JQueryElement |
clone()
Create a deep copy of the set of matched elements.
|
JQueryElement |
clone(boolean withDataAndEvents)
Create a deep copy of the set of matched elements.
|
JQueryElement |
clone(boolean withDataAndEvents,
boolean deepWithDataAndEvents)
Create a deep copy of the set of matched elements.
|
JQueryElement |
closest(com.google.gwt.dom.client.Element element)
For each element in the set, get the first element that matches the selector by testing the
element itself and traversing up through its ancestors in the DOM tree.
|
JQueryElement |
closest(JQueryElement selection)
For each element in the set, get the first element that matches the selector by testing the
element itself and traversing up through its ancestors in the DOM tree.
|
JQueryElement |
closest(String selector)
For each element in the set, get the first element that matches the selector by testing the
element itself and traversing up through its ancestors in the DOM tree.
|
JQueryElement |
closest(String selector,
com.google.gwt.dom.client.Element context)
For each element in the set, get the first element that matches the selector by testing the
element itself and traversing up through its ancestors in the DOM tree.
|
JQueryElement |
contents()
Get the children of each element in the set of matched elements, including text and comment nodes.
|
JQueryElement |
contextmenu()
Bind an event handler to the "contextmenu" JavaScript event, or trigger that event on an element.
|
JQueryElement |
contextmenu(Functions.MouseEventFunc handler)
Bind an event handler to the "contextmenu" JavaScript event, or trigger that event on an element.
|
JQueryElement |
contextmenu(Object eventData,
Functions.MouseEventFunc handler)
Bind an event handler to the "contextmenu" JavaScript event, or trigger that event on an element.
|
JQueryElement |
css(Object properties)
Set one or more CSS properties for the set of matched elements.
|
String |
css(String... propertyName)
Get the computed style properties for the first element in the set of matched elements.
|
String |
css(String propertyName)
Get the computed style properties for the first element in the set of matched elements.
|
JQueryElement |
css(String propertyName,
Functions.FuncRet2<Integer,Object> function)
Set one or more CSS properties for the set of matched elements.
|
JQueryElement |
css(String propertyName,
String value)
Set one or more CSS properties for the set of matched elements.
|
Object |
data()
Return the value at the named data store for the first element in the jQuery collection,
as set by data(name, value) or by an HTML5 data-* attribute.
|
JQueryElement |
data(Object obj)
Store arbitrary data associated with the matched elements.
|
Object |
data(String key)
Return the value at the named data store for the first element in the jQuery collection,
as set by data(name, value) or by an HTML5 data-* attribute.
|
JQueryElement |
data(String key,
String value)
Store arbitrary data associated with the matched elements.
|
JQueryElement |
dblclick(Functions.MouseEventFunc handler)
Bind an event handler to the "dblclick" JavaScript event, or trigger that event on an element.
|
JQueryElement |
dblclick(Object eventData,
Functions.MouseEventFunc handler)
Bind an event handler to the "dblclick" JavaScript event, or trigger that event on an element.
|
JQueryElement |
delay(int duration)
Set a timer to delay execution of subsequent items in the queue.
|
JQueryElement |
delay(int duration,
String queueName)
Set a timer to delay execution of subsequent items in the queue.
|
JQueryElement |
delegate(String selector,
Object events)
Attach a handler to one or more events for all elements that match the selector, now or in the
future, based on a specific set of root elements.
|
JQueryElement |
delegate(String selector,
String eventType,
Functions.EventFunc handler)
Attach a handler to one or more events for all elements that match the selector, now or in the
future, based on a specific set of root elements.
|
JQueryElement |
delegate(String selector,
String eventType,
Functions.EventFunc1 handler)
Attach a handler to one or more events for all elements that match the selector, now or in the
future, based on a specific set of root elements.
|
JQueryElement |
delegate(String selector,
String eventType,
Functions.EventFunc2 handler)
Attach a handler to one or more events for all elements that match the selector, now or in the
future, based on a specific set of root elements.
|
JQueryElement |
delegate(String selector,
String eventType,
Object eventData,
Functions.EventFunc handler)
Attach a handler to one or more events for all elements that match the selector, now or in the
future, based on a specific set of root elements.
|
JQueryElement |
delegate(String selector,
String eventType,
Object eventData,
Functions.EventFunc1 handler)
Attach a handler to one or more events for all elements that match the selector, now or in the
future, based on a specific set of root elements.
|
JQueryElement |
delegate(String selector,
String eventType,
Object eventData,
Functions.EventFunc2 handler)
Attach a handler to one or more events for all elements that match the selector, now or in the
future, based on a specific set of root elements.
|
JQueryElement |
dequeue()
Execute the next function on the queue for the matched elements.
|
JQueryElement |
dequeue(String queueName)
Execute the next function on the queue for the matched elements.
|
JQueryElement |
detach()
Remove the set of matched elements from the DOM.
|
JQueryElement |
detach(String selector)
Remove the set of matched elements from the DOM.
|
JQueryElement |
each(Functions.Func2<Object,com.google.gwt.dom.client.Element> function)
Iterate over a jQuery object, executing a function for each matched element.
|
JQueryElement |
empty()
Remove all child nodes of the set of matched elements from the DOM.
|
JQueryElement |
end()
End the most recent filtering operation in the current chain and return the set of
matched elements to its previous state.
|
JQueryElement |
eq(int index)
Reduce the set of matched elements to the one at the specified index.
|
JQueryElement |
error(Functions.EventFunc1 handler)
Bind an event handler to the "error" JavaScript event.
|
JQueryElement |
error(Functions.EventFunc2 handler)
Bind an event handler to the "error" JavaScript event.
|
JQueryElement |
error(Object eventData,
Functions.EventFunc handler)
Bind an event handler to the "error" JavaScript event.
|
JQueryElement |
error(Object eventData,
Functions.EventFunc1 handler)
Bind an event handler to the "error" JavaScript event.
|
JQueryElement |
error(Object eventData,
Functions.EventFunc2 handler)
Bind an event handler to the "error" JavaScript event.
|
JQueryElement |
fadeIn()
Display the matched elements by fading them to opaque.
|
JQueryElement |
fadeIn(AnimateOptions options)
Display the matched elements by fading them to opaque.
|
JQueryElement |
fadeIn(double duration)
Display the matched elements by fading them to opaque.
|
JQueryElement |
fadeIn(double duration,
Functions.Func complete)
Display the matched elements by fading them to opaque.
|
JQueryElement |
fadeIn(double duration,
String easing)
Display the matched elements by fading them to opaque.
|
JQueryElement |
fadeIn(double duration,
String easing,
Functions.Func complete)
Display the matched elements by fading them to opaque.
|
JQueryElement |
fadeIn(Functions.Func complete)
Display the matched elements by fading them to opaque.
|
JQueryElement |
fadeIn(String easing)
Display the matched elements by fading them to opaque.
|
JQueryElement |
fadeOut()
Hide the matched elements by fading them to transparent.
|
JQueryElement |
fadeOut(AnimateOptions options)
Hide the matched elements by fading them to transparent.
|
JQueryElement |
fadeOut(double duration)
Hide the matched elements by fading them to transparent.
|
JQueryElement |
fadeOut(double duration,
Functions.Func complete)
Hide the matched elements by fading them to transparent.
|
JQueryElement |
fadeOut(double duration,
String easing)
Hide the matched elements by fading them to transparent.
|
JQueryElement |
fadeOut(double duration,
String easing,
Functions.Func complete)
Hide the matched elements by fading them to transparent.
|
JQueryElement |
fadeOut(Functions.Func complete)
Display the matched elements by fading them to opaque.
|
JQueryElement |
fadeOut(String easing)
Hide the matched elements by fading them to transparent.
|
JQueryElement |
fadeTo(double duration,
double opacity)
Adjust the opacity of the matched elements.
|
JQueryElement |
fadeTo(double duration,
double opacity,
Functions.Func complete)
Adjust the opacity of the matched elements.
|
JQueryElement |
fadeTo(double duration,
double opacity,
String easing)
Adjust the opacity of the matched elements.
|
JQueryElement |
fadeTo(double duration,
double opacity,
String easing,
Functions.Func complete)
Adjust the opacity of the matched elements.
|
JQueryElement |
fadeToggle(AnimateOptions options)
Display or hide the matched elements by animating their opacity.
|
JQueryElement |
fadeToggle(double duration)
Display or hide the matched elements by animating their opacity.
|
JQueryElement |
fadeToggle(double duration,
Functions.Func complete)
Display or hide the matched elements by animating their opacity.
|
JQueryElement |
fadeToggle(double duration,
String easing)
Display or hide the matched elements by animating their opacity.
|
JQueryElement |
fadeToggle(double duration,
String easing,
Functions.Func complete)
Display or hide the matched elements by animating their opacity.
|
JQueryElement |
fadeToggle(Functions.Func complete)
Display or hide the matched elements by animating their opacity.
|
JQueryElement |
fadeToggle(String easing)
Display or hide the matched elements by animating their opacity.
|
JQueryElement |
filter(com.google.gwt.dom.client.Element... elements)
Reduce the set of matched elements to those that match the selector or pass the function's test.
|
JQueryElement |
filter(Functions.FuncRet2<Integer,com.google.gwt.dom.client.Element> function)
Reduce the set of matched elements to those that match the selector or pass the function's test.
|
JQueryElement |
filter(JQueryElement selection)
Reduce the set of matched elements to those that match the selector or pass the function's test.
|
JQueryElement |
filter(String selector)
Reduce the set of matched elements to those that match the selector or pass the function's test.
|
JQueryElement |
find(com.google.gwt.dom.client.Element... elements)
Get the descendants of each element in the current set of matched elements, filtered
by a selector, jQuery object, or element.
|
JQueryElement |
find(JQueryElement selection)
Get the descendants of each element in the current set of matched elements, filtered
by a selector, jQuery object, or element.
|
JQueryElement |
find(String selector)
Get the descendants of each element in the current set of matched elements, filtered
by a selector, jQuery object, or element.
|
JQueryElement |
finish()
Stop the currently-running animation, remove all queued animations, and complete
all animations for the matched elements.
|
JQueryElement |
finish(String queue)
Stop the currently-running animation, remove all queued animations, and complete
all animations for the matched elements.
|
JQueryElement |
first()
Reduce the set of matched elements to the first in the set.
|
JQueryElement |
focus()
Bind an event handler to the "focus" JavaScript event, or trigger that event on an element.
|
JQueryElement |
focus(Functions.EventFunc1 handler)
Bind an event handler to the "focus" JavaScript event, or trigger that event on an element.
|
JQueryElement |
focus(Functions.EventFunc2 handler)
Bind an event handler to the "focus" JavaScript event, or trigger that event on an element.
|
JQueryElement |
focus(Object eventData,
Functions.EventFunc handler)
Bind an event handler to the "focus" JavaScript event, or trigger that event on an element.
|
JQueryElement |
focus(Object eventData,
Functions.EventFunc1 handler)
Bind an event handler to the "focus" JavaScript event, or trigger that event on an element.
|
JQueryElement |
focus(Object eventData,
Functions.EventFunc2 handler)
Bind an event handler to the "focus" JavaScript event, or trigger that event on an element.
|
JQueryElement |
focusin()
Bind an event handler to the "focusin" JavaScript event.
|
JQueryElement |
focusin(Functions.EventFunc1 handler)
Bind an event handler to the "focusin" JavaScript event.
|
JQueryElement |
focusin(Functions.EventFunc2 handler)
Bind an event handler to the "focusin" JavaScript event.
|
JQueryElement |
focusin(Object eventData,
Functions.EventFunc handler)
Bind an event handler to the "focusin" JavaScript event.
|
JQueryElement |
focusin(Object eventData,
Functions.EventFunc1 handler)
Bind an event handler to the "focusin" JavaScript event.
|
JQueryElement |
focusin(Object eventData,
Functions.EventFunc2 handler)
Bind an event handler to the "focusin" JavaScript event.
|
JQueryElement |
focusout()
Bind an event handler to the "focusout" JavaScript event.
|
JQueryElement |
focusout(Functions.EventFunc1 handler)
Bind an event handler to the "focusout" JavaScript event.
|
JQueryElement |
focusout(Functions.EventFunc2 handler)
Bind an event handler to the "focusout" JavaScript event.
|
JQueryElement |
focusout(Object eventData,
Functions.EventFunc handler)
Bind an event handler to the "focusout" JavaScript event.
|
JQueryElement |
focusout(Object eventData,
Functions.EventFunc1 handler)
Bind an event handler to the "focusout" JavaScript event.
|
JQueryElement |
focusout(Object eventData,
Functions.EventFunc2 handler)
Bind an event handler to the "focusout" JavaScript event.
|
com.google.gwt.dom.client.Element[] |
get()
Retrieve the elements matched by the jQuery object.
|
com.google.gwt.dom.client.Element |
get(int index)
Retrieve one of the elements matched by the jQuery object.
|
JQueryElement |
has(com.google.gwt.dom.client.Element contained)
Reduce the set of matched elements to those that have a descendant that matches
the selector or DOM element.
|
JQueryElement |
has(String selector)
Reduce the set of matched elements to those that have a descendant that matches
the selector or DOM element.
|
boolean |
hasClass(String className)
Determine whether any of the matched elements are assigned the given class.
|
double |
height()
Get the current computed height for the first element in the set of matched elements.
|
JQueryElement |
height(Functions.FuncRet2<Integer,Integer> function)
Set the CSS height of every matched element.
|
double |
height(int height)
Set the CSS height of every matched element.
|
JQueryElement |
height(String height)
Set the CSS height of every matched element.
|
JQueryElement |
hide()
Hide the matched elements.
|
JQueryElement |
hide(AnimateOptions options)
Hide the matched elements.
|
JQueryElement |
hide(double duration)
Hide the matched elements.
|
JQueryElement |
hide(double duration,
Functions.Func complete)
Hide the matched elements.
|
JQueryElement |
hide(Functions.Func complete)
Hide the matched elements.
|
JQueryElement |
hover(Functions.EventFunc1 handlerOut)
Bind two handlers to the matched elements, to be executed when the mouse pointer
enters and leaves the elements.
|
JQueryElement |
hover(Functions.EventFunc1 handlerIn,
Functions.EventFunc handlerOut)
Bind two handlers to the matched elements, to be executed when the mouse pointer
enters and leaves the elements.
|
JQueryElement |
hover(Functions.EventFunc1 handlerIn,
Functions.EventFunc1 handlerOut)
Bind two handlers to the matched elements, to be executed when the mouse pointer
enters and leaves the elements.
|
JQueryElement |
hover(Functions.EventFunc2 handlerOut)
Bind two handlers to the matched elements, to be executed when the mouse pointer
enters and leaves the elements.
|
JQueryElement |
hover(Functions.EventFunc2 handlerIn,
Functions.EventFunc2 handlerOut)
Bind two handlers to the matched elements, to be executed when the mouse pointer
enters and leaves the elements.
|
String |
html()
Get the HTML contents of the first element in the set of matched elements.
|
JQueryElement |
html(Functions.FuncRet2<Integer,String> function)
Set the HTML contents of each element in the set of matched elements.
|
JQueryElement |
html(String htmlString)
Set the HTML contents of each element in the set of matched elements.
|
int |
index()
Search for a given element from among the matched elements.
|
int |
index(com.google.gwt.dom.client.Element element)
Search for a given element from among the matched elements.
|
int |
index(JQueryElement element)
Search for a given element from among the matched elements.
|
int |
index(String selector)
Search for a given element from among the matched elements.
|
double |
innerHeight()
Get the current computed height for the first element in the set of matched elements,
including padding but not border.
|
JQueryElement |
innerHeight(double value)
Set the CSS inner height of each element in the set of matched elements.
|
JQueryElement |
innerHeight(Functions.FuncRet2<Integer,Double> function)
Set the CSS inner height of each element in the set of matched elements.
|
JQueryElement |
innerHeight(String value)
Set the CSS inner height of each element in the set of matched elements.
|
double |
innerWidth()
Get the current computed width for the first element in the set of matched elements,
including padding but not border.
|
JQueryElement |
innerWidth(double value)
Set the CSS inner width of each element in the set of matched elements.
|
JQueryElement |
innerWidth(Functions.FuncRet2<Integer,Double> function)
Set the CSS inner width of each element in the set of matched elements.
|
JQueryElement |
innerWidth(String value)
Set the CSS inner width of each element in the set of matched elements.
|
JQueryElement |
insertAfter(com.google.gwt.dom.client.Element... element)
Insert every element in the set of matched elements after the target.
|
JQueryElement |
insertAfter(JQueryElement element)
Insert every element in the set of matched elements after the target.
|
JQueryElement |
insertAfter(String selector)
Insert every element in the set of matched elements after the target.
|
JQueryElement |
insertBefore(JQueryElement element)
Insert every element in the set of matched elements before the target.
|
boolean |
is(com.google.gwt.dom.client.Element... elements)
Check the current matched set of elements against a selector, element, or jQuery object
and return true if at least one of these elements matches the given arguments.
|
boolean |
is(Functions.FuncRet2<Integer,com.google.gwt.dom.client.Element> function)
Check the current matched set of elements against a selector, element, or jQuery object
and return true if at least one of these elements matches the given arguments.
|
boolean |
is(JQueryElement selection)
Check the current matched set of elements against a selector, element, or jQuery object
and return true if at least one of these elements matches the given arguments.
|
boolean |
is(String selector)
Check the current matched set of elements against a selector, element, or jQuery object
and return true if at least one of these elements matches the given arguments.
|
int |
jquery()
A string containing the jQuery version number.
|
JQueryElement |
keydown()
Bind an event handler to the "keydown" JavaScript event, or trigger that event on an element.
|
JQueryElement |
keydown(Functions.KeyEventFunc handler)
Bind an event handler to the "keydown" JavaScript event, or trigger that event on an element.
|
JQueryElement |
keydown(Object eventData,
Functions.KeyEventFunc handler)
Bind an event handler to the "keydown" JavaScript event, or trigger that event on an element.
|
JQueryElement |
keypress()
Bind an event handler to the "keypress" JavaScript event, or trigger that event on an element.
|
JQueryElement |
keypress(Functions.KeyEventFunc handler)
Bind an event handler to the "keypress" JavaScript event, or trigger that event on an element.
|
JQueryElement |
keypress(Object eventData,
Functions.KeyEventFunc handler)
Bind an event handler to the "keypress" JavaScript event, or trigger that event on an element.
|
JQueryElement |
keyup()
Bind an event handler to the "keyup" JavaScript event, or trigger that event on an element.
|
JQueryElement |
keyup(Functions.KeyEventFunc handler)
Bind an event handler to the "keyup" JavaScript event, or trigger that event on an element.
|
JQueryElement |
keyup(Object eventData,
Functions.KeyEventFunc handler)
Bind an event handler to the "keyup" JavaScript event, or trigger that event on an element.
|
JQueryElement |
last()
Reduce the set of matched elements to the final one in the set.
|
int |
length()
The number of elements in the jQuery object.
|
JQueryElement |
load(Functions.EventFunc1 handler)
Bind an event handler to the "load" JavaScript event.
|
JQueryElement |
load(Functions.EventFunc2 handler)
Bind an event handler to the "load" JavaScript event.
|
JQueryElement |
load(Object eventData,
Functions.EventFunc handler)
Bind an event handler to the "load" JavaScript event.
|
JQueryElement |
load(Object eventData,
Functions.EventFunc1 handler)
Bind an event handler to the "load" JavaScript event.
|
JQueryElement |
load(Object eventData,
Functions.EventFunc2 handler)
Bind an event handler to the "load" JavaScript event.
|
JQueryElement |
load(String url)
Load data from the server and place the returned HTML into the matched element.
|
JQueryElement |
load(String url,
String data)
Load data from the server and place the returned HTML into the matched element.
|
JQueryElement |
load(String url,
String data,
Functions.Func3<String,String,Object> complete)
Load data from the server and place the returned HTML into the matched element.
|
JQueryElement |
map(Functions.FuncRet2<Integer,com.google.gwt.dom.client.Element> callback)
Pass each element in the current matched set through a function, producing a new jQuery
object containing the return values.
|
JQueryElement |
mousedown()
Bind an event handler to the "mousedown" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mousedown(Functions.EventFunc1 handler)
Bind an event handler to the "mousedown" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mousedown(Functions.EventFunc2 handler)
Bind an event handler to the "mousedown" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mousedown(Object eventData,
Functions.EventFunc handler)
Bind an event handler to the "mousedown" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mousedown(Object eventData,
Functions.EventFunc1 handler)
Bind an event handler to the "mousedown" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mousedown(Object eventData,
Functions.EventFunc2 handler)
Bind an event handler to the "mousedown" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mouseenter()
Bind an event handler to the "mouseenter" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mouseenter(Functions.EventFunc1 handler)
Bind an event handler to the "mouseenter" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mouseenter(Functions.EventFunc2 handler)
Bind an event handler to the "mouseenter" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mouseenter(Object eventData,
Functions.EventFunc handler)
Bind an event handler to the "mouseenter" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mouseenter(Object eventData,
Functions.EventFunc1 handler)
Bind an event handler to the "mouseenter" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mouseenter(Object eventData,
Functions.EventFunc2 handler)
Bind an event handler to the "mouseenter" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mouseleave()
Bind an event handler to the "mouseleave" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mouseleave(Functions.EventFunc1 handler)
Bind an event handler to the "mouseleave" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mouseleave(Functions.EventFunc2 handler)
Bind an event handler to the "mouseleave" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mouseleave(Object eventData,
Functions.EventFunc handler)
Bind an event handler to the "mouseleave" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mouseleave(Object eventData,
Functions.EventFunc1 handler)
Bind an event handler to the "mouseleave" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mouseleave(Object eventData,
Functions.EventFunc2 handler)
Bind an event handler to the "mouseleave" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mousemove()
Bind an event handler to the "mousemove" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mousemove(Functions.EventFunc1 handler)
Bind an event handler to the "mousemove" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mousemove(Functions.EventFunc2 handler)
Bind an event handler to the "mousemove" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mousemove(Object eventData,
Functions.EventFunc handler)
Bind an event handler to the "mousemove" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mousemove(Object eventData,
Functions.EventFunc1 handler)
Bind an event handler to the "mousemove" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mousemove(Object eventData,
Functions.EventFunc2 handler)
Bind an event handler to the "mousemove" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mouseout()
Bind an event handler to the "mouseout" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mouseout(Functions.EventFunc1 handler)
Bind an event handler to the "mouseout" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mouseout(Functions.EventFunc2 handler)
Bind an event handler to the "mouseout" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mouseout(Object eventData,
Functions.EventFunc handler)
Bind an event handler to the "mouseout" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mouseout(Object eventData,
Functions.EventFunc1 handler)
Bind an event handler to the "mouseout" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mouseout(Object eventData,
Functions.EventFunc2 handler)
Bind an event handler to the "mouseout" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mouseover()
Bind an event handler to the "mouseover" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mouseover(Functions.EventFunc1 handler)
Bind an event handler to the "mouseover" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mouseover(Functions.EventFunc2 handler)
Bind an event handler to the "mouseover" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mouseover(Object eventData,
Functions.EventFunc handler)
Bind an event handler to the "mouseover" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mouseover(Object eventData,
Functions.EventFunc1 handler)
Bind an event handler to the "mouseover" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mouseover(Object eventData,
Functions.EventFunc2 handler)
Bind an event handler to the "mouseover" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mouseup()
Bind an event handler to the "mouseup" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mouseup(Functions.EventFunc1 handler)
Bind an event handler to the "mouseup" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mouseup(Functions.EventFunc2 handler)
Bind an event handler to the "mouseup" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mouseup(Object eventData,
Functions.EventFunc handler)
Bind an event handler to the "mouseup" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mouseup(Object eventData,
Functions.EventFunc1 handler)
Bind an event handler to the "mouseup" JavaScript event, or trigger that event on an element.
|
JQueryElement |
mouseup(Object eventData,
Functions.EventFunc2 handler)
Bind an event handler to the "mouseup" JavaScript event, or trigger that event on an element.
|
JQueryElement |
next()
Get the immediately following sibling of each element in the set of matched elements.
|
JQueryElement |
next(String selector)
Get the immediately following sibling of each element in the set of matched elements.
|
JQueryElement |
nextAll()
Get all following siblings of each element in the set of matched elements, optionally
filtered by a selector.
|
JQueryElement |
nextAll(String selector)
Get all following siblings of each element in the set of matched elements, optionally
filtered by a selector.
|
JQueryElement |
nextUntil(com.google.gwt.dom.client.Element element)
Get all following siblings of each element up to but not including the element matched by
the selector, DOM node, or jQuery object passed.
|
JQueryElement |
nextUntil(com.google.gwt.dom.client.Element element,
String filter)
Get all following siblings of each element up to but not including the element matched by
the selector, DOM node, or jQuery object passed.
|
JQueryElement |
nextUntil(JQueryElement element)
Get all following siblings of each element up to but not including the element matched by
the selector, DOM node, or jQuery object passed.
|
JQueryElement |
nextUntil(JQueryElement element,
String filter)
Get all following siblings of each element up to but not including the element matched by
the selector, DOM node, or jQuery object passed.
|
JQueryElement |
nextUntil(String selector,
String filter)
Get all following siblings of each element up to but not including the element matched by
the selector, DOM node, or jQuery object passed.
|
JQueryElement |
not(com.google.gwt.dom.client.Element... elements)
Remove elements from the set of matched elements.
|
JQueryElement |
not(Functions.FuncRet2<Integer,com.google.gwt.dom.client.Element> function)
Remove elements from the set of matched elements.
|
JQueryElement |
not(JQueryElement selection)
Remove elements from the set of matched elements.
|
JQueryElement |
not(String selector)
Remove elements from the set of matched elements.
|
JQueryElement |
off()
Remove an event handler.
|
JQueryElement |
off(Event event)
Remove an event handler.
|
JQueryElement |
off(String events)
Remove an event handler.
|
JQueryElement |
off(String events,
Functions.EventFunc handler)
Remove an event handler.
|
JQueryElement |
off(String events,
Functions.EventFunc1 handler)
Remove an event handler.
|
JQueryElement |
off(String events,
Functions.EventFunc2 handler)
Remove an event handler.
|
JQueryElement |
off(String events,
Functions.EventFunc3 handler)
Remove an event handler.
|
JQueryElement |
off(String events,
String selector,
Functions.EventFunc handler)
Remove an event handler.
|
JQueryElement |
off(String events,
String selector,
Functions.EventFunc1 handler)
Remove an event handler.
|
JQueryElement |
off(String events,
String selector,
Functions.EventFunc2 handler)
Remove an event handler.
|
JQueryElement |
off(String events,
String selector,
Functions.EventFunc3 handler)
Remove an event handler.
|
Offset |
offset()
Get the current coordinates of the first element in the set of matched elements,
relative to the document.
|
JQueryElement |
offset(Functions.FuncRet2<Integer,Offset> function)
Set the current coordinates of every element in the set of matched elements,
relative to the document.
|
JQueryElement |
offset(Offset coordinates)
Set the current coordinates of every element in the set of matched elements,
relative to the document.
|
JQueryElement |
offsetParent()
Get the closest ancestor element that is positioned.
|
JQueryElement |
on()
Add an event handler.
|
JQueryElement |
on(Event event)
Add an event handler.
|
JQueryElement |
on(String events)
Add an event handler.
|
JQueryElement |
on(String events,
Functions.EventFunc handler)
Add an event handler.
|
JQueryElement |
on(String events,
Functions.EventFunc1 handler)
Add an event handler.
|
JQueryElement |
on(String events,
Functions.EventFunc2 handler)
Add an event handler.
|
JQueryElement |
on(String events,
Functions.EventFunc3 handler)
Add an event handler.
|
JQueryElement |
on(String events,
String selector,
Functions.EventFunc handler)
Add an event handler.
|
JQueryElement |
on(String events,
String selector,
Functions.EventFunc1 handler)
Add an event handler.
|
JQueryElement |
on(String events,
String selector,
Functions.EventFunc2 handler)
Add an event handler.
|
JQueryElement |
one()
Attach a handler to an event for the elements.
|
JQueryElement |
one(Event event)
Attach a handler to an event for the elements.
|
JQueryElement |
one(String events)
Attach a handler to an event for the elements.
|
JQueryElement |
one(String events,
Functions.EventFunc handler)
Attach a handler to an event for the elements.
|
JQueryElement |
one(String events,
Functions.EventFunc1 handler)
Attach a handler to an event for the elements.
|
JQueryElement |
one(String events,
Functions.EventFunc2 handler)
Attach a handler to an event for the elements.
|
JQueryElement |
one(String events,
String selector,
Functions.EventFunc handler)
Attach a handler to an event for the elements.
|
JQueryElement |
one(String events,
String selector,
Functions.EventFunc1 handler)
Attach a handler to an event for the elements.
|
JQueryElement |
one(String events,
String selector,
Functions.EventFunc2 handler)
Attach a handler to an event for the elements.
|
int |
outerHeight()
Get the current computed height for the first element in the set of matched elements, including
padding, border, and optionally margin.
|
int |
outerHeight(boolean includeMargin)
Get the current computed height for the first element in the set of matched elements, including
padding, border, and optionally margin.
|
JQueryElement |
outerHeight(Functions.Func2<Integer,Integer> function)
Set the CSS outer Height of each element in the set of matched elements.
|
JQueryElement |
outerHeight(int value)
Set the CSS outer Height of each element in the set of matched elements.
|
JQueryElement |
outerHeight(String value)
Set the CSS outer Height of each element in the set of matched elements.
|
int |
outerWidth()
Get the current computed width for the first element in the set of matched elements, including
padding, border, and optionally margin.
|
int |
outerWidth(boolean includeMargin)
Get the current computed width for the first element in the set of matched elements, including
padding, border, and optionally margin.
|
JQueryElement |
outerWidth(Functions.Func2<Integer,Integer> function)
Set the CSS outer Width of each element in the set of matched elements.
|
JQueryElement |
outerWidth(int value)
Set the CSS outer Width of each element in the set of matched elements.
|
JQueryElement |
outerWidth(String value)
Set the CSS outer Width of each element in the set of matched elements.
|
JQueryElement |
parent()
Get the parent of each element in the current set of matched elements, optionally
filtered by a selector.
|
JQueryElement |
parent(String selector)
Get the parent of each element in the current set of matched elements, optionally
filtered by a selector.
|
JQueryElement |
parents()
Get the ancestors of each element in the current set of matched elements, optionally
filtered by a selector.
|
JQueryElement |
parents(String selector)
Get the ancestors of each element in the current set of matched elements, optionally
filtered by a selector.
|
JQueryElement |
parentsUntil(com.google.gwt.dom.client.Element element)
Get the ancestors of each element in the current set of matched elements, up to but not including
the element matched by the selector, DOM node, or jQuery object.
|
JQueryElement |
parentsUntil(com.google.gwt.dom.client.Element element,
String filter)
Get the ancestors of each element in the current set of matched elements, up to but not including
the element matched by the selector, DOM node, or jQuery object.
|
JQueryElement |
parentsUntil(JQueryElement element)
Get the ancestors of each element in the current set of matched elements, up to but not including
the element matched by the selector, DOM node, or jQuery object.
|
JQueryElement |
parentsUntil(JQueryElement element,
String filter)
Get the ancestors of each element in the current set of matched elements, up to but not including
the element matched by the selector, DOM node, or jQuery object.
|
JQueryElement |
parentsUntil(String selector)
Get the ancestors of each element in the current set of matched elements, up to but not including
the element matched by the selector, DOM node, or jQuery object.
|
JQueryElement |
parentsUntil(String selector,
String filter)
Get the ancestors of each element in the current set of matched elements, up to but not including
the element matched by the selector, DOM node, or jQuery object.
|
Offset |
position()
Get the current coordinates of the first element in the set of matched elements,
relative to the offset parent.
|
JQueryElement |
prepend(com.google.gwt.dom.client.Element... element)
Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.
|
JQueryElement |
prepend(JQueryElement element)
Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.
|
JQueryElement |
prepend(String htmlString)
Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.
|
JQueryElement |
prependTo(com.google.gwt.dom.client.Element... element)
Insert every element in the set of matched elements to the beginning of the target.
|
JQueryElement |
prependTo(JQueryElement element)
Insert every element in the set of matched elements to the beginning of the target.
|
JQueryElement |
prependTo(String htmlString)
Insert every element in the set of matched elements to the beginning of the target.
|
JQueryElement |
prev()
Get the immediately preceding sibling of each element in the set of matched elements,
optionally filtered by a selector.
|
JQueryElement |
prev(String selector)
Get the immediately preceding sibling of each element in the set of matched elements,
optionally filtered by a selector.
|
JQueryElement |
prevAll()
Get all preceding siblings of each element up to but not including the element matched
by the selector, DOM node, or jQuery object.
|
JQueryElement |
prevAll(String selector)
Get all preceding siblings of each element up to but not including the element matched
by the selector, DOM node, or jQuery object.
|
JQueryElement |
prevUntil(com.google.gwt.dom.client.Element element)
Get all preceding siblings of each element up to but not including the element matched
by the selector, DOM node, or jQuery object.
|
JQueryElement |
prevUntil(com.google.gwt.dom.client.Element element,
String filter)
Get all preceding siblings of each element up to but not including the element matched
by the selector, DOM node, or jQuery object.
|
JQueryElement |
prevUntil(JQueryElement element)
Get all preceding siblings of each element up to but not including the element matched
by the selector, DOM node, or jQuery object.
|
JQueryElement |
prevUntil(JQueryElement element,
String filter)
Get all preceding siblings of each element up to but not including the element matched
by the selector, DOM node, or jQuery object.
|
JQueryElement |
prevUntil(String selector)
GGet all preceding siblings of each element up to but not including the element matched
by the selector, DOM node, or jQuery object.
|
JQueryElement |
prevUntil(String selector,
String filter)
Get all preceding siblings of each element up to but not including the element matched
by the selector, DOM node, or jQuery object.
|
Promise |
promise()
Return a Promise object to observe when all actions of a certain type bound to the
collection, queued or not, have finished.
|
Promise |
promise(Object target)
Return a Promise object to observe when all actions of a certain type bound to the
collection, queued or not, have finished.
|
Promise |
promise(String type)
Return a Promise object to observe when all actions of a certain type bound to the
collection, queued or not, have finished.
|
Promise |
promise(String type,
Object target)
Return a Promise object to observe when all actions of a certain type bound to the
collection, queued or not, have finished.
|
JQueryElement |
prop(Object properties)
Set one or more properties for the set of matched elements.
|
Object |
prop(String propertyName)
Get the value of a property for the first element in the set of matched elements.
|
JQueryElement |
prop(String propertyName,
Functions.FuncRet2<Integer,Object> function)
Set one or more properties for the set of matched elements.
|
JQueryElement |
prop(String propertyName,
Object value)
Set one or more properties for the set of matched elements.
|
JQueryElement |
pushStack(com.google.gwt.dom.client.Element... elements)
Add a collection of DOM elements onto the jQuery stack.
|
JQueryElement |
pushStack(com.google.gwt.dom.client.Element[] elements,
String name,
Object... arguments)
Add a collection of DOM elements onto the jQuery stack.
|
Object[] |
queue()
Show the queue of functions to be executed on the matched elements.
|
JQueryElement |
queue(Functions.Func1<Functions.Func> callback)
Manipulate the queue of functions to be executed, once for each matched element.
|
JQueryElement |
queue(Object[] newQueue)
Manipulate the queue of functions to be executed, once for each matched element.
|
Object[] |
queue(String queueName)
Show the queue of functions to be executed on the matched elements.
|
JQueryElement |
queue(String queueName,
Functions.Func1<Functions.Func> callback)
Manipulate the queue of functions to be executed, once for each matched element.
|
JQueryElement |
queue(String queueName,
Object... newQueue)
Manipulate the queue of functions to be executed, once for each matched element.
|
JQueryElement |
ready(Functions.Func handler)
Specify a function to execute when the DOM is fully loaded.
|
JQueryElement |
remove()
Remove the set of matched elements from the DOM.
|
JQueryElement |
remove(String selector)
Remove the set of matched elements from the DOM.
|
JQueryElement |
removeAttr(String attributeName)
Remove an attribute from each element in the set of matched elements.
|
JQueryElement |
removeClass()
Remove a single class, multiple classes, or all classes from each element
in the set of matched elements.
|
JQueryElement |
removeClass(Functions.FuncRet2<Integer,String> function)
Remove a single class, multiple classes, or all classes from each element in the set
of matched elements.
|
JQueryElement |
removeClass(String className)
Remove a single class, multiple classes, or all classes from each element
in the set of matched elements.
|
JQueryElement |
removeData()
Remove a previously-stored piece of data.
|
JQueryElement |
removeData(String name)
Remove a previously-stored piece of data.
|
JQueryElement |
removeData(String[] list)
Remove a previously-stored piece of data.
|
JQueryElement |
removeProp(String propertyName)
Remove a property for the set of matched elements.
|
JQueryElement |
replaceAll(com.google.gwt.dom.client.Element... target)
Replace each target element with the set of matched elements.
|
JQueryElement |
replaceAll(JQueryElement target)
Replace each target element with the set of matched elements.
|
JQueryElement |
replaceAll(String target)
Replace each target element with the set of matched elements.
|
JQueryElement |
replaceWith(com.google.gwt.dom.client.Element... newContent)
Replace each element in the set of matched elements with the provided new content and
return the set of elements that was removed.
|
JQueryElement |
replaceWith(Functions.Func function)
Replace each element in the set of matched elements with the provided new content and
return the set of elements that was removed.
|
JQueryElement |
replaceWith(JQueryElement newContent)
Replace each element in the set of matched elements with the provided new content and
return the set of elements that was removed.
|
JQueryElement |
replaceWith(String newContent)
Replace each element in the set of matched elements with the provided new content and
return the set of elements that was removed.
|
JQueryElement |
resize()
Bind an event handler to the "resize" JavaScript event, or trigger that event on an element.
|
JQueryElement |
resize(Functions.EventFunc1 handler)
Bind an event handler to the "resize" JavaScript event, or trigger that event on an element.
|
JQueryElement |
resize(Functions.EventFunc2 handler)
Bind an event handler to the "resize" JavaScript event, or trigger that event on an element.
|
JQueryElement |
resize(Object eventData,
Functions.EventFunc handler)
Bind an event handler to the "resize" JavaScript event, or trigger that event on an element.
|
JQueryElement |
resize(Object eventData,
Functions.EventFunc1 handler)
Bind an event handler to the "resize" JavaScript event, or trigger that event on an element.
|
JQueryElement |
resize(Object eventData,
Functions.EventFunc2 handler)
Bind an event handler to the "resize" JavaScript event, or trigger that event on an element.
|
JQueryElement |
scroll()
Bind an event handler to the "scroll" JavaScript event, or trigger that event on an element.
|
JQueryElement |
scroll(Functions.EventFunc1 handler)
Bind an event handler to the "scroll" JavaScript event, or trigger that event on an element.
|
JQueryElement |
scroll(Functions.EventFunc2 handler)
Bind an event handler to the "scroll" JavaScript event, or trigger that event on an element.
|
JQueryElement |
scroll(Object eventData,
Functions.EventFunc handler)
Bind an event handler to the "scroll" JavaScript event, or trigger that event on an element.
|
JQueryElement |
scroll(Object eventData,
Functions.EventFunc1 handler)
Bind an event handler to the "scroll" JavaScript event, or trigger that event on an element.
|
JQueryElement |
scroll(Object eventData,
Functions.EventFunc2 handler)
Bind an event handler to the "scroll" JavaScript event, or trigger that event on an element.
|
int |
scrollLeft()
Get the current horizontal position of the scroll bar for the first element in the
set of matched elements.
|
JQueryElement |
scrollLeft(int value)
Set the current horizontal position of the scroll bar for each of the set of matched elements.
|
int |
scrollTop()
Get the current vertical position of the scroll bar for the first element in the set of
matched elements or set the vertical position of the scroll bar for every matched element.
|
JQueryElement |
scrollTop(int value)
Set the current vertical position of the scroll bar for each of the set of matched elements.
|
JQueryElement |
select()
Bind an event handler to the "select" JavaScript event, or trigger that event on an element.
|
JQueryElement |
select(Functions.EventFunc1 handler)
Bind an event handler to the "select" JavaScript event, or trigger that event on an element.
|
JQueryElement |
select(Functions.EventFunc2 handler)
Bind an event handler to the "select" JavaScript event, or trigger that event on an element.
|
JQueryElement |
select(Object eventData,
Functions.EventFunc handler)
Bind an event handler to the "select" JavaScript event, or trigger that event on an element.
|
JQueryElement |
select(Object eventData,
Functions.EventFunc1 handler)
Bind an event handler to the "select" JavaScript event, or trigger that event on an element.
|
JQueryElement |
select(Object eventData,
Functions.EventFunc2 handler)
Bind an event handler to the "select" JavaScript event, or trigger that event on an element.
|
String |
serialize()
Encode a set of form elements as a string for submission.
|
Object[] |
serializeArray()
Encode a set of form elements as an array of names and values.
|
JQueryElement |
show()
Display the matched elements.
|
JQueryElement |
show(AnimateOptions options)
Display the matched elements.
|
JQueryElement |
show(double duration)
Display the matched elements.
|
JQueryElement |
show(double duration,
Functions.Func complete)
Display the matched elements.
|
JQueryElement |
show(Functions.Func complete)
Display the matched elements.
|
JQueryElement |
siblings()
Get the siblings of each element in the set of matched elements, optionally
filtered by a selector.
|
JQueryElement |
siblings(String selector)
Get the siblings of each element in the set of matched elements, optionally
filtered by a selector.
|
int |
size()
Deprecated.
Use the .length property instead.
|
JQueryElement |
slice(int start)
Reduce the set of matched elements to a subset specified by a range of indices.
|
JQueryElement |
slice(int start,
int end)
Reduce the set of matched elements to a subset specified by a range of indices.
|
JQueryElement |
slideDown()
Display the matched elements with a sliding motion.
|
JQueryElement |
slideDown(AnimateOptions options)
Display the matched elements with a sliding motion.
|
JQueryElement |
slideDown(double duration)
Display the matched elements with a sliding motion.
|
JQueryElement |
slideDown(double duration,
Functions.Func complete)
Display the matched elements with a sliding motion.
|
JQueryElement |
slideDown(Functions.Func complete)
Display the matched elements with a sliding motion.
|
JQueryElement |
slideToggle()
Display or hide the matched elements with a sliding motion.
|
JQueryElement |
slideToggle(AnimateOptions options)
Display or hide the matched elements with a sliding motion.
|
JQueryElement |
slideToggle(double duration)
Display or hide the matched elements with a sliding motion.
|
JQueryElement |
slideToggle(double duration,
Functions.Func complete)
Display or hide the matched elements with a sliding motion.
|
JQueryElement |
slideToggle(Functions.Func complete)
Display or hide the matched elements with a sliding motion.
|
JQueryElement |
slideUp()
Hide the matched elements with a sliding motion.
|
JQueryElement |
slideUp(AnimateOptions options)
Hide the matched elements with a sliding motion.
|
JQueryElement |
slideUp(double duration)
Hide the matched elements with a sliding motion.
|
JQueryElement |
slideUp(double duration,
Functions.Func complete)
Hide the matched elements with a sliding motion.
|
JQueryElement |
slideUp(Functions.Func complete)
Hide the matched elements with a sliding motion.
|
JQueryElement |
stop(boolean clearQueue)
Stop the currently-running animation on the matched elements.
|
JQueryElement |
stop(boolean clearQueue,
boolean jumpToEnd)
Stop the currently-running animation on the matched elements.
|
JQueryElement |
stop(String queue,
boolean clearQueue)
Stop the currently-running animation on the matched elements.
|
JQueryElement |
stop(String queue,
boolean clearQueue,
boolean jumpToEnd)
Stop the currently-running animation on the matched elements.
|
JQueryElement |
submit()
Bind an event handler to the "submit" JavaScript event, or trigger that event on an element.
|
JQueryElement |
submit(Functions.EventFunc1 handler)
Bind an event handler to the "submit" JavaScript event, or trigger that event on an element.
|
JQueryElement |
submit(Functions.EventFunc2 handler)
Bind an event handler to the "submit" JavaScript event, or trigger that event on an element.
|
JQueryElement |
submit(Object eventData,
Functions.EventFunc handler)
Bind an event handler to the "submit" JavaScript event, or trigger that event on an element.
|
JQueryElement |
submit(Object eventData,
Functions.EventFunc1 handler)
Bind an event handler to the "submit" JavaScript event, or trigger that event on an element.
|
JQueryElement |
submit(Object eventData,
Functions.EventFunc2 handler)
Bind an event handler to the "submit" JavaScript event, or trigger that event on an element.
|
String |
text()
Get the combined text contents of each element in the set of matched elements,
including their descendants.
|
JQueryElement |
text(boolean value)
Set the content of each element in the set of matched elements to the specified text.
|
JQueryElement |
text(Functions.FuncRet2<Integer,String> function)
Set the content of each element in the set of matched elements to the specified text.
|
JQueryElement |
text(int value)
Set the content of each element in the set of matched elements to the specified text.
|
JQueryElement |
text(String text)
Set the content of each element in the set of matched elements to the specified text.
|
com.google.gwt.dom.client.Element[] |
toArray()
Retrieve all the elements contained in the jQuery set, as an array.
|
JQueryElement |
toggle()
Display or hide the matched elements.
|
JQueryElement |
toggle(AnimateOptions options)
Display or hide the matched elements.
|
JQueryElement |
toggle(boolean display)
Display or hide the matched elements.
|
JQueryElement |
toggle(double duration)
Display or hide the matched elements.
|
JQueryElement |
toggle(double duration,
Functions.Func complete)
Display or hide the matched elements.
|
JQueryElement |
toggle(double duration,
String easing)
Display or hide the matched elements.
|
JQueryElement |
toggleClass(boolean state)
Add or remove one or more classes from each element in the set of matched elements,
depending on either the class's presence or the value of the state argument.
|
JQueryElement |
toggleClass(Functions.FuncRet3<Integer,String,Boolean> function)
Add or remove one or more classes from each element in the set of matched elements,
depending on either the class's presence or the value of the state argument.
|
JQueryElement |
toggleClass(Functions.FuncRet3<Integer,String,Boolean> function,
boolean state)
Add or remove one or more classes from each element in the set of matched elements,
depending on either the class's presence or the value of the state argument.
|
JQueryElement |
toggleClass(String className)
Add or remove one or more classes from each element in the set of matched elements,
depending on either the class's presence or the value of the state argument.
|
JQueryElement |
toggleClass(String className,
boolean state)
Add or remove one or more classes from each element in the set of matched elements,
depending on either the class's presence or the value of the state argument.
|
JQueryElement |
trigger(Event event,
Object... extraParameters)
Execute all handlers and behaviors attached to the matched elements for
the given event type.
|
JQueryElement |
trigger(String eventType,
Object extraParameters)
Execute all handlers and behaviors attached to the matched elements for
the given event type.
|
JQueryElement |
trigger(String eventType,
Object[] extraParameters)
Execute all handlers and behaviors attached to the matched elements for
the given event type.
|
Object |
triggerHandler(Event event,
Object... extraParameters)
Execute all handlers attached to an element for an event.
|
Object |
triggerHandler(String eventType,
Object... extraParameters)
Execute all handlers attached to an element for an event.
|
JQueryElement |
unbind()
Remove a previously-attached event handler from the elements.
|
JQueryElement |
unbind(Event event)
Remove a previously-attached event handler from the elements.
|
JQueryElement |
unbind(String eventType)
Remove a previously-attached event handler from the elements.
|
JQueryElement |
unbind(String eventType,
boolean falsed)
Remove a previously-attached event handler from the elements.
|
JQueryElement |
unbind(String eventType,
Functions.EventFunc handler)
Remove a previously-attached event handler from the elements.
|
JQueryElement |
unbind(String eventType,
Functions.EventFunc1 handler)
Remove a previously-attached event handler from the elements.
|
JQueryElement |
unbind(String eventType,
Functions.EventFunc2 handler)
Remove a previously-attached event handler from the elements.
|
JQueryElement |
unwrap()
Remove the parents of the set of matched elements from the DOM,
leaving the matched elements in their place.
|
Object |
val()
Get the current value of the first element in the set of matched elements.
|
JQueryElement |
val(int value)
Set the value of each element in the set of matched elements.
|
JQueryElement |
val(String value)
Set the value of each element in the set of matched elements.
|
JQueryElement |
val(String[] value)
Set the value of each element in the set of matched elements.
|
int |
width()
Get the current computed width for the first element in the set of matched elements.
|
JQueryElement |
width(Functions.FuncRet2<Integer,Integer> function)
Set the CSS width of each element in the set of matched elements.
|
JQueryElement |
width(int width)
Set the CSS width of each element in the set of matched elements.
|
JQueryElement |
width(String width)
Set the CSS width of each element in the set of matched elements.
|
JQueryElement |
wrap(com.google.gwt.dom.client.Element wrappingElement)
Wrap an HTML structure around each element in the set of matched elements.
|
JQueryElement |
wrap(Functions.FuncRet1<Integer> function)
Wrap an HTML structure around each element in the set of matched elements.
|
JQueryElement |
wrap(JQueryElement wrappingElement)
Wrap an HTML structure around each element in the set of matched elements.
|
JQueryElement |
wrap(String wrappingElement)
Wrap an HTML structure around each element in the set of matched elements.
|
JQueryElement |
wrapAll(com.google.gwt.dom.client.Element wrappingElement)
Wrap an HTML structure around all elements in the set of matched elements.
|
JQueryElement |
wrapAll(Functions.FuncRet1<Integer> function)
Wrap an HTML structure around all elements in the set of matched elements.
|
JQueryElement |
wrapAll(JQueryElement wrappingElement)
Wrap an HTML structure around all elements in the set of matched elements.
|
JQueryElement |
wrapAll(String wrappingElement)
Wrap an HTML structure around all elements in the set of matched elements.
|
JQueryElement |
wrapInner(com.google.gwt.dom.client.Element wrappingElement)
Wrap an HTML structure around the content of each element in the set of matched elements.
|
JQueryElement |
wrapInner(Functions.FuncRet1<Integer> function)
Wrap an HTML structure around the content of each element in the set of matched elements.
|
JQueryElement |
wrapInner(JQueryElement wrappingElement)
Wrap an HTML structure around the content of each element in the set of matched elements.
|
JQueryElement |
wrapInner(String wrappingElement)
Wrap an HTML structure around the content of each element in the set of matched elements.
|
appendChild, bind, firstChild, parentElement, parentNode, removeChildgetOwnPropertyNames, hasOwnProperty, observepublic JQueryElement()
@JsOverlay public final <T extends JQueryElement> T cast()
JQueryElement
type to any other JQueryElement type.T - the target type@JsProperty(name="jquery") public int jquery()
@JsProperty(name="length") public int length()
@JsOverlay public final com.google.gwt.dom.client.Element asElement()
public JQueryElement add(String selectorOrHtml)
selectorOrHtml - A string representing a selector expression to find
additional elements to add to the set of matched elements.JQueryElementpublic JQueryElement add(com.google.gwt.dom.client.Element element)
element - One or more elements to add to the set of matched elements.JQueryElementpublic JQueryElement add(JQueryElement selection)
selection - An existing jQuery object to add to the set of matched elements.JQueryElementpublic JQueryElement add(String selector, com.google.gwt.dom.client.Element context)
selector - A string representing a selector expression to find additional
elements to add to the set of matched elements.context - The point in the document at which the selector should begin matching;
similar to the context argument of the $(selector, context) method.JQueryElementpublic JQueryElement addBack(String... selector)
selector - A string containing a selector expression to match the current
set of elements against.JQueryElementpublic JQueryElement addClass(String className)
className - One or more space-separated classes to be added to the class
attribute of each matched element.JQueryElementpublic JQueryElement addClass(Functions.Func2<Integer,String> function)
function - A function returning one or more space-separated class names
to be added to the existing class name(s). Receives the index
position of the element in the set and the existing class name(s)
as arguments. Within the function, this refers to the current
element in the set.JQueryElementpublic JQueryElement after(String content)
content - HTML string to insert after each element in the set of matched elements.JQueryElementpublic JQueryElement after(com.google.gwt.dom.client.Element... content)
content - DOM elements to insert after each element in the set of matched elements.JQueryElementpublic JQueryElement after(JQueryElement content)
content - jQuery object to insert after each element in the set of matched elements.JQueryElementpublic JQueryElement after(Functions.Func1<Integer> function)
function - A function that returns an HTML string, DOM element(s), or jQuery
object to insert after each element in the set of matched elements.
Receives the index position of the element in the set as an argument.
Within the function, this refers to the current element in the set.JQueryElementpublic JQueryElement after(Functions.Func2<Integer,String> function)
function - A function that returns an HTML string, DOM element(s), or jQuery
object to insert after each element in the set of matched elements.
Receives the index position of the element in the set and the old
HTML value of the element as arguments. Within the function, this
refers to the current element in the set.JQueryElementpublic JQueryElement andSelf()
addBack(String...)public JQueryElement animate(Object properties, double duration)
properties - An object of CSS properties and values that the animation will move toward.duration - A string or number determining how long the animation will run.JQueryElementpublic JQueryElement animate(Object properties, double duration, String easing)
properties - An object of CSS properties and values that the animation will move toward.duration - A string or number determining how long the animation will run.easing - A string indicating which easing function to use for the transition.JQueryElementpublic JQueryElement animate(Object properties, double duration, String easing, Functions.Func function)
properties - An object of CSS properties and values that the animation will move toward.duration - A string or number determining how long the animation will run.easing - A string indicating which easing function to use for the transition.function - A function to call once the animation is complete, called once per matched element.JQueryElementpublic JQueryElement animate(Object properties, AnimateOptions options)
properties - An object of CSS properties and values that the animation will move toward.options - A map of additional options to pass to the method.JQueryElementpublic JQueryElement append(String htmlString)
htmlString - HTML string to insert at the end of each element in the set of matched elements.JQueryElementpublic JQueryElement append(JQueryElement element)
element - jQuery objects to insert at the end of each element in the set of matched elements.JQueryElementpublic JQueryElement append(com.google.gwt.dom.client.Element... element)
element - DOM elements to insert at the end of each element in the set of matched elements.JQueryElementpublic JQueryElement appendTo(String htmlString)
htmlString - HTML string the matched set of elements will be inserted at the end of the
element(s) specified by this parameter.JQueryElementpublic JQueryElement appendTo(JQueryElement element)
element - jQuery objects the matched set of elements will be inserted at the end of the
element(s) specified by this parameter.JQueryElementpublic JQueryElement appendTo(com.google.gwt.dom.client.Element... element)
element - DOM elements the matched set of elements will be inserted at the end of the
element(s) specified by this parameter.JQueryElementpublic JQueryElement prepend(String htmlString)
htmlString - HTML string to insert at the end of each element in the set of matched elements.JQueryElementpublic JQueryElement prepend(JQueryElement element)
element - jQuery objects to insert at the end of each element in the set of matched elements.JQueryElementpublic JQueryElement prepend(com.google.gwt.dom.client.Element... element)
element - DOM elements to insert at the end of each element in the set of matched elements.JQueryElementpublic JQueryElement prependTo(String htmlString)
htmlString - HTML string to insert at the end of each element in the set of matched elements.JQueryElementpublic JQueryElement prependTo(JQueryElement element)
element - jQuery objects to insert at the end of each element in the set of matched elements.JQueryElementpublic JQueryElement prependTo(com.google.gwt.dom.client.Element... element)
element - DOM elements to insert at the end of each element in the set of matched elements.JQueryElementpublic Object attr(String attr)
attr - The name of the attribute to get.public JQueryElement attr(String attr, Object value)
attr - The name of the attribute to set.value - A value to set for the attribute.JQueryElementpublic JQueryElement attr(String attr, Functions.Func2<Integer,Object> function)
attr - The name of the attribute to set.function - A function returning the value to set. this is the current element.
Receives the index position of the element in the set and the old
attribute value as arguments.JQueryElementpublic JQueryElement before(String htmlString)
htmlString - HTML string to insert before each element in the set of matched elements.JQueryElementpublic JQueryElement before(JQueryElement element)
element - jQuery object to insert before each element in the set of matched elements.JQueryElementpublic JQueryElement before(com.google.gwt.dom.client.Element... element)
element - DOM elements to insert before each element in the set of matched elements.JQueryElementpublic JQueryElement bind(String eventType, Functions.EventFunc handler)
eventType - A string containing one or more DOM event types, such as "click" or
"submit," or custom event names.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement bind(String eventType, Functions.EventFunc1 handler)
eventType - A string containing one or more DOM event types, such as "click" or
"submit," or custom event names.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement bind(String eventType, Functions.EventFunc2 handler)
eventType - A string containing one or more DOM event types, such as "click" or
"submit," or custom event names.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement bind(String eventType, Object eventData, Functions.EventFunc handler)
eventType - A string containing one or more DOM event types, such as "click" or
"submit," or custom event names.eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement bind(String eventType, Object eventData, Functions.EventFunc1 handler)
eventType - A string containing one or more DOM event types, such as "click" or
"submit," or custom event names.eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement bind(String eventType, Object eventData, Functions.EventFunc2 handler)
eventType - A string containing one or more DOM event types, such as "click" or
"submit," or custom event names.eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement bind(String eventType, Object eventData, boolean preventBubble)
eventType - A string containing one or more DOM event types, such as "click" or
"submit," or custom event names.eventData - An object containing data that will be passed to the event handler.preventBubble - Setting the third argument to false will attach a function that prevents
the default action from occurring and stops the event from bubbling.
The default is true.JQueryElementpublic JQueryElement bind(Object events)
events - An object containing one or more DOM event types and functions to execute for them.JQueryElementpublic JQueryElement blur(Functions.EventFunc1 handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement blur(Functions.EventFunc2 handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement blur(Object eventData, Functions.EventFunc handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement blur(Object eventData, Functions.EventFunc1 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement blur(Object eventData, Functions.EventFunc2 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement blur()
JQueryElementpublic JQueryElement change(Functions.EventFunc1 handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement change(Functions.EventFunc2 handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement change(Object eventData, Functions.EventFunc handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement change(Object eventData, Functions.EventFunc1 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement change(Object eventData, Functions.EventFunc2 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement change()
JQueryElementpublic JQueryElement children(String selector)
selector - A string containing a selector expression to match elements against.JQueryElementpublic JQueryElement clearQueue()
JQueryElementpublic JQueryElement clearQueue(String queueName)
queueName - A string containing the name of the queue. Defaults to fx, the
standard effects queue.JQueryElementpublic JQueryElement click(Functions.MouseEventFunc handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement click()
JQueryElementpublic JQueryElement clone()
clone in class ObjectJQueryElementpublic JQueryElement clone(boolean withDataAndEvents)
withDataAndEvents - A Boolean indicating whether event handlers should be copied along with
the elements. As of jQuery 1.4, element data will be copied as well.JQueryElementpublic JQueryElement clone(boolean withDataAndEvents, boolean deepWithDataAndEvents)
withDataAndEvents - A Boolean indicating whether event handlers should be copied along with
the elements. As of jQuery 1.4, element data will be copied as well.deepWithDataAndEvents - A Boolean indicating whether event handlers and data for all children
of the cloned element should be copied. By default its value matches
the first argument's value (which defaults to false).JQueryElementpublic JQueryElement closest(String selector)
selector - A string containing a selector expression to match elements against.JQueryElementpublic JQueryElement closest(String selector, com.google.gwt.dom.client.Element context)
selector - A string containing a selector expression to match elements against.context - A DOM element within which a matching element may be found. If no context is passed
in then the context of the jQuery set will be used instead.JQueryElementpublic JQueryElement closest(JQueryElement selection)
selection - A jQuery object to match elements against.JQueryElementpublic JQueryElement closest(com.google.gwt.dom.client.Element element)
element - An element to match elements against.JQueryElementpublic JQueryElement contents()
JQueryElementpublic JQueryElement contextmenu(Functions.MouseEventFunc handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement contextmenu(Object eventData, Functions.MouseEventFunc handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement contextmenu()
JQueryElementpublic String css(String... propertyName)
propertyName - A CSS property.public JQueryElement css(String propertyName, String value)
propertyName - A CSS property.value - A value to set for the property.JQueryElementpublic JQueryElement css(String propertyName, Functions.FuncRet2<Integer,Object> function)
propertyName - A CSS property.function - A function returning the value to set. this is the current element. Receives
the index position of the element in the set and the old value as arguments.JQueryElementpublic JQueryElement css(Object properties)
properties - An object of property-value pairs to set.JQueryElementpublic String css(String propertyName)
propertyName - A CSS property.String property value.public JQueryElement data(String key, String value)
key - A string naming the piece of data to set.value - The new data value; this can be any Javascript type except undefined.JQueryElementpublic JQueryElement data(Object obj)
obj - An object of key-value pairs of data to update.JQueryElementpublic Object data(String key)
key - Name of the data stored.public Object data()
public JQueryElement dblclick(Functions.MouseEventFunc handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement dblclick(Object eventData, Functions.MouseEventFunc handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement delay(int duration)
duration - An integer indicating the number of milliseconds to delay execution of the next
item in the queue.JQueryElementpublic JQueryElement delay(int duration, String queueName)
duration - An integer indicating the number of milliseconds to delay execution of the next
item in the queue.queueName - A string containing the name of the queue. Defaults to fx, the standard effects queue.JQueryElementpublic JQueryElement delegate(String selector, String eventType, Functions.EventFunc handler)
selector - A selector to filter the elements that trigger the event.eventType - A string containing one or more space-separated JavaScript event types, such as
"click" or "keydown," or custom event names.handler - A function to execute at the time the event is triggered.JQueryElementpublic JQueryElement delegate(String selector, String eventType, Functions.EventFunc1 handler)
selector - A selector to filter the elements that trigger the event.eventType - A string containing one or more space-separated JavaScript event types, such as
"click" or "keydown," or custom event names.handler - A function to execute at the time the event is triggered.JQueryElementpublic JQueryElement delegate(String selector, String eventType, Functions.EventFunc2 handler)
selector - A selector to filter the elements that trigger the event.eventType - A string containing one or more space-separated JavaScript event types, such as
"click" or "keydown," or custom event names.handler - A function to execute at the time the event is triggered.JQueryElementpublic JQueryElement delegate(String selector, String eventType, Object eventData, Functions.EventFunc handler)
selector - A selector to filter the elements that trigger the event.eventType - A string containing one or more space-separated JavaScript event types, such as
"click" or "keydown," or custom event names.eventData - An object containing data that will be passed to the event handler.handler - A function to execute at the time the event is triggered.JQueryElementpublic JQueryElement delegate(String selector, String eventType, Object eventData, Functions.EventFunc1 handler)
selector - A selector to filter the elements that trigger the event.eventType - A string containing one or more space-separated JavaScript event types, such as
"click" or "keydown," or custom event names.eventData - An object containing data that will be passed to the event handler.handler - A function to execute at the time the event is triggered.JQueryElementpublic JQueryElement delegate(String selector, String eventType, Object eventData, Functions.EventFunc2 handler)
selector - A selector to filter the elements that trigger the event.eventType - A string containing one or more space-separated JavaScript event types, such as
"click" or "keydown," or custom event names.eventData - An object containing data that will be passed to the event handler.handler - A function to execute at the time the event is triggered.JQueryElementpublic JQueryElement delegate(String selector, Object events)
selector - A selector to filter the elements that trigger the event.events - A plain object of one or more event types and functions to execute for them.JQueryElementpublic JQueryElement dequeue()
JQueryElementpublic JQueryElement dequeue(String queueName)
queueName - A string containing the name of the queue. Defaults to fx, the standard effects queue.JQueryElementpublic JQueryElement detach()
JQueryElementpublic JQueryElement detach(String selector)
selector - A selector expression that filters the set of matched elements to be removed.JQueryElementpublic JQueryElement each(Functions.Func2<Object,com.google.gwt.dom.client.Element> function)
function - A function to execute for each matched element.JQueryElementpublic JQueryElement empty()
JQueryElementpublic JQueryElement end()
JQueryElementpublic JQueryElement eq(int index)
index - An integer indicating the 0-based position of the element. or,
An integer indicating the position of the element, counting backwards
from the last element in the set.JQueryElementpublic JQueryElement error(Functions.EventFunc1 handler)
handler - A function to execute when the event is triggered.JQueryElementpublic JQueryElement error(Functions.EventFunc2 handler)
handler - A function to execute when the event is triggered.JQueryElementpublic JQueryElement error(Object eventData, Functions.EventFunc handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute when the event is triggered.JQueryElementpublic JQueryElement error(Object eventData, Functions.EventFunc1 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute when the event is triggered.JQueryElementpublic JQueryElement error(Object eventData, Functions.EventFunc2 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute when the event is triggered.JQueryElementpublic JQueryElement fadeIn()
JQueryElementpublic JQueryElement fadeIn(double duration)
duration - A string or number determining how long the animation will run.JQueryElementpublic JQueryElement fadeIn(Functions.Func complete)
complete - A function to call once the animation is complete, called once per matched element.JQueryElementpublic JQueryElement fadeIn(String easing)
easing - A string indicating which easing function to use for the transition.JQueryElementpublic JQueryElement fadeIn(double duration, Functions.Func complete)
duration - A string or number determining how long the animation will run.complete - A function to call once the animation is complete, called once per matched element.JQueryElementpublic JQueryElement fadeIn(double duration, String easing)
duration - A string or number determining how long the animation will run.easing - A string indicating which easing function to use for the transition.JQueryElementpublic JQueryElement fadeIn(double duration, String easing, Functions.Func complete)
duration - A string or number determining how long the animation will run.easing - A string indicating which easing function to use for the transition.complete - A function to call once the animation is complete, called once per matched element.JQueryElementpublic JQueryElement fadeIn(AnimateOptions options)
options - A map of additional options to pass to the method.JQueryElementpublic JQueryElement fadeOut()
JQueryElementpublic JQueryElement fadeOut(double duration)
duration - A string or number determining how long the animation will run.JQueryElementpublic JQueryElement fadeOut(Functions.Func complete)
complete - A function to call once the animation is complete, called once per matched element.JQueryElementpublic JQueryElement fadeOut(String easing)
easing - A string indicating which easing function to use for the transition.JQueryElementpublic JQueryElement fadeOut(double duration, Functions.Func complete)
duration - A string or number determining how long the animation will run.complete - A function to call once the animation is complete, called once per matched element.JQueryElementpublic JQueryElement fadeOut(double duration, String easing)
duration - A string or number determining how long the animation will run.easing - A string indicating which easing function to use for the transition.JQueryElementpublic JQueryElement fadeOut(double duration, String easing, Functions.Func complete)
duration - A string or number determining how long the animation will run.easing - A string indicating which easing function to use for the transition.complete - A function to call once the animation is complete, called once per matched element.JQueryElementpublic JQueryElement fadeOut(AnimateOptions options)
options - A map of additional options to pass to the method.JQueryElementpublic JQueryElement fadeTo(double duration, double opacity)
duration - A string or number determining how long the animation will run.opacity - A number between 0 and 1 denoting the target opacity.JQueryElementpublic JQueryElement fadeTo(double duration, double opacity, Functions.Func complete)
duration - A string or number determining how long the animation will run.opacity - A number between 0 and 1 denoting the target opacity.complete - A function to call once the animation is complete.JQueryElementpublic JQueryElement fadeTo(double duration, double opacity, String easing)
duration - A string or number determining how long the animation will run.opacity - A number between 0 and 1 denoting the target opacity.easing - A string indicating which easing function to use for the transition.JQueryElementpublic JQueryElement fadeTo(double duration, double opacity, String easing, Functions.Func complete)
duration - A string or number determining how long the animation will run.opacity - A number between 0 and 1 denoting the target opacity.easing - A string indicating which easing function to use for the transition.complete - A function to call once the animation is complete.JQueryElementpublic JQueryElement fadeToggle(double duration)
duration - A string or number determining how long the animation will run.JQueryElementpublic JQueryElement fadeToggle(Functions.Func complete)
complete - A function to call once the animation is complete, called once per matched element.JQueryElementpublic JQueryElement fadeToggle(String easing)
easing - A string indicating which easing function to use for the transition.JQueryElementpublic JQueryElement fadeToggle(double duration, Functions.Func complete)
duration - A string or number determining how long the animation will run.complete - A function to call once the animation is complete, called once per matched element.JQueryElementpublic JQueryElement fadeToggle(double duration, String easing)
duration - A string or number determining how long the animation will run.easing - A string indicating which easing function to use for the transition.JQueryElementpublic JQueryElement fadeToggle(double duration, String easing, Functions.Func complete)
duration - A string or number determining how long the animation will run.easing - A string indicating which easing function to use for the transition.complete - A function to call once the animation is complete, called once per matched element.JQueryElementpublic JQueryElement fadeToggle(AnimateOptions options)
options - A map of additional options to pass to the method.JQueryElementpublic JQueryElement filter(String selector)
selector - A string containing a selector expression to match the current set of elements against.JQueryElementpublic JQueryElement filter(Functions.FuncRet2<Integer,com.google.gwt.dom.client.Element> function)
function - A function used as a test for each element in the set. this is the current DOM element.JQueryElementpublic JQueryElement filter(com.google.gwt.dom.client.Element... elements)
elements - One or more DOM elements to match the current set of elements against.JQueryElementpublic JQueryElement filter(JQueryElement selection)
selection - An existing jQuery object to match the current set of elements against.JQueryElementpublic JQueryElement find(String selector)
selector - A string containing a selector expression to match elements against.JQueryElementpublic JQueryElement find(com.google.gwt.dom.client.Element... elements)
elements - DOM elements to match elements against.JQueryElementpublic JQueryElement find(JQueryElement selection)
selection - jQuery object to match elements against.JQueryElementpublic JQueryElement finish()
JQueryElementpublic JQueryElement finish(String queue)
queue - The name of the queue in which to stop animations.JQueryElementpublic JQueryElement first()
JQueryElementpublic JQueryElement focus(Functions.EventFunc1 handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement focus(Functions.EventFunc2 handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement focus(Object eventData, Functions.EventFunc handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement focus(Object eventData, Functions.EventFunc1 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement focus(Object eventData, Functions.EventFunc2 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement focus()
JQueryElementpublic JQueryElement focusin(Functions.EventFunc1 handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement focusin(Functions.EventFunc2 handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement focusin(Object eventData, Functions.EventFunc handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement focusin(Object eventData, Functions.EventFunc1 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement focusin(Object eventData, Functions.EventFunc2 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement focusin()
JQueryElementpublic JQueryElement focusout(Functions.EventFunc1 handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement focusout(Functions.EventFunc2 handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement focusout(Object eventData, Functions.EventFunc handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement focusout(Object eventData, Functions.EventFunc1 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement focusout(Object eventData, Functions.EventFunc2 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement focusout()
JQueryElementpublic com.google.gwt.dom.client.Element get(int index)
index - A zero-based integer indicating which element to retrieve.public com.google.gwt.dom.client.Element[] get()
public JQueryElement has(String selector)
selector - A string containing a selector expression to match elements against.JQueryElementpublic JQueryElement has(com.google.gwt.dom.client.Element contained)
contained - A DOM element to match elements against.JQueryElementpublic boolean hasClass(String className)
className - The class name to search for.public double height()
public double height(int height)
height - An integer representing the number of pixels.JQueryElementpublic JQueryElement height(String height)
height - An integer with an optional unit of measure appended (as a string).JQueryElementpublic JQueryElement height(Functions.FuncRet2<Integer,Integer> function)
function - A function returning the height to set. Receives the index position of the
element in the set and the old height as arguments. Within the function,
this refers to the current element in the set. You can return String or Number.JQueryElementpublic JQueryElement hide()
JQueryElementpublic JQueryElement hide(double duration)
duration - A string or number determining how long the animation will run.JQueryElementpublic JQueryElement hide(Functions.Func complete)
complete - A function to call once the animation is complete, called once per
matched element.JQueryElementpublic JQueryElement hide(double duration, Functions.Func complete)
duration - A string or number determining how long the animation will run.complete - A function to call once the animation is complete, called once per
matched element.JQueryElementpublic JQueryElement hide(AnimateOptions options)
options - A map of additional options to pass to the method.JQueryElementpublic JQueryElement hover(Functions.EventFunc1 handlerIn, Functions.EventFunc handlerOut)
handlerIn - A function to execute when the mouse pointer enters the element.handlerOut - A function to execute when the mouse pointer leaves the element.JQueryElementpublic JQueryElement hover(Functions.EventFunc1 handlerIn, Functions.EventFunc1 handlerOut)
handlerIn - A function to execute when the mouse pointer enters the element.handlerOut - A function to execute when the mouse pointer leaves the element.JQueryElementpublic JQueryElement hover(Functions.EventFunc2 handlerIn, Functions.EventFunc2 handlerOut)
handlerIn - A function to execute when the mouse pointer enters the element.handlerOut - A function to execute when the mouse pointer leaves the element.JQueryElementpublic JQueryElement hover(Functions.EventFunc1 handlerOut)
handlerOut - A function to execute when the mouse pointer leaves the element.JQueryElementpublic JQueryElement hover(Functions.EventFunc2 handlerOut)
handlerOut - A function to execute when the mouse pointer leaves the element.JQueryElementpublic String html()
public JQueryElement html(String htmlString)
htmlString - A string of HTML to set as the content of each matched element.JQueryElementpublic JQueryElement html(Functions.FuncRet2<Integer,String> function)
function - A function returning the HTML content to set. Receives the index position
of the element in the set and the old HTML value as arguments. jQuery
empties the element before calling the function; use the oldhtml argument
to reference the previous content. Within the function, this refers to the
current element in the set.JQueryElementpublic int index()
public int index(String selector)
selector - A selector representing a jQuery collection in which to look for an element.public int index(com.google.gwt.dom.client.Element element)
element - The DOM element within the jQuery object to look for.public int index(JQueryElement element)
element - First element within the jQuery object to look for.public double innerHeight()
public JQueryElement innerHeight(String value)
value - A number along with an optional unit of measure appended (as a string).JQueryElementpublic JQueryElement innerHeight(double value)
value - A number representing the number of pixels.JQueryElementpublic JQueryElement innerHeight(Functions.FuncRet2<Integer,Double> function)
function - A function returning the inner height (including padding but not border)
to set. Receives the index position of the element in the set and the old
inner height as arguments. Within the function, this refers to the current
element in the set. Return String or Number.JQueryElementpublic double innerWidth()
public JQueryElement innerWidth(String value)
value - A number along with an optional unit of measure appended (as a string).JQueryElementpublic JQueryElement innerWidth(double value)
value - A number representing the number of pixels.JQueryElementpublic JQueryElement innerWidth(Functions.FuncRet2<Integer,Double> function)
function - A function returning the inner height (including padding but not border)
to set. Receives the index position of the element in the set and the old
inner height as arguments. Within the function, this refers to the current
element in the set. Return String or Number.JQueryElementpublic JQueryElement insertAfter(String selector)
selector - A selector or HTML string; matched set of elements will be inserted after the
element(s) specified by this parameter.JQueryElementpublic JQueryElement insertAfter(com.google.gwt.dom.client.Element... element)
element - An element; matched set of elements will be inserted after the
element(s) specified by this parameter.JQueryElementpublic JQueryElement insertAfter(JQueryElement element)
element - jQuery object; matched set of elements will be inserted after the
element(s) specified by this parameter.JQueryElementpublic JQueryElement insertBefore(JQueryElement element)
element - jQuery object; matched set of elements will be inserted after the
element(s) specified by this parameter.JQueryElementpublic boolean is(String selector)
selector - A string containing a selector expression to match elements against.public boolean is(Functions.FuncRet2<Integer,com.google.gwt.dom.client.Element> function)
function - A function used as a test for every element in the set. It accepts two
arguments, index, which is the element's index in the jQuery collection,
and element, which is the DOM element. Within the function, this refers
to the current DOM element. Return a Boolean value.public boolean is(JQueryElement selection)
selection - An existing jQuery object to match the current set of elements against.public boolean is(com.google.gwt.dom.client.Element... elements)
elements - One or more elements to match the current set of elements against.public JQueryElement keydown(Functions.KeyEventFunc handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement keydown(Object eventData, Functions.KeyEventFunc handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement keydown()
JQueryElementpublic JQueryElement keypress(Functions.KeyEventFunc handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement keypress(Object eventData, Functions.KeyEventFunc handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement keypress()
JQueryElementpublic JQueryElement keyup(Functions.KeyEventFunc handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement keyup(Object eventData, Functions.KeyEventFunc handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement keyup()
JQueryElementpublic JQueryElement last()
JQueryElementpublic JQueryElement load(String url)
url - A string containing the URL to which the request is sent.JQueryElementpublic JQueryElement load(String url, String data)
url - A string containing the URL to which the request is sent.data - A plain object or string that is sent to the server with the request.JQueryElementpublic JQueryElement load(String url, String data, Functions.Func3<String,String,Object> complete)
url - A string containing the URL to which the request is sent.data - A plain object or string that is sent to the server with the request.complete - A callback function that is executed when the request completes.JQueryElementpublic JQueryElement load(Functions.EventFunc1 handler)
handler - A function to execute when the event is triggered.JQueryElementpublic JQueryElement load(Functions.EventFunc2 handler)
handler - A function to execute when the event is triggered.JQueryElementpublic JQueryElement load(Object eventData, Functions.EventFunc handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute when the event is triggered.JQueryElementpublic JQueryElement load(Object eventData, Functions.EventFunc1 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute when the event is triggered.JQueryElementpublic JQueryElement load(Object eventData, Functions.EventFunc2 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute when the event is triggered.JQueryElementpublic JQueryElement map(Functions.FuncRet2<Integer,com.google.gwt.dom.client.Element> callback)
callback - A function object that will be invoked for each element in the current set.JQueryElementpublic JQueryElement mousedown(Functions.EventFunc1 handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mousedown(Functions.EventFunc2 handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mousedown(Object eventData, Functions.EventFunc handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mousedown(Object eventData, Functions.EventFunc1 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mousedown(Object eventData, Functions.EventFunc2 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mousedown()
JQueryElementpublic JQueryElement mouseenter(Functions.EventFunc1 handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mouseenter(Functions.EventFunc2 handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mouseenter(Object eventData, Functions.EventFunc handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mouseenter(Object eventData, Functions.EventFunc1 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mouseenter(Object eventData, Functions.EventFunc2 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mouseenter()
JQueryElementpublic JQueryElement mouseleave(Functions.EventFunc1 handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mouseleave(Functions.EventFunc2 handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mouseleave(Object eventData, Functions.EventFunc handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mouseleave(Object eventData, Functions.EventFunc1 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mouseleave(Object eventData, Functions.EventFunc2 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mouseleave()
JQueryElementpublic JQueryElement mousemove(Functions.EventFunc1 handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mousemove(Functions.EventFunc2 handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mousemove(Object eventData, Functions.EventFunc handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mousemove(Object eventData, Functions.EventFunc1 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mousemove(Object eventData, Functions.EventFunc2 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mousemove()
JQueryElementpublic JQueryElement mouseout(Functions.EventFunc1 handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mouseout(Functions.EventFunc2 handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mouseout(Object eventData, Functions.EventFunc handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mouseout(Object eventData, Functions.EventFunc1 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mouseout(Object eventData, Functions.EventFunc2 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mouseout()
JQueryElementpublic JQueryElement mouseover(Functions.EventFunc1 handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mouseover(Functions.EventFunc2 handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mouseover(Object eventData, Functions.EventFunc handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mouseover(Object eventData, Functions.EventFunc1 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mouseover(Object eventData, Functions.EventFunc2 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mouseover()
JQueryElementpublic JQueryElement mouseup(Functions.EventFunc1 handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mouseup(Functions.EventFunc2 handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mouseup(Object eventData, Functions.EventFunc handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mouseup(Object eventData, Functions.EventFunc1 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mouseup(Object eventData, Functions.EventFunc2 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement mouseup()
JQueryElementpublic JQueryElement next()
JQueryElementpublic JQueryElement next(String selector)
selector - A string containing a selector expression to match elements against.JQueryElementpublic JQueryElement nextAll()
JQueryElementpublic JQueryElement nextAll(String selector)
selector - A string containing a selector expression to match elements against.JQueryElementpublic JQueryElement nextUntil(String selector, String filter)
selector - A string containing a selector expression to indicate where to stop
matching following sibling elements.filter - A string containing a selector expression to match elements against.JQueryElementpublic JQueryElement nextUntil(com.google.gwt.dom.client.Element element)
element - A DOM node indicating where to stop matching following sibling elements.JQueryElementpublic JQueryElement nextUntil(com.google.gwt.dom.client.Element element, String filter)
element - A DOM node indicating where to stop matching following sibling elements.filter - A string containing a selector expression to match elements against.JQueryElementpublic JQueryElement nextUntil(JQueryElement element)
element - A jQuery object indicating where to stop matching following sibling elements.JQueryElementpublic JQueryElement nextUntil(JQueryElement element, String filter)
element - A jQuery object indicating where to stop matching following sibling elements.filter - A string containing a selector expression to match elements against.JQueryElementpublic JQueryElement not(String selector)
selector - A string containing a selector expression, a DOM element, or an array of
elements to match against the set.JQueryElementpublic JQueryElement not(Functions.FuncRet2<Integer,com.google.gwt.dom.client.Element> function)
function - A function used as a test for each element in the set. It accepts two arguments,
index, which is the element's index in the jQuery collection, and element, which
is the DOM element. Within the function, this refers to the current DOM element.JQueryElementpublic JQueryElement not(com.google.gwt.dom.client.Element... elements)
elements - An existing jQuery object to match the current set of elements against.JQueryElementpublic JQueryElement not(JQueryElement selection)
selection - An existing jQuery object to match the current set of elements against.JQueryElementpublic JQueryElement off()
JQueryElementpublic JQueryElement off(Event event)
event - A jQuery.Event object.JQueryElementpublic JQueryElement off(String events)
events - One or more space-separated event types and optional namespaces, or just
namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".JQueryElementpublic JQueryElement off(String events, Functions.EventFunc handler)
events - One or more space-separated event types and optional namespaces, or just
namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".handler - A handler function previously attached for the event(s), or the special
value false.JQueryElementpublic JQueryElement off(String events, Functions.EventFunc1 handler)
events - One or more space-separated event types and optional namespaces, or just
namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".handler - A handler function previously attached for the event(s), or the special
value false.JQueryElementpublic JQueryElement off(String events, Functions.EventFunc2 handler)
events - One or more space-separated event types and optional namespaces, or just
namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".handler - A handler function previously attached for the event(s), or the special
value false.JQueryElementpublic JQueryElement off(String events, Functions.EventFunc3 handler)
events - One or more space-separated event types and optional namespaces, or just
namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".handler - A handler function previously attached for the event(s), or the special
value false.JQueryElementpublic JQueryElement off(String events, String selector, Functions.EventFunc handler)
events - One or more space-separated event types and optional namespaces, or just
namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".selector - A selector which should match the one originally passed to .off() when
attaching event handlers.handler - A handler function previously attached for the event(s), or the special
value false.JQueryElementpublic JQueryElement off(String events, String selector, Functions.EventFunc1 handler)
events - One or more space-separated event types and optional namespaces, or just
namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".selector - A selector which should match the one originally passed to .off() when
attaching event handlers.handler - A handler function previously attached for the event(s), or the special
value false.JQueryElementpublic JQueryElement off(String events, String selector, Functions.EventFunc2 handler)
events - One or more space-separated event types and optional namespaces, or just
namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".selector - A selector which should match the one originally passed to .off() when
attaching event handlers.handler - A handler function previously attached for the event(s), or the special
value false.JQueryElementpublic JQueryElement off(String events, String selector, Functions.EventFunc3 handler)
events - One or more space-separated event types and optional namespaces, or just
namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".selector - A selector which should match the one originally passed to .off() when
attaching event handlers.handler - A handler function previously attached for the event(s), or the special
value false.JQueryElementpublic JQueryElement on()
JQueryElementpublic JQueryElement on(Event event)
event - A jQuery.Event object.JQueryElementpublic JQueryElement on(String events)
events - One or more space-separated event types and optional namespaces, or just
namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".JQueryElementpublic JQueryElement on(String events, Functions.EventFunc handler)
events - One or more space-separated event types and optional namespaces, or just
namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".handler - A handler function previously attached for the event(s), or the special
value false.JQueryElementpublic JQueryElement on(String events, Functions.EventFunc1 handler)
events - One or more space-separated event types and optional namespaces, or just
namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".handler - A handler function previously attached for the event(s), or the special
value false.JQueryElementpublic JQueryElement on(String events, Functions.EventFunc2 handler)
events - One or more space-separated event types and optional namespaces, or just
namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".handler - A handler function previously attached for the event(s), or the special
value false.JQueryElementpublic JQueryElement on(String events, Functions.EventFunc3 handler)
events - One or more space-separated event types and optional namespaces, or just
namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".handler - A handler function previously attached for the event(s), or the special
value false.JQueryElementpublic JQueryElement on(String events, String selector, Functions.EventFunc handler)
events - One or more space-separated event types and optional namespaces, or just
namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".selector - A selector which should match the one originally passed to .on() when
attaching event handlers.handler - A handler function previously attached for the event(s), or the special
value false.JQueryElementpublic JQueryElement on(String events, String selector, Functions.EventFunc1 handler)
events - One or more space-separated event types and optional namespaces, or just
namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".selector - A selector which should match the one originally passed to .on() when
attaching event handlers.handler - A handler function previously attached for the event(s), or the special
value false.JQueryElementpublic JQueryElement on(String events, String selector, Functions.EventFunc2 handler)
events - One or more space-separated event types and optional namespaces, or just
namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".selector - A selector which should match the one originally passed to .on() when
attaching event handlers.handler - A handler function previously attached for the event(s), or the special
value false.JQueryElementpublic JQueryElement one()
JQueryElementpublic JQueryElement one(Event event)
event - A jQuery.Event object.JQueryElementpublic JQueryElement one(String events)
events - One or more space-separated event types and optional namespaces, or just
namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".JQueryElementpublic JQueryElement one(String events, Functions.EventFunc handler)
events - One or more space-separated event types and optional namespaces, or just
namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".handler - A handler function previously attached for the event(s), or the special
value false.JQueryElementpublic JQueryElement one(String events, Functions.EventFunc1 handler)
events - One or more space-separated event types and optional namespaces, or just
namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".handler - A handler function previously attached for the event(s), or the special
value false.JQueryElementpublic JQueryElement one(String events, Functions.EventFunc2 handler)
events - One or more space-separated event types and optional namespaces, or just
namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".handler - A handler function previously attached for the event(s), or the special
value false.JQueryElementpublic JQueryElement one(String events, String selector, Functions.EventFunc handler)
events - One or more space-separated event types and optional namespaces, or just
namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".selector - A selector which should match the one originally passed to .on() when
attaching event handlers.handler - A handler function previously attached for the event(s), or the special
value false.JQueryElementpublic JQueryElement one(String events, String selector, Functions.EventFunc1 handler)
events - One or more space-separated event types and optional namespaces, or just
namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".selector - A selector which should match the one originally passed to .on() when
attaching event handlers.handler - A handler function previously attached for the event(s), or the special
value false.JQueryElementpublic JQueryElement one(String events, String selector, Functions.EventFunc2 handler)
events - One or more space-separated event types and optional namespaces, or just
namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".selector - A selector which should match the one originally passed to .on() when
attaching event handlers.handler - A handler function previously attached for the event(s), or the special
value false.JQueryElementpublic Offset offset()
public JQueryElement offset(Offset coordinates)
coordinates - An object containing the properties top and left, which are numbers indicating
the new top and left coordinates for the elements.JQueryElementpublic JQueryElement offset(Functions.FuncRet2<Integer,Offset> function)
function - A function to return the coordinates to set. Receives the index of the element in
the collection as the first argument and the current coordinates as the second argument.
The function should return an object with the new top and left properties.JQueryElementpublic JQueryElement offsetParent()
public int outerHeight()
public int outerHeight(boolean includeMargin)
includeMargin - A Boolean indicating whether to include the element's margin in the calculation.public JQueryElement outerHeight(int value)
value - A number representing the number of pixels.JQueryElementpublic JQueryElement outerHeight(String value)
value - A number along with an optional unit of measure appended (as a string).JQueryElementpublic JQueryElement outerHeight(Functions.Func2<Integer,Integer> function)
function - A function returning the outer height to set. Receives the index position
of the element in the set and the old outer height as arguments. Within the
function, this refers to the current element in the set.JQueryElementpublic int outerWidth()
public int outerWidth(boolean includeMargin)
includeMargin - A Boolean indicating whether to include the element's margin in the calculation.public JQueryElement outerWidth(int value)
value - A number representing the number of pixels.JQueryElementpublic JQueryElement outerWidth(String value)
value - A number along with an optional unit of measure appended (as a string).JQueryElementpublic JQueryElement outerWidth(Functions.Func2<Integer,Integer> function)
function - A function returning the outer height to set. Receives the index position
of the element in the set and the old outer height as arguments. Within the
function, this refers to the current element in the set.JQueryElementpublic JQueryElement parent()
JQueryElementpublic JQueryElement parent(String selector)
selector - A string containing a selector expression to match elements against.JQueryElementpublic JQueryElement parents()
JQueryElementpublic JQueryElement parents(String selector)
selector - A string containing a selector expression to match elements against.JQueryElementpublic JQueryElement parentsUntil(String selector)
selector - A string containing a selector expression to indicate where to
stop matching ancestor elements.JQueryElementpublic JQueryElement parentsUntil(String selector, String filter)
selector - A string containing a selector expression to indicate where to
stop matching ancestor elements.filter - A string containing a selector expression to match elements against.JQueryElementpublic JQueryElement parentsUntil(com.google.gwt.dom.client.Element element)
element - A DOM node indicating where to stop matching ancestor elements.JQueryElementpublic JQueryElement parentsUntil(com.google.gwt.dom.client.Element element, String filter)
element - A DOM node indicating where to stop matching ancestor elements.filter - A string containing a selector expression to match elements against.JQueryElementpublic JQueryElement parentsUntil(JQueryElement element)
element - A jQuery object indicating where to stop matching ancestor elements.JQueryElementpublic JQueryElement parentsUntil(JQueryElement element, String filter)
element - A jQuery object indicating where to stop matching ancestor elements.filter - A string containing a selector expression to match elements against.JQueryElementpublic Offset position()
public JQueryElement prev()
JQueryElementpublic JQueryElement prev(String selector)
selector - A string containing a selector expression to match elements against.JQueryElementpublic JQueryElement prevAll()
JQueryElementpublic JQueryElement prevAll(String selector)
selector - A string containing a selector expression to match elements against.JQueryElementpublic JQueryElement prevUntil(String selector)
selector - A string containing a selector expression to indicate where to
stop matching ancestor elements.JQueryElementpublic JQueryElement prevUntil(String selector, String filter)
selector - A string containing a selector expression to indicate where to
stop matching ancestor elements.filter - A string containing a selector expression to match elements against.JQueryElementpublic JQueryElement prevUntil(com.google.gwt.dom.client.Element element)
element - A DOM node indicating where to stop matching ancestor elements.JQueryElementpublic JQueryElement prevUntil(com.google.gwt.dom.client.Element element, String filter)
element - A DOM node indicating where to stop matching ancestor elements.filter - A string containing a selector expression to match elements against.JQueryElementpublic JQueryElement prevUntil(JQueryElement element)
element - A jQuery object indicating where to stop matching ancestor elements.JQueryElementpublic JQueryElement prevUntil(JQueryElement element, String filter)
element - A jQuery object indicating where to stop matching ancestor elements.filter - A string containing a selector expression to match elements against.JQueryElementpublic Promise promise()
public Promise promise(String type)
type - The type of queue that needs to be observed.public Promise promise(Object target)
target - Object onto which the promise methods have to be attachedpublic Promise promise(String type, Object target)
type - The type of queue that needs to be observed.target - Object onto which the promise methods have to be attachedpublic Object prop(String propertyName)
propertyName - The name of the property to get.public JQueryElement prop(String propertyName, Object value)
propertyName - The name of the property to set.value - A value to set for the property.JQueryElementpublic JQueryElement prop(String propertyName, Functions.FuncRet2<Integer,Object> function)
propertyName - The name of the property to set.function - A function returning the value to set. Receives the index position of the
element in the set and the old property value as arguments. Within the function,
the keyword this refers to the current element.JQueryElementpublic JQueryElement prop(Object properties)
properties - An object of property-value pairs to set.JQueryElementpublic JQueryElement pushStack(com.google.gwt.dom.client.Element... elements)
elements - An array of elements to push onto the stack and make into a new jQuery object.JQueryElementpublic JQueryElement pushStack(com.google.gwt.dom.client.Element[] elements, String name, Object... arguments)
elements - An array of elements to push onto the stack and make into a new jQuery object.name - The name of a jQuery method that generated the array of elements.arguments - The arguments that were passed in to the jQuery method (for serialization).JQueryElementpublic Object[] queue()
public Object[] queue(String queueName)
queueName - A string containing the name of the queue. Defaults to fx, the standard
effects queue.public JQueryElement queue(Object[] newQueue)
newQueue - An array of functions to replace the current queue contents.JQueryElementpublic JQueryElement queue(String queueName, Object... newQueue)
queueName - A string containing the name of the queue. Defaults to fx, the standard
effects queue.newQueue - An array of functions to replace the current queue contents.JQueryElementpublic JQueryElement queue(Functions.Func1<Functions.Func> callback)
callback - The new function to add to the queue, with a function to call that will
dequeue the next item.JQueryElementpublic JQueryElement queue(String queueName, Functions.Func1<Functions.Func> callback)
queueName - A string containing the name of the queue. Defaults to fx, the standard
effects queue.callback - The new function to add to the queue, with a function to call that will
dequeue the next item.JQueryElementpublic JQueryElement ready(Functions.Func handler)
handler - A function to execute after the DOM is ready.JQueryElementpublic JQueryElement remove()
JQueryElementpublic JQueryElement remove(String selector)
selector - A selector expression that filters the set of matched elements to be removed.JQueryElementpublic JQueryElement removeAttr(String attributeName)
attributeName - An attribute to remove; as of version 1.7, it can be a space-separated
list of attributes.JQueryElementpublic JQueryElement removeClass()
JQueryElementpublic JQueryElement removeClass(String className)
className - One or more space-separated classes to be removed from the class
attribute of each matched element.JQueryElementpublic JQueryElement removeClass(Functions.FuncRet2<Integer,String> function)
function - A function returning one or more space-separated class names to be removed.
Receives the index position of the element in the set and the old class value
as arguments. Must return a String.JQueryElementpublic JQueryElement removeData()
JQueryElementpublic JQueryElement removeData(String name)
name - A string naming the piece of data to delete.JQueryElementpublic JQueryElement removeData(String[] list)
list - An array or space-separated string naming the pieces of data to delete.JQueryElementpublic JQueryElement removeProp(String propertyName)
propertyName - The name of the property to remove.JQueryElementpublic JQueryElement replaceAll(String target)
target - A selector string of elements indicating which element(s) to replace.JQueryElementpublic JQueryElement replaceAll(JQueryElement target)
target - A jQuery object of elements indicating which element(s) to replace.JQueryElementpublic JQueryElement replaceAll(com.google.gwt.dom.client.Element... target)
target - DOM element(s) indicating which element(s) to replace.JQueryElementpublic JQueryElement replaceWith(String newContent)
newContent - The content to insert an HTML string.JQueryElementpublic JQueryElement replaceWith(JQueryElement newContent)
newContent - The content to insert, a jQuery object.JQueryElementpublic JQueryElement replaceWith(com.google.gwt.dom.client.Element... newContent)
newContent - The content to insert, a DOM element(s).JQueryElementpublic JQueryElement replaceWith(Functions.Func function)
function - A function that returns content with which to replace the set of matched elements.JQueryElementpublic JQueryElement resize(Functions.EventFunc1 handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement resize(Functions.EventFunc2 handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement resize(Object eventData, Functions.EventFunc handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement resize(Object eventData, Functions.EventFunc1 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement resize(Object eventData, Functions.EventFunc2 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement resize()
JQueryElementpublic JQueryElement scroll(Functions.EventFunc1 handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement scroll(Functions.EventFunc2 handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement scroll(Object eventData, Functions.EventFunc handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement scroll(Object eventData, Functions.EventFunc1 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement scroll(Object eventData, Functions.EventFunc2 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement scroll()
JQueryElementpublic int scrollLeft()
public JQueryElement scrollLeft(int value)
value - An integer indicating the new position to set the scroll bar to.JQueryElementpublic int scrollTop()
public JQueryElement scrollTop(int value)
value - An integer indicating the new position to set the scroll bar to.JQueryElementpublic JQueryElement select(Functions.EventFunc1 handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement select(Functions.EventFunc2 handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement select(Object eventData, Functions.EventFunc handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement select(Object eventData, Functions.EventFunc1 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement select(Object eventData, Functions.EventFunc2 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement select()
JQueryElementpublic String serialize()
public Object[] serializeArray()
public JQueryElement show()
JQueryElementpublic JQueryElement show(double duration)
duration - A string or number determining how long the animation will run.JQueryElementpublic JQueryElement show(Functions.Func complete)
complete - A function to call once the animation is complete, called once per
matched element.JQueryElementpublic JQueryElement show(double duration, Functions.Func complete)
duration - A string or number determining how long the animation will run.complete - A function to call once the animation is complete, called once per
matched element.JQueryElementpublic JQueryElement show(AnimateOptions options)
options - A map of additional options to pass to the method.JQueryElementpublic JQueryElement siblings()
JQueryElementpublic JQueryElement siblings(String selector)
selector - A string containing a selector expression to match elements against.JQueryElementpublic int size()
public JQueryElement slice(int start)
start - An integer indicating the 0-based position at which the elements begin to be
selected. If negative, it indicates an offset from the end of the set.JQueryElementpublic JQueryElement slice(int start, int end)
start - An integer indicating the 0-based position at which the elements begin to be
selected. If negative, it indicates an offset from the end of the set.end - An integer indicating the 0-based position at which the elements stop being selected.
If negative, it indicates an offset from the end of the set. If omitted, the range
continues until the end of the set.JQueryElementpublic JQueryElement slideDown()
JQueryElementpublic JQueryElement slideDown(double duration)
duration - A string or number determining how long the animation will run.JQueryElementpublic JQueryElement slideDown(Functions.Func complete)
complete - A function to call once the animation is complete, called once per
matched element.JQueryElementpublic JQueryElement slideDown(double duration, Functions.Func complete)
duration - A string or number determining how long the animation will run.complete - A function to call once the animation is complete, called once per
matched element.JQueryElementpublic JQueryElement slideDown(AnimateOptions options)
options - A map of additional options to pass to the method.JQueryElementpublic JQueryElement slideToggle()
JQueryElementpublic JQueryElement slideToggle(double duration)
duration - A string or number determining how long the animation will run.JQueryElementpublic JQueryElement slideToggle(Functions.Func complete)
complete - A function to call once the animation is complete, called once per
matched element.JQueryElementpublic JQueryElement slideToggle(double duration, Functions.Func complete)
duration - A string or number determining how long the animation will run.complete - A function to call once the animation is complete, called once per
matched element.JQueryElementpublic JQueryElement slideToggle(AnimateOptions options)
options - A map of additional options to pass to the method.JQueryElementpublic JQueryElement slideUp()
JQueryElementpublic JQueryElement slideUp(double duration)
duration - A string or number determining how long the animation will run.JQueryElementpublic JQueryElement slideUp(Functions.Func complete)
complete - A function to call once the animation is complete, called once per
matched element.JQueryElementpublic JQueryElement slideUp(double duration, Functions.Func complete)
duration - A string or number determining how long the animation will run.complete - A function to call once the animation is complete, called once per
matched element.JQueryElementpublic JQueryElement slideUp(AnimateOptions options)
options - A map of additional options to pass to the method.JQueryElementpublic JQueryElement stop(boolean clearQueue)
clearQueue - A Boolean indicating whether to remove queued animation as well.
Defaults to false.JQueryElementpublic JQueryElement stop(String queue, boolean clearQueue)
queue - The name of the queue in which to stop animations.clearQueue - A Boolean indicating whether to remove queued animation as well.
Defaults to false.JQueryElementpublic JQueryElement stop(boolean clearQueue, boolean jumpToEnd)
clearQueue - A Boolean indicating whether to remove queued animation as well.
Defaults to false.jumpToEnd - A Boolean indicating whether to complete the current animation
immediately. Defaults to false.JQueryElementpublic JQueryElement stop(String queue, boolean clearQueue, boolean jumpToEnd)
queue - The name of the queue in which to stop animations.clearQueue - A Boolean indicating whether to remove queued animation as well.
Defaults to false.jumpToEnd - A Boolean indicating whether to complete the current animation
immediately. Defaults to false.JQueryElementpublic JQueryElement submit(Functions.EventFunc1 handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement submit(Functions.EventFunc2 handler)
handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement submit(Object eventData, Functions.EventFunc handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement submit(Object eventData, Functions.EventFunc1 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement submit(Object eventData, Functions.EventFunc2 handler)
eventData - An object containing data that will be passed to the event handler.handler - A function to execute each time the event is triggered.JQueryElementpublic JQueryElement submit()
JQueryElementpublic String text()
public JQueryElement text(String text)
text - The text to set as the content of each matched element.JQueryElementpublic JQueryElement text(int value)
value - The text to set as the content of each matched element.JQueryElementpublic JQueryElement text(boolean value)
value - The text to set as the content of each matched element.JQueryElementpublic JQueryElement text(Functions.FuncRet2<Integer,String> function)
function - A function returning the text content to set. Receives the index
position of the element in the set and the old text value as arguments.
Must return a String value.JQueryElementpublic com.google.gwt.dom.client.Element[] toArray()
public JQueryElement toggle()
JQueryElementpublic JQueryElement toggle(double duration)
duration - A string or number determining how long the animation will run.JQueryElementpublic JQueryElement toggle(double duration, String easing)
duration - A string or number determining how long the animation will run.easing - A string indicating which easing function to use for the transition.JQueryElementpublic JQueryElement toggle(double duration, Functions.Func complete)
duration - A string or number determining how long the animation will run.complete - A function to call once the animation is complete, called once
per matched element.JQueryElementpublic JQueryElement toggle(AnimateOptions options)
options - A map of additional options to pass to the method.JQueryElementpublic JQueryElement toggle(boolean display)
display - Use true to show the element or false to hide it.JQueryElementpublic JQueryElement toggleClass(String className)
className - One or more class names (separated by spaces) to be toggled for
each element in the matched set.JQueryElementpublic JQueryElement toggleClass(boolean state)
state - A Boolean (not just truthy/falsy) value to determine whether the class
should be added or removed.JQueryElementpublic JQueryElement toggleClass(String className, boolean state)
className - One or more class names (separated by spaces) to be toggled for
each element in the matched set.state - A Boolean (not just truthy/falsy) value to determine whether the class
should be added or removed.JQueryElementpublic JQueryElement toggleClass(Functions.FuncRet3<Integer,String,Boolean> function)
function - A function that returns class names to be toggled in the class attribute
of each element in the matched set. Receives the index position of the element
in the set, the old class value, and the state as arguments.JQueryElementpublic JQueryElement toggleClass(Functions.FuncRet3<Integer,String,Boolean> function, boolean state)
function - A function that returns class names to be toggled in the class attribute
of each element in the matched set. Receives the index position of the element
in the set, the old class value, and the state as arguments.state - A Boolean (not just truthy/falsy) value to determine whether the class
should be added or removed.JQueryElementpublic JQueryElement trigger(Event event, Object... extraParameters)
event - A jQuery.Event object.extraParameters - Additional parameters to pass along to the event handler.JQueryElementpublic JQueryElement trigger(String eventType, Object[] extraParameters)
eventType - A string containing a JavaScript event type, such as click or submit.extraParameters - Additional parameters to pass along to the event handler.JQueryElementpublic JQueryElement trigger(String eventType, Object extraParameters)
eventType - A string containing a JavaScript event type, such as click or submit.extraParameters - Additional parameter to pass along to the event handler.JQueryElementpublic Object triggerHandler(String eventType, Object... extraParameters)
eventType - A string containing a JavaScript event type, such as click or submit.extraParameters - Additional parameters to pass along to the event handler.JQueryElementpublic Object triggerHandler(Event event, Object... extraParameters)
event - A jQuery.Event object.extraParameters - Additional parameters to pass along to the event handler.JQueryElementpublic JQueryElement unbind()
JQueryElementpublic JQueryElement unbind(Event event)
event - A jQuery.Event object.JQueryElementpublic JQueryElement unbind(String eventType)
eventType - A string containing a JavaScript event type, such as click or submit.JQueryElementpublic JQueryElement unbind(String eventType, Functions.EventFunc handler)
eventType - A string containing a JavaScript event type, such as click or submit.handler - A handler function previously attached for the event(s), or the special
value false.JQueryElementpublic JQueryElement unbind(String eventType, Functions.EventFunc1 handler)
eventType - A string containing a JavaScript event type, such as click or submit.handler - A handler function previously attached for the event(s), or the special
value false.JQueryElementpublic JQueryElement unbind(String eventType, Functions.EventFunc2 handler)
eventType - A string containing a JavaScript event type, such as click or submit.handler - A handler function previously attached for the event(s), or the special
value false.JQueryElementpublic JQueryElement unbind(String eventType, boolean falsed)
eventType - A string containing a JavaScript event type, such as click or submit.falsed - Unbinds the corresponding 'return false' function that was bound
using .bind( eventType, false ).JQueryElementpublic JQueryElement wrap(String wrappingElement)
wrappingElement - A selector or HTML string specifying the structure to wrap around the
matched elements. A selector matching more than one element, the first
element will be used.JQueryElementpublic JQueryElement wrap(com.google.gwt.dom.client.Element wrappingElement)
wrappingElement - An element specifying the structure to wrap around the matched elements.JQueryElementpublic JQueryElement wrap(JQueryElement wrappingElement)
wrappingElement - A jQuery object specifying the structure to wrap around the matched elements.
When you pass a jQuery collection containing more than one element, or a
selector matching more than one element, the first element will be used.JQueryElementpublic JQueryElement wrap(Functions.FuncRet1<Integer> function)
function - A callback function returning the HTML content or jQuery object to wrap around the
matched elements. Receives the index position of the element in the set as an argument.
Within the function, this refers to the current element in the set. Must return a String
or jQuery element.JQueryElementpublic JQueryElement wrapAll(String wrappingElement)
wrappingElement - A selector or HTML string specifying the structure to wrap around the
matched elements. A selector matching more than one element, the first
element will be used.JQueryElementpublic JQueryElement wrapAll(com.google.gwt.dom.client.Element wrappingElement)
wrappingElement - An element specifying the structure to wrap around the matched elements.JQueryElementpublic JQueryElement wrapAll(JQueryElement wrappingElement)
wrappingElement - A jQuery object specifying the structure to wrap around the matched elements.
When you pass a jQuery collection containing more than one element, or a
selector matching more than one element, the first element will be used.JQueryElementpublic JQueryElement wrapAll(Functions.FuncRet1<Integer> function)
function - A callback function returning the HTML content or jQuery object to wrap around the
matched elements. Receives the index position of the element in the set as an argument.
Within the function, this refers to the current element in the set. Must return a String
or jQuery element.JQueryElementpublic JQueryElement wrapInner(String wrappingElement)
wrappingElement - A selector or HTML string specifying the structure to wrap around the
matched elements. A selector matching more than one element, the first
element will be used.JQueryElementpublic JQueryElement wrapInner(com.google.gwt.dom.client.Element wrappingElement)
wrappingElement - An element specifying the structure to wrap around the matched elements.JQueryElementpublic JQueryElement wrapInner(JQueryElement wrappingElement)
wrappingElement - A jQuery object specifying the structure to wrap around the matched elements.
When you pass a jQuery collection containing more than one element, or a
selector matching more than one element, the first element will be used.JQueryElementpublic JQueryElement wrapInner(Functions.FuncRet1<Integer> function)
function - A callback function returning the HTML content or jQuery object to wrap around the
matched elements. Receives the index position of the element in the set as an argument.
Within the function, this refers to the current element in the set. Must return a String
or jQuery element.JQueryElementpublic JQueryElement unwrap()
JQueryElementpublic JQueryElement val(String value)
value - A string of text corresponding to the value of each matched element
to set as selected/checked.JQueryElementpublic JQueryElement val(int value)
value - a number corresponding to the value of each matched element to set
as selected/checked.JQueryElementpublic JQueryElement val(String[] value)
value - An array of strings corresponding to the value of each matched element
to set as selected/checked.JQueryElementpublic int width()
public JQueryElement width(int width)
width - An integer representing the number of pixels.JQueryElementpublic JQueryElement width(String width)
width - An integer along with an optional unit of measure appended (as a string).JQueryElementpublic JQueryElement width(Functions.FuncRet2<Integer,Integer> function)
function - A function returning the width to set. Receives the index position of
the element in the set and the old width as arguments. Within the function,
this refers to the current element in the set. Must return a String or NumberJQueryElementCopyright © 2017. All rights reserved.