Subversion Repositories AndroidProjects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
307 chris 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<!-- Generated by javadoc (build 1.6.0_26) on Sun Jun 03 02:18:07 CEST 2012 -->
6
<TITLE>
7
JoglApplication (libgdx API)
8
</TITLE>
9
 
10
<META NAME="date" CONTENT="2012-06-03">
11
 
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
13
 
14
<SCRIPT type="text/javascript">
15
function windowTitle()
16
{
17
    if (location.href.indexOf('is-external=true') == -1) {
18
        parent.document.title="JoglApplication (libgdx API)";
19
    }
20
}
21
</SCRIPT>
22
<NOSCRIPT>
23
</NOSCRIPT>
24
 
25
</HEAD>
26
 
27
<BODY BGCOLOR="white" onload="windowTitle();">
28
<HR>
29
 
30
 
31
<!-- ========= START OF TOP NAVBAR ======= -->
32
<A NAME="navbar_top"><!-- --></A>
33
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35
<TR>
36
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37
<A NAME="navbar_top_firstrow"><!-- --></A>
38
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39
  <TR ALIGN="center" VALIGN="top">
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/JoglApplication.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48
  </TR>
49
</TABLE>
50
</TD>
51
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52
 
53
                                libgdx API
54
                                <style>
55
                                body, td, th { font-family:Helvetica, Tahoma, Arial, sans-serif; font-size:10pt }
56
                                pre, code, tt { font-size:9pt; font-family:Lucida Console, Courier New, sans-serif }
57
                                h1, h2, h3, .FrameTitleFont, .FrameHeadingFont, .TableHeadingColor font { font-size:105%;  font-weight:bold }
58
                                .TableHeadingColor { background:#EEEEFF; }
59
                                a { text-decoration:none }
60
                                a:hover { text-decoration:underline }
61
                                a:link, a:visited { color:blue }
62
                                table { border:0px }
63
                                .TableRowColor td:first-child { border-left:1px solid black }
64
                                .TableRowColor td { border:0px; border-bottom:1px solid black; border-right:1px solid black }
65
                                hr { border:0px; border-bottom:1px solid #333366; }
66
                                </style>
67
                        </EM>
68
</TD>
69
</TR>
70
 
71
<TR>
72
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
73
&nbsp;PREV CLASS&nbsp;
74
&nbsp;NEXT CLASS</FONT></TD>
75
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
76
  <A HREF="../../../../../index.html?com/badlogic/gdx/backends/jogl/JoglApplication.html" target="_top"><B>FRAMES</B></A>  &nbsp;
77
&nbsp;<A HREF="JoglApplication.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
78
&nbsp;<SCRIPT type="text/javascript">
79
  <!--
80
  if(window==top) {
81
    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
82
  }
83
  //-->
84
</SCRIPT>
85
<NOSCRIPT>
86
  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
87
</NOSCRIPT>
88
 
89
 
90
</FONT></TD>
91
</TR>
92
<TR>
93
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
94
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
95
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
96
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
97
</TR>
98
</TABLE>
99
<A NAME="skip-navbar_top"></A>
100
<!-- ========= END OF TOP NAVBAR ========= -->
101
 
102
<HR>
103
<!-- ======== START OF CLASS DATA ======== -->
104
<H2>
105
<FONT SIZE="-1">
106
com.badlogic.gdx.backends.jogl</FONT>
107
<BR>
108
Class JoglApplication</H2>
109
<PRE>
110
java.lang.Object
111
  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>com.badlogic.gdx.backends.jogl.JoglApplication</B>
112
</PRE>
113
<DL>
114
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application</A></DD>
115
</DL>
116
<HR>
117
<DL>
118
<DT><PRE>public final class <B>JoglApplication</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application</A></DL>
119
</PRE>
120
 
121
<P>
122
An implemenation of the <A HREF="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx"><CODE>Application</CODE></A> interface based on Jogl for Windows, Linux and Mac. Instantiate this class with
123
 apropriate parameters and then register <A HREF="../../../../../com/badlogic/gdx/ApplicationListener.html" title="interface in com.badlogic.gdx"><CODE>ApplicationListener</CODE></A> or <A HREF="../../../../../com/badlogic/gdx/InputProcessor.html" title="interface in com.badlogic.gdx"><CODE>InputProcessor</CODE></A> instances.
124
<P>
125
 
126
<P>
127
<DL>
128
<DT><B>Author:</B></DT>
129
  <DD>mzechner</DD>
130
</DL>
131
<HR>
132
 
133
<P>
134
<!-- ======== NESTED CLASS SUMMARY ======== -->
135
 
136
<A NAME="nested_class_summary"><!-- --></A>
137
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
138
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
139
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
140
<B>Nested Class Summary</B></FONT></TH>
141
</TR>
142
</TABLE>
143
&nbsp;<A NAME="nested_classes_inherited_from_class_com.badlogic.gdx.Application"><!-- --></A>
144
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
145
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
146
<TH ALIGN="left"><B>Nested classes/interfaces inherited from interface com.badlogic.gdx.<A HREF="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application</A></B></TH>
147
</TR>
148
<TR BGCOLOR="white" CLASS="TableRowColor">
149
<TD><CODE><A HREF="../../../../../com/badlogic/gdx/Application.ApplicationType.html" title="enum in com.badlogic.gdx">Application.ApplicationType</A></CODE></TD>
150
</TR>
151
</TABLE>
152
&nbsp;
153
<!-- =========== FIELD SUMMARY =========== -->
154
 
155
<A NAME="field_summary"><!-- --></A>
156
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
157
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
158
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
159
<B>Field Summary</B></FONT></TH>
160
</TR>
161
</TABLE>
162
&nbsp;<A NAME="fields_inherited_from_class_com.badlogic.gdx.Application"><!-- --></A>
163
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
164
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
165
<TH ALIGN="left"><B>Fields inherited from interface com.badlogic.gdx.<A HREF="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application</A></B></TH>
166
</TR>
167
<TR BGCOLOR="white" CLASS="TableRowColor">
168
<TD><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></TD>
169
</TR>
170
</TABLE>
171
&nbsp;
172
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
173
 
174
<A NAME="constructor_summary"><!-- --></A>
175
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
176
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
177
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
178
<B>Constructor Summary</B></FONT></TH>
179
</TR>
180
<TR BGCOLOR="white" CLASS="TableRowColor">
181
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/backends/jogl/JoglApplication.html#JoglApplication(com.badlogic.gdx.ApplicationListener, JoglApplicationConfiguration)">JoglApplication</A></B>(<A HREF="../../../../../com/badlogic/gdx/ApplicationListener.html" title="interface in com.badlogic.gdx">ApplicationListener</A>&nbsp;listener,
182
                JoglApplicationConfiguration&nbsp;config)</CODE>
183
 
184
<BR>
185
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
186
</TR>
187
<TR BGCOLOR="white" CLASS="TableRowColor">
188
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/backends/jogl/JoglApplication.html#JoglApplication(com.badlogic.gdx.ApplicationListener, java.lang.String, int, int, boolean)">JoglApplication</A></B>(<A HREF="../../../../../com/badlogic/gdx/ApplicationListener.html" title="interface in com.badlogic.gdx">ApplicationListener</A>&nbsp;listener,
189
                java.lang.String&nbsp;title,
190
                int&nbsp;width,
191
                int&nbsp;height,
192
                boolean&nbsp;useGL20IfAvailable)</CODE>
193
 
194
<BR>
195
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new <A HREF="../../../../../com/badlogic/gdx/backends/jogl/JoglApplication.html" title="class in com.badlogic.gdx.backends.jogl"><CODE>JoglApplication</CODE></A> with the given title and dimensions.</TD>
196
</TR>
197
</TABLE>
198
&nbsp;
199
<!-- ========== METHOD SUMMARY =========== -->
200
 
201
<A NAME="method_summary"><!-- --></A>
202
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
203
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
204
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
205
<B>Method Summary</B></FONT></TH>
206
</TR>
207
<TR BGCOLOR="white" CLASS="TableRowColor">
208
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
209
<CODE>&nbsp;void</CODE></FONT></TD>
210
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/backends/jogl/JoglApplication.html#debug(java.lang.String, java.lang.String)">debug</A></B>(java.lang.String&nbsp;tag,
211
      java.lang.String&nbsp;message)</CODE>
212
 
213
<BR>
214
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Logs a debug message to the console or logcat</TD>
215
</TR>
216
<TR BGCOLOR="white" CLASS="TableRowColor">
217
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
218
<CODE>&nbsp;void</CODE></FONT></TD>
219
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/backends/jogl/JoglApplication.html#debug(java.lang.String, java.lang.String, java.lang.Throwable)">debug</A></B>(java.lang.String&nbsp;tag,
220
      java.lang.String&nbsp;message,
221
      java.lang.Throwable&nbsp;exception)</CODE>
222
 
223
<BR>
224
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Logs a debug message to the console or logcat</TD>
225
</TR>
226
<TR BGCOLOR="white" CLASS="TableRowColor">
227
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
228
<CODE>&nbsp;void</CODE></FONT></TD>
229
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/backends/jogl/JoglApplication.html#error(java.lang.String, java.lang.String)">error</A></B>(java.lang.String&nbsp;tag,
230
      java.lang.String&nbsp;message)</CODE>
231
 
232
<BR>
233
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Logs an error message to the console or logcat</TD>
234
</TR>
235
<TR BGCOLOR="white" CLASS="TableRowColor">
236
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
237
<CODE>&nbsp;void</CODE></FONT></TD>
238
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/backends/jogl/JoglApplication.html#error(java.lang.String, java.lang.String, java.lang.Throwable)">error</A></B>(java.lang.String&nbsp;tag,
239
      java.lang.String&nbsp;message,
240
      java.lang.Throwable&nbsp;exception)</CODE>
241
 
242
<BR>
243
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Logs an error message to the console or logcat</TD>
244
</TR>
245
<TR BGCOLOR="white" CLASS="TableRowColor">
246
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
247
<CODE>&nbsp;void</CODE></FONT></TD>
248
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/backends/jogl/JoglApplication.html#exit()">exit</A></B>()</CODE>
249
 
250
<BR>
251
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Exits the application.</TD>
252
</TR>
253
<TR BGCOLOR="white" CLASS="TableRowColor">
254
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
255
<CODE>&nbsp;<A HREF="../../../../../com/badlogic/gdx/Audio.html" title="interface in com.badlogic.gdx">Audio</A></CODE></FONT></TD>
256
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/backends/jogl/JoglApplication.html#getAudio()">getAudio</A></B>()</CODE>
257
 
258
<BR>
259
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
260
</TR>
261
<TR BGCOLOR="white" CLASS="TableRowColor">
262
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
263
<CODE>&nbsp;<A HREF="../../../../../com/badlogic/gdx/Files.html" title="interface in com.badlogic.gdx">Files</A></CODE></FONT></TD>
264
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/backends/jogl/JoglApplication.html#getFiles()">getFiles</A></B>()</CODE>
265
 
266
<BR>
267
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
268
</TR>
269
<TR BGCOLOR="white" CLASS="TableRowColor">
270
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
271
<CODE>&nbsp;GLCanvas</CODE></FONT></TD>
272
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/backends/jogl/JoglApplication.html#getGLCanvas()">getGLCanvas</A></B>()</CODE>
273
 
274
<BR>
275
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
276
</TR>
277
<TR BGCOLOR="white" CLASS="TableRowColor">
278
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
279
<CODE>&nbsp;<A HREF="../../../../../com/badlogic/gdx/Graphics.html" title="interface in com.badlogic.gdx">Graphics</A></CODE></FONT></TD>
280
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/backends/jogl/JoglApplication.html#getGraphics()">getGraphics</A></B>()</CODE>
281
 
282
<BR>
283
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
284
</TR>
285
<TR BGCOLOR="white" CLASS="TableRowColor">
286
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
287
<CODE>&nbsp;<A HREF="../../../../../com/badlogic/gdx/Input.html" title="interface in com.badlogic.gdx">Input</A></CODE></FONT></TD>
288
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/backends/jogl/JoglApplication.html#getInput()">getInput</A></B>()</CODE>
289
 
290
<BR>
291
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
292
</TR>
293
<TR BGCOLOR="white" CLASS="TableRowColor">
294
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
295
<CODE>&nbsp;long</CODE></FONT></TD>
296
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/backends/jogl/JoglApplication.html#getJavaHeap()">getJavaHeap</A></B>()</CODE>
297
 
298
<BR>
299
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
300
</TR>
301
<TR BGCOLOR="white" CLASS="TableRowColor">
302
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
303
<CODE>&nbsp;javax.swing.JFrame</CODE></FONT></TD>
304
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/backends/jogl/JoglApplication.html#getJFrame()">getJFrame</A></B>()</CODE>
305
 
306
<BR>
307
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
308
</TR>
309
<TR BGCOLOR="white" CLASS="TableRowColor">
310
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
311
<CODE>&nbsp;long</CODE></FONT></TD>
312
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/backends/jogl/JoglApplication.html#getNativeHeap()">getNativeHeap</A></B>()</CODE>
313
 
314
<BR>
315
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
316
</TR>
317
<TR BGCOLOR="white" CLASS="TableRowColor">
318
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
319
<CODE>&nbsp;<A HREF="../../../../../com/badlogic/gdx/Preferences.html" title="interface in com.badlogic.gdx">Preferences</A></CODE></FONT></TD>
320
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/backends/jogl/JoglApplication.html#getPreferences(java.lang.String)">getPreferences</A></B>(java.lang.String&nbsp;name)</CODE>
321
 
322
<BR>
323
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the <A HREF="../../../../../com/badlogic/gdx/Preferences.html" title="interface in com.badlogic.gdx"><CODE>Preferences</CODE></A> instance of this Application.</TD>
324
</TR>
325
<TR BGCOLOR="white" CLASS="TableRowColor">
326
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
327
<CODE>&nbsp;<A HREF="../../../../../com/badlogic/gdx/Application.ApplicationType.html" title="enum in com.badlogic.gdx">Application.ApplicationType</A></CODE></FONT></TD>
328
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/backends/jogl/JoglApplication.html#getType()">getType</A></B>()</CODE>
329
 
330
<BR>
331
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
332
</TR>
333
<TR BGCOLOR="white" CLASS="TableRowColor">
334
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
335
<CODE>&nbsp;int</CODE></FONT></TD>
336
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/backends/jogl/JoglApplication.html#getVersion()">getVersion</A></B>()</CODE>
337
 
338
<BR>
339
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
340
</TR>
341
<TR BGCOLOR="white" CLASS="TableRowColor">
342
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
343
<CODE>&nbsp;void</CODE></FONT></TD>
344
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/backends/jogl/JoglApplication.html#log(java.lang.String, java.lang.String)">log</A></B>(java.lang.String&nbsp;tag,
345
    java.lang.String&nbsp;message)</CODE>
346
 
347
<BR>
348
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Logs a message to the console or logcat</TD>
349
</TR>
350
<TR BGCOLOR="white" CLASS="TableRowColor">
351
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
352
<CODE>&nbsp;void</CODE></FONT></TD>
353
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/backends/jogl/JoglApplication.html#log(java.lang.String, java.lang.String, java.lang.Exception)">log</A></B>(java.lang.String&nbsp;tag,
354
    java.lang.String&nbsp;message,
355
    java.lang.Exception&nbsp;exception)</CODE>
356
 
357
<BR>
358
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Logs a message to the console or logcat</TD>
359
</TR>
360
<TR BGCOLOR="white" CLASS="TableRowColor">
361
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
362
<CODE>&nbsp;void</CODE></FONT></TD>
363
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/backends/jogl/JoglApplication.html#postRunnable(java.lang.Runnable)">postRunnable</A></B>(java.lang.Runnable&nbsp;runnable)</CODE>
364
 
365
<BR>
366
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Posts a <CODE>Runnable</CODE> on the main loop thread.</TD>
367
</TR>
368
<TR BGCOLOR="white" CLASS="TableRowColor">
369
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
370
<CODE>&nbsp;void</CODE></FONT></TD>
371
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/backends/jogl/JoglApplication.html#setLogLevel(int)">setLogLevel</A></B>(int&nbsp;logLevel)</CODE>
372
 
373
<BR>
374
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the log level.</TD>
375
</TR>
376
</TABLE>
377
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
378
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
379
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
380
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
381
</TR>
382
<TR BGCOLOR="white" CLASS="TableRowColor">
383
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
384
</TR>
385
</TABLE>
386
&nbsp;
387
<P>
388
 
389
<!-- ========= CONSTRUCTOR DETAIL ======== -->
390
 
391
<A NAME="constructor_detail"><!-- --></A>
392
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
393
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
394
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
395
<B>Constructor Detail</B></FONT></TH>
396
</TR>
397
</TABLE>
398
 
399
<A NAME="JoglApplication(com.badlogic.gdx.ApplicationListener, java.lang.String, int, int, boolean)"><!-- --></A><H3>
400
JoglApplication</H3>
401
<PRE>
402
public <B>JoglApplication</B>(<A HREF="../../../../../com/badlogic/gdx/ApplicationListener.html" title="interface in com.badlogic.gdx">ApplicationListener</A>&nbsp;listener,
403
                       java.lang.String&nbsp;title,
404
                       int&nbsp;width,
405
                       int&nbsp;height,
406
                       boolean&nbsp;useGL20IfAvailable)</PRE>
407
<DL>
408
<DD>Creates a new <A HREF="../../../../../com/badlogic/gdx/backends/jogl/JoglApplication.html" title="class in com.badlogic.gdx.backends.jogl"><CODE>JoglApplication</CODE></A> with the given title and dimensions. If useGL20IfAvailable is set the JoglApplication
409
 will try to create an OpenGL 2.0 context which can then be used via JoglApplication.getGraphics().getGL20(). To query
410
 whether enabling OpenGL 2.0 was successful use the JoglApplication.getGraphics().isGL20Available() method.
411
<P>
412
<DL>
413
<DT><B>Parameters:</B><DD><CODE>listener</CODE> - the ApplicationListener implementing the program logic<DD><CODE>title</CODE> - the title of the application<DD><CODE>width</CODE> - the width of the surface in pixels<DD><CODE>height</CODE> - the height of the surface in pixels<DD><CODE>useGL20IfAvailable</CODE> - wheter to use OpenGL 2.0 if it is available or not</DL>
414
</DL>
415
<HR>
416
 
417
<A NAME="JoglApplication(com.badlogic.gdx.ApplicationListener, JoglApplicationConfiguration)"><!-- --></A><H3>
418
JoglApplication</H3>
419
<PRE>
420
public <B>JoglApplication</B>(<A HREF="../../../../../com/badlogic/gdx/ApplicationListener.html" title="interface in com.badlogic.gdx">ApplicationListener</A>&nbsp;listener,
421
                       JoglApplicationConfiguration&nbsp;config)</PRE>
422
<DL>
423
</DL>
424
 
425
<!-- ============ METHOD DETAIL ========== -->
426
 
427
<A NAME="method_detail"><!-- --></A>
428
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
429
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
430
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
431
<B>Method Detail</B></FONT></TH>
432
</TR>
433
</TABLE>
434
 
435
<A NAME="getAudio()"><!-- --></A><H3>
436
getAudio</H3>
437
<PRE>
438
public <A HREF="../../../../../com/badlogic/gdx/Audio.html" title="interface in com.badlogic.gdx">Audio</A> <B>getAudio</B>()</PRE>
439
<DL>
440
<DD>
441
<P>
442
<DD><DL>
443
<DT><B>Specified by:</B><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></DL>
444
</DD>
445
<DD><DL>
446
 
447
<DT><B>Returns:</B><DD>the <A HREF="../../../../../com/badlogic/gdx/Audio.html" title="interface in com.badlogic.gdx"><CODE>Audio</CODE></A> instance</DL>
448
</DD>
449
</DL>
450
<HR>
451
 
452
<A NAME="getFiles()"><!-- --></A><H3>
453
getFiles</H3>
454
<PRE>
455
public <A HREF="../../../../../com/badlogic/gdx/Files.html" title="interface in com.badlogic.gdx">Files</A> <B>getFiles</B>()</PRE>
456
<DL>
457
<DD>
458
<P>
459
<DD><DL>
460
<DT><B>Specified by:</B><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></DL>
461
</DD>
462
<DD><DL>
463
 
464
<DT><B>Returns:</B><DD>the <A HREF="../../../../../com/badlogic/gdx/Files.html" title="interface in com.badlogic.gdx"><CODE>Files</CODE></A> instance</DL>
465
</DD>
466
</DL>
467
<HR>
468
 
469
<A NAME="getGraphics()"><!-- --></A><H3>
470
getGraphics</H3>
471
<PRE>
472
public <A HREF="../../../../../com/badlogic/gdx/Graphics.html" title="interface in com.badlogic.gdx">Graphics</A> <B>getGraphics</B>()</PRE>
473
<DL>
474
<DD>
475
<P>
476
<DD><DL>
477
<DT><B>Specified by:</B><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></DL>
478
</DD>
479
<DD><DL>
480
 
481
<DT><B>Returns:</B><DD>the <A HREF="../../../../../com/badlogic/gdx/Graphics.html" title="interface in com.badlogic.gdx"><CODE>Graphics</CODE></A> instance</DL>
482
</DD>
483
</DL>
484
<HR>
485
 
486
<A NAME="getInput()"><!-- --></A><H3>
487
getInput</H3>
488
<PRE>
489
public <A HREF="../../../../../com/badlogic/gdx/Input.html" title="interface in com.badlogic.gdx">Input</A> <B>getInput</B>()</PRE>
490
<DL>
491
<DD>
492
<P>
493
<DD><DL>
494
<DT><B>Specified by:</B><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></DL>
495
</DD>
496
<DD><DL>
497
 
498
<DT><B>Returns:</B><DD>the <A HREF="../../../../../com/badlogic/gdx/Input.html" title="interface in com.badlogic.gdx"><CODE>Input</CODE></A> instance</DL>
499
</DD>
500
</DL>
501
<HR>
502
 
503
<A NAME="getType()"><!-- --></A><H3>
504
getType</H3>
505
<PRE>
506
public <A HREF="../../../../../com/badlogic/gdx/Application.ApplicationType.html" title="enum in com.badlogic.gdx">Application.ApplicationType</A> <B>getType</B>()</PRE>
507
<DL>
508
<DD>
509
<P>
510
<DD><DL>
511
<DT><B>Specified by:</B><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></DL>
512
</DD>
513
<DD><DL>
514
 
515
<DT><B>Returns:</B><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</DL>
516
</DD>
517
</DL>
518
<HR>
519
 
520
<A NAME="getVersion()"><!-- --></A><H3>
521
getVersion</H3>
522
<PRE>
523
public int <B>getVersion</B>()</PRE>
524
<DL>
525
<DD><DL>
526
<DT><B>Specified by:</B><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></DL>
527
</DD>
528
<DD><DL>
529
 
530
<DT><B>Returns:</B><DD>the Android API level on Android or 0 on the desktop.</DL>
531
</DD>
532
</DL>
533
<HR>
534
 
535
<A NAME="getJavaHeap()"><!-- --></A><H3>
536
getJavaHeap</H3>
537
<PRE>
538
public long <B>getJavaHeap</B>()</PRE>
539
<DL>
540
<DD><DL>
541
<DT><B>Specified by:</B><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></DL>
542
</DD>
543
<DD><DL>
544
 
545
<DT><B>Returns:</B><DD>the Java heap memory use in bytes</DL>
546
</DD>
547
</DL>
548
<HR>
549
 
550
<A NAME="getNativeHeap()"><!-- --></A><H3>
551
getNativeHeap</H3>
552
<PRE>
553
public long <B>getNativeHeap</B>()</PRE>
554
<DL>
555
<DD><DL>
556
<DT><B>Specified by:</B><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></DL>
557
</DD>
558
<DD><DL>
559
 
560
<DT><B>Returns:</B><DD>the Native heap memory use in bytes</DL>
561
</DD>
562
</DL>
563
<HR>
564
 
565
<A NAME="getJFrame()"><!-- --></A><H3>
566
getJFrame</H3>
567
<PRE>
568
public javax.swing.JFrame <B>getJFrame</B>()</PRE>
569
<DL>
570
<DD><DL>
571
</DL>
572
</DD>
573
<DD><DL>
574
 
575
<DT><B>Returns:</B><DD>the JFrame of the application.</DL>
576
</DD>
577
</DL>
578
<HR>
579
 
580
<A NAME="getGLCanvas()"><!-- --></A><H3>
581
getGLCanvas</H3>
582
<PRE>
583
public GLCanvas <B>getGLCanvas</B>()</PRE>
584
<DL>
585
<DD><DL>
586
</DL>
587
</DD>
588
<DD><DL>
589
 
590
<DT><B>Returns:</B><DD>the GLCanvas of the application.</DL>
591
</DD>
592
</DL>
593
<HR>
594
 
595
<A NAME="getPreferences(java.lang.String)"><!-- --></A><H3>
596
getPreferences</H3>
597
<PRE>
598
public <A HREF="../../../../../com/badlogic/gdx/Preferences.html" title="interface in com.badlogic.gdx">Preferences</A> <B>getPreferences</B>(java.lang.String&nbsp;name)</PRE>
599
<DL>
600
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/badlogic/gdx/Application.html#getPreferences(java.lang.String)">Application</A></CODE></B></DD>
601
<DD>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.
602
<P>
603
<DD><DL>
604
<DT><B>Specified by:</B><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></DL>
605
</DD>
606
<DD><DL>
607
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the preferences, must be useable as a file name.
608
<DT><B>Returns:</B><DD>the preferences.</DL>
609
</DD>
610
</DL>
611
<HR>
612
 
613
<A NAME="postRunnable(java.lang.Runnable)"><!-- --></A><H3>
614
postRunnable</H3>
615
<PRE>
616
public void <B>postRunnable</B>(java.lang.Runnable&nbsp;runnable)</PRE>
617
<DL>
618
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/badlogic/gdx/Application.html#postRunnable(java.lang.Runnable)">Application</A></CODE></B></DD>
619
<DD>Posts a <CODE>Runnable</CODE> on the main loop thread.
620
<P>
621
<DD><DL>
622
<DT><B>Specified by:</B><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></DL>
623
</DD>
624
<DD><DL>
625
<DT><B>Parameters:</B><DD><CODE>runnable</CODE> - the runnable.</DL>
626
</DD>
627
</DL>
628
<HR>
629
 
630
<A NAME="debug(java.lang.String, java.lang.String)"><!-- --></A><H3>
631
debug</H3>
632
<PRE>
633
public void <B>debug</B>(java.lang.String&nbsp;tag,
634
                  java.lang.String&nbsp;message)</PRE>
635
<DL>
636
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/badlogic/gdx/Application.html#debug(java.lang.String, java.lang.String)">Application</A></CODE></B></DD>
637
<DD>Logs a debug message to the console or logcat
638
<P>
639
<DD><DL>
640
<DT><B>Specified by:</B><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></DL>
641
</DD>
642
<DD><DL>
643
</DL>
644
</DD>
645
</DL>
646
<HR>
647
 
648
<A NAME="debug(java.lang.String, java.lang.String, java.lang.Throwable)"><!-- --></A><H3>
649
debug</H3>
650
<PRE>
651
public void <B>debug</B>(java.lang.String&nbsp;tag,
652
                  java.lang.String&nbsp;message,
653
                  java.lang.Throwable&nbsp;exception)</PRE>
654
<DL>
655
<DD><B>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></B></DD>
656
<DD>Logs a debug message to the console or logcat
657
<P>
658
<DD><DL>
659
<DT><B>Specified by:</B><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></DL>
660
</DD>
661
<DD><DL>
662
</DL>
663
</DD>
664
</DL>
665
<HR>
666
 
667
<A NAME="log(java.lang.String, java.lang.String)"><!-- --></A><H3>
668
log</H3>
669
<PRE>
670
public void <B>log</B>(java.lang.String&nbsp;tag,
671
                java.lang.String&nbsp;message)</PRE>
672
<DL>
673
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/badlogic/gdx/Application.html#log(java.lang.String, java.lang.String)">Application</A></CODE></B></DD>
674
<DD>Logs a message to the console or logcat
675
<P>
676
<DD><DL>
677
<DT><B>Specified by:</B><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></DL>
678
</DD>
679
<DD><DL>
680
</DL>
681
</DD>
682
</DL>
683
<HR>
684
 
685
<A NAME="log(java.lang.String, java.lang.String, java.lang.Exception)"><!-- --></A><H3>
686
log</H3>
687
<PRE>
688
public void <B>log</B>(java.lang.String&nbsp;tag,
689
                java.lang.String&nbsp;message,
690
                java.lang.Exception&nbsp;exception)</PRE>
691
<DL>
692
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/badlogic/gdx/Application.html#log(java.lang.String, java.lang.String, java.lang.Exception)">Application</A></CODE></B></DD>
693
<DD>Logs a message to the console or logcat
694
<P>
695
<DD><DL>
696
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/badlogic/gdx/Application.html#log(java.lang.String, java.lang.String, java.lang.Exception)">log</A></CODE> in interface <CODE><A HREF="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application</A></CODE></DL>
697
</DD>
698
<DD><DL>
699
</DL>
700
</DD>
701
</DL>
702
<HR>
703
 
704
<A NAME="error(java.lang.String, java.lang.String)"><!-- --></A><H3>
705
error</H3>
706
<PRE>
707
public void <B>error</B>(java.lang.String&nbsp;tag,
708
                  java.lang.String&nbsp;message)</PRE>
709
<DL>
710
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/badlogic/gdx/Application.html#error(java.lang.String, java.lang.String)">Application</A></CODE></B></DD>
711
<DD>Logs an error message to the console or logcat
712
<P>
713
<DD><DL>
714
<DT><B>Specified by:</B><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></DL>
715
</DD>
716
<DD><DL>
717
</DL>
718
</DD>
719
</DL>
720
<HR>
721
 
722
<A NAME="error(java.lang.String, java.lang.String, java.lang.Throwable)"><!-- --></A><H3>
723
error</H3>
724
<PRE>
725
public void <B>error</B>(java.lang.String&nbsp;tag,
726
                  java.lang.String&nbsp;message,
727
                  java.lang.Throwable&nbsp;exception)</PRE>
728
<DL>
729
<DD><B>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></B></DD>
730
<DD>Logs an error message to the console or logcat
731
<P>
732
<DD><DL>
733
<DT><B>Specified by:</B><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></DL>
734
</DD>
735
<DD><DL>
736
</DL>
737
</DD>
738
</DL>
739
<HR>
740
 
741
<A NAME="setLogLevel(int)"><!-- --></A><H3>
742
setLogLevel</H3>
743
<PRE>
744
public void <B>setLogLevel</B>(int&nbsp;logLevel)</PRE>
745
<DL>
746
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/badlogic/gdx/Application.html#setLogLevel(int)">Application</A></CODE></B></DD>
747
<DD>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.
748
 <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.
749
<P>
750
<DD><DL>
751
<DT><B>Specified by:</B><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></DL>
752
</DD>
753
<DD><DL>
754
<DT><B>Parameters:</B><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>.</DL>
755
</DD>
756
</DL>
757
<HR>
758
 
759
<A NAME="exit()"><!-- --></A><H3>
760
exit</H3>
761
<PRE>
762
public void <B>exit</B>()</PRE>
763
<DL>
764
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/badlogic/gdx/Application.html#exit()">Application</A></CODE></B></DD>
765
<DD>Exits the application. This will cause a call to pause() and dispose() some time in the loadFuture, it will not immediately
766
 finish your application!
767
<P>
768
<DD><DL>
769
<DT><B>Specified by:</B><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></DL>
770
</DD>
771
<DD><DL>
772
</DL>
773
</DD>
774
</DL>
775
<!-- ========= END OF CLASS DATA ========= -->
776
<HR>
777
 
778
 
779
<!-- ======= START OF BOTTOM NAVBAR ====== -->
780
<A NAME="navbar_bottom"><!-- --></A>
781
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
782
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
783
<TR>
784
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
785
<A NAME="navbar_bottom_firstrow"><!-- --></A>
786
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
787
  <TR ALIGN="center" VALIGN="top">
788
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
789
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
790
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
791
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/JoglApplication.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
792
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
793
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
794
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
795
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
796
  </TR>
797
</TABLE>
798
</TD>
799
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
800
libgdx API</EM>
801
</TD>
802
</TR>
803
 
804
<TR>
805
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
806
&nbsp;PREV CLASS&nbsp;
807
&nbsp;NEXT CLASS</FONT></TD>
808
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
809
  <A HREF="../../../../../index.html?com/badlogic/gdx/backends/jogl/JoglApplication.html" target="_top"><B>FRAMES</B></A>  &nbsp;
810
&nbsp;<A HREF="JoglApplication.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
811
&nbsp;<SCRIPT type="text/javascript">
812
  <!--
813
  if(window==top) {
814
    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
815
  }
816
  //-->
817
</SCRIPT>
818
<NOSCRIPT>
819
  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
820
</NOSCRIPT>
821
 
822
 
823
</FONT></TD>
824
</TR>
825
<TR>
826
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
827
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
828
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
829
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
830
</TR>
831
</TABLE>
832
<A NAME="skip-navbar_bottom"></A>
833
<!-- ======== END OF BOTTOM NAVBAR ======= -->
834
 
835
<HR>
836
 
837
                                <div style="font-size:9pt"><i>
838
                                Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)
839
                                </i></div>
840
 
841
</BODY>
842
</HTML>