| Package | Description |
|---|---|
| com.codename1.ui |
Main widget package containing the component/container "composite" similar
both in terminology and design to Swing/AWT.
|
| com.codename1.util |
General utilities classes
|
| com.codename1.util.promise |
| Modifier and Type | Method and Description |
|---|---|
void |
Display.scheduleBackgroundTask(Runnable r)
Allows executing a background task in a separate low priority thread.
|
Timer |
Display.setInterval(int period,
Runnable r)
Convenience method to schedule a task to run on the EDT after periodms
repeating every periodms.
|
Timer |
Display.setTimeout(int timeout,
Runnable r)
Convenience method to schedule a task to run on the EDT after timeoutms.
|
| Constructor and Description |
|---|
AsyncResource() |
| Constructor and Description |
|---|
Promise(ExecutorFunction executor)
Creates a new promise with the given executor function.
|
Copyright © 2022. All rights reserved.