| Package | Description |
|---|---|
| com.codename1.ui |
Main widget package containing the component/container "composite" similar
both in terminology and design to Swing/AWT.
|
| Modifier and Type | Method and Description |
|---|---|
BrowserComponent.JSRef |
BrowserComponent.JSProxy.callAndWait(int timeout,
String method,
Object[] args)
Calls method on this javascript object and waits for the result using
invokeAndBlock.
|
BrowserComponent.JSRef |
BrowserComponent.JSProxy.callAndWait(String method,
Object[] args)
Calls method on this javascript object and waits for the result using
invokeAndBlock.
|
BrowserComponent.JSRef |
BrowserComponent.executeAndWait(int timeout,
String js)
This uses invokeAndBlock to wait for the result of the given javascript expression.
|
BrowserComponent.JSRef |
BrowserComponent.executeAndWait(int timeout,
String js,
Object... params)
This uses invokeAndBlock to wait for the result of the given javascript expression.
|
BrowserComponent.JSRef |
BrowserComponent.executeAndWait(String js)
This uses invokeAndBlock to wait for the result of the given javascript expression.
|
BrowserComponent.JSRef |
BrowserComponent.executeAndWait(String js,
Object... params)
This uses invokeAndBlock to wait for the result of the given javascript expression.
|
BrowserComponent.JSRef |
BrowserComponent.JSProxy.getAndWait(int timeout,
String property)
Gets a property of this javascript object and waits for the result
using invokeAndBlock.
|
BrowserComponent.JSRef |
BrowserComponent.JSProxy.getAndWait(String property)
Gets a property of this javascript object and waits for the result
using invokeAndBlock.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,BrowserComponent.JSRef> |
BrowserComponent.JSProxy.getAndWait(Collection<String> properties)
Gets multiple properties on this object in a batch.
|
Map<String,BrowserComponent.JSRef> |
BrowserComponent.JSProxy.getAndWait(int timeout,
Collection<String> properties)
Gets multiple properties on this object in a batch.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BrowserComponent.addJSCallback(String installJs,
Object[] params,
SuccessCallback<BrowserComponent.JSRef> callback)
Registers Java method as a callback in Javascript.
|
void |
BrowserComponent.addJSCallback(String installJs,
SuccessCallback<BrowserComponent.JSRef> callback)
Registers a Java method as a callback in javascript.
|
void |
BrowserComponent.JSProxy.call(int timeout,
String method,
Object[] args,
SuccessCallback<BrowserComponent.JSRef> callback)
Calls a method on this javascript object.
|
void |
BrowserComponent.JSProxy.call(String method,
Object[] args,
SuccessCallback<BrowserComponent.JSRef> callback)
Calls a method on this javascript object.
|
void |
BrowserComponent.execute(int timeout,
String js,
Object[] params,
SuccessCallback<BrowserComponent.JSRef> callback)
Executes Javascript expression.
|
void |
BrowserComponent.execute(int timeout,
String js,
SuccessCallback<BrowserComponent.JSRef> callback)
Execute javascript with a timeout.
|
void |
BrowserComponent.execute(String js,
Object[] params,
SuccessCallback<BrowserComponent.JSRef> callback)
Executes Javascript expression.
|
void |
BrowserComponent.execute(String js,
SuccessCallback<BrowserComponent.JSRef> callback)
Asynchronously executes the provided javascript expression.
|
void |
BrowserComponent.JSProxy.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 |
BrowserComponent.JSProxy.get(int timeout,
Collection<String> properties,
SuccessCallback<Map<String,BrowserComponent.JSRef>> callback)
Gets multiple properties as a batch.
|
void |
BrowserComponent.JSProxy.get(int timeout,
String property,
SuccessCallback<BrowserComponent.JSRef> callback)
Gets a property of this javascript object.
|
void |
BrowserComponent.JSProxy.get(String property,
SuccessCallback<BrowserComponent.JSRef> callback)
Gets a property of this javascript object.
|
void |
BrowserComponent.removeJSCallback(Callback<BrowserComponent.JSRef> callback)
Removes a JS callback that was added via the
BrowserComponent.addJSCallback(java.lang.String, com.codename1.util.SuccessCallback) method. |
void |
BrowserComponent.removeJSCallback(SuccessCallback<BrowserComponent.JSRef> callback) |
void |
BrowserComponent.JSProxy.set(int timeout,
Map<String,Object> properties,
SuccessCallback<BrowserComponent.JSRef> callback)
Sets multiple properties in a single batch.
|
void |
BrowserComponent.JSProxy.set(int timeout,
String property,
Object value,
SuccessCallback<BrowserComponent.JSRef> callback)
Sets a property on this javascript object.
|
void |
BrowserComponent.JSProxy.set(Map<String,Object> properties,
SuccessCallback<BrowserComponent.JSRef> callback)
Sets multiple properties in a single batch.
|
void |
BrowserComponent.JSProxy.set(String property,
Object value,
SuccessCallback<BrowserComponent.JSRef> callback)
Sets a property on this javascript object.
|
Copyright © 2021. All rights reserved.