/doc/org/mt4j/input/inputSources/MuitoInputSource.html

http://mt4j.googlecode.com/ · HTML · 330 lines · 272 code · 36 blank · 22 comment · 0 complexity · 43623cb18782582b11e4f9ee12fd76dd MD5 · raw file

  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_20) on Thu Aug 12 23:36:33 CEST 2010 -->
  6. <TITLE>
  7. MuitoInputSource
  8. </TITLE>
  9. <META NAME="date" CONTENT="2010-08-12">
  10. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
  11. <SCRIPT type="text/javascript">
  12. function windowTitle()
  13. {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="MuitoInputSource";
  16. }
  17. }
  18. </SCRIPT>
  19. <NOSCRIPT>
  20. </NOSCRIPT>
  21. </HEAD>
  22. <BODY BGCOLOR="white" onload="windowTitle();">
  23. <HR>
  24. <!-- ========= START OF TOP NAVBAR ======= -->
  25. <A NAME="navbar_top"><!-- --></A>
  26. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  27. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  28. <TR>
  29. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  30. <A NAME="navbar_top_firstrow"><!-- --></A>
  31. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  32. <TR ALIGN="center" VALIGN="top">
  33. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  35. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  36. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MuitoInputSource.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  37. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  38. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  39. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  40. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  41. </TR>
  42. </TABLE>
  43. </TD>
  44. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  45. </EM>
  46. </TD>
  47. </TR>
  48. <TR>
  49. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  50. &nbsp;<A HREF="../../../../org/mt4j/input/inputSources/MouseInputSource.html" title="class in org.mt4j.input.inputSources"><B>PREV CLASS</B></A>&nbsp;
  51. &nbsp;<A HREF="../../../../org/mt4j/input/inputSources/MultipleMiceInputSource.html" title="class in org.mt4j.input.inputSources"><B>NEXT CLASS</B></A></FONT></TD>
  52. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  53. <A HREF="../../../../index.html?org/mt4j/input/inputSources/MuitoInputSource.html" target="_top"><B>FRAMES</B></A> &nbsp;
  54. &nbsp;<A HREF="MuitoInputSource.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  55. &nbsp;<SCRIPT type="text/javascript">
  56. <!--
  57. if(window==top) {
  58. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  59. }
  60. //-->
  61. </SCRIPT>
  62. <NOSCRIPT>
  63. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  64. </NOSCRIPT>
  65. </FONT></TD>
  66. </TR>
  67. <TR>
  68. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  69. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  70. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  71. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  72. </TR>
  73. </TABLE>
  74. <A NAME="skip-navbar_top"></A>
  75. <!-- ========= END OF TOP NAVBAR ========= -->
  76. <HR>
  77. <!-- ======== START OF CLASS DATA ======== -->
  78. <H2>
  79. <FONT SIZE="-1">
  80. org.mt4j.input.inputSources</FONT>
  81. <BR>
  82. Class MuitoInputSource</H2>
  83. <PRE>
  84. java.lang.Object
  85. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/mt4j/input/inputSources/AbstractInputSource.html" title="class in org.mt4j.input.inputSources">org.mt4j.input.inputSources.AbstractInputSource</A>
  86. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.mt4j.input.inputSources.MuitoInputSource</B>
  87. </PRE>
  88. <DL>
  89. <DT><B>All Implemented Interfaces:</B> <DD>muito.motion.MotionProviderListener</DD>
  90. </DL>
  91. <HR>
  92. <DL>
  93. <DT><PRE>public class <B>MuitoInputSource</B><DT>extends <A HREF="../../../../org/mt4j/input/inputSources/AbstractInputSource.html" title="class in org.mt4j.input.inputSources">AbstractInputSource</A><DT>implements muito.motion.MotionProviderListener</DL>
  94. </PRE>
  95. <P>
  96. The Class MuitoInputSource.
  97. <P>
  98. <P>
  99. <DL>
  100. <DT><B>Author:</B></DT>
  101. <DD>Christopher Ruff</DD>
  102. </DL>
  103. <HR>
  104. <P>
  105. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  106. <A NAME="constructor_summary"><!-- --></A>
  107. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  108. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  109. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  110. <B>Constructor Summary</B></FONT></TH>
  111. </TR>
  112. <TR BGCOLOR="white" CLASS="TableRowColor">
  113. <TD><CODE><B><A HREF="../../../../org/mt4j/input/inputSources/MuitoInputSource.html#MuitoInputSource(org.mt4j.MTApplication, java.lang.String, int)">MuitoInputSource</A></B>(<A HREF="../../../../org/mt4j/MTApplication.html" title="class in org.mt4j">MTApplication</A>&nbsp;pa,
  114. java.lang.String&nbsp;server,
  115. int&nbsp;port)</CODE>
  116. <BR>
  117. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Instantiates a new muito input source.</TD>
  118. </TR>
  119. </TABLE>
  120. &nbsp;
  121. <!-- ========== METHOD SUMMARY =========== -->
  122. <A NAME="method_summary"><!-- --></A>
  123. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  124. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  125. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  126. <B>Method Summary</B></FONT></TH>
  127. </TR>
  128. <TR BGCOLOR="white" CLASS="TableRowColor">
  129. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  130. <CODE>&nbsp;void</CODE></FONT></TD>
  131. <TD><CODE><B><A HREF="../../../../org/mt4j/input/inputSources/MuitoInputSource.html#newMotionProvided(muito.motion.Motion)">newMotionProvided</A></B>(muito.motion.Motion&nbsp;motion)</CODE>
  132. <BR>
  133. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  134. </TR>
  135. <TR BGCOLOR="white" CLASS="TableRowColor">
  136. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  137. <CODE>&nbsp;void</CODE></FONT></TD>
  138. <TD><CODE><B><A HREF="../../../../org/mt4j/input/inputSources/MuitoInputSource.html#providedMotionCompleted(muito.motion.Motion)">providedMotionCompleted</A></B>(muito.motion.Motion&nbsp;m)</CODE>
  139. <BR>
  140. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  141. </TR>
  142. <TR BGCOLOR="white" CLASS="TableRowColor">
  143. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  144. <CODE>&nbsp;void</CODE></FONT></TD>
  145. <TD><CODE><B><A HREF="../../../../org/mt4j/input/inputSources/MuitoInputSource.html#providedMotionUpdated(muito.motion.Motion, muito.motion.MotionEvent)">providedMotionUpdated</A></B>(muito.motion.Motion&nbsp;m,
  146. muito.motion.MotionEvent&nbsp;me)</CODE>
  147. <BR>
  148. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  149. </TR>
  150. </TABLE>
  151. &nbsp;<A NAME="methods_inherited_from_class_org.mt4j.input.inputSources.AbstractInputSource"><!-- --></A>
  152. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  153. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  154. <TH ALIGN="left"><B>Methods inherited from class org.mt4j.input.inputSources.<A HREF="../../../../org/mt4j/input/inputSources/AbstractInputSource.html" title="class in org.mt4j.input.inputSources">AbstractInputSource</A></B></TH>
  155. </TR>
  156. <TR BGCOLOR="white" CLASS="TableRowColor">
  157. <TD><CODE><A HREF="../../../../org/mt4j/input/inputSources/AbstractInputSource.html#addInputListener(org.mt4j.input.inputSources.IinputSourceListener)">addInputListener</A>, <A HREF="../../../../org/mt4j/input/inputSources/AbstractInputSource.html#enqueueInputEvent(org.mt4j.input.inputData.MTInputEvent)">enqueueInputEvent</A>, <A HREF="../../../../org/mt4j/input/inputSources/AbstractInputSource.html#flushEvents()">flushEvents</A>, <A HREF="../../../../org/mt4j/input/inputSources/AbstractInputSource.html#getInputListeners()">getInputListeners</A>, <A HREF="../../../../org/mt4j/input/inputSources/AbstractInputSource.html#onRegistered()">onRegistered</A>, <A HREF="../../../../org/mt4j/input/inputSources/AbstractInputSource.html#onUnregistered()">onUnregistered</A>, <A HREF="../../../../org/mt4j/input/inputSources/AbstractInputSource.html#pre()">pre</A>, <A HREF="../../../../org/mt4j/input/inputSources/AbstractInputSource.html#removeInputListener(org.mt4j.input.inputSources.IinputSourceListener)">removeInputListener</A></CODE></TD>
  158. </TR>
  159. </TABLE>
  160. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  161. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  162. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  163. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  164. </TR>
  165. <TR BGCOLOR="white" CLASS="TableRowColor">
  166. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  167. </TR>
  168. </TABLE>
  169. &nbsp;
  170. <P>
  171. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  172. <A NAME="constructor_detail"><!-- --></A>
  173. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  174. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  175. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  176. <B>Constructor Detail</B></FONT></TH>
  177. </TR>
  178. </TABLE>
  179. <A NAME="MuitoInputSource(org.mt4j.MTApplication, java.lang.String, int)"><!-- --></A><H3>
  180. MuitoInputSource</H3>
  181. <PRE>
  182. public <B>MuitoInputSource</B>(<A HREF="../../../../org/mt4j/MTApplication.html" title="class in org.mt4j">MTApplication</A>&nbsp;pa,
  183. java.lang.String&nbsp;server,
  184. int&nbsp;port)</PRE>
  185. <DL>
  186. <DD>Instantiates a new muito input source.
  187. <P>
  188. <DL>
  189. <DT><B>Parameters:</B><DD><CODE>pa</CODE> - the pa<DD><CODE>server</CODE> - the server<DD><CODE>port</CODE> - the port</DL>
  190. </DL>
  191. <!-- ============ METHOD DETAIL ========== -->
  192. <A NAME="method_detail"><!-- --></A>
  193. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  194. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  195. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  196. <B>Method Detail</B></FONT></TH>
  197. </TR>
  198. </TABLE>
  199. <A NAME="newMotionProvided(muito.motion.Motion)"><!-- --></A><H3>
  200. newMotionProvided</H3>
  201. <PRE>
  202. public void <B>newMotionProvided</B>(muito.motion.Motion&nbsp;motion)</PRE>
  203. <DL>
  204. <DD><DL>
  205. <DT><B>Specified by:</B><DD><CODE>newMotionProvided</CODE> in interface <CODE>muito.motion.MotionProviderListener</CODE></DL>
  206. </DD>
  207. <DD><DL>
  208. </DL>
  209. </DD>
  210. </DL>
  211. <HR>
  212. <A NAME="providedMotionUpdated(muito.motion.Motion, muito.motion.MotionEvent)"><!-- --></A><H3>
  213. providedMotionUpdated</H3>
  214. <PRE>
  215. public void <B>providedMotionUpdated</B>(muito.motion.Motion&nbsp;m,
  216. muito.motion.MotionEvent&nbsp;me)</PRE>
  217. <DL>
  218. <DD><DL>
  219. <DT><B>Specified by:</B><DD><CODE>providedMotionUpdated</CODE> in interface <CODE>muito.motion.MotionProviderListener</CODE></DL>
  220. </DD>
  221. <DD><DL>
  222. </DL>
  223. </DD>
  224. </DL>
  225. <HR>
  226. <A NAME="providedMotionCompleted(muito.motion.Motion)"><!-- --></A><H3>
  227. providedMotionCompleted</H3>
  228. <PRE>
  229. public void <B>providedMotionCompleted</B>(muito.motion.Motion&nbsp;m)</PRE>
  230. <DL>
  231. <DD><DL>
  232. <DT><B>Specified by:</B><DD><CODE>providedMotionCompleted</CODE> in interface <CODE>muito.motion.MotionProviderListener</CODE></DL>
  233. </DD>
  234. <DD><DL>
  235. </DL>
  236. </DD>
  237. </DL>
  238. <!-- ========= END OF CLASS DATA ========= -->
  239. <HR>
  240. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  241. <A NAME="navbar_bottom"><!-- --></A>
  242. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  243. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  244. <TR>
  245. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  246. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  247. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  248. <TR ALIGN="center" VALIGN="top">
  249. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  250. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  251. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  252. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MuitoInputSource.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  253. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  254. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  255. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  256. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  257. </TR>
  258. </TABLE>
  259. </TD>
  260. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  261. </EM>
  262. </TD>
  263. </TR>
  264. <TR>
  265. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  266. &nbsp;<A HREF="../../../../org/mt4j/input/inputSources/MouseInputSource.html" title="class in org.mt4j.input.inputSources"><B>PREV CLASS</B></A>&nbsp;
  267. &nbsp;<A HREF="../../../../org/mt4j/input/inputSources/MultipleMiceInputSource.html" title="class in org.mt4j.input.inputSources"><B>NEXT CLASS</B></A></FONT></TD>
  268. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  269. <A HREF="../../../../index.html?org/mt4j/input/inputSources/MuitoInputSource.html" target="_top"><B>FRAMES</B></A> &nbsp;
  270. &nbsp;<A HREF="MuitoInputSource.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  271. &nbsp;<SCRIPT type="text/javascript">
  272. <!--
  273. if(window==top) {
  274. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  275. }
  276. //-->
  277. </SCRIPT>
  278. <NOSCRIPT>
  279. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  280. </NOSCRIPT>
  281. </FONT></TD>
  282. </TR>
  283. <TR>
  284. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  285. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  286. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  287. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  288. </TR>
  289. </TABLE>
  290. <A NAME="skip-navbar_bottom"></A>
  291. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  292. <HR>
  293. </BODY>
  294. </HTML>