| Package | Description |
|---|---|
| com.codename1.components |
Generic elaborate components that make use of both UI elements and storage.
|
| 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.io |
Networking, Storage, Filesystem & related API's
|
| com.codename1.io.rest |
Simplified REST API
|
| com.codename1.util |
General utilities classes
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ToastBar.showConnectionProgress(String message,
ConnectionRequest cr,
SuccessCallback<NetworkEvent> onSuccess,
FailureCallback<NetworkEvent> onError) |
| Modifier and Type | Method and Description |
|---|---|
void |
CodenameOneImplementation.downloadImageToCache(String url,
SuccessCallback<Image> onSuccess,
FailureCallback<Image> onFail)
Downloads an image from a URL to the cache.
|
void |
CodenameOneImplementation.downloadImageToFileSystem(String url,
String fileName,
SuccessCallback<Image> onSuccess,
FailureCallback<Image> onFail)
Downloads an image to file system.
|
void |
CodenameOneImplementation.downloadImageToStorage(String url,
String fileName,
SuccessCallback<Image> onSuccess,
FailureCallback<Image> onFail)
Downloads an image to storage.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Util.downloadImageToCache(String url,
SuccessCallback<Image> onSuccess,
FailureCallback<Image> onFail)
Downloads an image to the cache asynchronously.
|
static void |
Util.downloadImageToFileSystem(String url,
String fileName,
SuccessCallback<Image> onSuccess,
FailureCallback<Image> onFail)
Downloads an image to the file system asynchronously.
|
void |
ConnectionRequest.downloadImageToFileSystem(String file,
SuccessCallback<Image> onSuccess,
FailureCallback<Image> onFail)
Downloads an image to a the file system asynchronously and calls the onSuccessCallback with the resulting image.
|
void |
ConnectionRequest.downloadImageToFileSystem(String file,
SuccessCallback<Image> onSuccess,
FailureCallback<Image> onFail,
boolean useCache)
Downloads an image to a the file system asynchronously and calls the onSuccessCallback with the resulting image.
|
static void |
Util.downloadImageToStorage(String url,
String fileName,
SuccessCallback<Image> onSuccess,
FailureCallback<Image> onFail)
Downloads an image to storage asynchronously.
|
void |
ConnectionRequest.downloadImageToStorage(String storageFile,
SuccessCallback<Image> onSuccess,
FailureCallback<Image> onFail)
Downloads an image to a specified storage file asynchronously and calls the onSuccessCallback with the resulting image.
|
void |
ConnectionRequest.downloadImageToStorage(String storageFile,
SuccessCallback<Image> onSuccess,
FailureCallback<Image> onFail,
boolean useCache)
Downloads an image to a specified storage file asynchronously and calls the onSuccessCallback with the resulting image.
|
static void |
WebServiceProxyCall.invokeWebserviceASync(WebServiceProxyCall.WSDefinition def,
SuccessCallback scall,
FailureCallback fcall,
Object... arguments)
Invokes a web asynchronously and calls the callback on completion
|
| Modifier and Type | Method and Description |
|---|---|
ConnectionRequest |
RequestBuilder.getAsJsonMap(SuccessCallback<Response<Map>> callback,
FailureCallback<? extends Object> onError)
Deprecated.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Callback<T>
Simple interface that allows asynchronous code to perform a parameterized callback
or failure in a similar way to GWT's callback interface.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CallbackAdapter<T>
Adapter for the {Callback} interface.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
CallbackDispatcher.dispatchError(FailureCallback failure,
Throwable error)
Calls the given callback's
onError(java.lang.Object, java.lang.Throwable, int, java.lang.String) method, passing the supplied error as
a parameter. |
Copyright © 2023. All rights reserved.