DataBits.html 15 KB

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