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

http://mt4j.googlecode.com/ · HTML · 278 lines · 224 code · 32 blank · 22 comment · 0 complexity · 36a8379e72d0decc5c765331d0232979 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. DefaultLassoAction
  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="DefaultLassoAction";
  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/DefaultLassoAction.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/DefaultDragAction.html" title="class in org.mt4j.input.gestureAction"><B>PREV CLASS</B></A>&nbsp;
  51. &nbsp;<A HREF="../../../../org/mt4j/input/gestureAction/DefaultPanAction.html" title="class in org.mt4j.input.gestureAction"><B>NEXT CLASS</B></A></FONT></TD>
  52. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  53. <A HREF="../../../../index.html?org/mt4j/input/gestureAction/DefaultLassoAction.html" target="_top"><B>FRAMES</B></A> &nbsp;
  54. &nbsp;<A HREF="DefaultLassoAction.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 DefaultLassoAction</H2>
  83. <PRE>
  84. java.lang.Object
  85. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.mt4j.input.gestureAction.DefaultLassoAction</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>DefaultLassoAction</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 DefaultLassoAction.
  96. <P>
  97. <P>
  98. <DL>
  99. <DT><B>Author:</B></DT>
  100. <DD>Christopher Ruff</DD>
  101. </DL>
  102. <HR>
  103. <P>
  104. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  105. <A NAME="constructor_summary"><!-- --></A>
  106. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  107. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  108. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  109. <B>Constructor Summary</B></FONT></TH>
  110. </TR>
  111. <TR BGCOLOR="white" CLASS="TableRowColor">
  112. <TD><CODE><B><A HREF="../../../../org/mt4j/input/gestureAction/DefaultLassoAction.html#DefaultLassoAction(processing.core.PApplet, org.mt4j.components.clusters.ClusterManager, org.mt4j.components.MTCanvas)">DefaultLassoAction</A></B>(processing.core.PApplet&nbsp;pa,
  113. <A HREF="../../../../org/mt4j/components/clusters/ClusterManager.html" title="class in org.mt4j.components.clusters">ClusterManager</A>&nbsp;clustermgr,
  114. <A HREF="../../../../org/mt4j/components/MTCanvas.html" title="class in org.mt4j.components">MTCanvas</A>&nbsp;canvas)</CODE>
  115. <BR>
  116. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Instantiates a new default clustering action.</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/DefaultLassoAction.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;g)</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="DefaultLassoAction(processing.core.PApplet, org.mt4j.components.clusters.ClusterManager, org.mt4j.components.MTCanvas)"><!-- --></A><H3>
  155. DefaultLassoAction</H3>
  156. <PRE>
  157. public <B>DefaultLassoAction</B>(processing.core.PApplet&nbsp;pa,
  158. <A HREF="../../../../org/mt4j/components/clusters/ClusterManager.html" title="class in org.mt4j.components.clusters">ClusterManager</A>&nbsp;clustermgr,
  159. <A HREF="../../../../org/mt4j/components/MTCanvas.html" title="class in org.mt4j.components">MTCanvas</A>&nbsp;canvas)</PRE>
  160. <DL>
  161. <DD>Instantiates a new default clustering action.
  162. <P>
  163. <DL>
  164. <DT><B>Parameters:</B><DD><CODE>pa</CODE> - the pa<DD><CODE>clustermgr</CODE> - the clustermgr<DD><CODE>canvas</CODE> - the canvas</DL>
  165. </DL>
  166. <!-- ============ METHOD DETAIL ========== -->
  167. <A NAME="method_detail"><!-- --></A>
  168. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  169. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  170. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  171. <B>Method Detail</B></FONT></TH>
  172. </TR>
  173. </TABLE>
  174. <A NAME="processGestureEvent(org.mt4j.input.inputProcessors.MTGestureEvent)"><!-- --></A><H3>
  175. processGestureEvent</H3>
  176. <PRE>
  177. public boolean <B>processGestureEvent</B>(<A HREF="../../../../org/mt4j/input/inputProcessors/MTGestureEvent.html" title="class in org.mt4j.input.inputProcessors">MTGestureEvent</A>&nbsp;g)</PRE>
  178. <DL>
  179. <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>
  180. <DD>Process gesture event.
  181. <P>
  182. <DD><DL>
  183. <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>
  184. </DD>
  185. <DD><DL>
  186. <DT><B>Parameters:</B><DD><CODE>g</CODE> - the ge
  187. <DT><B>Returns:</B><DD>TODO</DL>
  188. </DD>
  189. </DL>
  190. <!-- ========= END OF CLASS DATA ========= -->
  191. <HR>
  192. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  193. <A NAME="navbar_bottom"><!-- --></A>
  194. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  195. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  196. <TR>
  197. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  198. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  199. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  200. <TR ALIGN="center" VALIGN="top">
  201. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  202. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  203. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  204. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DefaultLassoAction.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  205. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  206. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  207. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  208. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  209. </TR>
  210. </TABLE>
  211. </TD>
  212. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  213. </EM>
  214. </TD>
  215. </TR>
  216. <TR>
  217. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  218. &nbsp;<A HREF="../../../../org/mt4j/input/gestureAction/DefaultDragAction.html" title="class in org.mt4j.input.gestureAction"><B>PREV CLASS</B></A>&nbsp;
  219. &nbsp;<A HREF="../../../../org/mt4j/input/gestureAction/DefaultPanAction.html" title="class in org.mt4j.input.gestureAction"><B>NEXT CLASS</B></A></FONT></TD>
  220. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  221. <A HREF="../../../../index.html?org/mt4j/input/gestureAction/DefaultLassoAction.html" target="_top"><B>FRAMES</B></A> &nbsp;
  222. &nbsp;<A HREF="DefaultLassoAction.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  223. &nbsp;<SCRIPT type="text/javascript">
  224. <!--
  225. if(window==top) {
  226. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  227. }
  228. //-->
  229. </SCRIPT>
  230. <NOSCRIPT>
  231. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  232. </NOSCRIPT>
  233. </FONT></TD>
  234. </TR>
  235. <TR>
  236. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  237. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  238. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  239. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  240. </TR>
  241. </TABLE>
  242. <A NAME="skip-navbar_bottom"></A>
  243. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  244. <HR>
  245. </BODY>
  246. </HTML>