Simple single-color 8x8x8 LED Cube with AVRs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

cubeWorker.html 19KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658
  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_29) on Sun Dec 04 21:35:11 CET 2011 -->
  6. <TITLE>
  7. cubeWorker
  8. </TITLE>
  9. <META NAME="date" CONTENT="2011-12-04">
  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="cubeWorker";
  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="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  34. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  35. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  36. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  37. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  38. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  39. </TR>
  40. </TABLE>
  41. </TD>
  42. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  43. </EM>
  44. </TD>
  45. </TR>
  46. <TR>
  47. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  48. &nbsp;<A HREF="AnimationUtility.html" title="class in &lt;Unnamed&gt;"><B>PREV CLASS</B></A>&nbsp;
  49. &nbsp;<A HREF="frame.html" title="class in &lt;Unnamed&gt;"><B>NEXT CLASS</B></A></FONT></TD>
  50. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  51. <A HREF="index.html?cubeWorker.html" target="_top"><B>FRAMES</B></A> &nbsp;
  52. &nbsp;<A HREF="cubeWorker.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  53. &nbsp;<SCRIPT type="text/javascript">
  54. <!--
  55. if(window==top) {
  56. document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
  57. }
  58. //-->
  59. </SCRIPT>
  60. <NOSCRIPT>
  61. <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
  62. </NOSCRIPT>
  63. </FONT></TD>
  64. </TR>
  65. <TR>
  66. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  67. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  68. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  69. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  70. </TR>
  71. </TABLE>
  72. <A NAME="skip-navbar_top"></A>
  73. <!-- ========= END OF TOP NAVBAR ========= -->
  74. <HR>
  75. <!-- ======== START OF CLASS DATA ======== -->
  76. <H2>
  77. Class cubeWorker</H2>
  78. <PRE>
  79. java.lang.Object
  80. <IMG SRC="./resources/inherit.gif" ALT="extended by "><B>cubeWorker</B>
  81. </PRE>
  82. <HR>
  83. <DL>
  84. <DT><PRE>public class <B>cubeWorker</B><DT>extends java.lang.Object</DL>
  85. </PRE>
  86. <P>
  87. <HR>
  88. <P>
  89. <!-- ========== METHOD SUMMARY =========== -->
  90. <A NAME="method_summary"><!-- --></A>
  91. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  92. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  93. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  94. <B>Method Summary</B></FONT></TH>
  95. </TR>
  96. <TR BGCOLOR="white" CLASS="TableRowColor">
  97. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  98. <CODE>&nbsp;int</CODE></FONT></TD>
  99. <TD><CODE><B><A HREF="cubeWorker.html#addAnimation()">addAnimation</A></B>()</CODE>
  100. <BR>
  101. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  102. </TR>
  103. <TR BGCOLOR="white" CLASS="TableRowColor">
  104. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  105. <CODE>&nbsp;int</CODE></FONT></TD>
  106. <TD><CODE><B><A HREF="cubeWorker.html#addFrame(int)">addFrame</A></B>(int&nbsp;anim)</CODE>
  107. <BR>
  108. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  109. </TR>
  110. <TR BGCOLOR="white" CLASS="TableRowColor">
  111. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  112. <CODE>&nbsp;boolean</CODE></FONT></TD>
  113. <TD><CODE><B><A HREF="cubeWorker.html#changedStateSinceSave()">changedStateSinceSave</A></B>()</CODE>
  114. <BR>
  115. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  116. </TR>
  117. <TR BGCOLOR="white" CLASS="TableRowColor">
  118. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  119. <CODE>&nbsp;int</CODE></FONT></TD>
  120. <TD><CODE><B><A HREF="cubeWorker.html#downloadState(java.lang.String)">downloadState</A></B>(java.lang.String&nbsp;port)</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 ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  126. <CODE>&nbsp;int</CODE></FONT></TD>
  127. <TD><CODE><B><A HREF="cubeWorker.html#framesRemaining()">framesRemaining</A></B>()</CODE>
  128. <BR>
  129. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  130. </TR>
  131. <TR BGCOLOR="white" CLASS="TableRowColor">
  132. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  133. <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
  134. <TD><CODE><B><A HREF="cubeWorker.html#getAnimationName(int)">getAnimationName</A></B>(int&nbsp;selectedAnimation)</CODE>
  135. <BR>
  136. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  137. </TR>
  138. <TR BGCOLOR="white" CLASS="TableRowColor">
  139. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  140. <CODE>&nbsp;short[]</CODE></FONT></TD>
  141. <TD><CODE><B><A HREF="cubeWorker.html#getFrame(int, int)">getFrame</A></B>(int&nbsp;anim,
  142. int&nbsp;frame)</CODE>
  143. <BR>
  144. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  145. </TR>
  146. <TR BGCOLOR="white" CLASS="TableRowColor">
  147. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  148. <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
  149. <TD><CODE><B><A HREF="cubeWorker.html#getFrameName(int, int)">getFrameName</A></B>(int&nbsp;anim,
  150. int&nbsp;frame)</CODE>
  151. <BR>
  152. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  153. </TR>
  154. <TR BGCOLOR="white" CLASS="TableRowColor">
  155. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  156. <CODE>&nbsp;short</CODE></FONT></TD>
  157. <TD><CODE><B><A HREF="cubeWorker.html#getFrameTime(int, int)">getFrameTime</A></B>(int&nbsp;anim,
  158. int&nbsp;frame)</CODE>
  159. <BR>
  160. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  161. </TR>
  162. <TR BGCOLOR="white" CLASS="TableRowColor">
  163. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  164. <CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
  165. <TD><CODE><B><A HREF="cubeWorker.html#getSerialPorts()">getSerialPorts</A></B>()</CODE>
  166. <BR>
  167. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  168. </TR>
  169. <TR BGCOLOR="white" CLASS="TableRowColor">
  170. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  171. <CODE>&nbsp;int</CODE></FONT></TD>
  172. <TD><CODE><B><A HREF="cubeWorker.html#loadState(java.lang.String)">loadState</A></B>(java.lang.String&nbsp;path)</CODE>
  173. <BR>
  174. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  175. </TR>
  176. <TR BGCOLOR="white" CLASS="TableRowColor">
  177. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  178. <CODE>&nbsp;void</CODE></FONT></TD>
  179. <TD><CODE><B><A HREF="cubeWorker.html#moveAnimation(int, int)">moveAnimation</A></B>(int&nbsp;dir,
  180. int&nbsp;selectedAnimation)</CODE>
  181. <BR>
  182. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  183. </TR>
  184. <TR BGCOLOR="white" CLASS="TableRowColor">
  185. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  186. <CODE>&nbsp;void</CODE></FONT></TD>
  187. <TD><CODE><B><A HREF="cubeWorker.html#moveFrame(int, int, int)">moveFrame</A></B>(int&nbsp;dir,
  188. int&nbsp;anim,
  189. int&nbsp;frame)</CODE>
  190. <BR>
  191. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  192. </TR>
  193. <TR BGCOLOR="white" CLASS="TableRowColor">
  194. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  195. <CODE>&nbsp;int</CODE></FONT></TD>
  196. <TD><CODE><B><A HREF="cubeWorker.html#numOfAnimations()">numOfAnimations</A></B>()</CODE>
  197. <BR>
  198. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  199. </TR>
  200. <TR BGCOLOR="white" CLASS="TableRowColor">
  201. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  202. <CODE>&nbsp;int</CODE></FONT></TD>
  203. <TD><CODE><B><A HREF="cubeWorker.html#numOfFrames(int)">numOfFrames</A></B>(int&nbsp;selectedAnimation)</CODE>
  204. <BR>
  205. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  206. </TR>
  207. <TR BGCOLOR="white" CLASS="TableRowColor">
  208. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  209. <CODE>&nbsp;void</CODE></FONT></TD>
  210. <TD><CODE><B><A HREF="cubeWorker.html#removeAnimation(int)">removeAnimation</A></B>(int&nbsp;selectedAnimation)</CODE>
  211. <BR>
  212. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  213. </TR>
  214. <TR BGCOLOR="white" CLASS="TableRowColor">
  215. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  216. <CODE>&nbsp;void</CODE></FONT></TD>
  217. <TD><CODE><B><A HREF="cubeWorker.html#removeFrame(int, int)">removeFrame</A></B>(int&nbsp;anim,
  218. int&nbsp;frame)</CODE>
  219. <BR>
  220. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  221. </TR>
  222. <TR BGCOLOR="white" CLASS="TableRowColor">
  223. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  224. <CODE>&nbsp;int</CODE></FONT></TD>
  225. <TD><CODE><B><A HREF="cubeWorker.html#saveState(java.lang.String)">saveState</A></B>(java.lang.String&nbsp;path)</CODE>
  226. <BR>
  227. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  228. </TR>
  229. <TR BGCOLOR="white" CLASS="TableRowColor">
  230. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  231. <CODE>&nbsp;void</CODE></FONT></TD>
  232. <TD><CODE><B><A HREF="cubeWorker.html#setAnimationName(java.lang.String, int)">setAnimationName</A></B>(java.lang.String&nbsp;s,
  233. int&nbsp;selectedAnimation)</CODE>
  234. <BR>
  235. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  236. </TR>
  237. <TR BGCOLOR="white" CLASS="TableRowColor">
  238. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  239. <CODE>&nbsp;void</CODE></FONT></TD>
  240. <TD><CODE><B><A HREF="cubeWorker.html#setFrame(short[], int, int)">setFrame</A></B>(short[]&nbsp;data,
  241. int&nbsp;anim,
  242. int&nbsp;frame)</CODE>
  243. <BR>
  244. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  245. </TR>
  246. <TR BGCOLOR="white" CLASS="TableRowColor">
  247. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  248. <CODE>&nbsp;void</CODE></FONT></TD>
  249. <TD><CODE><B><A HREF="cubeWorker.html#setFrameName(java.lang.String, int, int)">setFrameName</A></B>(java.lang.String&nbsp;s,
  250. int&nbsp;anim,
  251. int&nbsp;frame)</CODE>
  252. <BR>
  253. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  254. </TR>
  255. <TR BGCOLOR="white" CLASS="TableRowColor">
  256. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  257. <CODE>&nbsp;void</CODE></FONT></TD>
  258. <TD><CODE><B><A HREF="cubeWorker.html#setFrameTime(short, int, int)">setFrameTime</A></B>(short&nbsp;time,
  259. int&nbsp;anim,
  260. int&nbsp;frame)</CODE>
  261. <BR>
  262. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  263. </TR>
  264. <TR BGCOLOR="white" CLASS="TableRowColor">
  265. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  266. <CODE>&nbsp;int</CODE></FONT></TD>
  267. <TD><CODE><B><A HREF="cubeWorker.html#uploadState(java.lang.String)">uploadState</A></B>(java.lang.String&nbsp;port)</CODE>
  268. <BR>
  269. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  270. </TR>
  271. </TABLE>
  272. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  273. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  274. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  275. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  276. </TR>
  277. <TR BGCOLOR="white" CLASS="TableRowColor">
  278. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  279. </TR>
  280. </TABLE>
  281. &nbsp;
  282. <P>
  283. <!-- ============ METHOD DETAIL ========== -->
  284. <A NAME="method_detail"><!-- --></A>
  285. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  286. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  287. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  288. <B>Method Detail</B></FONT></TH>
  289. </TR>
  290. </TABLE>
  291. <A NAME="numOfAnimations()"><!-- --></A><H3>
  292. numOfAnimations</H3>
  293. <PRE>
  294. public int <B>numOfAnimations</B>()</PRE>
  295. <DL>
  296. <DD><DL>
  297. </DL>
  298. </DD>
  299. </DL>
  300. <HR>
  301. <A NAME="numOfFrames(int)"><!-- --></A><H3>
  302. numOfFrames</H3>
  303. <PRE>
  304. public int <B>numOfFrames</B>(int&nbsp;selectedAnimation)</PRE>
  305. <DL>
  306. <DD><DL>
  307. </DL>
  308. </DD>
  309. </DL>
  310. <HR>
  311. <A NAME="framesRemaining()"><!-- --></A><H3>
  312. framesRemaining</H3>
  313. <PRE>
  314. public int <B>framesRemaining</B>()</PRE>
  315. <DL>
  316. <DD><DL>
  317. </DL>
  318. </DD>
  319. </DL>
  320. <HR>
  321. <A NAME="addAnimation()"><!-- --></A><H3>
  322. addAnimation</H3>
  323. <PRE>
  324. public int <B>addAnimation</B>()</PRE>
  325. <DL>
  326. <DD><DL>
  327. </DL>
  328. </DD>
  329. </DL>
  330. <HR>
  331. <A NAME="removeAnimation(int)"><!-- --></A><H3>
  332. removeAnimation</H3>
  333. <PRE>
  334. public void <B>removeAnimation</B>(int&nbsp;selectedAnimation)</PRE>
  335. <DL>
  336. <DD><DL>
  337. </DL>
  338. </DD>
  339. </DL>
  340. <HR>
  341. <A NAME="getAnimationName(int)"><!-- --></A><H3>
  342. getAnimationName</H3>
  343. <PRE>
  344. public java.lang.String <B>getAnimationName</B>(int&nbsp;selectedAnimation)</PRE>
  345. <DL>
  346. <DD><DL>
  347. </DL>
  348. </DD>
  349. </DL>
  350. <HR>
  351. <A NAME="setAnimationName(java.lang.String, int)"><!-- --></A><H3>
  352. setAnimationName</H3>
  353. <PRE>
  354. public void <B>setAnimationName</B>(java.lang.String&nbsp;s,
  355. int&nbsp;selectedAnimation)</PRE>
  356. <DL>
  357. <DD><DL>
  358. </DL>
  359. </DD>
  360. </DL>
  361. <HR>
  362. <A NAME="moveAnimation(int, int)"><!-- --></A><H3>
  363. moveAnimation</H3>
  364. <PRE>
  365. public void <B>moveAnimation</B>(int&nbsp;dir,
  366. int&nbsp;selectedAnimation)</PRE>
  367. <DL>
  368. <DD><DL>
  369. </DL>
  370. </DD>
  371. </DL>
  372. <HR>
  373. <A NAME="getFrameName(int, int)"><!-- --></A><H3>
  374. getFrameName</H3>
  375. <PRE>
  376. public java.lang.String <B>getFrameName</B>(int&nbsp;anim,
  377. int&nbsp;frame)</PRE>
  378. <DL>
  379. <DD><DL>
  380. </DL>
  381. </DD>
  382. </DL>
  383. <HR>
  384. <A NAME="setFrameName(java.lang.String, int, int)"><!-- --></A><H3>
  385. setFrameName</H3>
  386. <PRE>
  387. public void <B>setFrameName</B>(java.lang.String&nbsp;s,
  388. int&nbsp;anim,
  389. int&nbsp;frame)</PRE>
  390. <DL>
  391. <DD><DL>
  392. </DL>
  393. </DD>
  394. </DL>
  395. <HR>
  396. <A NAME="addFrame(int)"><!-- --></A><H3>
  397. addFrame</H3>
  398. <PRE>
  399. public int <B>addFrame</B>(int&nbsp;anim)</PRE>
  400. <DL>
  401. <DD><DL>
  402. </DL>
  403. </DD>
  404. </DL>
  405. <HR>
  406. <A NAME="removeFrame(int, int)"><!-- --></A><H3>
  407. removeFrame</H3>
  408. <PRE>
  409. public void <B>removeFrame</B>(int&nbsp;anim,
  410. int&nbsp;frame)</PRE>
  411. <DL>
  412. <DD><DL>
  413. </DL>
  414. </DD>
  415. </DL>
  416. <HR>
  417. <A NAME="getFrame(int, int)"><!-- --></A><H3>
  418. getFrame</H3>
  419. <PRE>
  420. public short[] <B>getFrame</B>(int&nbsp;anim,
  421. int&nbsp;frame)</PRE>
  422. <DL>
  423. <DD><DL>
  424. </DL>
  425. </DD>
  426. </DL>
  427. <HR>
  428. <A NAME="setFrame(short[], int, int)"><!-- --></A><H3>
  429. setFrame</H3>
  430. <PRE>
  431. public void <B>setFrame</B>(short[]&nbsp;data,
  432. int&nbsp;anim,
  433. int&nbsp;frame)</PRE>
  434. <DL>
  435. <DD><DL>
  436. </DL>
  437. </DD>
  438. </DL>
  439. <HR>
  440. <A NAME="getFrameTime(int, int)"><!-- --></A><H3>
  441. getFrameTime</H3>
  442. <PRE>
  443. public short <B>getFrameTime</B>(int&nbsp;anim,
  444. int&nbsp;frame)</PRE>
  445. <DL>
  446. <DD><DL>
  447. </DL>
  448. </DD>
  449. </DL>
  450. <HR>
  451. <A NAME="setFrameTime(short, int, int)"><!-- --></A><H3>
  452. setFrameTime</H3>
  453. <PRE>
  454. public void <B>setFrameTime</B>(short&nbsp;time,
  455. int&nbsp;anim,
  456. int&nbsp;frame)</PRE>
  457. <DL>
  458. <DD><DL>
  459. </DL>
  460. </DD>
  461. </DL>
  462. <HR>
  463. <A NAME="moveFrame(int, int, int)"><!-- --></A><H3>
  464. moveFrame</H3>
  465. <PRE>
  466. public void <B>moveFrame</B>(int&nbsp;dir,
  467. int&nbsp;anim,
  468. int&nbsp;frame)</PRE>
  469. <DL>
  470. <DD><DL>
  471. </DL>
  472. </DD>
  473. </DL>
  474. <HR>
  475. <A NAME="loadState(java.lang.String)"><!-- --></A><H3>
  476. loadState</H3>
  477. <PRE>
  478. public int <B>loadState</B>(java.lang.String&nbsp;path)</PRE>
  479. <DL>
  480. <DD><DL>
  481. </DL>
  482. </DD>
  483. </DL>
  484. <HR>
  485. <A NAME="saveState(java.lang.String)"><!-- --></A><H3>
  486. saveState</H3>
  487. <PRE>
  488. public int <B>saveState</B>(java.lang.String&nbsp;path)</PRE>
  489. <DL>
  490. <DD><DL>
  491. </DL>
  492. </DD>
  493. </DL>
  494. <HR>
  495. <A NAME="changedStateSinceSave()"><!-- --></A><H3>
  496. changedStateSinceSave</H3>
  497. <PRE>
  498. public boolean <B>changedStateSinceSave</B>()</PRE>
  499. <DL>
  500. <DD><DL>
  501. </DL>
  502. </DD>
  503. </DL>
  504. <HR>
  505. <A NAME="uploadState(java.lang.String)"><!-- --></A><H3>
  506. uploadState</H3>
  507. <PRE>
  508. public int <B>uploadState</B>(java.lang.String&nbsp;port)</PRE>
  509. <DL>
  510. <DD><DL>
  511. </DL>
  512. </DD>
  513. </DL>
  514. <HR>
  515. <A NAME="downloadState(java.lang.String)"><!-- --></A><H3>
  516. downloadState</H3>
  517. <PRE>
  518. public int <B>downloadState</B>(java.lang.String&nbsp;port)</PRE>
  519. <DL>
  520. <DD><DL>
  521. </DL>
  522. </DD>
  523. </DL>
  524. <HR>
  525. <A NAME="getSerialPorts()"><!-- --></A><H3>
  526. getSerialPorts</H3>
  527. <PRE>
  528. public java.lang.String[] <B>getSerialPorts</B>()</PRE>
  529. <DL>
  530. <DD><DL>
  531. </DL>
  532. </DD>
  533. </DL>
  534. <!-- ========= END OF CLASS DATA ========= -->
  535. <HR>
  536. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  537. <A NAME="navbar_bottom"><!-- --></A>
  538. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  539. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  540. <TR>
  541. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  542. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  543. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  544. <TR ALIGN="center" VALIGN="top">
  545. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  546. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  547. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  548. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  549. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  550. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  551. </TR>
  552. </TABLE>
  553. </TD>
  554. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  555. </EM>
  556. </TD>
  557. </TR>
  558. <TR>
  559. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  560. &nbsp;<A HREF="AnimationUtility.html" title="class in &lt;Unnamed&gt;"><B>PREV CLASS</B></A>&nbsp;
  561. &nbsp;<A HREF="frame.html" title="class in &lt;Unnamed&gt;"><B>NEXT CLASS</B></A></FONT></TD>
  562. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  563. <A HREF="index.html?cubeWorker.html" target="_top"><B>FRAMES</B></A> &nbsp;
  564. &nbsp;<A HREF="cubeWorker.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  565. &nbsp;<SCRIPT type="text/javascript">
  566. <!--
  567. if(window==top) {
  568. document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
  569. }
  570. //-->
  571. </SCRIPT>
  572. <NOSCRIPT>
  573. <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
  574. </NOSCRIPT>
  575. </FONT></TD>
  576. </TR>
  577. <TR>
  578. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  579. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  580. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  581. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  582. </TR>
  583. </TABLE>
  584. <A NAME="skip-navbar_bottom"></A>
  585. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  586. <HR>
  587. </BODY>
  588. </HTML>