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:08 CEST 2012 -->
6
<TITLE>
7
Input.Orientation (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="Input.Orientation (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/Input.Orientation.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;<A HREF="../../../com/badlogic/gdx/Input.Keys.html" title="class in com.badlogic.gdx"><B>PREV CLASS</B></A>&nbsp;
74
&nbsp;<A HREF="../../../com/badlogic/gdx/Input.Peripheral.html" title="enum in com.badlogic.gdx"><B>NEXT CLASS</B></A></FONT></TD>
75
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
76
  <A HREF="../../../index.html?com/badlogic/gdx/Input.Orientation.html" target="_top"><B>FRAMES</B></A>  &nbsp;
77
&nbsp;<A HREF="Input.Orientation.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;<A HREF="#enum_constant_summary">ENUM CONSTANTS</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
95
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
96
DETAIL:&nbsp;<A HREF="#enum_constant_detail">ENUM CONSTANTS</A>&nbsp;|&nbsp;FIELD&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</FONT>
107
<BR>
108
Enum Input.Orientation</H2>
109
<PRE>
110
java.lang.Object
111
  <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.lang.Enum&lt;<A HREF="../../../com/badlogic/gdx/Input.Orientation.html" title="enum in com.badlogic.gdx">Input.Orientation</A>&gt;
112
      <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.badlogic.gdx.Input.Orientation</B>
113
</PRE>
114
<DL>
115
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable, java.lang.Comparable&lt;<A HREF="../../../com/badlogic/gdx/Input.Orientation.html" title="enum in com.badlogic.gdx">Input.Orientation</A>&gt;</DD>
116
</DL>
117
<DL>
118
<DT><B>Enclosing interface:</B><DD><A HREF="../../../com/badlogic/gdx/Input.html" title="interface in com.badlogic.gdx">Input</A></DD>
119
</DL>
120
<HR>
121
<DL>
122
<DT><PRE>public static enum <B>Input.Orientation</B><DT>extends java.lang.Enum&lt;<A HREF="../../../com/badlogic/gdx/Input.Orientation.html" title="enum in com.badlogic.gdx">Input.Orientation</A>&gt;</DL>
123
</PRE>
124
 
125
<P>
126
<HR>
127
 
128
<P>
129
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
130
 
131
<A NAME="enum_constant_summary"><!-- --></A>
132
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
133
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
134
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
135
<B>Enum Constant Summary</B></FONT></TH>
136
</TR>
137
<TR BGCOLOR="white" CLASS="TableRowColor">
138
<TD><CODE><B><A HREF="../../../com/badlogic/gdx/Input.Orientation.html#Landscape">Landscape</A></B></CODE>
139
 
140
<BR>
141
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
142
</TR>
143
<TR BGCOLOR="white" CLASS="TableRowColor">
144
<TD><CODE><B><A HREF="../../../com/badlogic/gdx/Input.Orientation.html#Portrait">Portrait</A></B></CODE>
145
 
146
<BR>
147
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
148
</TR>
149
</TABLE>
150
&nbsp;
151
<!-- ========== METHOD SUMMARY =========== -->
152
 
153
<A NAME="method_summary"><!-- --></A>
154
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
155
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
156
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
157
<B>Method Summary</B></FONT></TH>
158
</TR>
159
<TR BGCOLOR="white" CLASS="TableRowColor">
160
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
161
<CODE>static&nbsp;<A HREF="../../../com/badlogic/gdx/Input.Orientation.html" title="enum in com.badlogic.gdx">Input.Orientation</A></CODE></FONT></TD>
162
<TD><CODE><B><A HREF="../../../com/badlogic/gdx/Input.Orientation.html#valueOf(java.lang.String)">valueOf</A></B>(java.lang.String&nbsp;name)</CODE>
163
 
164
<BR>
165
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the enum constant of this type with the specified name.</TD>
166
</TR>
167
<TR BGCOLOR="white" CLASS="TableRowColor">
168
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
169
<CODE>static&nbsp;<A HREF="../../../com/badlogic/gdx/Input.Orientation.html" title="enum in com.badlogic.gdx">Input.Orientation</A>[]</CODE></FONT></TD>
170
<TD><CODE><B><A HREF="../../../com/badlogic/gdx/Input.Orientation.html#values()">values</A></B>()</CODE>
171
 
172
<BR>
173
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an array containing the constants of this enum type, in
174
the order they are declared.</TD>
175
</TR>
176
</TABLE>
177
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Enum"><!-- --></A>
178
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
179
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
180
<TH ALIGN="left"><B>Methods inherited from class java.lang.Enum</B></TH>
181
</TR>
182
<TR BGCOLOR="white" CLASS="TableRowColor">
183
<TD><CODE>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</CODE></TD>
184
</TR>
185
</TABLE>
186
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
187
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
188
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
189
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
190
</TR>
191
<TR BGCOLOR="white" CLASS="TableRowColor">
192
<TD><CODE>getClass, notify, notifyAll, wait, wait, wait</CODE></TD>
193
</TR>
194
</TABLE>
195
&nbsp;
196
<P>
197
 
198
<!-- ============ ENUM CONSTANT DETAIL =========== -->
199
 
200
<A NAME="enum_constant_detail"><!-- --></A>
201
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
202
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
203
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
204
<B>Enum Constant Detail</B></FONT></TH>
205
</TR>
206
</TABLE>
207
 
208
<A NAME="Landscape"><!-- --></A><H3>
209
Landscape</H3>
210
<PRE>
211
public static final <A HREF="../../../com/badlogic/gdx/Input.Orientation.html" title="enum in com.badlogic.gdx">Input.Orientation</A> <B>Landscape</B></PRE>
212
<DL>
213
<DL>
214
</DL>
215
</DL>
216
<HR>
217
 
218
<A NAME="Portrait"><!-- --></A><H3>
219
Portrait</H3>
220
<PRE>
221
public static final <A HREF="../../../com/badlogic/gdx/Input.Orientation.html" title="enum in com.badlogic.gdx">Input.Orientation</A> <B>Portrait</B></PRE>
222
<DL>
223
<DL>
224
</DL>
225
</DL>
226
 
227
<!-- ============ METHOD DETAIL ========== -->
228
 
229
<A NAME="method_detail"><!-- --></A>
230
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
231
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
232
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
233
<B>Method Detail</B></FONT></TH>
234
</TR>
235
</TABLE>
236
 
237
<A NAME="values()"><!-- --></A><H3>
238
values</H3>
239
<PRE>
240
public static <A HREF="../../../com/badlogic/gdx/Input.Orientation.html" title="enum in com.badlogic.gdx">Input.Orientation</A>[] <B>values</B>()</PRE>
241
<DL>
242
<DD>Returns an array containing the constants of this enum type, in
243
the order they are declared.  This method may be used to iterate
244
over the constants as follows:
245
<pre>
246
for (Input.Orientation c : Input.Orientation.values())
247
&nbsp;   System.out.println(c);
248
</pre>
249
<P>
250
<DD><DL>
251
 
252
<DT><B>Returns:</B><DD>an array containing the constants of this enum type, in
253
the order they are declared</DL>
254
</DD>
255
</DL>
256
<HR>
257
 
258
<A NAME="valueOf(java.lang.String)"><!-- --></A><H3>
259
valueOf</H3>
260
<PRE>
261
public static <A HREF="../../../com/badlogic/gdx/Input.Orientation.html" title="enum in com.badlogic.gdx">Input.Orientation</A> <B>valueOf</B>(java.lang.String&nbsp;name)</PRE>
262
<DL>
263
<DD>Returns the enum constant of this type with the specified name.
264
The string must match <I>exactly</I> an identifier used to declare an
265
enum constant in this type.  (Extraneous whitespace characters are
266
not permitted.)
267
<P>
268
<DD><DL>
269
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the enum constant to be returned.
270
<DT><B>Returns:</B><DD>the enum constant with the specified name
271
<DT><B>Throws:</B>
272
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if this enum type has no constant
273
with the specified name
274
<DD><CODE>java.lang.NullPointerException</CODE> - if the argument is null</DL>
275
</DD>
276
</DL>
277
<!-- ========= END OF CLASS DATA ========= -->
278
<HR>
279
 
280
 
281
<!-- ======= START OF BOTTOM NAVBAR ====== -->
282
<A NAME="navbar_bottom"><!-- --></A>
283
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
284
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
285
<TR>
286
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
287
<A NAME="navbar_bottom_firstrow"><!-- --></A>
288
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
289
  <TR ALIGN="center" VALIGN="top">
290
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
291
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
292
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
293
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Input.Orientation.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
294
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
295
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
296
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
297
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
298
  </TR>
299
</TABLE>
300
</TD>
301
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
302
libgdx API</EM>
303
</TD>
304
</TR>
305
 
306
<TR>
307
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
308
&nbsp;<A HREF="../../../com/badlogic/gdx/Input.Keys.html" title="class in com.badlogic.gdx"><B>PREV CLASS</B></A>&nbsp;
309
&nbsp;<A HREF="../../../com/badlogic/gdx/Input.Peripheral.html" title="enum in com.badlogic.gdx"><B>NEXT CLASS</B></A></FONT></TD>
310
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
311
  <A HREF="../../../index.html?com/badlogic/gdx/Input.Orientation.html" target="_top"><B>FRAMES</B></A>  &nbsp;
312
&nbsp;<A HREF="Input.Orientation.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
313
&nbsp;<SCRIPT type="text/javascript">
314
  <!--
315
  if(window==top) {
316
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
317
  }
318
  //-->
319
</SCRIPT>
320
<NOSCRIPT>
321
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
322
</NOSCRIPT>
323
 
324
 
325
</FONT></TD>
326
</TR>
327
<TR>
328
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
329
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#enum_constant_summary">ENUM CONSTANTS</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
330
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
331
DETAIL:&nbsp;<A HREF="#enum_constant_detail">ENUM CONSTANTS</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
332
</TR>
333
</TABLE>
334
<A NAME="skip-navbar_bottom"></A>
335
<!-- ======== END OF BOTTOM NAVBAR ======= -->
336
 
337
<HR>
338
 
339
                                <div style="font-size:9pt"><i>
340
                                Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)
341
                                </i></div>
342
 
343
</BODY>
344
</HTML>