| Package | Description |
|---|---|
| com.codename1.impl |
The implementation package should not be used by developers, it is an internal implementation detail
which will break compatibility between major Codename One releases.
|
| com.codename1.javascript |
NOTE: The
com.codename1.javascript package is now deprecated. |
| 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 |
|---|---|
protected BrowserComponent |
CodenameOneImplementation.createSharedJavascriptContext()
Creates a shared javascript context.
|
BrowserComponent |
CodenameOneImplementation.getSharedJavscriptContext()
Gets a reference to an application-wide shared Javascript context that can be used for running
Javascript commands.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JavascriptContext.setBrowserComponent(BrowserComponent c)
Deprecated.
Sets the BrowserComponent on which this javascript context runs.
|
| Constructor and Description |
|---|
JavascriptContext(BrowserComponent c)
Deprecated.
Creates a Javascript context for the given BrowserComponent.
|
| Modifier and Type | Method and Description |
|---|---|
BrowserComponent |
Display.getSharedJavascriptContext()
Gets a reference to an application-wide shared Javascript context that can be used for running
Javascript commands.
|
static BrowserComponent |
CN.getSharedJavascriptContext()
Gets a reference to an application-wide shared Javascript context that can be used for running
Javascript commands.
|
BrowserComponent |
BrowserComponent.ready(SuccessCallback<BrowserComponent> onReady)
Registers a callback to be run when the BrowserComponent is "ready".
|
| Modifier and Type | Method and Description |
|---|---|
AsyncResource<BrowserComponent> |
BrowserComponent.ready()
Returns a promise that will complete when the browser component is "ready".
|
AsyncResource<BrowserComponent> |
BrowserComponent.ready(int timeout)
Returns a promise that will complete when the browser component is "ready".
|
| Modifier and Type | Method and Description |
|---|---|
BrowserComponent |
BrowserComponent.ready(SuccessCallback<BrowserComponent> onReady)
Registers a callback to be run when the BrowserComponent is "ready".
|
Copyright © 2022. All rights reserved.