ZoomMode.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351
  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 Apr 26 18:24:31 CEST 2012 -->
  6. <TITLE>
  7. ZoomMode
  8. </TITLE>
  9. <META NAME="date" CONTENT="2012-04-26">
  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="ZoomMode";
  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="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  37. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  38. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  39. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  40. </TR>
  41. </TABLE>
  42. </TD>
  43. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  44. </EM>
  45. </TD>
  46. </TR>
  47. <TR>
  48. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  49. &nbsp;<A HREF="../../../../org/ros/android/view/VirtualJoystickView.html" title="class in org.ros.android.view"><B>PREV CLASS</B></A>&nbsp;
  50. &nbsp;NEXT CLASS</FONT></TD>
  51. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  52. <A HREF="../../../../index.html?org/ros/android/view/ZoomMode.html" target="_top"><B>FRAMES</B></A> &nbsp;
  53. &nbsp;<A HREF="ZoomMode.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  54. &nbsp;<SCRIPT type="text/javascript">
  55. <!--
  56. if(window==top) {
  57. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  58. }
  59. //-->
  60. </SCRIPT>
  61. <NOSCRIPT>
  62. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  63. </NOSCRIPT>
  64. </FONT></TD>
  65. </TR>
  66. <TR>
  67. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  68. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#enum_constant_summary">ENUM CONSTANTS</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  69. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  70. DETAIL:&nbsp;<A HREF="#enum_constant_detail">ENUM CONSTANTS</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  71. </TR>
  72. </TABLE>
  73. <A NAME="skip-navbar_top"></A>
  74. <!-- ========= END OF TOP NAVBAR ========= -->
  75. <HR>
  76. <!-- ======== START OF CLASS DATA ======== -->
  77. <H2>
  78. <FONT SIZE="-1">
  79. org.ros.android.view</FONT>
  80. <BR>
  81. Enum ZoomMode</H2>
  82. <PRE>
  83. java.lang.Object
  84. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.lang.Enum&lt;<A HREF="../../../../org/ros/android/view/ZoomMode.html" title="enum in org.ros.android.view">ZoomMode</A>&gt;
  85. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.ros.android.view.ZoomMode</B>
  86. </PRE>
  87. <DL>
  88. <DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable, java.lang.Comparable&lt;<A HREF="../../../../org/ros/android/view/ZoomMode.html" title="enum in org.ros.android.view">ZoomMode</A>&gt;</DD>
  89. </DL>
  90. <HR>
  91. <DL>
  92. <DT><PRE>public enum <B>ZoomMode</B><DT>extends java.lang.Enum&lt;<A HREF="../../../../org/ros/android/view/ZoomMode.html" title="enum in org.ros.android.view">ZoomMode</A>&gt;</DL>
  93. </PRE>
  94. <P>
  95. <HR>
  96. <P>
  97. <!-- =========== ENUM CONSTANT SUMMARY =========== -->
  98. <A NAME="enum_constant_summary"><!-- --></A>
  99. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  100. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  101. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  102. <B>Enum Constant Summary</B></FONT></TH>
  103. </TR>
  104. <TR BGCOLOR="white" CLASS="TableRowColor">
  105. <TD><CODE><B><A HREF="../../../../org/ros/android/view/ZoomMode.html#CLUTTER_ZOOM_MODE">CLUTTER_ZOOM_MODE</A></B></CODE>
  106. <BR>
  107. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;In the CLUTTER_ZOOM_MODE the <A HREF="../../../../org/ros/android/view/DistanceView.html" title="class in org.ros.android.view"><CODE>DistanceView</CODE></A> will auto adjust the
  108. level of zoom based on proximity to objects near by.</TD>
  109. </TR>
  110. <TR BGCOLOR="white" CLASS="TableRowColor">
  111. <TD><CODE><B><A HREF="../../../../org/ros/android/view/ZoomMode.html#CUSTOM_ZOOM_MODE">CUSTOM_ZOOM_MODE</A></B></CODE>
  112. <BR>
  113. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;In CUSTOM_ZOOM_MODE the <A HREF="../../../../org/ros/android/view/DistanceView.html" title="class in org.ros.android.view"><CODE>DistanceView</CODE></A> allows the user to change the
  114. zoom level via pinch and reverse-pinch gestures.</TD>
  115. </TR>
  116. <TR BGCOLOR="white" CLASS="TableRowColor">
  117. <TD><CODE><B><A HREF="../../../../org/ros/android/view/ZoomMode.html#VELOCITY_ZOOM_MODE">VELOCITY_ZOOM_MODE</A></B></CODE>
  118. <BR>
  119. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;In the VELOCITY_ZOOM_MODE the <A HREF="../../../../org/ros/android/view/DistanceView.html" title="class in org.ros.android.view"><CODE>DistanceView</CODE></A> will auto adjust the
  120. level of zoom based on the current linear velocity of the robot.</TD>
  121. </TR>
  122. </TABLE>
  123. &nbsp;
  124. <!-- ========== METHOD SUMMARY =========== -->
  125. <A NAME="method_summary"><!-- --></A>
  126. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  127. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  128. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  129. <B>Method Summary</B></FONT></TH>
  130. </TR>
  131. <TR BGCOLOR="white" CLASS="TableRowColor">
  132. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  133. <CODE>static&nbsp;<A HREF="../../../../org/ros/android/view/ZoomMode.html" title="enum in org.ros.android.view">ZoomMode</A></CODE></FONT></TD>
  134. <TD><CODE><B><A HREF="../../../../org/ros/android/view/ZoomMode.html#valueOf(java.lang.String)">valueOf</A></B>(java.lang.String&nbsp;name)</CODE>
  135. <BR>
  136. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the enum constant of this type with the specified name.</TD>
  137. </TR>
  138. <TR BGCOLOR="white" CLASS="TableRowColor">
  139. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  140. <CODE>static&nbsp;<A HREF="../../../../org/ros/android/view/ZoomMode.html" title="enum in org.ros.android.view">ZoomMode</A>[]</CODE></FONT></TD>
  141. <TD><CODE><B><A HREF="../../../../org/ros/android/view/ZoomMode.html#values()">values</A></B>()</CODE>
  142. <BR>
  143. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an array containing the constants of this enum type, in
  144. the order they are declared.</TD>
  145. </TR>
  146. </TABLE>
  147. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Enum"><!-- --></A>
  148. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  149. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  150. <TH ALIGN="left"><B>Methods inherited from class java.lang.Enum</B></TH>
  151. </TR>
  152. <TR BGCOLOR="white" CLASS="TableRowColor">
  153. <TD><CODE>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</CODE></TD>
  154. </TR>
  155. </TABLE>
  156. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  157. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  158. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  159. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  160. </TR>
  161. <TR BGCOLOR="white" CLASS="TableRowColor">
  162. <TD><CODE>getClass, notify, notifyAll, wait, wait, wait</CODE></TD>
  163. </TR>
  164. </TABLE>
  165. &nbsp;
  166. <P>
  167. <!-- ============ ENUM CONSTANT DETAIL =========== -->
  168. <A NAME="enum_constant_detail"><!-- --></A>
  169. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  170. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  171. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  172. <B>Enum Constant Detail</B></FONT></TH>
  173. </TR>
  174. </TABLE>
  175. <A NAME="CLUTTER_ZOOM_MODE"><!-- --></A><H3>
  176. CLUTTER_ZOOM_MODE</H3>
  177. <PRE>
  178. public static final <A HREF="../../../../org/ros/android/view/ZoomMode.html" title="enum in org.ros.android.view">ZoomMode</A> <B>CLUTTER_ZOOM_MODE</B></PRE>
  179. <DL>
  180. <DD>In the CLUTTER_ZOOM_MODE the <A HREF="../../../../org/ros/android/view/DistanceView.html" title="class in org.ros.android.view"><CODE>DistanceView</CODE></A> will auto adjust the
  181. level of zoom based on proximity to objects near by. The view will zoom in
  182. further when there are objects closer to the robot and vice versa.
  183. <P>
  184. <DL>
  185. </DL>
  186. </DL>
  187. <HR>
  188. <A NAME="VELOCITY_ZOOM_MODE"><!-- --></A><H3>
  189. VELOCITY_ZOOM_MODE</H3>
  190. <PRE>
  191. public static final <A HREF="../../../../org/ros/android/view/ZoomMode.html" title="enum in org.ros.android.view">ZoomMode</A> <B>VELOCITY_ZOOM_MODE</B></PRE>
  192. <DL>
  193. <DD>In the VELOCITY_ZOOM_MODE the <A HREF="../../../../org/ros/android/view/DistanceView.html" title="class in org.ros.android.view"><CODE>DistanceView</CODE></A> will auto adjust the
  194. level of zoom based on the current linear velocity of the robot. The faster
  195. the robot moves the move zoomed out the view will be.
  196. <P>
  197. <DL>
  198. </DL>
  199. </DL>
  200. <HR>
  201. <A NAME="CUSTOM_ZOOM_MODE"><!-- --></A><H3>
  202. CUSTOM_ZOOM_MODE</H3>
  203. <PRE>
  204. public static final <A HREF="../../../../org/ros/android/view/ZoomMode.html" title="enum in org.ros.android.view">ZoomMode</A> <B>CUSTOM_ZOOM_MODE</B></PRE>
  205. <DL>
  206. <DD>In CUSTOM_ZOOM_MODE the <A HREF="../../../../org/ros/android/view/DistanceView.html" title="class in org.ros.android.view"><CODE>DistanceView</CODE></A> allows the user to change the
  207. zoom level via pinch and reverse-pinch gestures.
  208. <P>
  209. <DL>
  210. </DL>
  211. </DL>
  212. <!-- ============ METHOD DETAIL ========== -->
  213. <A NAME="method_detail"><!-- --></A>
  214. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  215. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  216. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  217. <B>Method Detail</B></FONT></TH>
  218. </TR>
  219. </TABLE>
  220. <A NAME="values()"><!-- --></A><H3>
  221. values</H3>
  222. <PRE>
  223. public static <A HREF="../../../../org/ros/android/view/ZoomMode.html" title="enum in org.ros.android.view">ZoomMode</A>[] <B>values</B>()</PRE>
  224. <DL>
  225. <DD>Returns an array containing the constants of this enum type, in
  226. the order they are declared. This method may be used to iterate
  227. over the constants as follows:
  228. <pre>
  229. for (ZoomMode c : ZoomMode.values())
  230. &nbsp; System.out.println(c);
  231. </pre>
  232. <P>
  233. <DD><DL>
  234. <DT><B>Returns:</B><DD>an array containing the constants of this enum type, in
  235. the order they are declared</DL>
  236. </DD>
  237. </DL>
  238. <HR>
  239. <A NAME="valueOf(java.lang.String)"><!-- --></A><H3>
  240. valueOf</H3>
  241. <PRE>
  242. public static <A HREF="../../../../org/ros/android/view/ZoomMode.html" title="enum in org.ros.android.view">ZoomMode</A> <B>valueOf</B>(java.lang.String&nbsp;name)</PRE>
  243. <DL>
  244. <DD>Returns the enum constant of this type with the specified name.
  245. The string must match <I>exactly</I> an identifier used to declare an
  246. enum constant in this type. (Extraneous whitespace characters are
  247. not permitted.)
  248. <P>
  249. <DD><DL>
  250. <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the enum constant to be returned.
  251. <DT><B>Returns:</B><DD>the enum constant with the specified name
  252. <DT><B>Throws:</B>
  253. <DD><CODE>java.lang.IllegalArgumentException</CODE> - if this enum type has no constant
  254. with the specified name
  255. <DD><CODE>java.lang.NullPointerException</CODE> - if the argument is null</DL>
  256. </DD>
  257. </DL>
  258. <!-- ========= END OF CLASS DATA ========= -->
  259. <HR>
  260. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  261. <A NAME="navbar_bottom"><!-- --></A>
  262. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  263. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  264. <TR>
  265. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  266. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  267. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  268. <TR ALIGN="center" VALIGN="top">
  269. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  270. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  271. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  272. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  273. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  274. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  275. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  276. </TR>
  277. </TABLE>
  278. </TD>
  279. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  280. </EM>
  281. </TD>
  282. </TR>
  283. <TR>
  284. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  285. &nbsp;<A HREF="../../../../org/ros/android/view/VirtualJoystickView.html" title="class in org.ros.android.view"><B>PREV CLASS</B></A>&nbsp;
  286. &nbsp;NEXT CLASS</FONT></TD>
  287. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  288. <A HREF="../../../../index.html?org/ros/android/view/ZoomMode.html" target="_top"><B>FRAMES</B></A> &nbsp;
  289. &nbsp;<A HREF="ZoomMode.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  290. &nbsp;<SCRIPT type="text/javascript">
  291. <!--
  292. if(window==top) {
  293. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  294. }
  295. //-->
  296. </SCRIPT>
  297. <NOSCRIPT>
  298. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  299. </NOSCRIPT>
  300. </FONT></TD>
  301. </TR>
  302. <TR>
  303. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  304. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#enum_constant_summary">ENUM CONSTANTS</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  305. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  306. DETAIL:&nbsp;<A HREF="#enum_constant_detail">ENUM CONSTANTS</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  307. </TR>
  308. </TABLE>
  309. <A NAME="skip-navbar_bottom"></A>
  310. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  311. <HR>
  312. </BODY>
  313. </HTML>