<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_17) on Sun Nov 03 15:35:43 CET 2013 -->
<title>LwjglApplication (libgdx API)
</title>
<meta name="date" content="2013-11-03">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="LwjglApplication (libgdx API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.
</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview
</a></li>
<li><a href="package-summary.html">Package
</a></li>
<li class="navBarCell1Rev">Class
</li>
<li><a href="class-use/LwjglApplication.html">Use
</a></li>
<li><a href="package-tree.html">Tree
</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated
</a></li>
<li><a href="../../../../../index-all.html">Index
</a></li>
<li><a href="../../../../../help-doc.html">Help
</a></li>
</ul>
<div class="aboutLanguage"><em>
libgdx API
<style>
body, td, th { font-family:Helvetica, Tahoma, Arial, sans-serif; font-size:10pt }
pre, code, tt { font-size:9pt; font-family:Lucida Console, Courier New, sans-serif }
h1, h2, h3, .FrameTitleFont, .FrameHeadingFont, .TableHeadingColor font { font-size:105%; font-weight:bold }
.TableHeadingColor { background:#EEEEFF; }
a { text-decoration:none }
a:hover { text-decoration:underline }
a:link, a:visited { color:blue }
table { border:0px }
.TableRowColor td:first-child { border-left:1px solid black }
.TableRowColor td { border:0px; border-bottom:1px solid black; border-right:1px solid black }
hr { border:0px; border-bottom:1px solid #333366; }
</style>
</em></div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplet.html" title="class in com.badlogic.gdx.backends.lwjgl"><span class="strong">Prev Class
</span></a></li>
<li><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglCanvas.html" title="class in com.badlogic.gdx.backends.lwjgl"><span class="strong">Next Class
</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?com/badlogic/gdx/backends/lwjgl/LwjglApplication.html" target="_top">Frames
</a></li>
<li><a href="LwjglApplication.html" target="_top">No Frames
</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All Classes
</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:
</li>
<li>Nested
|
</li>
<li><a href="#field_summary">Field
</a> |
</li>
<li><a href="#constructor_summary">Constr
</a> |
</li>
<li><a href="#method_summary">Method
</a></li>
</ul>
<ul class="subNavList">
<li>Detail:
</li>
<li><a href="#field_detail">Field
</a> |
</li>
<li><a href="#constructor_detail">Constr
</a> |
</li>
<li><a href="#method_detail">Method
</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.badlogic.gdx.backends.lwjgl
</div>
<h2 title="Class LwjglApplication" class="title">Class LwjglApplication
</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object
</li>
<li>
<ul class="inheritance">
<li>com.badlogic.gdx.backends.lwjgl.LwjglApplication
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:
</dt>
<dd><a href="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application
</a></dd>
</dl>
<hr>
<br>
<pre>public class
<span class="strong">LwjglApplication
</span>
extends java.lang.Object
implements
<a href="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application
</a></pre>
<div class="block">An OpenGL surface fullscreen or in a lightweight window.
</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested_class_summary">
<!-- -->
</a>
<h3>Nested Class Summary
</h3>
<ul class="blockList">
<li class="blockList"><a name="nested_classes_inherited_from_class_com.badlogic.gdx.Application">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface
com.badlogic.gdx.
<a href="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application
</a></h3>
<code><a href="../../../../../com/badlogic/gdx/Application.ApplicationType.html" title="enum in com.badlogic.gdx">Application.ApplicationType
</a></code></li>
</ul>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary
</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields
</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type
</th>
<th class="colLast" scope="col">Field and Description
</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected OpenALAudio
</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#audio">audio
</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected
<a href="../../../../../com/badlogic/gdx/utils/Array.html" title="class in com.badlogic.gdx.utils">Array
</a><java.lang.Runnable
></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#executedRunnables">executedRunnables
</a></strong></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected LwjglFiles
</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#files">files
</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected LwjglGraphics
</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#graphics">graphics
</a></strong></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected LwjglInput
</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#input">input
</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected
<a href="../../../../../com/badlogic/gdx/utils/Array.html" title="class in com.badlogic.gdx.utils">Array
</a><<a href="../../../../../com/badlogic/gdx/LifecycleListener.html" title="interface in com.badlogic.gdx">LifecycleListener
</a>></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#lifecycleListeners">lifecycleListeners
</a></strong></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected
<a href="../../../../../com/badlogic/gdx/ApplicationListener.html" title="interface in com.badlogic.gdx">ApplicationListener
</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#listener">listener
</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int
</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#logLevel">logLevel
</a></strong></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.lang.Thread
</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#mainLoopThread">mainLoopThread
</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected LwjglNet
</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#net">net
</a></strong></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected
<a href="../../../../../com/badlogic/gdx/utils/Array.html" title="class in com.badlogic.gdx.utils">Array
</a><java.lang.Runnable
></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#runnables">runnables
</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean
</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#running">running
</a></strong></code> </td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_com.badlogic.gdx.Application">
<!-- -->
</a>
<h3>Fields inherited from interface
com.badlogic.gdx.
<a href="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application
</a></h3>
<code><a href="../../../../../com/badlogic/gdx/Application.html#LOG_DEBUG">LOG_DEBUG
</a>,
<a href="../../../../../com/badlogic/gdx/Application.html#LOG_ERROR">LOG_ERROR
</a>,
<a href="../../../../../com/badlogic/gdx/Application.html#LOG_INFO">LOG_INFO
</a>,
<a href="../../../../../com/badlogic/gdx/Application.html#LOG_NONE">LOG_NONE
</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary
</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors
</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description
</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#LwjglApplication(com.badlogic.gdx.ApplicationListener)">LwjglApplication
</a></strong>(
<a href="../../../../../com/badlogic/gdx/ApplicationListener.html" title="interface in com.badlogic.gdx">ApplicationListener
</a> listener)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#LwjglApplication(com.badlogic.gdx.ApplicationListener, boolean, java.awt.Canvas)">LwjglApplication
</a></strong>(
<a href="../../../../../com/badlogic/gdx/ApplicationListener.html" title="interface in com.badlogic.gdx">ApplicationListener
</a> listener,
boolean
useGL2,
java.awt.Canvas
canvas)
</code> </td>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#LwjglApplication(com.badlogic.gdx.ApplicationListener, LwjglApplicationConfiguration)">LwjglApplication
</a></strong>(
<a href="../../../../../com/badlogic/gdx/ApplicationListener.html" title="interface in com.badlogic.gdx">ApplicationListener
</a> listener,
LwjglApplicationConfiguration
config)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#LwjglApplication(com.badlogic.gdx.ApplicationListener, LwjglApplicationConfiguration, java.awt.Canvas)">LwjglApplication
</a></strong>(
<a href="../../../../../com/badlogic/gdx/ApplicationListener.html" title="interface in com.badlogic.gdx">ApplicationListener
</a> listener,
LwjglApplicationConfiguration
config,
java.awt.Canvas
canvas)
</code> </td>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#LwjglApplication(com.badlogic.gdx.ApplicationListener, LwjglApplicationConfiguration, LwjglGraphics)">LwjglApplication
</a></strong>(
<a href="../../../../../com/badlogic/gdx/ApplicationListener.html" title="interface in com.badlogic.gdx">ApplicationListener
</a> listener,
LwjglApplicationConfiguration
config,
LwjglGraphics
graphics)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#LwjglApplication(com.badlogic.gdx.ApplicationListener, java.lang.String, int, int, boolean)">LwjglApplication
</a></strong>(
<a href="../../../../../com/badlogic/gdx/ApplicationListener.html" title="interface in com.badlogic.gdx">ApplicationListener
</a> listener,
java.lang.String
title,
int
width,
int
height,
boolean
useGL2)
</code> </td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary
</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods
</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type
</th>
<th class="colLast" scope="col">Method and Description
</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#addLifecycleListener(com.badlogic.gdx.LifecycleListener)">addLifecycleListener
</a></strong>(
<a href="../../../../../com/badlogic/gdx/LifecycleListener.html" title="interface in com.badlogic.gdx">LifecycleListener
</a> listener)
</code>
<div class="block">Adds a new
<a href="../../../../../com/badlogic/gdx/LifecycleListener.html" title="interface in com.badlogic.gdx"><code>LifecycleListener
</code></a> to the application.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#debug(java.lang.String, java.lang.String)">debug
</a></strong>(java.lang.String
tag,
java.lang.String
message)
</code>
<div class="block">Logs a debug message to the console or logcat
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#debug(java.lang.String, java.lang.String, java.lang.Throwable)">debug
</a></strong>(java.lang.String
tag,
java.lang.String
message,
java.lang.Throwable
exception)
</code>
<div class="block">Logs a debug message to the console or logcat
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#error(java.lang.String, java.lang.String)">error
</a></strong>(java.lang.String
tag,
java.lang.String
message)
</code>
<div class="block">Logs an error message to the console or logcat
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#error(java.lang.String, java.lang.String, java.lang.Throwable)">error
</a></strong>(java.lang.String
tag,
java.lang.String
message,
java.lang.Throwable
exception)
</code>
<div class="block">Logs an error message to the console or logcat
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean
</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#executeRunnables()">executeRunnables
</a></strong>()
</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#exit()">exit
</a></strong>()
</code>
<div class="block">Schedule an exit from the application.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/ApplicationListener.html" title="interface in com.badlogic.gdx">ApplicationListener
</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#getApplicationListener()">getApplicationListener
</a></strong>()
</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/Audio.html" title="interface in com.badlogic.gdx">Audio
</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#getAudio()">getAudio
</a></strong>()
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/utils/Clipboard.html" title="interface in com.badlogic.gdx.utils">Clipboard
</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#getClipboard()">getClipboard
</a></strong>()
</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/Files.html" title="interface in com.badlogic.gdx">Files
</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#getFiles()">getFiles
</a></strong>()
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>LwjglGraphics
</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#getGraphics()">getGraphics
</a></strong>()
</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/Input.html" title="interface in com.badlogic.gdx">Input
</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#getInput()">getInput
</a></strong>()
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>long
</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#getJavaHeap()">getJavaHeap
</a></strong>()
</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int
</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#getLogLevel()">getLogLevel
</a></strong>()
</code>
<div class="block">Gets the log level.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>long
</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#getNativeHeap()">getNativeHeap
</a></strong>()
</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/Net.html" title="interface in com.badlogic.gdx">Net
</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#getNet()">getNet
</a></strong>()
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/Preferences.html" title="interface in com.badlogic.gdx">Preferences
</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#getPreferences(java.lang.String)">getPreferences
</a></strong>(java.lang.String
name)
</code>
<div class="block">Returns the
<a href="../../../../../com/badlogic/gdx/Preferences.html" title="interface in com.badlogic.gdx"><code>Preferences
</code></a> instance of this Application.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/Application.ApplicationType.html" title="enum in com.badlogic.gdx">Application.ApplicationType
</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#getType()">getType
</a></strong>()
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int
</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#getVersion()">getVersion
</a></strong>()
</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#log(java.lang.String, java.lang.String)">log
</a></strong>(java.lang.String
tag,
java.lang.String
message)
</code>
<div class="block">Logs a message to the console or logcat
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#log(java.lang.String, java.lang.String, java.lang.Throwable)">log
</a></strong>(java.lang.String
tag,
java.lang.String
message,
java.lang.Throwable
exception)
</code>
<div class="block">Logs a message to the console or logcat
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#postRunnable(java.lang.Runnable)">postRunnable
</a></strong>(java.lang.Runnable
runnable)
</code>
<div class="block">Posts a
<code>Runnable
</code> on the main loop thread.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#removeLifecycleListener(com.badlogic.gdx.LifecycleListener)">removeLifecycleListener
</a></strong>(
<a href="../../../../../com/badlogic/gdx/LifecycleListener.html" title="interface in com.badlogic.gdx">LifecycleListener
</a> listener)
</code>
<div class="block">Removes the
<a href="../../../../../com/badlogic/gdx/LifecycleListener.html" title="interface in com.badlogic.gdx"><code>LifecycleListener
</code></a>.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#setLogLevel(int)">setLogLevel
</a></strong>(int
logLevel)
</code>
<div class="block">Sets the log level.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplication.html#stop()">stop
</a></strong>()
</code> </td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class
java.lang.Object
</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail
</h3>
<a name="graphics">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>graphics
</h4>
<pre>protected final
LwjglGraphics graphics
</pre>
</li>
</ul>
<a name="audio">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>audio
</h4>
<pre>protected
OpenALAudio audio
</pre>
</li>
</ul>
<a name="files">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>files
</h4>
<pre>protected final
LwjglFiles files
</pre>
</li>
</ul>
<a name="input">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>input
</h4>
<pre>protected final
LwjglInput input
</pre>
</li>
</ul>
<a name="net">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>net
</h4>
<pre>protected final
LwjglNet net
</pre>
</li>
</ul>
<a name="listener">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listener
</h4>
<pre>protected final
<a href="../../../../../com/badlogic/gdx/ApplicationListener.html" title="interface in com.badlogic.gdx">ApplicationListener
</a> listener
</pre>
</li>
</ul>
<a name="mainLoopThread">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mainLoopThread
</h4>
<pre>protected
java.lang.Thread mainLoopThread
</pre>
</li>
</ul>
<a name="running">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>running
</h4>
<pre>protected
boolean running
</pre>
</li>
</ul>
<a name="runnables">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>runnables
</h4>
<pre>protected final
<a href="../../../../../com/badlogic/gdx/utils/Array.html" title="class in com.badlogic.gdx.utils">Array
</a><java.lang.Runnable
> runnables
</pre>
</li>
</ul>
<a name="executedRunnables">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>executedRunnables
</h4>
<pre>protected final
<a href="../../../../../com/badlogic/gdx/utils/Array.html" title="class in com.badlogic.gdx.utils">Array
</a><java.lang.Runnable
> executedRunnables
</pre>
</li>
</ul>
<a name="lifecycleListeners">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lifecycleListeners
</h4>
<pre>protected final
<a href="../../../../../com/badlogic/gdx/utils/Array.html" title="class in com.badlogic.gdx.utils">Array
</a><<a href="../../../../../com/badlogic/gdx/LifecycleListener.html" title="interface in com.badlogic.gdx">LifecycleListener
</a>> lifecycleListeners
</pre>
</li>
</ul>
<a name="logLevel">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>logLevel
</h4>
<pre>protected
int logLevel
</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail
</h3>
<a name="LwjglApplication(com.badlogic.gdx.ApplicationListener, java.lang.String, int, int, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LwjglApplication
</h4>
<pre>public
LwjglApplication(
<a href="../../../../../com/badlogic/gdx/ApplicationListener.html" title="interface in com.badlogic.gdx">ApplicationListener
</a> listener,
java.lang.String
title,
int
width,
int
height,
boolean
useGL2)
</pre>
</li>
</ul>
<a name="LwjglApplication(com.badlogic.gdx.ApplicationListener)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LwjglApplication
</h4>
<pre>public
LwjglApplication(
<a href="../../../../../com/badlogic/gdx/ApplicationListener.html" title="interface in com.badlogic.gdx">ApplicationListener
</a> listener)
</pre>
</li>
</ul>
<a name="LwjglApplication(com.badlogic.gdx.ApplicationListener, LwjglApplicationConfiguration)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LwjglApplication
</h4>
<pre>public
LwjglApplication(
<a href="../../../../../com/badlogic/gdx/ApplicationListener.html" title="interface in com.badlogic.gdx">ApplicationListener
</a> listener,
LwjglApplicationConfiguration
config)
</pre>
</li>
</ul>
<a name="LwjglApplication(com.badlogic.gdx.ApplicationListener, boolean, java.awt.Canvas)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LwjglApplication
</h4>
<pre>public
LwjglApplication(
<a href="../../../../../com/badlogic/gdx/ApplicationListener.html" title="interface in com.badlogic.gdx">ApplicationListener
</a> listener,
boolean
useGL2,
java.awt.Canvas
canvas)
</pre>
</li>
</ul>
<a name="LwjglApplication(com.badlogic.gdx.ApplicationListener, LwjglApplicationConfiguration, java.awt.Canvas)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LwjglApplication
</h4>
<pre>public
LwjglApplication(
<a href="../../../../../com/badlogic/gdx/ApplicationListener.html" title="interface in com.badlogic.gdx">ApplicationListener
</a> listener,
LwjglApplicationConfiguration
config,
java.awt.Canvas
canvas)
</pre>
</li>
</ul>
<a name="LwjglApplication(com.badlogic.gdx.ApplicationListener, LwjglApplicationConfiguration, LwjglGraphics)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>LwjglApplication
</h4>
<pre>public
LwjglApplication(
<a href="../../../../../com/badlogic/gdx/ApplicationListener.html" title="interface in com.badlogic.gdx">ApplicationListener
</a> listener,
LwjglApplicationConfiguration
config,
LwjglGraphics
graphics)
</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail
</h3>
<a name="executeRunnables()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>executeRunnables
</h4>
<pre>public
boolean
executeRunnables()
</pre>
</li>
</ul>
<a name="getApplicationListener()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getApplicationListener
</h4>
<pre>public
<a href="../../../../../com/badlogic/gdx/ApplicationListener.html" title="interface in com.badlogic.gdx">ApplicationListener
</a> getApplicationListener()
</pre>
<dl>
<dt><strong>Specified by:
</strong></dt>
<dd><code><a href="../../../../../com/badlogic/gdx/Application.html#getApplicationListener()">getApplicationListener
</a></code> in interface
<code><a href="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application
</a></code></dd>
<dt><span class="strong">Returns:
</span></dt><dd>the
<a href="../../../../../com/badlogic/gdx/ApplicationListener.html" title="interface in com.badlogic.gdx"><code>ApplicationListener
</code></a> instance
</dd></dl>
</li>
</ul>
<a name="getAudio()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAudio
</h4>
<pre>public
<a href="../../../../../com/badlogic/gdx/Audio.html" title="interface in com.badlogic.gdx">Audio
</a> getAudio()
</pre>
<dl>
<dt><strong>Specified by:
</strong></dt>
<dd><code><a href="../../../../../com/badlogic/gdx/Application.html#getAudio()">getAudio
</a></code> in interface
<code><a href="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application
</a></code></dd>
<dt><span class="strong">Returns:
</span></dt><dd>the
<a href="../../../../../com/badlogic/gdx/Audio.html" title="interface in com.badlogic.gdx"><code>Audio
</code></a> instance
</dd></dl>
</li>
</ul>
<a name="getFiles()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFiles
</h4>
<pre>public
<a href="../../../../../com/badlogic/gdx/Files.html" title="interface in com.badlogic.gdx">Files
</a> getFiles()
</pre>
<dl>
<dt><strong>Specified by:
</strong></dt>
<dd><code><a href="../../../../../com/badlogic/gdx/Application.html#getFiles()">getFiles
</a></code> in interface
<code><a href="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application
</a></code></dd>
<dt><span class="strong">Returns:
</span></dt><dd>the
<a href="../../../../../com/badlogic/gdx/Files.html" title="interface in com.badlogic.gdx"><code>Files
</code></a> instance
</dd></dl>
</li>
</ul>
<a name="getGraphics()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGraphics
</h4>
<pre>public
LwjglGraphics
getGraphics()
</pre>
<dl>
<dt><strong>Specified by:
</strong></dt>
<dd><code><a href="../../../../../com/badlogic/gdx/Application.html#getGraphics()">getGraphics
</a></code> in interface
<code><a href="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application
</a></code></dd>
<dt><span class="strong">Returns:
</span></dt><dd>the
<a href="../../../../../com/badlogic/gdx/Graphics.html" title="interface in com.badlogic.gdx"><code>Graphics
</code></a> instance
</dd></dl>
</li>
</ul>
<a name="getInput()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInput
</h4>
<pre>public
<a href="../../../../../com/badlogic/gdx/Input.html" title="interface in com.badlogic.gdx">Input
</a> getInput()
</pre>
<dl>
<dt><strong>Specified by:
</strong></dt>
<dd><code><a href="../../../../../com/badlogic/gdx/Application.html#getInput()">getInput
</a></code> in interface
<code><a href="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application
</a></code></dd>
<dt><span class="strong">Returns:
</span></dt><dd>the
<a href="../../../../../com/badlogic/gdx/Input.html" title="interface in com.badlogic.gdx"><code>Input
</code></a> instance
</dd></dl>
</li>
</ul>
<a name="getNet()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNet
</h4>
<pre>public
<a href="../../../../../com/badlogic/gdx/Net.html" title="interface in com.badlogic.gdx">Net
</a> getNet()
</pre>
<dl>
<dt><strong>Specified by:
</strong></dt>
<dd><code><a href="../../../../../com/badlogic/gdx/Application.html#getNet()">getNet
</a></code> in interface
<code><a href="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application
</a></code></dd>
<dt><span class="strong">Returns:
</span></dt><dd>the
<a href="../../../../../com/badlogic/gdx/Net.html" title="interface in com.badlogic.gdx"><code>Net
</code></a> instance
</dd></dl>
</li>
</ul>
<a name="getType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getType
</h4>
<pre>public
<a href="../../../../../com/badlogic/gdx/Application.ApplicationType.html" title="enum in com.badlogic.gdx">Application.ApplicationType
</a> getType()
</pre>
<dl>
<dt><strong>Specified by:
</strong></dt>
<dd><code><a href="../../../../../com/badlogic/gdx/Application.html#getType()">getType
</a></code> in interface
<code><a href="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application
</a></code></dd>
<dt><span class="strong">Returns:
</span></dt><dd>what
<a href="../../../../../com/badlogic/gdx/Application.ApplicationType.html" title="enum in com.badlogic.gdx"><code>Application.ApplicationType
</code></a> this application has, e.g. Android or Desktop
</dd></dl>
</li>
</ul>
<a name="getVersion()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getVersion
</h4>
<pre>public
int
getVersion()
</pre>
<dl>
<dt><strong>Specified by:
</strong></dt>
<dd><code><a href="../../../../../com/badlogic/gdx/Application.html#getVersion()">getVersion
</a></code> in interface
<code><a href="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application
</a></code></dd>
<dt><span class="strong">Returns:
</span></dt><dd>the Android API level on Android, the major OS version on iOS (5, 6, 7, ..), or 0 on the desktop.
</dd></dl>
</li>
</ul>
<a name="stop()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stop
</h4>
<pre>public
void
stop()
</pre>
</li>
</ul>
<a name="getJavaHeap()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getJavaHeap
</h4>
<pre>public
long
getJavaHeap()
</pre>
<dl>
<dt><strong>Specified by:
</strong></dt>
<dd><code><a href="../../../../../com/badlogic/gdx/Application.html#getJavaHeap()">getJavaHeap
</a></code> in interface
<code><a href="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application
</a></code></dd>
<dt><span class="strong">Returns:
</span></dt><dd>the Java heap memory use in bytes
</dd></dl>
</li>
</ul>
<a name="getNativeHeap()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNativeHeap
</h4>
<pre>public
long
getNativeHeap()
</pre>
<dl>
<dt><strong>Specified by:
</strong></dt>
<dd><code><a href="../../../../../com/badlogic/gdx/Application.html#getNativeHeap()">getNativeHeap
</a></code> in interface
<code><a href="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application
</a></code></dd>
<dt><span class="strong">Returns:
</span></dt><dd>the Native heap memory use in bytes
</dd></dl>
</li>
</ul>
<a name="getPreferences(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPreferences
</h4>
<pre>public
<a href="../../../../../com/badlogic/gdx/Preferences.html" title="interface in com.badlogic.gdx">Preferences
</a> getPreferences(java.lang.String
name)
</pre>
<div class="block"><strong>Description copied from interface:
<code><a href="../../../../../com/badlogic/gdx/Application.html#getPreferences(java.lang.String)">Application
</a></code></strong></div>
<div class="block">Returns the
<a href="../../../../../com/badlogic/gdx/Preferences.html" title="interface in com.badlogic.gdx"><code>Preferences
</code></a> instance of this Application. It can be used to store application settings across runs.
</div>
<dl>
<dt><strong>Specified by:
</strong></dt>
<dd><code><a href="../../../../../com/badlogic/gdx/Application.html#getPreferences(java.lang.String)">getPreferences
</a></code> in interface
<code><a href="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application
</a></code></dd>
<dt><span class="strong">Parameters:
</span></dt><dd><code>name
</code> - the name of the preferences, must be useable as a file name.
</dd>
<dt><span class="strong">Returns:
</span></dt><dd>the preferences.
</dd></dl>
</li>
</ul>
<a name="getClipboard()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getClipboard
</h4>
<pre>public
<a href="../../../../../com/badlogic/gdx/utils/Clipboard.html" title="interface in com.badlogic.gdx.utils">Clipboard
</a> getClipboard()
</pre>
<dl>
<dt><strong>Specified by:
</strong></dt>
<dd><code><a href="../../../../../com/badlogic/gdx/Application.html#getClipboard()">getClipboard
</a></code> in interface
<code><a href="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application
</a></code></dd>
</dl>
</li>
</ul>
<a name="postRunnable(java.lang.Runnable)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>postRunnable
</h4>
<pre>public
void
postRunnable(java.lang.Runnable
runnable)
</pre>
<div class="block"><strong>Description copied from interface:
<code><a href="../../../../../com/badlogic/gdx/Application.html#postRunnable(java.lang.Runnable)">Application
</a></code></strong></div>
<div class="block">Posts a
<code>Runnable
</code> on the main loop thread.
</div>
<dl>
<dt><strong>Specified by:
</strong></dt>
<dd><code><a href="../../../../../com/badlogic/gdx/Application.html#postRunnable(java.lang.Runnable)">postRunnable
</a></code> in interface
<code><a href="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application
</a></code></dd>
<dt><span class="strong">Parameters:
</span></dt><dd><code>runnable
</code> - the runnable.
</dd></dl>
</li>
</ul>
<a name="debug(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>debug
</h4>
<pre>public
void
debug(java.lang.String
tag,
java.lang.String
message)
</pre>
<div class="block"><strong>Description copied from interface:
<code><a href="../../../../../com/badlogic/gdx/Application.html#debug(java.lang.String, java.lang.String)">Application
</a></code></strong></div>
<div class="block">Logs a debug message to the console or logcat
</div>
<dl>
<dt><strong>Specified by:
</strong></dt>
<dd><code><a href="../../../../../com/badlogic/gdx/Application.html#debug(java.lang.String, java.lang.String)">debug
</a></code> in interface
<code><a href="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application
</a></code></dd>
</dl>
</li>
</ul>
<a name="debug(java.lang.String, java.lang.String, java.lang.Throwable)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>debug
</h4>
<pre>public
void
debug(java.lang.String
tag,
java.lang.String
message,
java.lang.Throwable
exception)
</pre>
<div class="block"><strong>Description copied from interface:
<code><a href="../../../../../com/badlogic/gdx/Application.html#debug(java.lang.String, java.lang.String, java.lang.Throwable)">Application
</a></code></strong></div>
<div class="block">Logs a debug message to the console or logcat
</div>
<dl>
<dt><strong>Specified by:
</strong></dt>
<dd><code><a href="../../../../../com/badlogic/gdx/Application.html#debug(java.lang.String, java.lang.String, java.lang.Throwable)">debug
</a></code> in interface
<code><a href="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application
</a></code></dd>
</dl>
</li>
</ul>
<a name="log(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>log
</h4>
<pre>public
void
log(java.lang.String
tag,
java.lang.String
message)
</pre>
<div class="block"><strong>Description copied from interface:
<code><a href="../../../../../com/badlogic/gdx/Application.html#log(java.lang.String, java.lang.String)">Application
</a></code></strong></div>
<div class="block">Logs a message to the console or logcat
</div>
<dl>
<dt><strong>Specified by:
</strong></dt>
<dd><code><a href="../../../../../com/badlogic/gdx/Application.html#log(java.lang.String, java.lang.String)">log
</a></code> in interface
<code><a href="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application
</a></code></dd>
</dl>
</li>
</ul>
<a name="log(java.lang.String, java.lang.String, java.lang.Throwable)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>log
</h4>
<pre>public
void
log(java.lang.String
tag,
java.lang.String
message,
java.lang.Throwable
exception)
</pre>
<div class="block"><strong>Description copied from interface:
<code><a href="../../../../../com/badlogic/gdx/Application.html#log(java.lang.String, java.lang.String, java.lang.Throwable)">Application
</a></code></strong></div>
<div class="block">Logs a message to the console or logcat
</div>
<dl>
<dt><strong>Specified by:
</strong></dt>
<dd><code><a href="../../../../../com/badlogic/gdx/Application.html#log(java.lang.String, java.lang.String, java.lang.Throwable)">log
</a></code> in interface
<code><a href="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application
</a></code></dd>
</dl>
</li>
</ul>
<a name="error(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>error
</h4>
<pre>public
void
error(java.lang.String
tag,
java.lang.String
message)
</pre>
<div class="block"><strong>Description copied from interface:
<code><a href="../../../../../com/badlogic/gdx/Application.html#error(java.lang.String, java.lang.String)">Application
</a></code></strong></div>
<div class="block">Logs an error message to the console or logcat
</div>
<dl>
<dt><strong>Specified by:
</strong></dt>
<dd><code><a href="../../../../../com/badlogic/gdx/Application.html#error(java.lang.String, java.lang.String)">error
</a></code> in interface
<code><a href="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application
</a></code></dd>
</dl>
</li>
</ul>
<a name="error(java.lang.String, java.lang.String, java.lang.Throwable)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>error
</h4>
<pre>public
void
error(java.lang.String
tag,
java.lang.String
message,
java.lang.Throwable
exception)
</pre>
<div class="block"><strong>Description copied from interface:
<code><a href="../../../../../com/badlogic/gdx/Application.html#error(java.lang.String, java.lang.String, java.lang.Throwable)">Application
</a></code></strong></div>
<div class="block">Logs an error message to the console or logcat
</div>
<dl>
<dt><strong>Specified by:
</strong></dt>
<dd><code><a href="../../../../../com/badlogic/gdx/Application.html#error(java.lang.String, java.lang.String, java.lang.Throwable)">error
</a></code> in interface
<code><a href="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application
</a></code></dd>
</dl>
</li>
</ul>
<a name="setLogLevel(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLogLevel
</h4>
<pre>public
void
setLogLevel(int
logLevel)
</pre>
<div class="block"><strong>Description copied from interface:
<code><a href="../../../../../com/badlogic/gdx/Application.html#setLogLevel(int)">Application
</a></code></strong></div>
<div class="block">Sets the log level.
<a href="../../../../../com/badlogic/gdx/Application.html#LOG_NONE"><code>Application.LOG_NONE
</code></a> will mute all log output.
<a href="../../../../../com/badlogic/gdx/Application.html#LOG_ERROR"><code>Application.LOG_ERROR
</code></a> will only let error messages through.
<a href="../../../../../com/badlogic/gdx/Application.html#LOG_INFO"><code>Application.LOG_INFO
</code></a> will let all non-debug messages through, and
<a href="../../../../../com/badlogic/gdx/Application.html#LOG_DEBUG"><code>Application.LOG_DEBUG
</code></a> will let all messages through.
</div>
<dl>
<dt><strong>Specified by:
</strong></dt>
<dd><code><a href="../../../../../com/badlogic/gdx/Application.html#setLogLevel(int)">setLogLevel
</a></code> in interface
<code><a href="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application
</a></code></dd>
<dt><span class="strong">Parameters:
</span></dt><dd><code>logLevel
</code> -
<a href="../../../../../com/badlogic/gdx/Application.html#LOG_NONE"><code>Application.LOG_NONE
</code></a>,
<a href="../../../../../com/badlogic/gdx/Application.html#LOG_ERROR"><code>Application.LOG_ERROR
</code></a>,
<a href="../../../../../com/badlogic/gdx/Application.html#LOG_INFO"><code>Application.LOG_INFO
</code></a>,
<a href="../../../../../com/badlogic/gdx/Application.html#LOG_DEBUG"><code>Application.LOG_DEBUG
</code></a>.
</dd></dl>
</li>
</ul>
<a name="getLogLevel()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLogLevel
</h4>
<pre>public
int
getLogLevel()
</pre>
<div class="block"><strong>Description copied from interface:
<code><a href="../../../../../com/badlogic/gdx/Application.html#getLogLevel()">Application
</a></code></strong></div>
<div class="block">Gets the log level.
</div>
<dl>
<dt><strong>Specified by:
</strong></dt>
<dd><code><a href="../../../../../com/badlogic/gdx/Application.html#getLogLevel()">getLogLevel
</a></code> in interface
<code><a href="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application
</a></code></dd>
</dl>
</li>
</ul>
<a name="exit()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>exit
</h4>
<pre>public
void
exit()
</pre>
<div class="block"><strong>Description copied from interface:
<code><a href="../../../../../com/badlogic/gdx/Application.html#exit()">Application
</a></code></strong></div>
<div class="block">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.
</div>
<dl>
<dt><strong>Specified by:
</strong></dt>
<dd><code><a href="../../../../../com/badlogic/gdx/Application.html#exit()">exit
</a></code> in interface
<code><a href="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application
</a></code></dd>
</dl>
</li>
</ul>
<a name="addLifecycleListener(com.badlogic.gdx.LifecycleListener)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addLifecycleListener
</h4>
<pre>public
void
addLifecycleListener(
<a href="../../../../../com/badlogic/gdx/LifecycleListener.html" title="interface in com.badlogic.gdx">LifecycleListener
</a> listener)
</pre>
<div class="block"><strong>Description copied from interface:
<code><a href="../../../../../com/badlogic/gdx/Application.html#addLifecycleListener(com.badlogic.gdx.LifecycleListener)">Application
</a></code></strong></div>
<div class="block">Adds a new
<a href="../../../../../com/badlogic/gdx/LifecycleListener.html" title="interface in com.badlogic.gdx"><code>LifecycleListener
</code></a> to the application. This can be
used by extensions to hook into the lifecycle more easily. The
<a href="../../../../../com/badlogic/gdx/ApplicationListener.html" title="interface in com.badlogic.gdx"><code>ApplicationListener
</code></a> methods are sufficient for application
level development.
</div>
<dl>
<dt><strong>Specified by:
</strong></dt>
<dd><code><a href="../../../../../com/badlogic/gdx/Application.html#addLifecycleListener(com.badlogic.gdx.LifecycleListener)">addLifecycleListener
</a></code> in interface
<code><a href="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application
</a></code></dd>
</dl>
</li>
</ul>
<a name="removeLifecycleListener(com.badlogic.gdx.LifecycleListener)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>removeLifecycleListener
</h4>
<pre>public
void
removeLifecycleListener(
<a href="../../../../../com/badlogic/gdx/LifecycleListener.html" title="interface in com.badlogic.gdx">LifecycleListener
</a> listener)
</pre>
<div class="block"><strong>Description copied from interface:
<code><a href="../../../../../com/badlogic/gdx/Application.html#removeLifecycleListener(com.badlogic.gdx.LifecycleListener)">Application
</a></code></strong></div>
<div class="block">Removes the
<a href="../../../../../com/badlogic/gdx/LifecycleListener.html" title="interface in com.badlogic.gdx"><code>LifecycleListener
</code></a>.
</div>
<dl>
<dt><strong>Specified by:
</strong></dt>
<dd><code><a href="../../../../../com/badlogic/gdx/Application.html#removeLifecycleListener(com.badlogic.gdx.LifecycleListener)">removeLifecycleListener
</a></code> in interface
<code><a href="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application
</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview
</a></li>
<li><a href="package-summary.html">Package
</a></li>
<li class="navBarCell1Rev">Class
</li>
<li><a href="class-use/LwjglApplication.html">Use
</a></li>
<li><a href="package-tree.html">Tree
</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated
</a></li>
<li><a href="../../../../../index-all.html">Index
</a></li>
<li><a href="../../../../../help-doc.html">Help
</a></li>
</ul>
<div class="aboutLanguage"><em>libgdx API
</em></div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglApplet.html" title="class in com.badlogic.gdx.backends.lwjgl"><span class="strong">Prev Class
</span></a></li>
<li><a href="../../../../../com/badlogic/gdx/backends/lwjgl/LwjglCanvas.html" title="class in com.badlogic.gdx.backends.lwjgl"><span class="strong">Next Class
</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?com/badlogic/gdx/backends/lwjgl/LwjglApplication.html" target="_top">Frames
</a></li>
<li><a href="LwjglApplication.html" target="_top">No Frames
</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All Classes
</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:
</li>
<li>Nested
|
</li>
<li><a href="#field_summary">Field
</a> |
</li>
<li><a href="#constructor_summary">Constr
</a> |
</li>
<li><a href="#method_summary">Method
</a></li>
</ul>
<ul class="subNavList">
<li>Detail:
</li>
<li><a href="#field_detail">Field
</a> |
</li>
<li><a href="#constructor_detail">Constr
</a> |
</li>
<li><a href="#method_detail">Method
</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>
<div style="font-size:9pt"><i>
Copyright
© 2010-2013 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)
</i></div>
</small></p>
</body>
</html>