| Modifier and Type | Field and Description |
|---|---|
| protected ApplicationLogger | |
| protected final MockAudio | |
| protected final Array | |
| protected final HeadlessFiles | |
| protected final MockGraphics | |
| protected final MockInput | |
| protected final Array | |
| protected final ApplicationListener | |
| protected int | |
| protected Thread | |
| protected final HeadlessNet | |
| pack-priv ObjectMap | |
| private String | |
| protected final Array | |
| protected boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addLifecycleListener(LifecycleListener listener)
Implements com. Adds a new |
| public void | debug(String tag, String message)
Implements com. Logs a debug message to the console or logcat |
| public void | debug(String tag, String message, Throwable exception)
Implements com. Logs a debug message to the console or logcat |
| public void | error(String tag, String message)
Implements com. Logs an error message to the console or logcat |
| public void | error(String tag, String message, Throwable exception)
Implements com. Logs an error message to the console or logcat |
| public boolean | |
| public void | |
| public ApplicationListener | |
| public ApplicationLogger | |
| public Audio | |
| public Clipboard | |
| public Files | |
| public Graphics | |
| public Input | |
| public long | |
| public int | |
| public long | |
| public Net | |
| public Preferences | getPreferences(String name)
Implements com. Returns the |
| public Application. | |
| public int | |
| private void | |
| public void | log(String tag, String message)
Implements com. Logs a message to the console or logcat |
| public void | log(String tag, String message, Throwable exception)
Implements com. Logs a message to the console or logcat |
| protected void | |
| public void | postRunnable(Runnable runnable)
Implements com. Posts a |
| public void | removeLifecycleListener(LifecycleListener listener)
Implements com. Removes the |
| public void | setApplicationLogger(ApplicationLogger applicationLogger)
Implements com. Sets the current Application logger. |
| public void |
| applicationLogger | back to summary |
|---|---|
| protected ApplicationLogger applicationLogger | |
| audio | back to summary |
|---|---|
| protected final MockAudio audio | |
| executedRunnables | back to summary |
|---|---|
| protected final Array<Runnable> executedRunnables | |
| files | back to summary |
|---|---|
| protected final HeadlessFiles files | |
| graphics | back to summary |
|---|---|
| protected final MockGraphics graphics | |
| input | back to summary |
|---|---|
| protected final MockInput input | |
| lifecycleListeners | back to summary |
|---|---|
| protected final Array<LifecycleListener> lifecycleListeners | |
| listener | back to summary |
|---|---|
| protected final ApplicationListener listener | |
| logLevel | back to summary |
|---|---|
| protected int logLevel | |
| mainLoopThread | back to summary |
|---|---|
| protected Thread mainLoopThread | |
| net | back to summary |
|---|---|
| protected final HeadlessNet net | |
| preferences | back to summary |
|---|---|
| pack-priv ObjectMap<String, Preferences> preferences | |
| preferencesdir | back to summary |
|---|---|
| private String preferencesdir | |
| runnables | back to summary |
|---|---|
| protected final Array<Runnable> runnables | |
| running | back to summary |
|---|---|
| protected boolean running | |
| HeadlessApplication | back to summary |
|---|---|
| public HeadlessApplication(ApplicationListener listener) | |
| HeadlessApplication | back to summary |
|---|---|
| public HeadlessApplication(ApplicationListener listener, HeadlessApplicationConfiguration config) | |
| addLifecycleListener | back to summary |
|---|---|
| public void addLifecycleListener(LifecycleListener listener) Implements com. Doc from com. Adds a new
| |
| debug | back to summary |
|---|---|
| public void debug(String tag, String message) Implements com. Doc from com. Logs a debug message to the console or logcat
| |
| debug | back to summary |
|---|---|
| public void debug(String tag, String message, Throwable exception) Implements com. Doc from com. Logs a debug message to the console or logcat
| |
| error | back to summary |
|---|---|
| public void error(String tag, String message) Implements com. Doc from com. Logs an error message to the console or logcat
| |
| error | back to summary |
|---|---|
| public void error(String tag, String message, Throwable exception) Implements com. Doc from com. Logs an error message to the console or logcat
| |
| executeRunnables | back to summary |
|---|---|
| public boolean executeRunnables() | |
| exit | back to summary |
|---|---|
| public void exit() Implements com. Doc from com. Schedule an exit from the application. On android, this will cause a call to pause() and dispose() some time in the future, it will not immediately finish your application. On iOS this should be avoided in production as it breaks Apples guidelines
| |
| getApplicationListener | back to summary |
|---|---|
| public ApplicationListener getApplicationListener() Implements com.
| |
| getApplicationLogger | back to summary |
|---|---|
| public ApplicationLogger getApplicationLogger() Implements com.
| |
| getAudio | back to summary |
|---|---|
| public Audio getAudio() Implements com.
| |
| getClipboard | back to summary |
|---|---|
| public Clipboard getClipboard() Implements com.
| |
| getFiles | back to summary |
|---|---|
| public Files getFiles() Implements com.
| |
| getGraphics | back to summary |
|---|---|
| public Graphics getGraphics() Implements com.
| |
| getInput | back to summary |
|---|---|
| public Input getInput() Implements com.
| |
| getJavaHeap | back to summary |
|---|---|
| public long getJavaHeap() Implements com.
| |
| getLogLevel | back to summary |
|---|---|
| public int getLogLevel() Implements com. Doc from com. Gets the log level.
| |
| getNativeHeap | back to summary |
|---|---|
| public long getNativeHeap() Implements com.
| |
| getNet | back to summary |
|---|---|
| public Net getNet() Implements com.
| |
| getPreferences | back to summary |
|---|---|
| public Preferences getPreferences(String name) Implements com. Doc from com. Returns the
| |
| getType | back to summary |
|---|---|
| public Application. Implements com.
| |
| getVersion | back to summary |
|---|---|
| public int getVersion() Implements com.
| |
| initialize | back to summary |
|---|---|
| private void initialize() | |
| log | back to summary |
|---|---|
| public void log(String tag, String message) Implements com. Doc from com. Logs a message to the console or logcat
| |
| log | back to summary |
|---|---|
| public void log(String tag, String message, Throwable exception) Implements com. Doc from com. Logs a message to the console or logcat
| |
| mainLoop | back to summary |
|---|---|
| protected void mainLoop() | |
| postRunnable | back to summary |
|---|---|
| public void postRunnable(Runnable runnable) Implements com. Doc from com. Posts a
| |
| removeLifecycleListener | back to summary |
|---|---|
| public void removeLifecycleListener(LifecycleListener listener) Implements com. Doc from com. Removes the
| |
| setApplicationLogger | back to summary |
|---|---|
| public void setApplicationLogger(ApplicationLogger applicationLogger) Implements com. Doc from com. Sets the current Application logger. Calls to
| |
| setLogLevel | back to summary |
|---|---|
| public void setLogLevel(int logLevel) Implements com. Doc from com. Sets the log level.
| |