Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1107 | chris | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| 2 | <!-- NewPage --> |
||
| 3 | <html lang="en"> |
||
| 4 | <head> |
||
| 5 | <!-- Generated by javadoc (version 1.7.0_17) on Sun Nov 03 15:35:39 CET 2013 --> |
||
| 6 | <title>InputAdapter (libgdx API)</title> |
||
| 7 | <meta name="date" content="2013-11-03"> |
||
| 8 | <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> |
||
| 9 | </head> |
||
| 10 | <body> |
||
| 11 | <script type="text/javascript"><!-- |
||
| 12 | if (location.href.indexOf('is-external=true') == -1) { |
||
| 13 | parent.document.title="InputAdapter (libgdx API)"; |
||
| 14 | } |
||
| 15 | //--> |
||
| 16 | </script> |
||
| 17 | <noscript> |
||
| 18 | <div>JavaScript is disabled on your browser.</div> |
||
| 19 | </noscript> |
||
| 20 | <!-- ========= START OF TOP NAVBAR ======= --> |
||
| 21 | <div class="topNav"><a name="navbar_top"> |
||
| 22 | <!-- --> |
||
| 23 | </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> |
||
| 24 | <!-- --> |
||
| 25 | </a> |
||
| 26 | <ul class="navList" title="Navigation"> |
||
| 27 | <li><a href="../../../overview-summary.html">Overview</a></li> |
||
| 28 | <li><a href="package-summary.html">Package</a></li> |
||
| 29 | <li class="navBarCell1Rev">Class</li> |
||
| 30 | <li><a href="class-use/InputAdapter.html">Use</a></li> |
||
| 31 | <li><a href="package-tree.html">Tree</a></li> |
||
| 32 | <li><a href="../../../deprecated-list.html">Deprecated</a></li> |
||
| 33 | <li><a href="../../../index-all.html">Index</a></li> |
||
| 34 | <li><a href="../../../help-doc.html">Help</a></li> |
||
| 35 | </ul> |
||
| 36 | <div class="aboutLanguage"><em> |
||
| 37 | libgdx API |
||
| 38 | <style> |
||
| 39 | body, td, th { font-family:Helvetica, Tahoma, Arial, sans-serif; font-size:10pt } |
||
| 40 | pre, code, tt { font-size:9pt; font-family:Lucida Console, Courier New, sans-serif } |
||
| 41 | h1, h2, h3, .FrameTitleFont, .FrameHeadingFont, .TableHeadingColor font { font-size:105%; font-weight:bold } |
||
| 42 | .TableHeadingColor { background:#EEEEFF; } |
||
| 43 | a { text-decoration:none } |
||
| 44 | a:hover { text-decoration:underline } |
||
| 45 | a:link, a:visited { color:blue } |
||
| 46 | table { border:0px } |
||
| 47 | .TableRowColor td:first-child { border-left:1px solid black } |
||
| 48 | .TableRowColor td { border:0px; border-bottom:1px solid black; border-right:1px solid black } |
||
| 49 | hr { border:0px; border-bottom:1px solid #333366; } |
||
| 50 | </style> |
||
| 51 | </em></div> |
||
| 52 | </div> |
||
| 53 | <div class="subNav"> |
||
| 54 | <ul class="navList"> |
||
| 55 | <li><a href="../../../com/badlogic/gdx/Input.TextInputListener.html" title="interface in com.badlogic.gdx"><span class="strong">Prev Class</span></a></li> |
||
| 56 | <li><a href="../../../com/badlogic/gdx/InputMultiplexer.html" title="class in com.badlogic.gdx"><span class="strong">Next Class</span></a></li> |
||
| 57 | </ul> |
||
| 58 | <ul class="navList"> |
||
| 59 | <li><a href="../../../index.html?com/badlogic/gdx/InputAdapter.html" target="_top">Frames</a></li> |
||
| 60 | <li><a href="InputAdapter.html" target="_top">No Frames</a></li> |
||
| 61 | </ul> |
||
| 62 | <ul class="navList" id="allclasses_navbar_top"> |
||
| 63 | <li><a href="../../../allclasses-noframe.html">All Classes</a></li> |
||
| 64 | </ul> |
||
| 65 | <div> |
||
| 66 | <script type="text/javascript"><!-- |
||
| 67 | allClassesLink = document.getElementById("allclasses_navbar_top"); |
||
| 68 | if(window==top) { |
||
| 69 | allClassesLink.style.display = "block"; |
||
| 70 | } |
||
| 71 | else { |
||
| 72 | allClassesLink.style.display = "none"; |
||
| 73 | } |
||
| 74 | //--> |
||
| 75 | </script> |
||
| 76 | </div> |
||
| 77 | <div> |
||
| 78 | <ul class="subNavList"> |
||
| 79 | <li>Summary: </li> |
||
| 80 | <li>Nested | </li> |
||
| 81 | <li>Field | </li> |
||
| 82 | <li><a href="#constructor_summary">Constr</a> | </li> |
||
| 83 | <li><a href="#method_summary">Method</a></li> |
||
| 84 | </ul> |
||
| 85 | <ul class="subNavList"> |
||
| 86 | <li>Detail: </li> |
||
| 87 | <li>Field | </li> |
||
| 88 | <li><a href="#constructor_detail">Constr</a> | </li> |
||
| 89 | <li><a href="#method_detail">Method</a></li> |
||
| 90 | </ul> |
||
| 91 | </div> |
||
| 92 | <a name="skip-navbar_top"> |
||
| 93 | <!-- --> |
||
| 94 | </a></div> |
||
| 95 | <!-- ========= END OF TOP NAVBAR ========= --> |
||
| 96 | <!-- ======== START OF CLASS DATA ======== --> |
||
| 97 | <div class="header"> |
||
| 98 | <div class="subTitle">com.badlogic.gdx</div> |
||
| 99 | <h2 title="Class InputAdapter" class="title">Class InputAdapter</h2> |
||
| 100 | </div> |
||
| 101 | <div class="contentContainer"> |
||
| 102 | <ul class="inheritance"> |
||
| 103 | <li>java.lang.Object</li> |
||
| 104 | <li> |
||
| 105 | <ul class="inheritance"> |
||
| 106 | <li>com.badlogic.gdx.InputAdapter</li> |
||
| 107 | </ul> |
||
| 108 | </li> |
||
| 109 | </ul> |
||
| 110 | <div class="description"> |
||
| 111 | <ul class="blockList"> |
||
| 112 | <li class="blockList"> |
||
| 113 | <dl> |
||
| 114 | <dt>All Implemented Interfaces:</dt> |
||
| 115 | <dd><a href="../../../com/badlogic/gdx/InputProcessor.html" title="interface in com.badlogic.gdx">InputProcessor</a></dd> |
||
| 116 | </dl> |
||
| 117 | <dl> |
||
| 118 | <dt>Direct Known Subclasses:</dt> |
||
| 119 | <dd><a href="../../../com/badlogic/gdx/graphics/g3d/utils/FirstPersonCameraController.html" title="class in com.badlogic.gdx.graphics.g3d.utils">FirstPersonCameraController</a>, <a href="../../../com/badlogic/gdx/input/GestureDetector.html" title="class in com.badlogic.gdx.input">GestureDetector</a>, <a href="../../../com/badlogic/gdx/scenes/scene2d/Stage.html" title="class in com.badlogic.gdx.scenes.scene2d">Stage</a></dd> |
||
| 120 | </dl> |
||
| 121 | <hr> |
||
| 122 | <br> |
||
| 123 | <pre>public class <span class="strong">InputAdapter</span> |
||
| 124 | extends java.lang.Object |
||
| 125 | implements <a href="../../../com/badlogic/gdx/InputProcessor.html" title="interface in com.badlogic.gdx">InputProcessor</a></pre> |
||
| 126 | <div class="block">An adapter class for <a href="../../../com/badlogic/gdx/InputProcessor.html" title="interface in com.badlogic.gdx"><code>InputProcessor</code></a>. You can derive from this and only override what you are interested in.</div> |
||
| 127 | <dl><dt><span class="strong">Author:</span></dt> |
||
| 128 | <dd>mzechner</dd></dl> |
||
| 129 | </li> |
||
| 130 | </ul> |
||
| 131 | </div> |
||
| 132 | <div class="summary"> |
||
| 133 | <ul class="blockList"> |
||
| 134 | <li class="blockList"> |
||
| 135 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
||
| 136 | <ul class="blockList"> |
||
| 137 | <li class="blockList"><a name="constructor_summary"> |
||
| 138 | <!-- --> |
||
| 139 | </a> |
||
| 140 | <h3>Constructor Summary</h3> |
||
| 141 | <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
||
| 142 | <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
||
| 143 | <tr> |
||
| 144 | <th class="colOne" scope="col">Constructor and Description</th> |
||
| 145 | </tr> |
||
| 146 | <tr class="altColor"> |
||
| 147 | <td class="colOne"><code><strong><a href="../../../com/badlogic/gdx/InputAdapter.html#InputAdapter()">InputAdapter</a></strong>()</code> </td> |
||
| 148 | </tr> |
||
| 149 | </table> |
||
| 150 | </li> |
||
| 151 | </ul> |
||
| 152 | <!-- ========== METHOD SUMMARY =========== --> |
||
| 153 | <ul class="blockList"> |
||
| 154 | <li class="blockList"><a name="method_summary"> |
||
| 155 | <!-- --> |
||
| 156 | </a> |
||
| 157 | <h3>Method Summary</h3> |
||
| 158 | <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
||
| 159 | <caption><span>Methods</span><span class="tabEnd"> </span></caption> |
||
| 160 | <tr> |
||
| 161 | <th class="colFirst" scope="col">Modifier and Type</th> |
||
| 162 | <th class="colLast" scope="col">Method and Description</th> |
||
| 163 | </tr> |
||
| 164 | <tr class="altColor"> |
||
| 165 | <td class="colFirst"><code>boolean</code></td> |
||
| 166 | <td class="colLast"><code><strong><a href="../../../com/badlogic/gdx/InputAdapter.html#keyDown(int)">keyDown</a></strong>(int keycode)</code> |
||
| 167 | <div class="block">Called when a key was pressed</div> |
||
| 168 | </td> |
||
| 169 | </tr> |
||
| 170 | <tr class="rowColor"> |
||
| 171 | <td class="colFirst"><code>boolean</code></td> |
||
| 172 | <td class="colLast"><code><strong><a href="../../../com/badlogic/gdx/InputAdapter.html#keyTyped(char)">keyTyped</a></strong>(char character)</code> |
||
| 173 | <div class="block">Called when a key was typed</div> |
||
| 174 | </td> |
||
| 175 | </tr> |
||
| 176 | <tr class="altColor"> |
||
| 177 | <td class="colFirst"><code>boolean</code></td> |
||
| 178 | <td class="colLast"><code><strong><a href="../../../com/badlogic/gdx/InputAdapter.html#keyUp(int)">keyUp</a></strong>(int keycode)</code> |
||
| 179 | <div class="block">Called when a key was released</div> |
||
| 180 | </td> |
||
| 181 | </tr> |
||
| 182 | <tr class="rowColor"> |
||
| 183 | <td class="colFirst"><code>boolean</code></td> |
||
| 184 | <td class="colLast"><code><strong><a href="../../../com/badlogic/gdx/InputAdapter.html#mouseMoved(int, int)">mouseMoved</a></strong>(int screenX, |
||
| 185 | int screenY)</code> |
||
| 186 | <div class="block">Called when the mouse was moved without any buttons being pressed.</div> |
||
| 187 | </td> |
||
| 188 | </tr> |
||
| 189 | <tr class="altColor"> |
||
| 190 | <td class="colFirst"><code>boolean</code></td> |
||
| 191 | <td class="colLast"><code><strong><a href="../../../com/badlogic/gdx/InputAdapter.html#scrolled(int)">scrolled</a></strong>(int amount)</code> |
||
| 192 | <div class="block">Called when the mouse wheel was scrolled.</div> |
||
| 193 | </td> |
||
| 194 | </tr> |
||
| 195 | <tr class="rowColor"> |
||
| 196 | <td class="colFirst"><code>boolean</code></td> |
||
| 197 | <td class="colLast"><code><strong><a href="../../../com/badlogic/gdx/InputAdapter.html#touchDown(int, int, int, int)">touchDown</a></strong>(int screenX, |
||
| 198 | int screenY, |
||
| 199 | int pointer, |
||
| 200 | int button)</code> |
||
| 201 | <div class="block">Called when the screen was touched or a mouse button was pressed.</div> |
||
| 202 | </td> |
||
| 203 | </tr> |
||
| 204 | <tr class="altColor"> |
||
| 205 | <td class="colFirst"><code>boolean</code></td> |
||
| 206 | <td class="colLast"><code><strong><a href="../../../com/badlogic/gdx/InputAdapter.html#touchDragged(int, int, int)">touchDragged</a></strong>(int screenX, |
||
| 207 | int screenY, |
||
| 208 | int pointer)</code> |
||
| 209 | <div class="block">Called when a finger or the mouse was dragged.</div> |
||
| 210 | </td> |
||
| 211 | </tr> |
||
| 212 | <tr class="rowColor"> |
||
| 213 | <td class="colFirst"><code>boolean</code></td> |
||
| 214 | <td class="colLast"><code><strong><a href="../../../com/badlogic/gdx/InputAdapter.html#touchUp(int, int, int, int)">touchUp</a></strong>(int screenX, |
||
| 215 | int screenY, |
||
| 216 | int pointer, |
||
| 217 | int button)</code> |
||
| 218 | <div class="block">Called when a finger was lifted or a mouse button was released.</div> |
||
| 219 | </td> |
||
| 220 | </tr> |
||
| 221 | </table> |
||
| 222 | <ul class="blockList"> |
||
| 223 | <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> |
||
| 224 | <!-- --> |
||
| 225 | </a> |
||
| 226 | <h3>Methods inherited from class java.lang.Object</h3> |
||
| 227 | <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> |
||
| 228 | </ul> |
||
| 229 | </li> |
||
| 230 | </ul> |
||
| 231 | </li> |
||
| 232 | </ul> |
||
| 233 | </div> |
||
| 234 | <div class="details"> |
||
| 235 | <ul class="blockList"> |
||
| 236 | <li class="blockList"> |
||
| 237 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
||
| 238 | <ul class="blockList"> |
||
| 239 | <li class="blockList"><a name="constructor_detail"> |
||
| 240 | <!-- --> |
||
| 241 | </a> |
||
| 242 | <h3>Constructor Detail</h3> |
||
| 243 | <a name="InputAdapter()"> |
||
| 244 | <!-- --> |
||
| 245 | </a> |
||
| 246 | <ul class="blockListLast"> |
||
| 247 | <li class="blockList"> |
||
| 248 | <h4>InputAdapter</h4> |
||
| 249 | <pre>public InputAdapter()</pre> |
||
| 250 | </li> |
||
| 251 | </ul> |
||
| 252 | </li> |
||
| 253 | </ul> |
||
| 254 | <!-- ============ METHOD DETAIL ========== --> |
||
| 255 | <ul class="blockList"> |
||
| 256 | <li class="blockList"><a name="method_detail"> |
||
| 257 | <!-- --> |
||
| 258 | </a> |
||
| 259 | <h3>Method Detail</h3> |
||
| 260 | <a name="keyDown(int)"> |
||
| 261 | <!-- --> |
||
| 262 | </a> |
||
| 263 | <ul class="blockList"> |
||
| 264 | <li class="blockList"> |
||
| 265 | <h4>keyDown</h4> |
||
| 266 | <pre>public boolean keyDown(int keycode)</pre> |
||
| 267 | <div class="block"><strong>Description copied from interface: <code><a href="../../../com/badlogic/gdx/InputProcessor.html#keyDown(int)">InputProcessor</a></code></strong></div> |
||
| 268 | <div class="block">Called when a key was pressed</div> |
||
| 269 | <dl> |
||
| 270 | <dt><strong>Specified by:</strong></dt> |
||
| 271 | <dd><code><a href="../../../com/badlogic/gdx/InputProcessor.html#keyDown(int)">keyDown</a></code> in interface <code><a href="../../../com/badlogic/gdx/InputProcessor.html" title="interface in com.badlogic.gdx">InputProcessor</a></code></dd> |
||
| 272 | <dt><span class="strong">Parameters:</span></dt><dd><code>keycode</code> - one of the constants in <a href="../../../com/badlogic/gdx/Input.Keys.html" title="class in com.badlogic.gdx"><code>Input.Keys</code></a></dd> |
||
| 273 | <dt><span class="strong">Returns:</span></dt><dd>whether the input was processed</dd></dl> |
||
| 274 | </li> |
||
| 275 | </ul> |
||
| 276 | <a name="keyUp(int)"> |
||
| 277 | <!-- --> |
||
| 278 | </a> |
||
| 279 | <ul class="blockList"> |
||
| 280 | <li class="blockList"> |
||
| 281 | <h4>keyUp</h4> |
||
| 282 | <pre>public boolean keyUp(int keycode)</pre> |
||
| 283 | <div class="block"><strong>Description copied from interface: <code><a href="../../../com/badlogic/gdx/InputProcessor.html#keyUp(int)">InputProcessor</a></code></strong></div> |
||
| 284 | <div class="block">Called when a key was released</div> |
||
| 285 | <dl> |
||
| 286 | <dt><strong>Specified by:</strong></dt> |
||
| 287 | <dd><code><a href="../../../com/badlogic/gdx/InputProcessor.html#keyUp(int)">keyUp</a></code> in interface <code><a href="../../../com/badlogic/gdx/InputProcessor.html" title="interface in com.badlogic.gdx">InputProcessor</a></code></dd> |
||
| 288 | <dt><span class="strong">Parameters:</span></dt><dd><code>keycode</code> - one of the constants in <a href="../../../com/badlogic/gdx/Input.Keys.html" title="class in com.badlogic.gdx"><code>Input.Keys</code></a></dd> |
||
| 289 | <dt><span class="strong">Returns:</span></dt><dd>whether the input was processed</dd></dl> |
||
| 290 | </li> |
||
| 291 | </ul> |
||
| 292 | <a name="keyTyped(char)"> |
||
| 293 | <!-- --> |
||
| 294 | </a> |
||
| 295 | <ul class="blockList"> |
||
| 296 | <li class="blockList"> |
||
| 297 | <h4>keyTyped</h4> |
||
| 298 | <pre>public boolean keyTyped(char character)</pre> |
||
| 299 | <div class="block"><strong>Description copied from interface: <code><a href="../../../com/badlogic/gdx/InputProcessor.html#keyTyped(char)">InputProcessor</a></code></strong></div> |
||
| 300 | <div class="block">Called when a key was typed</div> |
||
| 301 | <dl> |
||
| 302 | <dt><strong>Specified by:</strong></dt> |
||
| 303 | <dd><code><a href="../../../com/badlogic/gdx/InputProcessor.html#keyTyped(char)">keyTyped</a></code> in interface <code><a href="../../../com/badlogic/gdx/InputProcessor.html" title="interface in com.badlogic.gdx">InputProcessor</a></code></dd> |
||
| 304 | <dt><span class="strong">Parameters:</span></dt><dd><code>character</code> - The character</dd> |
||
| 305 | <dt><span class="strong">Returns:</span></dt><dd>whether the input was processed</dd></dl> |
||
| 306 | </li> |
||
| 307 | </ul> |
||
| 308 | <a name="touchDown(int, int, int, int)"> |
||
| 309 | <!-- --> |
||
| 310 | </a> |
||
| 311 | <ul class="blockList"> |
||
| 312 | <li class="blockList"> |
||
| 313 | <h4>touchDown</h4> |
||
| 314 | <pre>public boolean touchDown(int screenX, |
||
| 315 | int screenY, |
||
| 316 | int pointer, |
||
| 317 | int button)</pre> |
||
| 318 | <div class="block"><strong>Description copied from interface: <code><a href="../../../com/badlogic/gdx/InputProcessor.html#touchDown(int, int, int, int)">InputProcessor</a></code></strong></div> |
||
| 319 | <div class="block">Called when the screen was touched or a mouse button was pressed. The button parameter will be <a href="../../../com/badlogic/gdx/Input.Buttons.html#LEFT"><code>Input.Buttons.LEFT</code></a> on |
||
| 320 | Android.</div> |
||
| 321 | <dl> |
||
| 322 | <dt><strong>Specified by:</strong></dt> |
||
| 323 | <dd><code><a href="../../../com/badlogic/gdx/InputProcessor.html#touchDown(int, int, int, int)">touchDown</a></code> in interface <code><a href="../../../com/badlogic/gdx/InputProcessor.html" title="interface in com.badlogic.gdx">InputProcessor</a></code></dd> |
||
| 324 | <dt><span class="strong">Parameters:</span></dt><dd><code>screenX</code> - The x coordinate, origin is in the upper left corner</dd><dd><code>screenY</code> - The y coordinate, origin is in the upper left corner</dd><dd><code>pointer</code> - the pointer for the event.</dd><dd><code>button</code> - the button</dd> |
||
| 325 | <dt><span class="strong">Returns:</span></dt><dd>whether the input was processed</dd></dl> |
||
| 326 | </li> |
||
| 327 | </ul> |
||
| 328 | <a name="touchUp(int, int, int, int)"> |
||
| 329 | <!-- --> |
||
| 330 | </a> |
||
| 331 | <ul class="blockList"> |
||
| 332 | <li class="blockList"> |
||
| 333 | <h4>touchUp</h4> |
||
| 334 | <pre>public boolean touchUp(int screenX, |
||
| 335 | int screenY, |
||
| 336 | int pointer, |
||
| 337 | int button)</pre> |
||
| 338 | <div class="block"><strong>Description copied from interface: <code><a href="../../../com/badlogic/gdx/InputProcessor.html#touchUp(int, int, int, int)">InputProcessor</a></code></strong></div> |
||
| 339 | <div class="block">Called when a finger was lifted or a mouse button was released. The button parameter will be <a href="../../../com/badlogic/gdx/Input.Buttons.html#LEFT"><code>Input.Buttons.LEFT</code></a> on |
||
| 340 | Android.</div> |
||
| 341 | <dl> |
||
| 342 | <dt><strong>Specified by:</strong></dt> |
||
| 343 | <dd><code><a href="../../../com/badlogic/gdx/InputProcessor.html#touchUp(int, int, int, int)">touchUp</a></code> in interface <code><a href="../../../com/badlogic/gdx/InputProcessor.html" title="interface in com.badlogic.gdx">InputProcessor</a></code></dd> |
||
| 344 | <dd><code>pointer</code> - the pointer for the event.</dd><dd><code>button</code> - the button</dd> |
||
| 345 | <dt><span class="strong">Returns:</span></dt><dd>whether the input was processed</dd></dl> |
||
| 346 | </li> |
||
| 347 | </ul> |
||
| 348 | <a name="touchDragged(int, int, int)"> |
||
| 349 | <!-- --> |
||
| 350 | </a> |
||
| 351 | <ul class="blockList"> |
||
| 352 | <li class="blockList"> |
||
| 353 | <h4>touchDragged</h4> |
||
| 354 | <pre>public boolean touchDragged(int screenX, |
||
| 355 | int screenY, |
||
| 356 | int pointer)</pre> |
||
| 357 | <div class="block"><strong>Description copied from interface: <code><a href="../../../com/badlogic/gdx/InputProcessor.html#touchDragged(int, int, int)">InputProcessor</a></code></strong></div> |
||
| 358 | <div class="block">Called when a finger or the mouse was dragged.</div> |
||
| 359 | <dl> |
||
| 360 | <dt><strong>Specified by:</strong></dt> |
||
| 361 | <dd><code><a href="../../../com/badlogic/gdx/InputProcessor.html#touchDragged(int, int, int)">touchDragged</a></code> in interface <code><a href="../../../com/badlogic/gdx/InputProcessor.html" title="interface in com.badlogic.gdx">InputProcessor</a></code></dd> |
||
| 362 | <dd><code>pointer</code> - the pointer for the event.</dd> |
||
| 363 | <dt><span class="strong">Returns:</span></dt><dd>whether the input was processed</dd></dl> |
||
| 364 | </li> |
||
| 365 | </ul> |
||
| 366 | <a name="mouseMoved(int, int)"> |
||
| 367 | <!-- --> |
||
| 368 | </a> |
||
| 369 | <ul class="blockList"> |
||
| 370 | <li class="blockList"> |
||
| 371 | <h4>mouseMoved</h4> |
||
| 372 | <pre>public boolean mouseMoved(int screenX, |
||
| 373 | int screenY)</pre> |
||
| 374 | <div class="block"><strong>Description copied from interface: <code><a href="../../../com/badlogic/gdx/InputProcessor.html#mouseMoved(int, int)">InputProcessor</a></code></strong></div> |
||
| 375 | <div class="block">Called when the mouse was moved without any buttons being pressed. Will not be called on Android.</div> |
||
| 376 | <dl> |
||
| 377 | <dt><strong>Specified by:</strong></dt> |
||
| 378 | <dd><code><a href="../../../com/badlogic/gdx/InputProcessor.html#mouseMoved(int, int)">mouseMoved</a></code> in interface <code><a href="../../../com/badlogic/gdx/InputProcessor.html" title="interface in com.badlogic.gdx">InputProcessor</a></code></dd> |
||
| 379 | <dt><span class="strong">Returns:</span></dt><dd>whether the input was processed</dd></dl> |
||
| 380 | </li> |
||
| 381 | </ul> |
||
| 382 | <a name="scrolled(int)"> |
||
| 383 | <!-- --> |
||
| 384 | </a> |
||
| 385 | <ul class="blockListLast"> |
||
| 386 | <li class="blockList"> |
||
| 387 | <h4>scrolled</h4> |
||
| 388 | <pre>public boolean scrolled(int amount)</pre> |
||
| 389 | <div class="block"><strong>Description copied from interface: <code><a href="../../../com/badlogic/gdx/InputProcessor.html#scrolled(int)">InputProcessor</a></code></strong></div> |
||
| 390 | <div class="block">Called when the mouse wheel was scrolled. Will not be called on Android.</div> |
||
| 391 | <dl> |
||
| 392 | <dt><strong>Specified by:</strong></dt> |
||
| 393 | <dd><code><a href="../../../com/badlogic/gdx/InputProcessor.html#scrolled(int)">scrolled</a></code> in interface <code><a href="../../../com/badlogic/gdx/InputProcessor.html" title="interface in com.badlogic.gdx">InputProcessor</a></code></dd> |
||
| 394 | <dt><span class="strong">Parameters:</span></dt><dd><code>amount</code> - the scroll amount, -1 or 1 depending on the direction the wheel was scrolled.</dd> |
||
| 395 | <dt><span class="strong">Returns:</span></dt><dd>whether the input was processed.</dd></dl> |
||
| 396 | </li> |
||
| 397 | </ul> |
||
| 398 | </li> |
||
| 399 | </ul> |
||
| 400 | </li> |
||
| 401 | </ul> |
||
| 402 | </div> |
||
| 403 | </div> |
||
| 404 | <!-- ========= END OF CLASS DATA ========= --> |
||
| 405 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
||
| 406 | <div class="bottomNav"><a name="navbar_bottom"> |
||
| 407 | <!-- --> |
||
| 408 | </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> |
||
| 409 | <!-- --> |
||
| 410 | </a> |
||
| 411 | <ul class="navList" title="Navigation"> |
||
| 412 | <li><a href="../../../overview-summary.html">Overview</a></li> |
||
| 413 | <li><a href="package-summary.html">Package</a></li> |
||
| 414 | <li class="navBarCell1Rev">Class</li> |
||
| 415 | <li><a href="class-use/InputAdapter.html">Use</a></li> |
||
| 416 | <li><a href="package-tree.html">Tree</a></li> |
||
| 417 | <li><a href="../../../deprecated-list.html">Deprecated</a></li> |
||
| 418 | <li><a href="../../../index-all.html">Index</a></li> |
||
| 419 | <li><a href="../../../help-doc.html">Help</a></li> |
||
| 420 | </ul> |
||
| 421 | <div class="aboutLanguage"><em>libgdx API</em></div> |
||
| 422 | </div> |
||
| 423 | <div class="subNav"> |
||
| 424 | <ul class="navList"> |
||
| 425 | <li><a href="../../../com/badlogic/gdx/Input.TextInputListener.html" title="interface in com.badlogic.gdx"><span class="strong">Prev Class</span></a></li> |
||
| 426 | <li><a href="../../../com/badlogic/gdx/InputMultiplexer.html" title="class in com.badlogic.gdx"><span class="strong">Next Class</span></a></li> |
||
| 427 | </ul> |
||
| 428 | <ul class="navList"> |
||
| 429 | <li><a href="../../../index.html?com/badlogic/gdx/InputAdapter.html" target="_top">Frames</a></li> |
||
| 430 | <li><a href="InputAdapter.html" target="_top">No Frames</a></li> |
||
| 431 | </ul> |
||
| 432 | <ul class="navList" id="allclasses_navbar_bottom"> |
||
| 433 | <li><a href="../../../allclasses-noframe.html">All Classes</a></li> |
||
| 434 | </ul> |
||
| 435 | <div> |
||
| 436 | <script type="text/javascript"><!-- |
||
| 437 | allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
||
| 438 | if(window==top) { |
||
| 439 | allClassesLink.style.display = "block"; |
||
| 440 | } |
||
| 441 | else { |
||
| 442 | allClassesLink.style.display = "none"; |
||
| 443 | } |
||
| 444 | //--> |
||
| 445 | </script> |
||
| 446 | </div> |
||
| 447 | <div> |
||
| 448 | <ul class="subNavList"> |
||
| 449 | <li>Summary: </li> |
||
| 450 | <li>Nested | </li> |
||
| 451 | <li>Field | </li> |
||
| 452 | <li><a href="#constructor_summary">Constr</a> | </li> |
||
| 453 | <li><a href="#method_summary">Method</a></li> |
||
| 454 | </ul> |
||
| 455 | <ul class="subNavList"> |
||
| 456 | <li>Detail: </li> |
||
| 457 | <li>Field | </li> |
||
| 458 | <li><a href="#constructor_detail">Constr</a> | </li> |
||
| 459 | <li><a href="#method_detail">Method</a></li> |
||
| 460 | </ul> |
||
| 461 | </div> |
||
| 462 | <a name="skip-navbar_bottom"> |
||
| 463 | <!-- --> |
||
| 464 | </a></div> |
||
| 465 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
||
| 466 | <p class="legalCopy"><small> |
||
| 467 | <div style="font-size:9pt"><i> |
||
| 468 | Copyright © 2010-2013 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com) |
||
| 469 | </i></div> |
||
| 470 | </small></p> |
||
| 471 | </body> |
||
| 472 | </html> |