public class BrowserComponent.JSProxy extends Object
| Modifier and Type | Method and Description | 
|---|---|
| void | call(int timeout,
    String method,
    Object[] args,
    SuccessCallback<BrowserComponent.JSRef> callback)Calls a method on this javascript object. | 
| void | call(String method,
    Object[] args,
    SuccessCallback<BrowserComponent.JSRef> callback)Calls a method on this javascript object. | 
| BrowserComponent.JSRef | callAndWait(int timeout,
           String method,
           Object[] args)Calls method on this javascript object and waits for the result using
 invokeAndBlock. | 
| BrowserComponent.JSRef | callAndWait(String method,
           Object[] args)Calls method on this javascript object and waits for the result using
 invokeAndBlock. | 
| void | get(Collection<String> properties,
   SuccessCallback<Map<String,BrowserComponent.JSRef>> callback)Gets a property of this javascript object and waits for the result
 using invokeAndBlock. | 
| void | get(int timeout,
   Collection<String> properties,
   SuccessCallback<Map<String,BrowserComponent.JSRef>> callback)Gets multiple properties as a batch. | 
| void | get(int timeout,
   String property,
   SuccessCallback<BrowserComponent.JSRef> callback)Gets a property of this javascript object. | 
| void | get(String property,
   SuccessCallback<BrowserComponent.JSRef> callback)Gets a property of this javascript object. | 
| Map<String,BrowserComponent.JSRef> | getAndWait(Collection<String> properties)Gets multiple properties on this object in a batch. | 
| Map<String,BrowserComponent.JSRef> | getAndWait(int timeout,
          Collection<String> properties)Gets multiple properties on this object in a batch. | 
| BrowserComponent.JSRef | getAndWait(int timeout,
          String property)Gets a property of this javascript object and waits for the result
 using invokeAndBlock. | 
| BrowserComponent.JSRef | getAndWait(String property)Gets a property of this javascript object and waits for the result
 using invokeAndBlock. | 
| void | set(int timeout,
   Map<String,Object> properties,
   SuccessCallback<BrowserComponent.JSRef> callback)Sets multiple properties in a single batch. | 
| void | set(int timeout,
   String property,
   Object value)Sets a property. | 
| void | set(int timeout,
   String property,
   Object value,
   SuccessCallback<BrowserComponent.JSRef> callback)Sets a property on this javascript object. | 
| void | set(Map<String,Object> properties,
   SuccessCallback<BrowserComponent.JSRef> callback)Sets multiple properties in a single batch. | 
| void | set(String property,
   Object value)Sets a property. | 
| void | set(String property,
   Object value,
   SuccessCallback<BrowserComponent.JSRef> callback)Sets a property on this javascript object. | 
| void | setAndWait(int timeout,
          Map<String,Object> properties)Sets multiple properties in a single batch. | 
| void | setAndWait(int timeout,
          String property,
          Object value)Sets a property on this javascript object and waits for it to complete using invokeAndBlock. | 
| void | setAndWait(Map<String,Object> properties)Sets multiple properties in a single batch. | 
| void | setAndWait(String property,
          Object value)Sets a property on this javascript object and waits for it to complete using invokeAndBlock. | 
public void call(int timeout,
                 String method,
                 Object[] args,
                 SuccessCallback<BrowserComponent.JSRef> callback)
timeout - The timeout in msmethod - The method name.args - Arguments to pass to the method.callback - Callback with the result of the method.public void call(String method, Object[] args, SuccessCallback<BrowserComponent.JSRef> callback)
method - The method name.args - Arguments to pass to the method.callback - Callback with the result of the method.public BrowserComponent.JSRef callAndWait(int timeout, String method, Object[] args)
timeout - The timeout in msmethod - The method name.args - Arguments for the method.public BrowserComponent.JSRef callAndWait(String method, Object[] args)
method - The method name.args - Arguments for the method.public void get(int timeout,
                String property,
                SuccessCallback<BrowserComponent.JSRef> callback)
timeout - Timeout in msproperty - The property name.callback - Callback with the property value.public void get(String property, SuccessCallback<BrowserComponent.JSRef> callback)
property - The property name.callback - Callback with the property value.public void get(int timeout,
                Collection<String> properties,
                SuccessCallback<Map<String,BrowserComponent.JSRef>> callback)
timeout - Timeout in msproperties - List of property names to retrieve.callback - public void get(Collection<String> properties, SuccessCallback<Map<String,BrowserComponent.JSRef>> callback)
property - The property to retrieve.public BrowserComponent.JSRef getAndWait(int timeout, String property)
timeout - The timeout in msproperty - The property to retrieve.public BrowserComponent.JSRef getAndWait(String property)
property - The property to retrieve.public Map<String,BrowserComponent.JSRef> getAndWait(int timeout, Collection<String> properties)
timeout - The timeout in msproperties - The property names to get.public Map<String,BrowserComponent.JSRef> getAndWait(Collection<String> properties)
properties - public void set(int timeout,
                String property,
                Object value)
timeout - The timeout in msproperty - The property name.value - The property value.public void set(String property, Object value)
property - The property name.value - The property value.public void set(int timeout,
                String property,
                Object value,
                SuccessCallback<BrowserComponent.JSRef> callback)
timeout - The timeout in ms.property - The property name to set.value - The property value.callback - Callback which is called when completepublic void set(String property, Object value, SuccessCallback<BrowserComponent.JSRef> callback)
property - The property name to set.value - The property value.callback - Callback which is called when completepublic void set(int timeout,
                Map<String,Object> properties,
                SuccessCallback<BrowserComponent.JSRef> callback)
timeout - The timeout in msproperties - The properties to set.callback - Callback called when operation is completed.public void set(Map<String,Object> properties, SuccessCallback<BrowserComponent.JSRef> callback)
properties - The properties to set.callback - Callback called when operation is completed.public void setAndWait(int timeout,
                       Map<String,Object> properties)
timeout - Timeout in msproperties - The properties to set on this object.public void setAndWait(Map<String,Object> properties)
properties - The properties to set on this object.public void setAndWait(int timeout,
                       String property,
                       Object value)
timeout - The timeout in ms.property - The property name to set.value - The value to set.