/doc/org/mt4j/input/gestureAction/TapAndHoldVisualizer.html

http://mt4j.googlecode.com/ · HTML · 277 lines · 223 code · 32 blank · 22 comment · 0 complexity · dd58745bb770d1037af6aeded52d7246 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:10 CEST 2010 -->
  6. <TITLE>
  7. TapAndHoldVisualizer
  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="TapAndHoldVisualizer";
  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/TapAndHoldVisualizer.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/gestureAction/InertiaDragAction.html" title="class in org.mt4j.input.gestureAction"><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/gestureAction/TapAndHoldVisualizer.html" target="_top"><B>FRAMES</B></A> &nbsp;
  54. &nbsp;<A HREF="TapAndHoldVisualizer.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.gestureAction</FONT>
  81. <BR>
  82. Class TapAndHoldVisualizer</H2>
  83. <PRE>
  84. java.lang.Object
  85. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.mt4j.input.gestureAction.TapAndHoldVisualizer</B>
  86. </PRE>
  87. <DL>
  88. <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/mt4j/input/inputProcessors/IGestureEventListener.html" title="interface in org.mt4j.input.inputProcessors">IGestureEventListener</A></DD>
  89. </DL>
  90. <HR>
  91. <DL>
  92. <DT><PRE>public class <B>TapAndHoldVisualizer</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../org/mt4j/input/inputProcessors/IGestureEventListener.html" title="interface in org.mt4j.input.inputProcessors">IGestureEventListener</A></DL>
  93. </PRE>
  94. <P>
  95. The Class TapAndHoldVisualizer. Animates the drawing of a circle
  96. to indicate the status of the tap&hold gesture in progress.
  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/gestureAction/TapAndHoldVisualizer.html#TapAndHoldVisualizer(org.mt4j.MTApplication, org.mt4j.components.MTComponent)">TapAndHoldVisualizer</A></B>(<A HREF="../../../../org/mt4j/MTApplication.html" title="class in org.mt4j">MTApplication</A>&nbsp;app,
  114. <A HREF="../../../../org/mt4j/components/MTComponent.html" title="class in org.mt4j.components">MTComponent</A>&nbsp;parent)</CODE>
  115. <BR>
  116. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Instantiates a new tap and hold visualizer.</TD>
  117. </TR>
  118. </TABLE>
  119. &nbsp;
  120. <!-- ========== METHOD SUMMARY =========== -->
  121. <A NAME="method_summary"><!-- --></A>
  122. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  123. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  124. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  125. <B>Method Summary</B></FONT></TH>
  126. </TR>
  127. <TR BGCOLOR="white" CLASS="TableRowColor">
  128. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  129. <CODE>&nbsp;boolean</CODE></FONT></TD>
  130. <TD><CODE><B><A HREF="../../../../org/mt4j/input/gestureAction/TapAndHoldVisualizer.html#processGestureEvent(org.mt4j.input.inputProcessors.MTGestureEvent)">processGestureEvent</A></B>(<A HREF="../../../../org/mt4j/input/inputProcessors/MTGestureEvent.html" title="class in org.mt4j.input.inputProcessors">MTGestureEvent</A>&nbsp;ge)</CODE>
  131. <BR>
  132. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Process gesture event.</TD>
  133. </TR>
  134. </TABLE>
  135. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  136. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  137. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  138. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  139. </TR>
  140. <TR BGCOLOR="white" CLASS="TableRowColor">
  141. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  142. </TR>
  143. </TABLE>
  144. &nbsp;
  145. <P>
  146. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  147. <A NAME="constructor_detail"><!-- --></A>
  148. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  149. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  150. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  151. <B>Constructor Detail</B></FONT></TH>
  152. </TR>
  153. </TABLE>
  154. <A NAME="TapAndHoldVisualizer(org.mt4j.MTApplication, org.mt4j.components.MTComponent)"><!-- --></A><H3>
  155. TapAndHoldVisualizer</H3>
  156. <PRE>
  157. public <B>TapAndHoldVisualizer</B>(<A HREF="../../../../org/mt4j/MTApplication.html" title="class in org.mt4j">MTApplication</A>&nbsp;app,
  158. <A HREF="../../../../org/mt4j/components/MTComponent.html" title="class in org.mt4j.components">MTComponent</A>&nbsp;parent)</PRE>
  159. <DL>
  160. <DD>Instantiates a new tap and hold visualizer.
  161. <P>
  162. <DL>
  163. <DT><B>Parameters:</B><DD><CODE>app</CODE> - the app<DD><CODE>parent</CODE> - the parent</DL>
  164. </DL>
  165. <!-- ============ METHOD DETAIL ========== -->
  166. <A NAME="method_detail"><!-- --></A>
  167. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  168. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  169. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  170. <B>Method Detail</B></FONT></TH>
  171. </TR>
  172. </TABLE>
  173. <A NAME="processGestureEvent(org.mt4j.input.inputProcessors.MTGestureEvent)"><!-- --></A><H3>
  174. processGestureEvent</H3>
  175. <PRE>
  176. public boolean <B>processGestureEvent</B>(<A HREF="../../../../org/mt4j/input/inputProcessors/MTGestureEvent.html" title="class in org.mt4j.input.inputProcessors">MTGestureEvent</A>&nbsp;ge)</PRE>
  177. <DL>
  178. <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/mt4j/input/inputProcessors/IGestureEventListener.html#processGestureEvent(org.mt4j.input.inputProcessors.MTGestureEvent)">IGestureEventListener</A></CODE></B></DD>
  179. <DD>Process gesture event.
  180. <P>
  181. <DD><DL>
  182. <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/mt4j/input/inputProcessors/IGestureEventListener.html#processGestureEvent(org.mt4j.input.inputProcessors.MTGestureEvent)">processGestureEvent</A></CODE> in interface <CODE><A HREF="../../../../org/mt4j/input/inputProcessors/IGestureEventListener.html" title="interface in org.mt4j.input.inputProcessors">IGestureEventListener</A></CODE></DL>
  183. </DD>
  184. <DD><DL>
  185. <DT><B>Parameters:</B><DD><CODE>ge</CODE> - the ge
  186. <DT><B>Returns:</B><DD>TODO</DL>
  187. </DD>
  188. </DL>
  189. <!-- ========= END OF CLASS DATA ========= -->
  190. <HR>
  191. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  192. <A NAME="navbar_bottom"><!-- --></A>
  193. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  194. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  195. <TR>
  196. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  197. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  198. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  199. <TR ALIGN="center" VALIGN="top">
  200. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  201. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  202. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  203. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TapAndHoldVisualizer.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  204. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  205. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  206. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  207. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  208. </TR>
  209. </TABLE>
  210. </TD>
  211. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  212. </EM>
  213. </TD>
  214. </TR>
  215. <TR>
  216. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  217. &nbsp;<A HREF="../../../../org/mt4j/input/gestureAction/InertiaDragAction.html" title="class in org.mt4j.input.gestureAction"><B>PREV CLASS</B></A>&nbsp;
  218. &nbsp;NEXT CLASS</FONT></TD>
  219. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  220. <A HREF="../../../../index.html?org/mt4j/input/gestureAction/TapAndHoldVisualizer.html" target="_top"><B>FRAMES</B></A> &nbsp;
  221. &nbsp;<A HREF="TapAndHoldVisualizer.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  222. &nbsp;<SCRIPT type="text/javascript">
  223. <!--
  224. if(window==top) {
  225. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  226. }
  227. //-->
  228. </SCRIPT>
  229. <NOSCRIPT>
  230. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  231. </NOSCRIPT>
  232. </FONT></TD>
  233. </TR>
  234. <TR>
  235. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  236. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  237. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  238. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  239. </TR>
  240. </TABLE>
  241. <A NAME="skip-navbar_bottom"></A>
  242. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  243. <HR>
  244. </BODY>
  245. </HTML>