All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.java.html.lib.jquery.JQueryStatic Maven / Gradle / Ivy

package net.java.html.lib.jquery;
public class JQueryStatic extends net.java.html.lib.Objs {
  protected JQueryStatic(net.java.html.lib.Objs.Constructor c, java.lang.Object js) {
    super(c, js);
  }
  private static final class $Constructor extends net.java.html.lib.Objs.Constructor {
    $Constructor() {
      super(JQueryStatic.class);
    }
    @Override
    public JQueryStatic create(java.lang.Object obj) {
      return obj == null ? null : new JQueryStatic(this, obj);
    }
  };
  private static final $Constructor $AS = new $Constructor();
  public static JQueryStatic $as(java.lang.Object obj) {
    return $AS.create(obj);
  }
  public net.java.html.lib.Objs.Property ajaxSettings = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.jquery.JQueryAjaxSettings.class, "ajaxSettings");
  public net.java.html.lib.jquery.JQueryAjaxSettings ajaxSettings() { return ajaxSettings.get(); }
  /**
  * Create a serialized representation of an array or object, suitable for use in a URL query string or Ajax request.
  */
  public net.java.html.lib.Objs.Property param = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.jquery.JQueryParam.class, "param");
  /**
  * Create a serialized representation of an array or object, suitable for use in a URL query string or Ajax request.
  */
  public java.lang.String param(java.lang.Object obj) {
    return $Typings$.param$558($js(this), /* AnyKeyword*/$js(obj));
  }
  /**
  * Create a serialized representation of an array or object, suitable for use in a URL query string or Ajax request.
  */
  public java.lang.String param(java.lang.Object obj, java.lang.Boolean traditional) {
    return $Typings$.param$559($js(this), /* AnyKeyword*/$js(obj), traditional);
  }
  public net.java.html.lib.jquery.JQuery $apply(java.lang.String selector, net.java.html.lib.dom.Element context) {
    return (net.java.html.lib.jquery.JQuery)net.java.html.lib.jquery.JQuery.$as($Typings$.$apply$560($js(this), selector, /* UnionType*/$js(context)));
  }
  public net.java.html.lib.jquery.JQuery $apply(java.lang.String selector, net.java.html.lib.jquery.JQuery context) {
    return (net.java.html.lib.jquery.JQuery)net.java.html.lib.jquery.JQuery.$as($Typings$.$apply$560($js(this), selector, /* UnionType*/$js(context)));
  }
  public net.java.html.lib.jquery.JQuery $apply(java.lang.String selector) {
    return (net.java.html.lib.jquery.JQuery)net.java.html.lib.jquery.JQuery.$as($Typings$.$apply$561($js(this), selector));
  }
  // CallSignature: {"children":[],"kind":"CallSignature","comment":"/**\n     * Accepts a string containing a CSS selector which is then used to match a set of elements.\n     *\n     * @param selector A string containing a selector expression\n     * @param context A DOM Element, Document, or jQuery to use as context\n     */","name":null,"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"JQuery","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"text":null,"declarationList":null,"parameters":[{"name":{"kind":"Identifier","text":"selector","right":[]},"type":{"kind":"StringKeyword","text":null,"typeName":null,"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null},{"name":{"kind":"Identifier","text":"context","right":[]},"type":{"kind":"UnionType","text":null,"typeName":null,"type":[],"types":[{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"Element","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"JQuery","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"questionToken":{"kind":"QuestionToken"},"dotDotDotToken":null}],"typeParameters":[],"typeArguments":[],"members":[],"heritageClauses":[],"expression":[],"body":[],"statements":[],"moduleReference":[]}
  public net.java.html.lib.jquery.JQuery $apply(net.java.html.lib.dom.Element element) {
    return (net.java.html.lib.jquery.JQuery)net.java.html.lib.jquery.JQuery.$as($Typings$.$apply$562($js(this), /* FirstTypeNode*/$js(element)));
  }
  // CallSignature: {"children":[],"kind":"CallSignature","comment":"/**\n     * Accepts a string containing a CSS selector which is then used to match a set of elements.\n     *\n     * @param element A DOM element to wrap in a jQuery object.\n     */","name":null,"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"JQuery","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"text":null,"declarationList":null,"parameters":[{"name":{"kind":"Identifier","text":"element","right":[]},"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"Element","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null}],"typeParameters":[],"typeArguments":[],"members":[],"heritageClauses":[],"expression":[],"body":[],"statements":[],"moduleReference":[]}
  public net.java.html.lib.jquery.JQuery $apply(net.java.html.lib.dom.Element[] elementArray) {
    return (net.java.html.lib.jquery.JQuery)net.java.html.lib.jquery.JQuery.$as($Typings$.$apply$563($js(this), /* ArrayType*/$js(elementArray)));
  }
  // CallSignature: {"children":[],"kind":"CallSignature","comment":"/**\n     * Accepts a string containing a CSS selector which is then used to match a set of elements.\n     *\n     * @param elementArray An array containing a set of DOM elements to wrap in a jQuery object.\n     */","name":null,"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"JQuery","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"text":null,"declarationList":null,"parameters":[{"name":{"kind":"Identifier","text":"elementArray","right":[]},"type":{"kind":"ArrayType","text":null,"typeName":null,"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"Element","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null}],"typeParameters":[],"typeArguments":[],"members":[],"heritageClauses":[],"expression":[],"body":[],"statements":[],"moduleReference":[]}
  public net.java.html.lib.jquery.JQuery $apply(net.java.html.lib.Function.A1 callback) {
    return (net.java.html.lib.jquery.JQuery)net.java.html.lib.jquery.JQuery.$as($Typings$.$apply$564($js(this), net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(callback, new Class[] {net.java.html.lib.jquery.JQueryStatic.class}))));
  }
  // CallSignature: {"children":[],"kind":"CallSignature","comment":"/**\n     * Binds a function to be executed when the DOM has finished loading.\n     *\n     * @param callback A function to execute after the DOM is ready.\n     */","name":null,"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"JQuery","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"text":null,"declarationList":null,"parameters":[{"name":{"kind":"Identifier","text":"callback","right":[]},"type":{"kind":"FunctionType","text":null,"typeName":null,"type":[{"kind":"AnyKeyword","text":null,"typeName":null,"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"types":[],"typeArguments":[],"parameters":[{"name":{"kind":"Identifier","text":"jQueryAlias","right":[]},"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"JQueryStatic","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"questionToken":{"kind":"QuestionToken"},"dotDotDotToken":null}],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null}],"typeParameters":[],"typeArguments":[],"members":[],"heritageClauses":[],"expression":[],"body":[],"statements":[],"moduleReference":[]}
  public net.java.html.lib.jquery.JQuery $apply(net.java.html.lib.Objs object) {
    return (net.java.html.lib.jquery.JQuery)net.java.html.lib.jquery.JQuery.$as($Typings$.$apply$565($js(this), /* TypeLiteral*/$js(object)));
  }
  // CallSignature: {"children":[],"kind":"CallSignature","comment":"/**\n     * Accepts a string containing a CSS selector which is then used to match a set of elements.\n     *\n     * @param object A plain object to wrap in a jQuery object.\n     */","name":null,"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"JQuery","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"text":null,"declarationList":null,"parameters":[{"name":{"kind":"Identifier","text":"object","right":[]},"type":{"kind":"TypeLiteral","text":null,"typeName":null,"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null}],"typeParameters":[],"typeArguments":[],"members":[],"heritageClauses":[],"expression":[],"body":[],"statements":[],"moduleReference":[]}
  public net.java.html.lib.jquery.JQuery $apply(net.java.html.lib.jquery.JQuery object) {
    return (net.java.html.lib.jquery.JQuery)net.java.html.lib.jquery.JQuery.$as($Typings$.$apply$566($js(this), /* FirstTypeNode*/$js(object)));
  }
  // CallSignature: {"children":[],"kind":"CallSignature","comment":"/**\n     * Accepts a string containing a CSS selector which is then used to match a set of elements.\n     *\n     * @param object An existing jQuery object to clone.\n     */","name":null,"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"JQuery","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"text":null,"declarationList":null,"parameters":[{"name":{"kind":"Identifier","text":"object","right":[]},"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"JQuery","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null}],"typeParameters":[],"typeArguments":[],"members":[],"heritageClauses":[],"expression":[],"body":[],"statements":[],"moduleReference":[]}
  public net.java.html.lib.jquery.JQuery $apply() {
    return (net.java.html.lib.jquery.JQuery)net.java.html.lib.jquery.JQuery.$as($Typings$.$apply$567($js(this)));
  }
  // CallSignature: {"children":[],"kind":"CallSignature","comment":"/**\n     * Specify a function to execute when the DOM is fully loaded.\n     */","name":null,"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"JQuery","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"text":null,"declarationList":null,"parameters":[],"typeParameters":[],"typeArguments":[],"members":[],"heritageClauses":[],"expression":[],"body":[],"statements":[],"moduleReference":[]}
  public net.java.html.lib.jquery.JQuery $apply(java.lang.String html, net.java.html.lib.dom.Document ownerDocument) {
    return (net.java.html.lib.jquery.JQuery)net.java.html.lib.jquery.JQuery.$as($Typings$.$apply$568($js(this), html, /* FirstTypeNode*/$js(ownerDocument)));
  }
  // skipping MethodKey{name={"kind":"FirstTypeNode","text":"$apply","right":[]}, parameters=[java.lang.String]}
  // CallSignature: {"children":[],"kind":"CallSignature","comment":"/**\n     * Creates DOM elements on the fly from the provided string of raw HTML.\n     *\n     * @param html A string of HTML to create on the fly. Note that this parses HTML, not XML.\n     * @param ownerDocument A document in which the new elements will be created.\n     */","name":null,"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"JQuery","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"text":null,"declarationList":null,"parameters":[{"name":{"kind":"Identifier","text":"html","right":[]},"type":{"kind":"StringKeyword","text":null,"typeName":null,"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null},{"name":{"kind":"Identifier","text":"ownerDocument","right":[]},"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"Document","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"questionToken":{"kind":"QuestionToken"},"dotDotDotToken":null}],"typeParameters":[],"typeArguments":[],"members":[],"heritageClauses":[],"expression":[],"body":[],"statements":[],"moduleReference":[]}
  public net.java.html.lib.jquery.JQuery $apply(java.lang.String html, net.java.html.lib.Objs attributes) {
    return (net.java.html.lib.jquery.JQuery)net.java.html.lib.jquery.JQuery.$as($Typings$.$apply$570($js(this), html, /* FirstTypeNode*/$js(attributes)));
  }
  // CallSignature: {"children":[],"kind":"CallSignature","comment":"/**\n     * Creates DOM elements on the fly from the provided string of raw HTML.\n     *\n     * @param html A string defining a single, standalone, HTML element (e.g. 
or
).\n * @param attributes An object of attributes, events, and methods to call on the newly-created element.\n */","name":null,"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"JQuery","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"text":null,"declarationList":null,"parameters":[{"name":{"kind":"Identifier","text":"html","right":[]},"type":{"kind":"StringKeyword","text":null,"typeName":null,"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null},{"name":{"kind":"Identifier","text":"attributes","right":[]},"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"Object","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null}],"typeParameters":[],"typeArguments":[],"members":[],"heritageClauses":[],"expression":[],"body":[],"statements":[],"moduleReference":[]} /** * Hook directly into jQuery to override how particular CSS properties are retrieved or set, normalize CSS property naming, or create custom properties. */ public net.java.html.lib.Objs.Property cssHooks = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.Objs.class, "cssHooks"); public net.java.html.lib.Objs.Property cssNumber = net.java.html.lib.Objs.Property.create(this, java.lang.Object.class, "cssNumber"); /** * Effects */ public net.java.html.lib.Objs.Property easing = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.jquery.JQueryEasingFunctions.class, "easing"); public net.java.html.lib.jquery.JQueryEasingFunctions easing() { return easing.get(); } public net.java.html.lib.Objs.Property fx = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.Objs.class, "fx"); public net.java.html.lib.Objs.Property Event = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.jquery.JQueryEventConstructor.class, "Event"); public net.java.html.lib.jquery.JQueryEventObject Event(java.lang.String name, java.lang.Object eventProperties) { return (net.java.html.lib.jquery.JQueryEventObject)net.java.html.lib.jquery.JQueryEventObject.$as($Typings$.Event$571($js(this), name, /* AnyKeyword*/$js(eventProperties))); } public net.java.html.lib.jquery.JQueryEventObject Event(java.lang.String name) { return (net.java.html.lib.jquery.JQueryEventObject)net.java.html.lib.jquery.JQueryEventObject.$as($Typings$.Event$572($js(this), name)); } public net.java.html.lib.Objs.Property expr = net.java.html.lib.Objs.Property.create(this, java.lang.Object.class, "expr"); public net.java.html.lib.Objs.Property fn = net.java.html.lib.Objs.Property.create(this, java.lang.Object.class, "fn"); public net.java.html.lib.Objs.Property isReady = net.java.html.lib.Objs.Property.create(this, java.lang.Boolean.class, "isReady"); public java.lang.Boolean isReady() { return isReady.get(); } // Properties public net.java.html.lib.Objs.Property support = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.jquery.JQuerySupport.class, "support"); public net.java.html.lib.jquery.JQuerySupport support() { return support.get(); } /** * A multi-purpose callbacks list object that provides a powerful way to manage callback lists. * * @param flags An optional list of space-separated flags that change how the callback list behaves. */ public net.java.html.lib.jquery.JQueryCallback Callbacks(java.lang.String flags) { return (net.java.html.lib.jquery.JQueryCallback)net.java.html.lib.jquery.JQueryCallback.$as($Typings$.Callbacks$573($js(this), flags)); } /** * A multi-purpose callbacks list object that provides a powerful way to manage callback lists. * * @param flags An optional list of space-separated flags that change how the callback list behaves. */ public net.java.html.lib.jquery.JQueryCallback Callbacks() { return (net.java.html.lib.jquery.JQueryCallback)net.java.html.lib.jquery.JQueryCallback.$as($Typings$.Callbacks$574($js(this))); } /** * A constructor function that returns a chainable utility object with methods to register multiple callbacks into callback queues, invoke callback queues, and relay the success or failure state of any synchronous or asynchronous function. * * @param beforeStart A function that is called just before the constructor returns. */ public net.java.html.lib.jquery.JQueryDeferred Deferred(net.java.html.lib.Function.A1,? extends java.lang.Object> beforeStart) { return (net.java.html.lib.jquery.JQueryDeferred)net.java.html.lib.jquery.JQueryDeferred.$as($Typings$.Deferred$575($js(this), net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(beforeStart, new Class[] {net.java.html.lib.jquery.JQueryDeferred.class})))); } /** * A constructor function that returns a chainable utility object with methods to register multiple callbacks into callback queues, invoke callback queues, and relay the success or failure state of any synchronous or asynchronous function. * * @param beforeStart A function that is called just before the constructor returns. */ public net.java.html.lib.jquery.JQueryDeferred Deferred() { return (net.java.html.lib.jquery.JQueryDeferred)net.java.html.lib.jquery.JQueryDeferred.$as($Typings$.Deferred$576($js(this))); } /** * Perform an asynchronous HTTP (Ajax) request. * * @param url A string containing the URL to which the request is sent. * @param settings A set of key/value pairs that configure the Ajax request. All settings are optional. A default can be set for any option with $.ajaxSetup(). */ public net.java.html.lib.jquery.JQueryXHR ajax(java.lang.String url, net.java.html.lib.jquery.JQueryAjaxSettings settings) { return (net.java.html.lib.jquery.JQueryXHR)net.java.html.lib.jquery.JQueryXHR.$as($Typings$.ajax$577($js(this), url, /* FirstTypeNode*/$js(settings))); } /** * Perform an asynchronous HTTP (Ajax) request. * * @param url A string containing the URL to which the request is sent. * @param settings A set of key/value pairs that configure the Ajax request. All settings are optional. A default can be set for any option with $.ajaxSetup(). */ public net.java.html.lib.jquery.JQueryXHR ajax(java.lang.String url) { return (net.java.html.lib.jquery.JQueryXHR)net.java.html.lib.jquery.JQueryXHR.$as($Typings$.ajax$578($js(this), url)); } /** * Perform an asynchronous HTTP (Ajax) request. * * @param settings A set of key/value pairs that configure the Ajax request. All settings are optional. A default can be set for any option with $.ajaxSetup(). */ public net.java.html.lib.jquery.JQueryXHR ajax(net.java.html.lib.jquery.JQueryAjaxSettings settings) { return (net.java.html.lib.jquery.JQueryXHR)net.java.html.lib.jquery.JQueryXHR.$as($Typings$.ajax$579($js(this), /* FirstTypeNode*/$js(settings))); } /** * Handle custom Ajax options or modify existing options before each request is sent and before they are processed by $.ajax(). * * @param dataTypes An optional string containing one or more space-separated dataTypes * @param handler A handler to set default values for future Ajax requests. */ public void ajaxPrefilter(java.lang.String dataTypes, net.java.html.lib.Function.A3 handler) { $Typings$.ajaxPrefilter$580($js(this), dataTypes, net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(handler, new Class[] {java.lang.Object.class, net.java.html.lib.jquery.JQueryAjaxSettings.class, net.java.html.lib.jquery.JQueryXHR.class}))); } /** * Handle custom Ajax options or modify existing options before each request is sent and before they are processed by $.ajax(). * * @param handler A handler to set default values for future Ajax requests. */ public void ajaxPrefilter(net.java.html.lib.Function.A3 handler) { $Typings$.ajaxPrefilter$581($js(this), net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(handler, new Class[] {java.lang.Object.class, net.java.html.lib.jquery.JQueryAjaxSettings.class, net.java.html.lib.jquery.JQueryXHR.class}))); } /** * Set default values for future Ajax requests. Its use is not recommended. * * @param options A set of key/value pairs that configure the default Ajax request. All options are optional. */ public void ajaxSetup(net.java.html.lib.jquery.JQueryAjaxSettings options) { $Typings$.ajaxSetup$582($js(this), /* FirstTypeNode*/$js(options)); } /** * Check to see if a DOM element is a descendant of another DOM element. * * @param container The DOM element that may contain the other element. * @param contained The DOM element that may be contained by (a descendant of) the other element. */ public java.lang.Boolean contains(net.java.html.lib.dom.Element container, net.java.html.lib.dom.Element contained) { return $Typings$.contains$583($js(this), /* FirstTypeNode*/$js(container), /* FirstTypeNode*/$js(contained)); } /** * Returns value at named data store for the element, as set by jQuery.data(element, name, value), or the full data store for the element. * * @param element The DOM element to associate with the data. */ public java.lang.Object data(net.java.html.lib.dom.Element element) { return net.java.html.lib.Objs.$as(java.lang.Object.class, $Typings$.data$584($js(this), /* FirstTypeNode*/$js(element))); } /** * Returns value at named data store for the element, as set by jQuery.data(element, name, value), or the full data store for the element. * * @param element The DOM element to associate with the data. * @param key A string naming the piece of data to set. */ public java.lang.Object data(net.java.html.lib.dom.Element element, java.lang.String key) { return net.java.html.lib.Objs.$as(java.lang.Object.class, $Typings$.data$585($js(this), /* FirstTypeNode*/$js(element), key)); } /** * Store arbitrary data associated with the specified element. Returns the value that was set. * * @param element The DOM element to associate with the data. * @param key A string naming the piece of data to set. * @param value The new data value. */ public T data(net.java.html.lib.dom.Element element, java.lang.String key, T value) { return (T)$Typings$.data$586($js(this), /* FirstTypeNode*/$js(element), key, /* FirstTypeNode*/$js(value)); } /** * Execute the next function on the queue for the matched element. * * @param element A DOM element from which to remove and execute a queued function. * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue. */ public void dequeue(net.java.html.lib.dom.Element element, java.lang.String queueName) { $Typings$.dequeue$587($js(this), /* FirstTypeNode*/$js(element), queueName); } /** * Execute the next function on the queue for the matched element. * * @param element A DOM element from which to remove and execute a queued function. * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue. */ public void dequeue(net.java.html.lib.dom.Element element) { $Typings$.dequeue$588($js(this), /* FirstTypeNode*/$js(element)); } /** * A generic iterator function, which can be used to seamlessly iterate over both objects and arrays. Arrays and array-like objects with a length property (such as a function's args object) are iterated by numeric index, from 0 to length-1. Other objects are iterated via their named properties. * * @param collection The object or array to iterate over. * @param callback The function that will be executed on every object. */ public java.lang.Object each(java.lang.Object collection, net.java.html.lib.Function.A2 callback) { return net.java.html.lib.Objs.$as(java.lang.Object.class, $Typings$.each$589($js(this), /* AnyKeyword*/$js(collection), net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(callback, new Class[] {java.lang.Object.class, java.lang.Object.class})))); } /** * A generic iterator function, which can be used to seamlessly iterate over both objects and arrays. Arrays and array-like objects with a length property (such as a function's args object) are iterated by numeric index, from 0 to length-1. Other objects are iterated via their named properties. * * @param collection The object or array to iterate over. * @param callback The function that will be executed on every object. */ public java.lang.Object each(T[] collection, net.java.html.lib.Function.A2 callback) { return net.java.html.lib.Objs.$as(java.lang.Object.class, $Typings$.each$590($js(this), /* ArrayType*/$js(collection), net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(callback, new Class[] {java.lang.Number.class, null})))); } /** * Takes a string and throws an exception containing it. * * @param message The message to send out. */ public net.java.html.lib.jquery.JQuery error(java.lang.Object message) { return (net.java.html.lib.jquery.JQuery)net.java.html.lib.jquery.JQuery.$as($Typings$.error$591($js(this), /* AnyKeyword*/$js(message))); } /** * Merge the contents of two or more objects together into the first object. * * @param deep If true, the merge becomes recursive (aka. deep copy). * @param target The object to extend. It will receive the new properties. * @param object1 An object containing additional properties to merge in. * @param objectN Additional objects containing properties to merge in. */ public java.lang.Object extend(java.lang.Boolean deep, java.lang.Object target, java.lang.Object object1, java.lang.Object... objectN) { return net.java.html.lib.Objs.$as(java.lang.Object.class, $Typings$.extend$592($js(this), deep, /* AnyKeyword*/$js(target), /* AnyKeyword*/$js(object1), /* ArrayType*/$js(objectN))); } /** * Merge the contents of two or more objects together into the first object. * * @param deep If true, the merge becomes recursive (aka. deep copy). * @param target The object to extend. It will receive the new properties. * @param object1 An object containing additional properties to merge in. * @param objectN Additional objects containing properties to merge in. */ public java.lang.Object extend(java.lang.Boolean deep, java.lang.Object target, java.lang.Object object1) { return net.java.html.lib.Objs.$as(java.lang.Object.class, $Typings$.extend$593($js(this), deep, /* AnyKeyword*/$js(target), /* AnyKeyword*/$js(object1))); } /** * Merge the contents of two or more objects together into the first object. * * @param target An object that will receive the new properties if additional objects are passed in or that will extend the jQuery namespace if it is the sole argument. * @param object1 An object containing additional properties to merge in. * @param objectN Additional objects containing properties to merge in. */ public java.lang.Object extend(java.lang.Object target, java.lang.Object object1, java.lang.Object... objectN) { return net.java.html.lib.Objs.$as(java.lang.Object.class, $Typings$.extend$594($js(this), /* AnyKeyword*/$js(target), /* AnyKeyword*/$js(object1), /* ArrayType*/$js(objectN))); } /** * Merge the contents of two or more objects together into the first object. * * @param target An object that will receive the new properties if additional objects are passed in or that will extend the jQuery namespace if it is the sole argument. * @param object1 An object containing additional properties to merge in. * @param objectN Additional objects containing properties to merge in. */ public java.lang.Object extend(java.lang.Object target, java.lang.Object object1) { return net.java.html.lib.Objs.$as(java.lang.Object.class, $Typings$.extend$595($js(this), /* AnyKeyword*/$js(target), /* AnyKeyword*/$js(object1))); } /** * Load data from the server using a HTTP GET request. * * @param url A string containing the URL to which the request is sent. * @param success A callback function that is executed if the request succeeds. * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html). */ public net.java.html.lib.jquery.JQueryXHR get(java.lang.String url, net.java.html.lib.Function.A3 success, java.lang.String dataType) { return (net.java.html.lib.jquery.JQueryXHR)net.java.html.lib.jquery.JQueryXHR.$as($Typings$.get$596($js(this), url, net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(success, new Class[] {java.lang.Object.class, java.lang.String.class, net.java.html.lib.jquery.JQueryXHR.class})), dataType)); } /** * Load data from the server using a HTTP GET request. * * @param url A string containing the URL to which the request is sent. * @param success A callback function that is executed if the request succeeds. * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html). */ public net.java.html.lib.jquery.JQueryXHR get(java.lang.String url) { return (net.java.html.lib.jquery.JQueryXHR)net.java.html.lib.jquery.JQueryXHR.$as($Typings$.get$597($js(this), url)); } /** * Load data from the server using a HTTP GET request. * * @param url A string containing the URL to which the request is sent. * @param success A callback function that is executed if the request succeeds. * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html). */ public net.java.html.lib.jquery.JQueryXHR get(java.lang.String url, net.java.html.lib.Function.A3 success) { return (net.java.html.lib.jquery.JQueryXHR)net.java.html.lib.jquery.JQueryXHR.$as($Typings$.get$598($js(this), url, net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(success, new Class[] {java.lang.Object.class, java.lang.String.class, net.java.html.lib.jquery.JQueryXHR.class})))); } /** * Load data from the server using a HTTP GET request. * * @param url A string containing the URL to which the request is sent. * @param data A plain object or string that is sent to the server with the request. * @param success A callback function that is executed if the request succeeds. * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html). */ public net.java.html.lib.jquery.JQueryXHR get(java.lang.String url, net.java.html.lib.Objs data, net.java.html.lib.Function.A3 success, java.lang.String dataType) { return (net.java.html.lib.jquery.JQueryXHR)net.java.html.lib.jquery.JQueryXHR.$as($Typings$.get$599($js(this), url, /* UnionType*/$js(data), net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(success, new Class[] {java.lang.Object.class, java.lang.String.class, net.java.html.lib.jquery.JQueryXHR.class})), dataType)); } /** * Load data from the server using a HTTP GET request. * * @param url A string containing the URL to which the request is sent. * @param data A plain object or string that is sent to the server with the request. * @param success A callback function that is executed if the request succeeds. * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html). */ public net.java.html.lib.jquery.JQueryXHR get(java.lang.String url, java.lang.String data, net.java.html.lib.Function.A3 success, java.lang.String dataType) { return (net.java.html.lib.jquery.JQueryXHR)net.java.html.lib.jquery.JQueryXHR.$as($Typings$.get$599($js(this), url, /* UnionType*/$js(data), net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(success, new Class[] {java.lang.Object.class, java.lang.String.class, net.java.html.lib.jquery.JQueryXHR.class})), dataType)); } // skipping MethodKey{name={"kind":"Identifier","text":"get","right":[]}, parameters=[java.lang.String]} /** * Load data from the server using a HTTP GET request. * * @param url A string containing the URL to which the request is sent. * @param data A plain object or string that is sent to the server with the request. * @param success A callback function that is executed if the request succeeds. * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html). */ public net.java.html.lib.jquery.JQueryXHR get(java.lang.String url, net.java.html.lib.Objs data) { return (net.java.html.lib.jquery.JQueryXHR)net.java.html.lib.jquery.JQueryXHR.$as($Typings$.get$601($js(this), url, /* UnionType*/$js(data))); } /** * Load data from the server using a HTTP GET request. * * @param url A string containing the URL to which the request is sent. * @param data A plain object or string that is sent to the server with the request. * @param success A callback function that is executed if the request succeeds. * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html). */ public net.java.html.lib.jquery.JQueryXHR get(java.lang.String url, java.lang.String data) { return (net.java.html.lib.jquery.JQueryXHR)net.java.html.lib.jquery.JQueryXHR.$as($Typings$.get$601($js(this), url, /* UnionType*/$js(data))); } /** * Load data from the server using a HTTP GET request. * * @param url A string containing the URL to which the request is sent. * @param data A plain object or string that is sent to the server with the request. * @param success A callback function that is executed if the request succeeds. * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html). */ public net.java.html.lib.jquery.JQueryXHR get(java.lang.String url, net.java.html.lib.Objs data, net.java.html.lib.Function.A3 success) { return (net.java.html.lib.jquery.JQueryXHR)net.java.html.lib.jquery.JQueryXHR.$as($Typings$.get$602($js(this), url, /* UnionType*/$js(data), net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(success, new Class[] {java.lang.Object.class, java.lang.String.class, net.java.html.lib.jquery.JQueryXHR.class})))); } /** * Load data from the server using a HTTP GET request. * * @param url A string containing the URL to which the request is sent. * @param data A plain object or string that is sent to the server with the request. * @param success A callback function that is executed if the request succeeds. * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html). */ public net.java.html.lib.jquery.JQueryXHR get(java.lang.String url, java.lang.String data, net.java.html.lib.Function.A3 success) { return (net.java.html.lib.jquery.JQueryXHR)net.java.html.lib.jquery.JQueryXHR.$as($Typings$.get$602($js(this), url, /* UnionType*/$js(data), net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(success, new Class[] {java.lang.Object.class, java.lang.String.class, net.java.html.lib.jquery.JQueryXHR.class})))); } /** * Load JSON-encoded data from the server using a GET HTTP request. * * @param url A string containing the URL to which the request is sent. * @param success A callback function that is executed if the request succeeds. */ public net.java.html.lib.jquery.JQueryXHR getJSON(java.lang.String url, net.java.html.lib.Function.A3 success) { return (net.java.html.lib.jquery.JQueryXHR)net.java.html.lib.jquery.JQueryXHR.$as($Typings$.getJSON$603($js(this), url, net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(success, new Class[] {java.lang.Object.class, java.lang.String.class, net.java.html.lib.jquery.JQueryXHR.class})))); } /** * Load JSON-encoded data from the server using a GET HTTP request. * * @param url A string containing the URL to which the request is sent. * @param success A callback function that is executed if the request succeeds. */ public net.java.html.lib.jquery.JQueryXHR getJSON(java.lang.String url) { return (net.java.html.lib.jquery.JQueryXHR)net.java.html.lib.jquery.JQueryXHR.$as($Typings$.getJSON$604($js(this), url)); } /** * Load JSON-encoded data from the server using a GET HTTP request. * * @param url A string containing the URL to which the request is sent. * @param data A plain object or string that is sent to the server with the request. * @param success A callback function that is executed if the request succeeds. */ public net.java.html.lib.jquery.JQueryXHR getJSON(java.lang.String url, net.java.html.lib.Objs data, net.java.html.lib.Function.A3 success) { return (net.java.html.lib.jquery.JQueryXHR)net.java.html.lib.jquery.JQueryXHR.$as($Typings$.getJSON$605($js(this), url, /* UnionType*/$js(data), net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(success, new Class[] {java.lang.Object.class, java.lang.String.class, net.java.html.lib.jquery.JQueryXHR.class})))); } /** * Load JSON-encoded data from the server using a GET HTTP request. * * @param url A string containing the URL to which the request is sent. * @param data A plain object or string that is sent to the server with the request. * @param success A callback function that is executed if the request succeeds. */ public net.java.html.lib.jquery.JQueryXHR getJSON(java.lang.String url, java.lang.String data, net.java.html.lib.Function.A3 success) { return (net.java.html.lib.jquery.JQueryXHR)net.java.html.lib.jquery.JQueryXHR.$as($Typings$.getJSON$605($js(this), url, /* UnionType*/$js(data), net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(success, new Class[] {java.lang.Object.class, java.lang.String.class, net.java.html.lib.jquery.JQueryXHR.class})))); } // skipping MethodKey{name={"kind":"Identifier","text":"getJSON","right":[]}, parameters=[java.lang.String]} /** * Load JSON-encoded data from the server using a GET HTTP request. * * @param url A string containing the URL to which the request is sent. * @param data A plain object or string that is sent to the server with the request. * @param success A callback function that is executed if the request succeeds. */ public net.java.html.lib.jquery.JQueryXHR getJSON(java.lang.String url, net.java.html.lib.Objs data) { return (net.java.html.lib.jquery.JQueryXHR)net.java.html.lib.jquery.JQueryXHR.$as($Typings$.getJSON$607($js(this), url, /* UnionType*/$js(data))); } /** * Load JSON-encoded data from the server using a GET HTTP request. * * @param url A string containing the URL to which the request is sent. * @param data A plain object or string that is sent to the server with the request. * @param success A callback function that is executed if the request succeeds. */ public net.java.html.lib.jquery.JQueryXHR getJSON(java.lang.String url, java.lang.String data) { return (net.java.html.lib.jquery.JQueryXHR)net.java.html.lib.jquery.JQueryXHR.$as($Typings$.getJSON$607($js(this), url, /* UnionType*/$js(data))); } /** * Load a JavaScript file from the server using a GET HTTP request, then execute it. * * @param url A string containing the URL to which the request is sent. * @param success A callback function that is executed if the request succeeds. */ public net.java.html.lib.jquery.JQueryXHR getScript(java.lang.String url, net.java.html.lib.Function.A3 success) { return (net.java.html.lib.jquery.JQueryXHR)net.java.html.lib.jquery.JQueryXHR.$as($Typings$.getScript$608($js(this), url, net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(success, new Class[] {java.lang.String.class, java.lang.String.class, net.java.html.lib.jquery.JQueryXHR.class})))); } /** * Load a JavaScript file from the server using a GET HTTP request, then execute it. * * @param url A string containing the URL to which the request is sent. * @param success A callback function that is executed if the request succeeds. */ public net.java.html.lib.jquery.JQueryXHR getScript(java.lang.String url) { return (net.java.html.lib.jquery.JQueryXHR)net.java.html.lib.jquery.JQueryXHR.$as($Typings$.getScript$609($js(this), url)); } /** * Execute some JavaScript code globally. * * @param code The JavaScript code to execute. */ public java.lang.Object globalEval(java.lang.String code) { return net.java.html.lib.Objs.$as(java.lang.Object.class, $Typings$.globalEval$610($js(this), code)); } /** * Finds the elements of an array which satisfy a filter function. The original array is not affected. * * @param array The array to search through. * @param func The function to process each item against. The first argument to the function is the item, and the second argument is the index. The function should return a Boolean value. this will be the global window object. * @param invert If "invert" is false, or not provided, then the function returns an array consisting of all elements for which "callback" returns true. If "invert" is true, then the function returns an array consisting of all elements for which "callback" returns false. */ public net.java.html.lib.Array grep(T[] array, net.java.html.lib.Function.A2 func, java.lang.Boolean invert) { return (net.java.html.lib.Array)net.java.html.lib.Array.$as($Typings$.grep$611($js(this), /* ArrayType*/$js(array), net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(func, new Class[] {null, java.lang.Number.class})), invert)); } /** * Finds the elements of an array which satisfy a filter function. The original array is not affected. * * @param array The array to search through. * @param func The function to process each item against. The first argument to the function is the item, and the second argument is the index. The function should return a Boolean value. this will be the global window object. * @param invert If "invert" is false, or not provided, then the function returns an array consisting of all elements for which "callback" returns true. If "invert" is true, then the function returns an array consisting of all elements for which "callback" returns false. */ public net.java.html.lib.Array grep(T[] array, net.java.html.lib.Function.A2 func) { return (net.java.html.lib.Array)net.java.html.lib.Array.$as($Typings$.grep$612($js(this), /* ArrayType*/$js(array), net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(func, new Class[] {null, java.lang.Number.class})))); } /** * Determine whether an element has any jQuery data associated with it. * * @param element A DOM element to be checked for data. */ public java.lang.Boolean hasData(net.java.html.lib.dom.Element element) { return $Typings$.hasData$613($js(this), /* FirstTypeNode*/$js(element)); } /** * Holds or releases the execution of jQuery's ready event. * * @param hold Indicates whether the ready hold is being requested or released */ public void holdReady(java.lang.Boolean hold) { $Typings$.holdReady$614($js(this), hold); } /** * Search for a specified value within an array and return its index (or -1 if not found). * * @param value The value to search for. * @param array An array through which to search. * @param fromIndex he index of the array at which to begin the search. The default is 0, which will search the whole array. */ public double inArray(T value, T[] array, double fromIndex) { return $Typings$.inArray$615($js(this), /* FirstTypeNode*/$js(value), /* ArrayType*/$js(array), fromIndex); } /** * Search for a specified value within an array and return its index (or -1 if not found). * * @param value The value to search for. * @param array An array through which to search. * @param fromIndex he index of the array at which to begin the search. The default is 0, which will search the whole array. */ public double inArray(T value, T[] array) { return $Typings$.inArray$616($js(this), /* FirstTypeNode*/$js(value), /* ArrayType*/$js(array)); } /** * Determine whether the argument is an array. * * @param obj Object to test whether or not it is an array. */ public java.lang.Boolean isArray(java.lang.Object obj) { return $Typings$.isArray$617($js(this), /* AnyKeyword*/$js(obj)); } /** * Check to see if an object is empty (contains no enumerable properties). * * @param obj The object that will be checked to see if it's empty. */ public java.lang.Boolean isEmptyObject(java.lang.Object obj) { return $Typings$.isEmptyObject$618($js(this), /* AnyKeyword*/$js(obj)); } /** * Determine if the argument passed is a Javascript function object. * * @param obj Object to test whether or not it is a function. */ public java.lang.Boolean isFunction(java.lang.Object obj) { return $Typings$.isFunction$619($js(this), /* AnyKeyword*/$js(obj)); } /** * Determines whether its argument is a number. * * @param obj The value to be tested. */ public java.lang.Boolean isNumeric(java.lang.Object value) { return $Typings$.isNumeric$620($js(this), /* AnyKeyword*/$js(value)); } /** * Check to see if an object is a plain object (created using "{}" or "new Object"). * * @param obj The object that will be checked to see if it's a plain object. */ public java.lang.Boolean isPlainObject(java.lang.Object obj) { return $Typings$.isPlainObject$621($js(this), /* AnyKeyword*/$js(obj)); } /** * Determine whether the argument is a window. * * @param obj Object to test whether or not it is a window. */ public java.lang.Boolean isWindow(java.lang.Object obj) { return $Typings$.isWindow$622($js(this), /* AnyKeyword*/$js(obj)); } /** * Check to see if a DOM node is within an XML document (or is an XML document). * * @param node he DOM node that will be checked to see if it's in an XML document. */ public java.lang.Boolean isXMLDoc(net.java.html.lib.dom.Node node) { return $Typings$.isXMLDoc$623($js(this), /* FirstTypeNode*/$js(node)); } /** * Convert an array-like object into a true JavaScript array. * * @param obj Any object to turn into a native Array. */ public net.java.html.lib.Array makeArray(java.lang.Object obj) { return (net.java.html.lib.Array)net.java.html.lib.Array.$as($Typings$.makeArray$624($js(this), /* AnyKeyword*/$js(obj))); } /** * Translate all items in an array or object to new array of items. * * @param arrayOrObject The Array or Object to translate. * @param callback The function to process each item against. The first argument to the function is the value; the second argument is the index or key of the array or object property. The function can return any value to add to the array. A returned array will be flattened into the resulting array. Within the function, this refers to the global (window) object. */ public java.lang.Object map(java.lang.Object arrayOrObject, net.java.html.lib.Function.A2 callback) { return net.java.html.lib.Objs.$as(java.lang.Object.class, $Typings$.map$625($js(this), /* AnyKeyword*/$js(arrayOrObject), net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(callback, new Class[] {java.lang.Object.class, java.lang.Object.class})))); } /** * Translate all items in an array or object to new array of items. * * @param array The Array to translate. * @param callback The function to process each item against. The first argument to the function is the array item, the second argument is the index in array The function can return any value. Within the function, this refers to the global (window) object. */ public net.java.html.lib.Array map(T[] array, net.java.html.lib.Function.A2 callback) { return (net.java.html.lib.Array)net.java.html.lib.Array.$as($Typings$.map$626($js(this), /* ArrayType*/$js(array), net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(callback, new Class[] {null, java.lang.Number.class})))); } /** * Merge the contents of two arrays together into the first array. * * @param first The first array to merge, the elements of second added. * @param second The second array to merge into the first, unaltered. */ public net.java.html.lib.Array merge(T[] first, T[] second) { return (net.java.html.lib.Array)net.java.html.lib.Array.$as($Typings$.merge$627($js(this), /* ArrayType*/$js(first), /* ArrayType*/$js(second))); } /** * Relinquish jQuery's control of the $ variable. * * @param removeAll A Boolean indicating whether to remove all jQuery variables from the global scope (including jQuery itself). */ public net.java.html.lib.jquery.JQueryStatic noConflict(java.lang.Boolean removeAll) { return (net.java.html.lib.jquery.JQueryStatic)net.java.html.lib.jquery.JQueryStatic.$as($Typings$.noConflict$628($js(this), removeAll)); } /** * Relinquish jQuery's control of the $ variable. * * @param removeAll A Boolean indicating whether to remove all jQuery variables from the global scope (including jQuery itself). */ public net.java.html.lib.jquery.JQueryStatic noConflict() { return (net.java.html.lib.jquery.JQueryStatic)net.java.html.lib.jquery.JQueryStatic.$as($Typings$.noConflict$629($js(this))); } /** * An empty function. */ public java.lang.Object noop() { return net.java.html.lib.Objs.$as(java.lang.Object.class, $Typings$.noop$630($js(this))); } /** * Return a number representing the current time. */ public double now() { return $Typings$.now$631($js(this)); } /** * Parses a string into an array of DOM nodes. * * @param data HTML string to be parsed * @param context DOM element to serve as the context in which the HTML fragment will be created * @param keepScripts A Boolean indicating whether to include scripts passed in the HTML string */ public net.java.html.lib.Array parseHTML(java.lang.String data, net.java.html.lib.dom.Document context, java.lang.Boolean keepScripts) { return (net.java.html.lib.Array)net.java.html.lib.Array.$as($Typings$.parseHTML$632($js(this), data, /* FirstTypeNode*/$js(context), keepScripts)); } /** * Parses a string into an array of DOM nodes. * * @param data HTML string to be parsed * @param context DOM element to serve as the context in which the HTML fragment will be created * @param keepScripts A Boolean indicating whether to include scripts passed in the HTML string */ public net.java.html.lib.Array parseHTML(java.lang.String data) { return (net.java.html.lib.Array)net.java.html.lib.Array.$as($Typings$.parseHTML$633($js(this), data)); } /** * Parses a string into an array of DOM nodes. * * @param data HTML string to be parsed * @param context DOM element to serve as the context in which the HTML fragment will be created * @param keepScripts A Boolean indicating whether to include scripts passed in the HTML string */ public net.java.html.lib.Array parseHTML(java.lang.String data, net.java.html.lib.dom.Document context) { return (net.java.html.lib.Array)net.java.html.lib.Array.$as($Typings$.parseHTML$634($js(this), data, /* FirstTypeNode*/$js(context))); } /** * Parses a string into an array of DOM nodes. * * @param data HTML string to be parsed * @param context DOM element to serve as the context in which the HTML fragment will be created * @param keepScripts A Boolean indicating whether to include scripts passed in the HTML string */ public net.java.html.lib.Array parseHTML(java.lang.String data, net.java.html.lib.dom.HTMLElement context, java.lang.Boolean keepScripts) { return (net.java.html.lib.Array)net.java.html.lib.Array.$as($Typings$.parseHTML$635($js(this), data, /* FirstTypeNode*/$js(context), keepScripts)); } // skipping MethodKey{name={"kind":"Identifier","text":"parseHTML","right":[]}, parameters=[java.lang.String]} /** * Parses a string into an array of DOM nodes. * * @param data HTML string to be parsed * @param context DOM element to serve as the context in which the HTML fragment will be created * @param keepScripts A Boolean indicating whether to include scripts passed in the HTML string */ public net.java.html.lib.Array parseHTML(java.lang.String data, net.java.html.lib.dom.HTMLElement context) { return (net.java.html.lib.Array)net.java.html.lib.Array.$as($Typings$.parseHTML$637($js(this), data, /* FirstTypeNode*/$js(context))); } /** * Takes a well-formed JSON string and returns the resulting JavaScript object. * * @param json The JSON string to parse. */ public java.lang.Object parseJSON(java.lang.String json) { return net.java.html.lib.Objs.$as(java.lang.Object.class, $Typings$.parseJSON$638($js(this), json)); } /** * Parses a string into an XML document. * * @param data a well-formed XML string to be parsed */ public net.java.html.lib.dom.XMLDocument parseXML(java.lang.String data) { return (net.java.html.lib.dom.XMLDocument)net.java.html.lib.dom.XMLDocument.$as($Typings$.parseXML$639($js(this), data)); } /** * Load data from the server using a HTTP POST request. * * @param url A string containing the URL to which the request is sent. * @param success A callback function that is executed if the request succeeds. Required if dataType is provided, but can be null in that case. * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html). */ public net.java.html.lib.jquery.JQueryXHR post(java.lang.String url, net.java.html.lib.Function.A3 success, java.lang.String dataType) { return (net.java.html.lib.jquery.JQueryXHR)net.java.html.lib.jquery.JQueryXHR.$as($Typings$.post$640($js(this), url, net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(success, new Class[] {java.lang.Object.class, java.lang.String.class, net.java.html.lib.jquery.JQueryXHR.class})), dataType)); } /** * Load data from the server using a HTTP POST request. * * @param url A string containing the URL to which the request is sent. * @param success A callback function that is executed if the request succeeds. Required if dataType is provided, but can be null in that case. * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html). */ public net.java.html.lib.jquery.JQueryXHR post(java.lang.String url) { return (net.java.html.lib.jquery.JQueryXHR)net.java.html.lib.jquery.JQueryXHR.$as($Typings$.post$641($js(this), url)); } /** * Load data from the server using a HTTP POST request. * * @param url A string containing the URL to which the request is sent. * @param success A callback function that is executed if the request succeeds. Required if dataType is provided, but can be null in that case. * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html). */ public net.java.html.lib.jquery.JQueryXHR post(java.lang.String url, net.java.html.lib.Function.A3 success) { return (net.java.html.lib.jquery.JQueryXHR)net.java.html.lib.jquery.JQueryXHR.$as($Typings$.post$642($js(this), url, net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(success, new Class[] {java.lang.Object.class, java.lang.String.class, net.java.html.lib.jquery.JQueryXHR.class})))); } /** * Load data from the server using a HTTP POST request. * * @param url A string containing the URL to which the request is sent. * @param data A plain object or string that is sent to the server with the request. * @param success A callback function that is executed if the request succeeds. Required if dataType is provided, but can be null in that case. * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html). */ public net.java.html.lib.jquery.JQueryXHR post(java.lang.String url, net.java.html.lib.Objs data, net.java.html.lib.Function.A3 success, java.lang.String dataType) { return (net.java.html.lib.jquery.JQueryXHR)net.java.html.lib.jquery.JQueryXHR.$as($Typings$.post$643($js(this), url, /* UnionType*/$js(data), net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(success, new Class[] {java.lang.Object.class, java.lang.String.class, net.java.html.lib.jquery.JQueryXHR.class})), dataType)); } /** * Load data from the server using a HTTP POST request. * * @param url A string containing the URL to which the request is sent. * @param data A plain object or string that is sent to the server with the request. * @param success A callback function that is executed if the request succeeds. Required if dataType is provided, but can be null in that case. * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html). */ public net.java.html.lib.jquery.JQueryXHR post(java.lang.String url, java.lang.String data, net.java.html.lib.Function.A3 success, java.lang.String dataType) { return (net.java.html.lib.jquery.JQueryXHR)net.java.html.lib.jquery.JQueryXHR.$as($Typings$.post$643($js(this), url, /* UnionType*/$js(data), net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(success, new Class[] {java.lang.Object.class, java.lang.String.class, net.java.html.lib.jquery.JQueryXHR.class})), dataType)); } // skipping MethodKey{name={"kind":"Identifier","text":"post","right":[]}, parameters=[java.lang.String]} /** * Load data from the server using a HTTP POST request. * * @param url A string containing the URL to which the request is sent. * @param data A plain object or string that is sent to the server with the request. * @param success A callback function that is executed if the request succeeds. Required if dataType is provided, but can be null in that case. * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html). */ public net.java.html.lib.jquery.JQueryXHR post(java.lang.String url, net.java.html.lib.Objs data) { return (net.java.html.lib.jquery.JQueryXHR)net.java.html.lib.jquery.JQueryXHR.$as($Typings$.post$645($js(this), url, /* UnionType*/$js(data))); } /** * Load data from the server using a HTTP POST request. * * @param url A string containing the URL to which the request is sent. * @param data A plain object or string that is sent to the server with the request. * @param success A callback function that is executed if the request succeeds. Required if dataType is provided, but can be null in that case. * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html). */ public net.java.html.lib.jquery.JQueryXHR post(java.lang.String url, java.lang.String data) { return (net.java.html.lib.jquery.JQueryXHR)net.java.html.lib.jquery.JQueryXHR.$as($Typings$.post$645($js(this), url, /* UnionType*/$js(data))); } /** * Load data from the server using a HTTP POST request. * * @param url A string containing the URL to which the request is sent. * @param data A plain object or string that is sent to the server with the request. * @param success A callback function that is executed if the request succeeds. Required if dataType is provided, but can be null in that case. * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html). */ public net.java.html.lib.jquery.JQueryXHR post(java.lang.String url, net.java.html.lib.Objs data, net.java.html.lib.Function.A3 success) { return (net.java.html.lib.jquery.JQueryXHR)net.java.html.lib.jquery.JQueryXHR.$as($Typings$.post$646($js(this), url, /* UnionType*/$js(data), net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(success, new Class[] {java.lang.Object.class, java.lang.String.class, net.java.html.lib.jquery.JQueryXHR.class})))); } /** * Load data from the server using a HTTP POST request. * * @param url A string containing the URL to which the request is sent. * @param data A plain object or string that is sent to the server with the request. * @param success A callback function that is executed if the request succeeds. Required if dataType is provided, but can be null in that case. * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html). */ public net.java.html.lib.jquery.JQueryXHR post(java.lang.String url, java.lang.String data, net.java.html.lib.Function.A3 success) { return (net.java.html.lib.jquery.JQueryXHR)net.java.html.lib.jquery.JQueryXHR.$as($Typings$.post$646($js(this), url, /* UnionType*/$js(data), net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(success, new Class[] {java.lang.Object.class, java.lang.String.class, net.java.html.lib.jquery.JQueryXHR.class})))); } /** * Takes a function and returns a new one that will always have a particular context. * * @param fnction The function whose context will be changed. * @param context The object to which the context (this) of the function should be set. * @param additionalArguments Any number of args to be passed to the function referenced in the function argument. */ public java.lang.Object proxy(net.java.html.lib.Function.A1,? extends java.lang.Object> fnction, net.java.html.lib.Objs context, java.lang.Object... additionalArguments) { return net.java.html.lib.Objs.$as(java.lang.Object.class, $Typings$.proxy$647($js(this), net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(fnction, new Class[] {null})), /* FirstTypeNode*/$js(context), /* ArrayType*/$js(additionalArguments))); } /** * Takes a function and returns a new one that will always have a particular context. * * @param context The object to which the context (this) of the function should be set. * @param name The name of the function whose context will be changed (should be a property of the context object). * @param additionalArguments Any number of args to be passed to the function named in the name argument. */ public java.lang.Object proxy(net.java.html.lib.Objs context, java.lang.String name, java.lang.Object... additionalArguments) { return net.java.html.lib.Objs.$as(java.lang.Object.class, $Typings$.proxy$648($js(this), /* FirstTypeNode*/$js(context), name, /* ArrayType*/$js(additionalArguments))); } /** * Show the queue of functions to be executed on the matched element. * * @param element A DOM element to inspect for an attached queue. * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue. */ public net.java.html.lib.Array queue(net.java.html.lib.dom.Element element, java.lang.String queueName) { return (net.java.html.lib.Array)net.java.html.lib.Array.$as($Typings$.queue$649($js(this), /* FirstTypeNode*/$js(element), queueName)); } /** * Show the queue of functions to be executed on the matched element. * * @param element A DOM element to inspect for an attached queue. * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue. */ public net.java.html.lib.Array queue(net.java.html.lib.dom.Element element) { return (net.java.html.lib.Array)net.java.html.lib.Array.$as($Typings$.queue$650($js(this), /* FirstTypeNode*/$js(element))); } /** * Manipulate the queue of functions to be executed on the matched element. * * @param element A DOM element on which to add a queued function. * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue. * @param callback The new function to add to the queue. */ public net.java.html.lib.jquery.JQuery queue(net.java.html.lib.dom.Element element, java.lang.String queueName, net.java.html.lib.Function callback) { return (net.java.html.lib.jquery.JQuery)net.java.html.lib.jquery.JQuery.$as($Typings$.queue$651($js(this), /* FirstTypeNode*/$js(element), queueName, /* FirstTypeNode*/$js(callback))); } /** * Manipulate the queue of functions to be executed on the matched element. * * @param element A DOM element where the array of queued functions is attached. * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue. * @param newQueue An array of functions to replace the current queue contents. */ public net.java.html.lib.jquery.JQuery queue(net.java.html.lib.dom.Element element, java.lang.String queueName, net.java.html.lib.Function[] newQueue) { return (net.java.html.lib.jquery.JQuery)net.java.html.lib.jquery.JQuery.$as($Typings$.queue$652($js(this), /* FirstTypeNode*/$js(element), queueName, /* ArrayType*/$js(newQueue))); } /** * Remove a previously-stored piece of data. * * @param element A DOM element from which to remove data. * @param name A string naming the piece of data to remove. */ public net.java.html.lib.jquery.JQuery removeData(net.java.html.lib.dom.Element element, java.lang.String name) { return (net.java.html.lib.jquery.JQuery)net.java.html.lib.jquery.JQuery.$as($Typings$.removeData$653($js(this), /* FirstTypeNode*/$js(element), name)); } /** * Remove a previously-stored piece of data. * * @param element A DOM element from which to remove data. * @param name A string naming the piece of data to remove. */ public net.java.html.lib.jquery.JQuery removeData(net.java.html.lib.dom.Element element) { return (net.java.html.lib.jquery.JQuery)net.java.html.lib.jquery.JQuery.$as($Typings$.removeData$654($js(this), /* FirstTypeNode*/$js(element))); } /** * Remove the whitespace from the beginning and end of a string. * * @param str Remove the whitespace from the beginning and end of a string. */ public java.lang.String trim(java.lang.String str) { return $Typings$.trim$655($js(this), str); } /** * Determine the internal JavaScript [[Class]] of an object. * * @param obj Object to get the internal JavaScript [[Class]] of. */ public java.lang.String type(java.lang.Object obj) { return $Typings$.type$656($js(this), /* AnyKeyword*/$js(obj)); } /** * Sorts an array of DOM elements, in place, with the duplicates removed. Note that this only works on arrays of DOM elements, not strings or numbers. * * @param array The Array of DOM elements. */ public net.java.html.lib.Array unique(net.java.html.lib.dom.Element[] array) { return (net.java.html.lib.Array)net.java.html.lib.Array.$as($Typings$.unique$657($js(this), /* ArrayType*/$js(array))); } /** * Provides a way to execute callback functions based on one or more objects, usually Deferred objects that represent asynchronous events. * * @param deferreds One or more Deferred objects, or plain JavaScript objects. */ public net.java.html.lib.jquery.JQueryPromise when(net.java.html.lib.Array>> deferreds) { return (net.java.html.lib.jquery.JQueryPromise)net.java.html.lib.jquery.JQueryPromise.$as($Typings$.when$658($js(this), /* FirstTypeNode*/$js(deferreds))); } }