StopBits.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  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. StopBits
  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="StopBits";
  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/android_acm_serial/Parity.html" title="enum in org.ros.android.android_acm_serial"><B>PREV CLASS</B></A>&nbsp;
  50. &nbsp;<A HREF="../../../../org/ros/android/android_acm_serial/UsbDevicePermissionCallback.html" title="interface in org.ros.android.android_acm_serial"><B>NEXT CLASS</B></A></FONT></TD>
  51. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  52. <A HREF="../../../../index.html?org/ros/android/android_acm_serial/StopBits.html" target="_top"><B>FRAMES</B></A> &nbsp;
  53. &nbsp;<A HREF="StopBits.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.android_acm_serial</FONT>
  80. <BR>
  81. Enum StopBits</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/android_acm_serial/StopBits.html" title="enum in org.ros.android.android_acm_serial">StopBits</A>&gt;
  85. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.ros.android.android_acm_serial.StopBits</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/android_acm_serial/StopBits.html" title="enum in org.ros.android.android_acm_serial">StopBits</A>&gt;</DD>
  89. </DL>
  90. <HR>
  91. <DL>
  92. <DT><PRE>public enum <B>StopBits</B><DT>extends java.lang.Enum&lt;<A HREF="../../../../org/ros/android/android_acm_serial/StopBits.html" title="enum in org.ros.android.android_acm_serial">StopBits</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/android_acm_serial/StopBits.html#STOP_BITS_1">STOP_BITS_1</A></B></CODE>
  106. <BR>
  107. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  108. </TR>
  109. <TR BGCOLOR="white" CLASS="TableRowColor">
  110. <TD><CODE><B><A HREF="../../../../org/ros/android/android_acm_serial/StopBits.html#STOP_BITS_1_5">STOP_BITS_1_5</A></B></CODE>
  111. <BR>
  112. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  113. </TR>
  114. <TR BGCOLOR="white" CLASS="TableRowColor">
  115. <TD><CODE><B><A HREF="../../../../org/ros/android/android_acm_serial/StopBits.html#STOP_BITS_2">STOP_BITS_2</A></B></CODE>
  116. <BR>
  117. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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>static&nbsp;<A HREF="../../../../org/ros/android/android_acm_serial/StopBits.html" title="enum in org.ros.android.android_acm_serial">StopBits</A></CODE></FONT></TD>
  131. <TD><CODE><B><A HREF="../../../../org/ros/android/android_acm_serial/StopBits.html#valueOf(java.lang.String)">valueOf</A></B>(java.lang.String&nbsp;name)</CODE>
  132. <BR>
  133. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the enum constant of this type with the specified name.</TD>
  134. </TR>
  135. <TR BGCOLOR="white" CLASS="TableRowColor">
  136. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  137. <CODE>static&nbsp;<A HREF="../../../../org/ros/android/android_acm_serial/StopBits.html" title="enum in org.ros.android.android_acm_serial">StopBits</A>[]</CODE></FONT></TD>
  138. <TD><CODE><B><A HREF="../../../../org/ros/android/android_acm_serial/StopBits.html#values()">values</A></B>()</CODE>
  139. <BR>
  140. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an array containing the constants of this enum type, in
  141. the order they are declared.</TD>
  142. </TR>
  143. </TABLE>
  144. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Enum"><!-- --></A>
  145. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  146. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  147. <TH ALIGN="left"><B>Methods inherited from class java.lang.Enum</B></TH>
  148. </TR>
  149. <TR BGCOLOR="white" CLASS="TableRowColor">
  150. <TD><CODE>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</CODE></TD>
  151. </TR>
  152. </TABLE>
  153. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  154. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  155. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  156. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  157. </TR>
  158. <TR BGCOLOR="white" CLASS="TableRowColor">
  159. <TD><CODE>getClass, notify, notifyAll, wait, wait, wait</CODE></TD>
  160. </TR>
  161. </TABLE>
  162. &nbsp;
  163. <P>
  164. <!-- ============ ENUM CONSTANT DETAIL =========== -->
  165. <A NAME="enum_constant_detail"><!-- --></A>
  166. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  167. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  168. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  169. <B>Enum Constant Detail</B></FONT></TH>
  170. </TR>
  171. </TABLE>
  172. <A NAME="STOP_BITS_1"><!-- --></A><H3>
  173. STOP_BITS_1</H3>
  174. <PRE>
  175. public static final <A HREF="../../../../org/ros/android/android_acm_serial/StopBits.html" title="enum in org.ros.android.android_acm_serial">StopBits</A> <B>STOP_BITS_1</B></PRE>
  176. <DL>
  177. <DL>
  178. </DL>
  179. </DL>
  180. <HR>
  181. <A NAME="STOP_BITS_1_5"><!-- --></A><H3>
  182. STOP_BITS_1_5</H3>
  183. <PRE>
  184. public static final <A HREF="../../../../org/ros/android/android_acm_serial/StopBits.html" title="enum in org.ros.android.android_acm_serial">StopBits</A> <B>STOP_BITS_1_5</B></PRE>
  185. <DL>
  186. <DL>
  187. </DL>
  188. </DL>
  189. <HR>
  190. <A NAME="STOP_BITS_2"><!-- --></A><H3>
  191. STOP_BITS_2</H3>
  192. <PRE>
  193. public static final <A HREF="../../../../org/ros/android/android_acm_serial/StopBits.html" title="enum in org.ros.android.android_acm_serial">StopBits</A> <B>STOP_BITS_2</B></PRE>
  194. <DL>
  195. <DL>
  196. </DL>
  197. </DL>
  198. <!-- ============ METHOD DETAIL ========== -->
  199. <A NAME="method_detail"><!-- --></A>
  200. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  201. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  202. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  203. <B>Method Detail</B></FONT></TH>
  204. </TR>
  205. </TABLE>
  206. <A NAME="values()"><!-- --></A><H3>
  207. values</H3>
  208. <PRE>
  209. public static <A HREF="../../../../org/ros/android/android_acm_serial/StopBits.html" title="enum in org.ros.android.android_acm_serial">StopBits</A>[] <B>values</B>()</PRE>
  210. <DL>
  211. <DD>Returns an array containing the constants of this enum type, in
  212. the order they are declared. This method may be used to iterate
  213. over the constants as follows:
  214. <pre>
  215. for (StopBits c : StopBits.values())
  216. &nbsp; System.out.println(c);
  217. </pre>
  218. <P>
  219. <DD><DL>
  220. <DT><B>Returns:</B><DD>an array containing the constants of this enum type, in
  221. the order they are declared</DL>
  222. </DD>
  223. </DL>
  224. <HR>
  225. <A NAME="valueOf(java.lang.String)"><!-- --></A><H3>
  226. valueOf</H3>
  227. <PRE>
  228. public static <A HREF="../../../../org/ros/android/android_acm_serial/StopBits.html" title="enum in org.ros.android.android_acm_serial">StopBits</A> <B>valueOf</B>(java.lang.String&nbsp;name)</PRE>
  229. <DL>
  230. <DD>Returns the enum constant of this type with the specified name.
  231. The string must match <I>exactly</I> an identifier used to declare an
  232. enum constant in this type. (Extraneous whitespace characters are
  233. not permitted.)
  234. <P>
  235. <DD><DL>
  236. <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the enum constant to be returned.
  237. <DT><B>Returns:</B><DD>the enum constant with the specified name
  238. <DT><B>Throws:</B>
  239. <DD><CODE>java.lang.IllegalArgumentException</CODE> - if this enum type has no constant
  240. with the specified name
  241. <DD><CODE>java.lang.NullPointerException</CODE> - if the argument is null</DL>
  242. </DD>
  243. </DL>
  244. <!-- ========= END OF CLASS DATA ========= -->
  245. <HR>
  246. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  247. <A NAME="navbar_bottom"><!-- --></A>
  248. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  249. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  250. <TR>
  251. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  252. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  253. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  254. <TR ALIGN="center" VALIGN="top">
  255. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  256. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  257. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  258. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  259. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  260. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  261. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  262. </TR>
  263. </TABLE>
  264. </TD>
  265. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  266. </EM>
  267. </TD>
  268. </TR>
  269. <TR>
  270. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  271. &nbsp;<A HREF="../../../../org/ros/android/android_acm_serial/Parity.html" title="enum in org.ros.android.android_acm_serial"><B>PREV CLASS</B></A>&nbsp;
  272. &nbsp;<A HREF="../../../../org/ros/android/android_acm_serial/UsbDevicePermissionCallback.html" title="interface in org.ros.android.android_acm_serial"><B>NEXT CLASS</B></A></FONT></TD>
  273. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  274. <A HREF="../../../../index.html?org/ros/android/android_acm_serial/StopBits.html" target="_top"><B>FRAMES</B></A> &nbsp;
  275. &nbsp;<A HREF="StopBits.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  276. &nbsp;<SCRIPT type="text/javascript">
  277. <!--
  278. if(window==top) {
  279. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  280. }
  281. //-->
  282. </SCRIPT>
  283. <NOSCRIPT>
  284. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  285. </NOSCRIPT>
  286. </FONT></TD>
  287. </TR>
  288. <TR>
  289. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  290. 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>
  291. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  292. DETAIL:&nbsp;<A HREF="#enum_constant_detail">ENUM CONSTANTS</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  293. </TR>
  294. </TABLE>
  295. <A NAME="skip-navbar_bottom"></A>
  296. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  297. <HR>
  298. </BODY>
  299. </HTML>