Package com.prineside.luaj.mapping.parts
Class LJ_GDX.Application_C.LIP
java.lang.Object
com.prineside.luaj.mapping.InterfaceProxy
com.prineside.luaj.mapping.parts.LJ_GDX.Application_C.LIP
- All Implemented Interfaces:
com.badlogic.gdx.Application
,com.esotericsoftware.kryo.KryoSerializable
- Enclosing class:
- LJ_GDX.Application_C
public static class LJ_GDX.Application_C.LIP
extends InterfaceProxy
implements com.badlogic.gdx.Application
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.badlogic.gdx.Application
com.badlogic.gdx.Application.ApplicationType
-
Field Summary
Fields inherited from class com.prineside.luaj.mapping.InterfaceProxy
luaObj
Fields inherited from interface com.badlogic.gdx.Application
LOG_DEBUG, LOG_ERROR, LOG_INFO, LOG_NONE
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addLifecycleListener
(com.badlogic.gdx.LifecycleListener p1) Adds a newLifecycleListener
to the application.void
Logs a debug message to the console or logcatvoid
Logs a debug message to the console or logcatvoid
Logs an error message to the console or logcatvoid
Logs an error message to the console or logcatvoid
exit()
Schedule an exit from the application.com.badlogic.gdx.ApplicationListener
com.badlogic.gdx.ApplicationLogger
com.badlogic.gdx.Audio
getAudio()
com.badlogic.gdx.utils.Clipboard
com.badlogic.gdx.Files
getFiles()
com.badlogic.gdx.Graphics
com.badlogic.gdx.Input
getInput()
long
int
Gets the log level.long
com.badlogic.gdx.Net
getNet()
com.badlogic.gdx.Preferences
getPreferences
(String p1) Returns thePreferences
instance of this Application.com.badlogic.gdx.Application.ApplicationType
getType()
int
void
Logs a message to the console or logcatvoid
Logs a message to the console or logcatvoid
postRunnable
(Runnable p1) Posts aRunnable
on the main loop thread.void
removeLifecycleListener
(com.badlogic.gdx.LifecycleListener p1) Removes theLifecycleListener
.void
setApplicationLogger
(com.badlogic.gdx.ApplicationLogger p1) Sets the current Application logger.void
setLogLevel
(int p1) Sets the log level.Methods inherited from class com.prineside.luaj.mapping.InterfaceProxy
getLuaObj, read, write
-
Method Details
-
addLifecycleListener
public void addLifecycleListener(com.badlogic.gdx.LifecycleListener p1) Description copied from interface:com.badlogic.gdx.Application
Adds a newLifecycleListener
to the application. This can be used by extensions to hook into the lifecycle more easily. TheApplicationListener
methods are sufficient for application level development.- Specified by:
addLifecycleListener
in interfacecom.badlogic.gdx.Application
-
debug
Description copied from interface:com.badlogic.gdx.Application
Logs a debug message to the console or logcat- Specified by:
debug
in interfacecom.badlogic.gdx.Application
-
debug
Description copied from interface:com.badlogic.gdx.Application
Logs a debug message to the console or logcat- Specified by:
debug
in interfacecom.badlogic.gdx.Application
-
error
Description copied from interface:com.badlogic.gdx.Application
Logs an error message to the console or logcat- Specified by:
error
in interfacecom.badlogic.gdx.Application
-
error
Description copied from interface:com.badlogic.gdx.Application
Logs an error message to the console or logcat- Specified by:
error
in interfacecom.badlogic.gdx.Application
-
exit
public void exit()Description copied from interface:com.badlogic.gdx.Application
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- Specified by:
exit
in interfacecom.badlogic.gdx.Application
-
getApplicationListener
public com.badlogic.gdx.ApplicationListener getApplicationListener()- Specified by:
getApplicationListener
in interfacecom.badlogic.gdx.Application
- Returns:
- the
ApplicationListener
instance
-
getApplicationLogger
public com.badlogic.gdx.ApplicationLogger getApplicationLogger()- Specified by:
getApplicationLogger
in interfacecom.badlogic.gdx.Application
- Returns:
- the current
ApplicationLogger
-
getAudio
public com.badlogic.gdx.Audio getAudio()- Specified by:
getAudio
in interfacecom.badlogic.gdx.Application
- Returns:
- the
Audio
instance
-
getClipboard
public com.badlogic.gdx.utils.Clipboard getClipboard()- Specified by:
getClipboard
in interfacecom.badlogic.gdx.Application
-
getFiles
public com.badlogic.gdx.Files getFiles()- Specified by:
getFiles
in interfacecom.badlogic.gdx.Application
- Returns:
- the
Files
instance
-
getGraphics
public com.badlogic.gdx.Graphics getGraphics()- Specified by:
getGraphics
in interfacecom.badlogic.gdx.Application
- Returns:
- the
Graphics
instance
-
getInput
public com.badlogic.gdx.Input getInput()- Specified by:
getInput
in interfacecom.badlogic.gdx.Application
- Returns:
- the
Input
instance
-
getJavaHeap
public long getJavaHeap()- Specified by:
getJavaHeap
in interfacecom.badlogic.gdx.Application
- Returns:
- the Java heap memory use in bytes
-
getLogLevel
public int getLogLevel()Description copied from interface:com.badlogic.gdx.Application
Gets the log level.- Specified by:
getLogLevel
in interfacecom.badlogic.gdx.Application
-
getNativeHeap
public long getNativeHeap()- Specified by:
getNativeHeap
in interfacecom.badlogic.gdx.Application
- Returns:
- the Native heap memory use in bytes
-
getNet
public com.badlogic.gdx.Net getNet()- Specified by:
getNet
in interfacecom.badlogic.gdx.Application
- Returns:
- the
Net
instance
-
getPreferences
Description copied from interface:com.badlogic.gdx.Application
Returns thePreferences
instance of this Application. It can be used to store application settings across runs.- Specified by:
getPreferences
in interfacecom.badlogic.gdx.Application
- Parameters:
p1
- the name of the preferences, must be useable as a file name.- Returns:
- the preferences.
-
getType
public com.badlogic.gdx.Application.ApplicationType getType()- Specified by:
getType
in interfacecom.badlogic.gdx.Application
- Returns:
- what
Application.ApplicationType
this application has, e.g. Android or Desktop
-
getVersion
public int getVersion()- Specified by:
getVersion
in interfacecom.badlogic.gdx.Application
- Returns:
- the Android API level on Android, the major OS version on iOS (5, 6, 7, ..), or 0 on the desktop.
-
log
Description copied from interface:com.badlogic.gdx.Application
Logs a message to the console or logcat- Specified by:
log
in interfacecom.badlogic.gdx.Application
-
log
Description copied from interface:com.badlogic.gdx.Application
Logs a message to the console or logcat- Specified by:
log
in interfacecom.badlogic.gdx.Application
-
postRunnable
Description copied from interface:com.badlogic.gdx.Application
Posts aRunnable
on the main loop thread. In a multi-window application, the Gdx.graphics and Gdx.input values may be unpredictable at the time the Runnable is executed. If graphics or input are needed, they can be copied to a variable to be used in the Runnable. For example:final Graphics graphics = Gdx.graphics;
- Specified by:
postRunnable
in interfacecom.badlogic.gdx.Application
- Parameters:
p1
- the runnable.
-
removeLifecycleListener
public void removeLifecycleListener(com.badlogic.gdx.LifecycleListener p1) Description copied from interface:com.badlogic.gdx.Application
Removes theLifecycleListener
.- Specified by:
removeLifecycleListener
in interfacecom.badlogic.gdx.Application
-
setApplicationLogger
public void setApplicationLogger(com.badlogic.gdx.ApplicationLogger p1) Description copied from interface:com.badlogic.gdx.Application
Sets the current Application logger. Calls toApplication.log(String, String)
are delegated to thisApplicationLogger
- Specified by:
setApplicationLogger
in interfacecom.badlogic.gdx.Application
-
setLogLevel
public void setLogLevel(int p1) Description copied from interface:com.badlogic.gdx.Application
Sets the log level.Application.LOG_NONE
will mute all log output.Application.LOG_ERROR
will only let error messages through.Application.LOG_INFO
will let all non-debug messages through, andApplication.LOG_DEBUG
will let all messages through.- Specified by:
setLogLevel
in interfacecom.badlogic.gdx.Application
- Parameters:
p1
-Application.LOG_NONE
,Application.LOG_ERROR
,Application.LOG_INFO
,Application.LOG_DEBUG
.
-