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

http://mt4j.googlecode.com/ · HTML · 301 lines · 245 code · 34 blank · 22 comment · 0 complexity · 7109a5f163ab153a1cc5ba13f0c1aa7d 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. Win7NativeTouchSource
  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="Win7NativeTouchSource";
  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/Win7NativeTouchSource.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/TuioInputSource.html" title="class in org.mt4j.input.inputSources"><B>PREV CLASS</B></A>&nbsp;
  51. &nbsp;NEXT CLASS</FONT></TD>
  52. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  53. <A HREF="../../../../index.html?org/mt4j/input/inputSources/Win7NativeTouchSource.html" target="_top"><B>FRAMES</B></A> &nbsp;
  54. &nbsp;<A HREF="Win7NativeTouchSource.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 Win7NativeTouchSource</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.Win7NativeTouchSource</B>
  87. </PRE>
  88. <HR>
  89. <DL>
  90. <DT><PRE>public class <B>Win7NativeTouchSource</B><DT>extends <A HREF="../../../../org/mt4j/input/inputSources/AbstractInputSource.html" title="class in org.mt4j.input.inputSources">AbstractInputSource</A></DL>
  91. </PRE>
  92. <P>
  93. Input source for native Windows 7 WM_TOUCH messages for single/multi-touch.
  94. <br>Be careful to instantiate this class only ONCE!
  95. <P>
  96. <P>
  97. <DL>
  98. <DT><B>Author:</B></DT>
  99. <DD>C.Ruff</DD>
  100. </DL>
  101. <HR>
  102. <P>
  103. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  104. <A NAME="constructor_summary"><!-- --></A>
  105. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  106. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  107. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  108. <B>Constructor Summary</B></FONT></TH>
  109. </TR>
  110. <TR BGCOLOR="white" CLASS="TableRowColor">
  111. <TD><CODE><B><A HREF="../../../../org/mt4j/input/inputSources/Win7NativeTouchSource.html#Win7NativeTouchSource(org.mt4j.MTApplication)">Win7NativeTouchSource</A></B>(<A HREF="../../../../org/mt4j/MTApplication.html" title="class in org.mt4j">MTApplication</A>&nbsp;mtApp)</CODE>
  112. <BR>
  113. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Instantiates a new win7 native touch source.</TD>
  114. </TR>
  115. </TABLE>
  116. &nbsp;
  117. <!-- ========== METHOD SUMMARY =========== -->
  118. <A NAME="method_summary"><!-- --></A>
  119. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  120. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  121. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  122. <B>Method Summary</B></FONT></TH>
  123. </TR>
  124. <TR BGCOLOR="white" CLASS="TableRowColor">
  125. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  126. <CODE>&nbsp;boolean</CODE></FONT></TD>
  127. <TD><CODE><B><A HREF="../../../../org/mt4j/input/inputSources/Win7NativeTouchSource.html#isSuccessfullySetup()">isSuccessfullySetup</A></B>()</CODE>
  128. <BR>
  129. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  130. </TR>
  131. <TR BGCOLOR="white" CLASS="TableRowColor">
  132. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  133. <CODE>&nbsp;void</CODE></FONT></TD>
  134. <TD><CODE><B><A HREF="../../../../org/mt4j/input/inputSources/Win7NativeTouchSource.html#pre()">pre</A></B>()</CODE>
  135. <BR>
  136. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The input events have to be fired in processings (and openGL's) thread.</TD>
  137. </TR>
  138. </TABLE>
  139. &nbsp;<A NAME="methods_inherited_from_class_org.mt4j.input.inputSources.AbstractInputSource"><!-- --></A>
  140. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  141. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  142. <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>
  143. </TR>
  144. <TR BGCOLOR="white" CLASS="TableRowColor">
  145. <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#removeInputListener(org.mt4j.input.inputSources.IinputSourceListener)">removeInputListener</A></CODE></TD>
  146. </TR>
  147. </TABLE>
  148. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  149. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  150. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  151. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  152. </TR>
  153. <TR BGCOLOR="white" CLASS="TableRowColor">
  154. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  155. </TR>
  156. </TABLE>
  157. &nbsp;
  158. <P>
  159. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  160. <A NAME="constructor_detail"><!-- --></A>
  161. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  162. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  163. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  164. <B>Constructor Detail</B></FONT></TH>
  165. </TR>
  166. </TABLE>
  167. <A NAME="Win7NativeTouchSource(org.mt4j.MTApplication)"><!-- --></A><H3>
  168. Win7NativeTouchSource</H3>
  169. <PRE>
  170. public <B>Win7NativeTouchSource</B>(<A HREF="../../../../org/mt4j/MTApplication.html" title="class in org.mt4j">MTApplication</A>&nbsp;mtApp)</PRE>
  171. <DL>
  172. <DD>Instantiates a new win7 native touch source.
  173. <P>
  174. <DL>
  175. <DT><B>Parameters:</B><DD><CODE>mtApp</CODE> - the mt app</DL>
  176. </DL>
  177. <!-- ============ METHOD DETAIL ========== -->
  178. <A NAME="method_detail"><!-- --></A>
  179. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  180. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  181. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  182. <B>Method Detail</B></FONT></TH>
  183. </TR>
  184. </TABLE>
  185. <A NAME="isSuccessfullySetup()"><!-- --></A><H3>
  186. isSuccessfullySetup</H3>
  187. <PRE>
  188. public boolean <B>isSuccessfullySetup</B>()</PRE>
  189. <DL>
  190. <DD><DL>
  191. </DL>
  192. </DD>
  193. </DL>
  194. <HR>
  195. <A NAME="pre()"><!-- --></A><H3>
  196. pre</H3>
  197. <PRE>
  198. public void <B>pre</B>()</PRE>
  199. <DL>
  200. <DD><B>Description copied from class: <CODE><A HREF="../../../../org/mt4j/input/inputSources/AbstractInputSource.html#pre()">AbstractInputSource</A></CODE></B></DD>
  201. <DD>The input events have to be fired in processings (and openGL's) thread.
  202. Called by processing. This method should not be invoked directly!
  203. <P>
  204. <DD><DL>
  205. <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/mt4j/input/inputSources/AbstractInputSource.html#pre()">pre</A></CODE> in class <CODE><A HREF="../../../../org/mt4j/input/inputSources/AbstractInputSource.html" title="class in org.mt4j.input.inputSources">AbstractInputSource</A></CODE></DL>
  206. </DD>
  207. <DD><DL>
  208. </DL>
  209. </DD>
  210. </DL>
  211. <!-- ========= END OF CLASS DATA ========= -->
  212. <HR>
  213. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  214. <A NAME="navbar_bottom"><!-- --></A>
  215. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  216. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  217. <TR>
  218. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  219. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  220. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  221. <TR ALIGN="center" VALIGN="top">
  222. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  223. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  224. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  225. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Win7NativeTouchSource.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  226. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  227. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  228. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  229. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  230. </TR>
  231. </TABLE>
  232. </TD>
  233. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  234. </EM>
  235. </TD>
  236. </TR>
  237. <TR>
  238. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  239. &nbsp;<A HREF="../../../../org/mt4j/input/inputSources/TuioInputSource.html" title="class in org.mt4j.input.inputSources"><B>PREV CLASS</B></A>&nbsp;
  240. &nbsp;NEXT CLASS</FONT></TD>
  241. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  242. <A HREF="../../../../index.html?org/mt4j/input/inputSources/Win7NativeTouchSource.html" target="_top"><B>FRAMES</B></A> &nbsp;
  243. &nbsp;<A HREF="Win7NativeTouchSource.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  244. &nbsp;<SCRIPT type="text/javascript">
  245. <!--
  246. if(window==top) {
  247. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  248. }
  249. //-->
  250. </SCRIPT>
  251. <NOSCRIPT>
  252. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  253. </NOSCRIPT>
  254. </FONT></TD>
  255. </TR>
  256. <TR>
  257. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  258. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  259. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  260. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  261. </TR>
  262. </TABLE>
  263. <A NAME="skip-navbar_bottom"></A>
  264. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  265. <HR>
  266. </BODY>
  267. </HTML>