A better solution is to use udev rules or pamcomsole. How to do this varies with different Linux systems. A pamconsole solution that works on Fedora Core 5, is to create a file /etc/security/console.perms.d/60-libusb.perms with the two lines:<br/><br/>
+<code>\r
<usbdevices>=/dev/bus/usb/*/*<br/>
<console> 0600 <usbdevices> 0644 root
-<br/>
+</code>\r
+<br/><br/>
+\r
+To use udev rules, set up a file such as /etc/udev/rules.d/70-lego.rules and populate it with the following lines: <br/><br/>\r
+\r
+<code>\r
+# Lego NXT<br/>\r
+BUS=="usb", SYSFS{idVendor}=="03eb", GROUP="lego", MODE="0660" <br/>\r
+BUS=="usb", SYSFS{idVendor}=="0694", GROUP="lego", MODE="0660" <br/>\r
+</code>\r
+</br>\r
+\r
+This relies on the username you are using being in the <em>lego</em> group. You can modify the file to your\r
+requirements. The two vendors are LEGO and Atmel (for the samba driver used in firmware update mode).\r
+You may need to restart udev.\r
\r
<h1><a name="installation_and_set_up">Installation and Set Up</a></h1>\r
\r
adjust the execution permissions in the <em>bin</em> directory.</li>\r
</ol>\r
On Linux and Unix systems, you will have to build the distribution first. To do so,\r
-switch to the <em>build</em> folder and run <code>ant</code>.
+switch to the <em>build</em> folder and run <code>ant</code>. You will need to ensure that the\r
+packages that leJOS NXJ is dependent on are on your system. These include libusb-dev,\r
+gcj and libbluetooth-dev.\r
+
<h1><a name="using-lejos">Using leJOS NXJ</a></h1>
<ul>\r
<li>Flash the leJOS NXJ firmware using <em>nxjflash</em>.</li>
Your NXT will audibly tick when it is firmware update mode.
<br/><br/>\r
\r
+<p>To run nxjflash, open a command window, and type <em>nxjflash</em></p>\r
+\r
<p><em>nxjflash</em> will write the Java VM and the leJOS NXJ start-up menu to the flash memory of your NXT. It will create an empty user flash area. When the flash procedure has finished, leJOS NXJ will start up and an empty menu will be displayed.\r
</p>
<p>You can switch the NXT off at any time, including when a program is running, by pressing the orange and dark gray buttons (ENTER + ESCAPE) together.To switch it back on just press the orange button. The leJOS NXJ start-up menu will be displayed.
<em>nxj</em> and <em>nxjupload</em>, try each NXT they find in turn until they successfully connect to one. \r
To pick a specific NXT to connect to by name, use the <em>--name</em> flag.</p>\r
\r
+<p>You can connect to a specific NXT by address, using the <em>--address</em> flag. If you specify the address, a Bluetooth inquiry will not be done,\r
+and the connection will be much faster. Use <em>nxjbrowse</em> to list the addresses of your NXT devices. An address is 12 hex digits with optional colons\r
+between the hex pairs.</p>\r
+\r
<p>The leJOS NXJ tools can use different comms driver to connect to the NXT. The only driver available for USB is NXTCommLibnxt, \r
which uses David Anderson's libnxt library and the libusb open source library. This works on all operating systems. \r
For Bluetooth on Windows, NXTCommBluecove, which uses the Bluecove open source library, is used. \r
-Note that this only works with the Microsoft Bluetooth stack - see "Known Bugs and Limitations in leJOS NXJ" below.\r
On Linux and MAC OS X, NXTCommBluez, which uses the open source Bluez project, is used for Bluetooth.</p>\r
\r
<p>A future version of leJOS NXJ is expected to support the LEGO Fantom API, which should work for both USB abd Bluetooth.</p>\r
</li>\r
<li>Occasionally, after pressing the orange (ENTER) button to start leJOS NXJ, the LCD remains blank. If this occurs, and is not due to low batteries, it is necessary to shut down leJOS, by pressing the orange and dark gray buttons (ENTER + ESCAPE), and try again.\r
</li>\r
-<li>Bluetooth on Windows is supported by the Bluecove open source library. The NXJ tools over Bluetooth and Java streams over Bluetooth both use this. It only works with the Micosoft Bluetooth stack, not the Widcomm stack. You must use a Bluetooth dongle that supports the Microsoft stack, and uninstall the Widcomm stack (or otherwise ensure that your dongle uses the Microsoft stack) . iCommand can still communicate with leJOS NXJ using the Widcomm stack. \r
-</li>\r
<li>When plugging in the USB cable, or starting leJOS NXJ with the cable plugged in, the keys on the NXT do not respond for several seconds. This particularly affects Windows systems, and may be dependent on the speed of the host PC.\r
</li>\r
-<li>NXT to NXT communications over Bluetooth is not yet supported by the lejos.nxt.comm API. It does work if you write low-level Java code to send commands to the Bluecore 4 chip.\r
-</li>\r
<li>I2C sensors such as the Ultrasonic sensor do not work in port 4.\r
</li>\r
<li>The Ultrasonic sensor needs a gap of at least 200 milliseconds between calls of getDistance().\r
</li>\r
<li>Multidimensional arrays of objects do not work correctly. They can cause exceptions, data aborts and other problems.\r
</li>\r
+<li>Turning off Bluetooth is on the Bluetooth menu, but not functional.\r
+</li>\r
<li>leJOS NXJ closes down five seconds after a user program exits. Press ENTER to restart it.\r
</li>\r
<li>Only one file can be open at a time.\r
</li>\r
<li>The RCX limitations of the Java VM also apply to NXJ. In particular, there is no garbage collection.\r
</li>\r
-<li>Graphics support on the LCD is limited. If text are graphics are mixed, the graphics must be written first.\r
-</li>\r
-<li>There is no support for image files.\r
+<li>LCD text and graphics modes do not mix very well. \r
+<li>Sound volume cannot be controlled.\r
</li>\r
-<li>Sound support is limited. Playing tones and system sounds is supported, but not sound files. The volume is always set to maximum.\r
-</li>\r
-<li>Bluetooth is always on and the device visible. There is currently no way of switching it off.\r
+<li>Support for sound sample files is a bit primitive.\r
</li>\r
<li>The name of a NXT can be changed using nxjbrowse over a USB connection. If this is attempted over a Bluetooth connection it may apprear to work, but will not.\r
</li>\r
-<li>Defragging the file system is supported from nxjbrowse. This sometimes causes the NXT to appear to hang. It is then necessary to remove and reinsert a battery. The defrag will usually have worked successfully.\r
-</li>\r
<li>The last parameter to nxjflash (FMCN) is ignored. it is not normally necessary to use any parameters with nxflash as the defaults are fine.\r
</li>\r
<li>There are 767 256-byte pages of user flash memory avaiable. There is no check when this is filled, attempts to write to higher page number will probably fail silently. \r
</li>\r
<li>Discovery of Bluetooth devices is slow, taking at least 10 seconds. It is slower still with Bluez on Linux. For Java streams connections from user programs, you can connect directly by Bluetooth address, which is much faster.\r
</li>\r
-<li>To get permissions to the lejos NXJ usb devices from non-root users on Linux, you typically need to user pamconsole or udev rules. There are currently no instructions for setting up udev rules. \r
+<li>To get permissions to the lejos NXJ usb devices from non-root users on Linux, you typically need to user pamconsole or udev rules. The instructions for doing this are not very explicit.\r
</li>\r
<li>Some Linux systems may require you to delete the entries for your NXT device in /var/lib/bluetooth, to enable connections over Bluetooth.\r
</li>\r
-<li>lejos NXJ on Windows should not be installed to a folder with a space in its name (e.g a subfolder of "Program Files").\r
-</li>\r
</ul>\r
<h1><a name="documentation">Documentation</a></h1>\r
The API docs for leJOS NXJ is included in the download. You can also access them on the leJOS web site.\r
+lejos NXJ 0.4beta
+-----------------
+
+Most of the leJOS functionality is now present, so this has been declared a beta release.
+
+Lawrie Griffiths and Michael Wiedau have added:
+
+- NXT to NXT Bluetooth comms.
+
+Lawrie Griffiths has added:
+
+- Multi-level StartUp Text menu
+- Connection by address on the nxj and nxjupload utilities
+
+Roger Glassey has added:
+
+- DataLogger
+- Some improvement to Motor speed control
+
+Andre Nijholt and Brian Bagnall have added:
+
+- Support for the J2ME MIDP LCD user interface and graphics
+
+Ranulf Green has added:
+
+- Comms proxy included NXTSocket class
+
+Patai Gergely and Lawrie Griffiths have added:
+
+- Playing sound files (8-bit WAV)
+
+Brian Bagnall has added
+
+- Fixes to Windows batch files to allows spaces in NXJ_HOME
+- Backward compatibility lejosdl and lejosfirmdl scripts
+- Some improvement to Lego Communications Protocol support.
+
leJOS NXJ 0.3alpha
------------------
--- /dev/null
+@REM Container to allow backward compatibility for old commands\r
+@REM Feel free to delete lejosdl.bat, lejosjc.bat and lejosfirmdl.bat\r
+\r
+@echo off\r
+@if "%LEJOS_HOME%" == "" GoTo :UNDEFINED\r
+@REM The following only works with Windows 2000 on up:\r
+@if NOT %lejos_home:~-3% == nxj GoTo :DONE\r
+\r
+:CHANGE\r
+SET NXJ_HOME=%LEJOS_HOME%\r
+@nxj.bat -r %*\r
+GoTo :Done\r
+\r
+:UNDEFINED\r
+echo LEJOS_HOME not defined.\r
+\r
+:DONE
\ No newline at end of file
--- /dev/null
+@REM Container to allow backward compatibility for old commands\r
+@REM Feel free to delete lejosdl.bat, lejosjc.bat and lejosfirmdl.bat\r
+\r
+@echo off\r
+\r
+@if "%LEJOS_HOME%" == "" GoTo :UNDEFINED\r
+@REM The following only works with Windows 2000 on up:\r
+@if NOT %lejos_home:~-3% == nxj GoTo :DONE\r
+\r
+:CHANGE\r
+SET NXJ_HOME=%LEJOS_HOME%\r
+\r
+@REM Check if LIBUSB is installed:\r
+@if exist "%SystemRoot%\system32\libusb0.dll" GoTo :MAIN\r
+\r
+@REM Check operating system and skip Vista:\r
+Ver | Find "Version 6" >NUL\r
+ If ErrorLevel 1 Goto :INSTALL\r
+ Echo Vista Detected. There have been reports of LibUSB disabling USB devices. Install at your own risk. http://libusb-win32.sourceforge.net/#downloads\r
+ Goto :DONE\r
+\r
+:INSTALL\r
+echo LIBUSB not installed. Running setup program...\r
+START "LIBUSB INSTALLER" /wait %NXJ_HOME%\3rdparty\lib\libusb-win32-filter-bin-0.1.12.1.exe\r
+echo NOTE: If you encounter the error NXT Not Found, reboot your computer, make sure the brick is still in firmware upload mode, and try again.\r
+\r
+:MAIN\r
+@nxjflash.exe %*\r
+GoTo :Done\r
+\r
+:UNDEFINED\r
+echo LEJOS_HOME not defined.\r
+\r
+:DONE
\ No newline at end of file
--- /dev/null
+@REM Container to allow backward compatibility for old commands\r
+@REM Feel free to delete lejosdl.bat, lejosjc.bat and lejosfirmdl.bat\r
+\r
+@echo off\r
+@if "%LEJOS_HOME%" == "" GoTo :UNDEFINED\r
+@REM The following only works with Windows 2000 on up:\r
+@if NOT %lejos_home:~-3% == nxj GoTo :DONE\r
+\r
+:CHANGE\r
+SET NXJ_HOME=%LEJOS_HOME%\r
+@nxjc.bat %*\r
+GoTo :Done\r
+\r
+:UNDEFINED\r
+echo LEJOS_HOME not defined.\r
+\r
+:DONE
\ No newline at end of file
@echo off
if "%NXJ_HOME%" == "" goto homeless
-set THIRDPARTY_LIBS="%NXJ_HOME%\3rdparty\lib"
-set LINK_CLASSPATH=".;%THIRDPARTY_LIBS%\bcel-5.1.jar;%THIRDPARTY_LIBS%\commons-cli-1.0.jar;%NXJ_HOME%\lib\pctools.jar;%NXJ_HOME%\lib\pccomm.jar;%NXJ_HOME%\lib\jtools.jar;%THIRDPARTY_LIBS%\bluecove.jar;%NXJ_HOME%\lib\classes.jar"
+set THIRDPARTY_LIBS=%NXJ_HOME%\3rdparty\lib
+set LINK_CLASSPATH=.;%THIRDPARTY_LIBS%\bcel-5.1.jar;%THIRDPARTY_LIBS%\commons-cli-1.0.jar;%NXJ_HOME%\lib\pctools.jar;%NXJ_HOME%\lib\pccomm.jar;%NXJ_HOME%\lib\jtools.jar;%THIRDPARTY_LIBS%\bluecove.jar;%NXJ_HOME%\lib\classes.jar
-java -Djava.library.path="%NXJ_HOME%\bin" -Dnxj.home="%NXJ_HOME%" -classpath "%LINK_CLASSPATH%" lejos.pc.tools.NXJLinkAndUpload --writeorder LE --classpath "%LINK_CLASSPATH%" %1 %2 %3 %4 %5 %6 %7 %8 %9
+java -Djava.library.path=%NXJ_HOME%\bin -Dnxj.home=%NXJ_HOME% -classpath %LINK_CLASSPATH% lejos.pc.tools.NXJLinkAndUpload --writeorder LE --classpath %LINK_CLASSPATH% %*
goto end
@echo off
if "%NXJ_HOME%" == "" goto homeless
-set THIRDPARTY_LIBS="%NXJ_HOME%\3rdparty\lib"
+set THIRDPARTY_LIBS=%NXJ_HOME%\3rdparty\lib
-java -Djava.library.path="%NXJ_HOME%\bin" -Dnxj.home="%NXJ_HOME%" -classpath "%THIRDPARTY_LIBS%\bcel-5.1.jar;%THIRDPARTY_LIBS%\commons-cli-1.0.jar;%NXJ_HOME%\lib\pctools.jar;%NXJ_HOME%\lib\pccomm.jar;%NXJ_HOME%\lib\jtools.jar;%THIRDPARTY_LIBS%\bluecove.jar" lejos.pc.tools.NXJBrowser %1 %2 %3 %4 %5 %6 %7 %8 %9
+java -Djava.library.path=%NXJ_HOME%\bin -Dnxj.home=%NXJ_HOME% -classpath %THIRDPARTY_LIBS%\bcel-5.1.jar;%THIRDPARTY_LIBS%\commons-cli-1.0.jar;%NXJ_HOME%\lib\pctools.jar;%NXJ_HOME%\lib\pccomm.jar;%NXJ_HOME%\lib\jtools.jar;%THIRDPARTY_LIBS%\bluecove.jar lejos.pc.tools.NXJBrowser %*
goto end
:homeless
@echo off
if "%NXJ_HOME%" == "" goto homeless
-javac -source 1.3 -target 1.1 -bootclasspath "%NXJ_HOME%\lib\classes.jar;%CLASSPATH%" %1 %2 %3 %4 %5 %6 %7 %8 %9
+javac -source 1.3 -target 1.1 -bootclasspath %NXJ_HOME%\lib\classes.jar;%CLASSPATH% %*
goto end
:homeless
@echo off
if "%NXJ_HOME%" == "" goto homeless
-set THIRDPARTY_LIBS="%NXJ_HOME%\3rdparty\lib"
-set LINK_CLASSPATH=".;%THIRDPARTY_LIBS%\bcel-5.1.jar;%THIRDPARTY_LIBS%\commons-cli-1.0.jar;%NXJ_HOME%\lib\jtools.jar;%NXJ_HOME%\lib\classes.jar"
+set THIRDPARTY_LIBS=%NXJ_HOME%\3rdparty\lib
+set LINK_CLASSPATH=.;%THIRDPARTY_LIBS%\bcel-5.1.jar;%THIRDPARTY_LIBS%\commons-cli-1.0.jar;%NXJ_HOME%\lib\jtools.jar;%NXJ_HOME%\lib\classes.jar
-java -classpath "%LINK_CLASSPATH%" js.tinyvm.TinyVM --writeorder LE --classpath "%LINK_CLASSPATH%" %1 %2 %3 %4 %5 %6 %7 %8 %9
+java -classpath %LINK_CLASSPATH% js.tinyvm.TinyVM --writeorder LE --classpath %LINK_CLASSPATH% %*
goto end
:homeless
@echo off
if "%NXJ_HOME%" == "" goto homeless
-set THIRDPARTY_LIBS="%NXJ_HOME%\3rdparty\lib"
+set THIRDPARTY_LIBS=%NXJ_HOME%\3rdparty\lib
-java -Djava.library.path="%NXJ_HOME%\bin" -Dnxj.home="%NXJ_HOME%" -classpath "%THIRDPARTY_LIBS%\bcel-5.1.jar;%THIRDPARTY_LIBS%\commons-cli-1.0.jar;%NXJ_HOME%\lib\pctools.jar;%NXJ_HOME%\lib\pccomm.jar;%NXJ_HOME%\lib\jtools.jar;%NXJ_HOME%\3rdparty\lib\bluecove.jar" lejos.pc.tools.NXJUpload %1 %2 %3 %4 %5 %6 %7 %8 %9
+java -Djava.library.path=%NXJ_HOME%\bin -Dnxj.home=%NXJ_HOME% -classpath %THIRDPARTY_LIBS%\bcel-5.1.jar;%THIRDPARTY_LIBS%\commons-cli-1.0.jar;%NXJ_HOME%\lib\pctools.jar;%NXJ_HOME%\lib\pccomm.jar;%NXJ_HOME%\lib\jtools.jar;%NXJ_HOME%\3rdparty\lib\bluecove.jar lejos.pc.tools.NXJUpload %*
goto end
:homeless
--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
+<TITLE>
+NXTServerSocket (leJOS NXT API documentation)
+</TITLE>
+
+<META NAME="keywords" CONTENT="NXTServerSocket class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="NXTServerSocket (leJOS NXT API documentation)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV CLASS
+ <A HREF="StartUpText.html" title="class in <Unnamed>"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="index.html?NXTServerSocket.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="NXTServerSocket.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+Class NXTServerSocket</H2>
+<PRE>
+<A HREF="java/lang/Object.html" title="class in java.lang">java.lang.Object</A>
+ <IMG SRC="./resources/inherit.gif" ALT="extended by "><B>NXTServerSocket</B>
+</PRE>
+<HR>
+<DL>
+<DT><PRE>public class <B>NXTServerSocket</B><DT>extends <A HREF="java/lang/Object.html" title="class in java.lang">Object</A></DL>
+</PRE>
+
+<P>
+<HR>
+
+<P>
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="NXTServerSocket.html#NXTServerSocket(int, lejos.nxt.comm.BTConnection)">NXTServerSocket</A></B>(int port,
+ <A HREF="lejos/nxt/comm/BTConnection.html" title="class in lejos.nxt.comm">BTConnection</A> btc)</CODE>
+
+<BR>
+ Constructor.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="NXTServerSocket.html#NXTServerSocket(int, lejos.nxt.comm.USBConnection)">NXTServerSocket</A></B>(int port,
+ <A HREF="lejos/nxt/comm/USBConnection.html" title="class in lejos.nxt.comm">USBConnection</A> usbc)</CODE>
+
+<BR>
+ Constructor.</TD>
+</TR>
+</TABLE>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="lejos/nxt/comm/NXTSocket.html" title="class in lejos.nxt.comm">NXTSocket</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="NXTServerSocket.html#accept()">accept</A></B>()</CODE>
+
+<BR>
+ Waits untill there is a socket connection available.</TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="java/lang/Object.html" title="class in java.lang">Object</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="java/lang/Object.html#getClass()">getClass</A>, <A HREF="java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="java/lang/Object.html#notify()">notify</A>, <A HREF="java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="java/lang/Object.html#toString()">toString</A>, <A HREF="java/lang/Object.html#wait()">wait</A>, <A HREF="java/lang/Object.html#wait(long)">wait</A></CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="NXTServerSocket(int, lejos.nxt.comm.BTConnection)"><!-- --></A><H3>
+NXTServerSocket</H3>
+<PRE>
+public <B>NXTServerSocket</B>(int port,
+ <A HREF="lejos/nxt/comm/BTConnection.html" title="class in lejos.nxt.comm">BTConnection</A> btc)
+ throws <A HREF="java/io/IOException.html" title="class in java.io">IOException</A></PRE>
+<DL>
+<DD>Constructor. Creates a new Server Socket over an open bluetooth connection
+<P>
+<DL>
+<DT><B>Parameters:</B><DD><CODE>port</CODE> - The port to listen on<DD><CODE>btc</CODE> - The bluetooth connection to open
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="java/io/IOException.html" title="class in java.io">IOException</A></CODE></DL>
+</DL>
+<HR>
+
+<A NAME="NXTServerSocket(int, lejos.nxt.comm.USBConnection)"><!-- --></A><H3>
+NXTServerSocket</H3>
+<PRE>
+public <B>NXTServerSocket</B>(int port,
+ <A HREF="lejos/nxt/comm/USBConnection.html" title="class in lejos.nxt.comm">USBConnection</A> usbc)
+ throws <A HREF="java/io/IOException.html" title="class in java.io">IOException</A></PRE>
+<DL>
+<DD>Constructor. Creates a new Server Socket over an open usb connection
+<P>
+<DL>
+<DT><B>Parameters:</B><DD><CODE>port</CODE> - The port to listen on<DD><CODE>usbc</CODE> - The usb connection to open
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="java/io/IOException.html" title="class in java.io">IOException</A></CODE></DL>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="accept()"><!-- --></A><H3>
+accept</H3>
+<PRE>
+public <A HREF="lejos/nxt/comm/NXTSocket.html" title="class in lejos.nxt.comm">NXTSocket</A> <B>accept</B>()
+ throws <A HREF="java/io/IOException.html" title="class in java.io">IOException</A></PRE>
+<DL>
+<DD>Waits untill there is a socket connection available. When this becomes true
+ a new NXTSocket is returned
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>NXTSocket
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="java/io/IOException.html" title="class in java.io">IOException</A></CODE></DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV CLASS
+ <A HREF="StartUpText.html" title="class in <Unnamed>"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="index.html?NXTServerSocket.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="NXTServerSocket.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
StartUpText (leJOS NXT API documentation)
</TITLE>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV CLASS
+ <A HREF="NXTServerSocket.html" title="class in <Unnamed>"><B>PREV CLASS</B></A>
NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html?StartUpText.html" target="_top"><B>FRAMES</B></A>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV CLASS
+ <A HREF="NXTServerSocket.html" title="class in <Unnamed>"><B>PREV CLASS</B></A>
NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html?StartUpText.html" target="_top"><B>FRAMES</B></A>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
All Classes (leJOS NXT API documentation)
</TITLE>
<BR>
<A HREF="lejos/subsumption/ActivityBase.html" title="class in lejos.subsumption" target="classFrame">ActivityBase</A>
<BR>
+<A HREF="javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui" target="classFrame">Alert</A>
+<BR>
<A HREF="lejos/subsumption/Arbitrator.html" title="class in lejos.subsumption" target="classFrame">Arbitrator</A>
<BR>
<A HREF="java/lang/ArithmeticException.html" title="class in java.lang" target="classFrame">ArithmeticException</A>
<BR>
<A HREF="java/lang/ArrayIndexOutOfBoundsException.html" title="class in java.lang" target="classFrame">ArrayIndexOutOfBoundsException</A>
<BR>
+<A HREF="java/util/ArrayList.html" title="class in java.util" target="classFrame">ArrayList</A>
+<BR>
<A HREF="lejos/util/ArrayRecycler.html" title="class in lejos.util" target="classFrame">ArrayRecycler</A>
<BR>
<A HREF="lejos/util/Assertion.html" title="class in lejos.util" target="classFrame">Assertion</A>
<BR>
<A HREF="lejos/nxt/comm/BTOutputStream.html" title="class in lejos.nxt.comm" target="classFrame">BTOutputStream</A>
<BR>
+<A HREF="lejos/nxt/comm/BTRemoteDevice.html" title="class in lejos.nxt.comm" target="classFrame">BTRemoteDevice</A>
+<BR>
<A HREF="lejos/nxt/Button.html" title="class in lejos.nxt" target="classFrame">Button</A>
<BR>
<A HREF="lejos/nxt/ButtonListener.html" title="interface in lejos.nxt" target="classFrame"><I>ButtonListener</I></A>
<BR>
+<A HREF="javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui" target="classFrame"><I>Choice</I></A>
+<BR>
+<A HREF="javax/microedition/lcdui/ChoiceGroup.html" title="class in javax.microedition.lcdui" target="classFrame">ChoiceGroup</A>
+<BR>
<A HREF="java/lang/Class.html" title="class in java.lang" target="classFrame">Class</A>
<BR>
<A HREF="java/lang/ClassCastException.html" title="class in java.lang" target="classFrame">ClassCastException</A>
<BR>
<A HREF="lejos/nxt/ColorSensor.html" title="class in lejos.nxt" target="classFrame">ColorSensor</A>
<BR>
+<A HREF="javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui" target="classFrame">Command</A>
+<BR>
+<A HREF="javax/microedition/lcdui/CommandListener.html" title="interface in javax.microedition.lcdui" target="classFrame"><I>CommandListener</I></A>
+<BR>
<A HREF="lejos/navigation/CompassNavigator.html" title="class in lejos.navigation" target="classFrame">CompassNavigator</A>
<BR>
<A HREF="lejos/navigation/CompassPilot.html" title="class in lejos.navigation" target="classFrame">CompassPilot</A>
<BR>
<A HREF="java/io/DataInputStream.html" title="class in java.io" target="classFrame">DataInputStream</A>
<BR>
+<A HREF="lejos/nxt/Datalogger.html" title="class in lejos.nxt" target="classFrame">Datalogger</A>
+<BR>
<A HREF="java/io/DataOutputStream.html" title="class in java.io" target="classFrame">DataOutputStream</A>
<BR>
+<A HREF="javax/microedition/lcdui/Display.html" title="class in javax.microedition.lcdui" target="classFrame">Display</A>
+<BR>
+<A HREF="javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui" target="classFrame">Displayable</A>
+<BR>
<A HREF="java/util/EmptyQueueException.html" title="class in java.util" target="classFrame">EmptyQueueException</A>
<BR>
<A HREF="java/util/EmptyStackException.html" title="class in java.util" target="classFrame">EmptyStackException</A>
<BR>
<A HREF="java/lang/Float.html" title="class in java.lang" target="classFrame">Float</A>
<BR>
+<A HREF="javax/microedition/lcdui/Font.html" title="class in javax.microedition.lcdui" target="classFrame">Font</A>
+<BR>
+<A HREF="javax/microedition/lcdui/Form.html" title="class in javax.microedition.lcdui" target="classFrame">Form</A>
+<BR>
+<A HREF="javax/microedition/lcdui/Gauge.html" title="class in javax.microedition.lcdui" target="classFrame">Gauge</A>
+<BR>
<A HREF="javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui" target="classFrame">Graphics</A>
<BR>
<A HREF="java/util/Hashtable.html" title="class in java.util" target="classFrame">Hashtable</A>
<BR>
<A HREF="java/lang/IllegalStateException.html" title="class in java.lang" target="classFrame">IllegalStateException</A>
<BR>
+<A HREF="javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui" target="classFrame">Image</A>
+<BR>
<A HREF="java/io/InputStream.html" title="class in java.io" target="classFrame">InputStream</A>
<BR>
<A HREF="java/lang/Integer.html" title="class in java.lang" target="classFrame">Integer</A>
<BR>
<A HREF="java/io/IOException.html" title="class in java.io" target="classFrame">IOException</A>
<BR>
+<A HREF="javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui" target="classFrame">Item</A>
+<BR>
+<A HREF="javax/microedition/lcdui/ItemCommandListener.html" title="interface in javax.microedition.lcdui" target="classFrame"><I>ItemCommandListener</I></A>
+<BR>
+<A HREF="javax/microedition/lcdui/ItemStateListener.html" title="interface in javax.microedition.lcdui" target="classFrame"><I>ItemStateListener</I></A>
+<BR>
<A HREF="lejos/nxt/LCD.html" title="class in lejos.nxt" target="classFrame">LCD</A>
<BR>
<A HREF="lejos/nxt/comm/LCP.html" title="class in lejos.nxt.comm" target="classFrame">LCP</A>
<BR>
<A HREF="lejos/nxt/LightSensor.html" title="class in lejos.nxt" target="classFrame">LightSensor</A>
<BR>
+<A HREF="javax/microedition/lcdui/List.html" title="class in javax.microedition.lcdui" target="classFrame">List</A>
+<BR>
<A HREF="lejos/nxt/ListenerCaller.html" title="interface in lejos.nxt" target="classFrame"><I>ListenerCaller</I></A>
<BR>
<A HREF="java/lang/Math.html" title="class in java.lang" target="classFrame">Math</A>
<BR>
<A HREF="java/lang/NullPointerException.html" title="class in java.lang" target="classFrame">NullPointerException</A>
<BR>
+<A HREF="NXTServerSocket.html" title="class in <Unnamed>" target="classFrame">NXTServerSocket</A>
+<BR>
+<A HREF="lejos/nxt/comm/NXTSocket.html" title="class in lejos.nxt.comm" target="classFrame">NXTSocket</A>
+<BR>
<A HREF="java/lang/Object.html" title="class in java.lang" target="classFrame">Object</A>
<BR>
<A HREF="java/lang/OutOfMemoryError.html" title="class in java.lang" target="classFrame">OutOfMemoryError</A>
<BR>
<A HREF="java/lang/RuntimeException.html" title="class in java.lang" target="classFrame">RuntimeException</A>
<BR>
+<A HREF="javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui" target="classFrame">Screen</A>
+<BR>
<A HREF="lejos/nxt/SensorConstants.html" title="interface in lejos.nxt" target="classFrame"><I>SensorConstants</I></A>
<BR>
<A HREF="lejos/nxt/SensorPort.html" title="class in lejos.nxt" target="classFrame">SensorPort</A>
<BR>
<A HREF="lejos/nxt/SoundSensor.html" title="class in lejos.nxt" target="classFrame">SoundSensor</A>
<BR>
+<A HREF="javax/microedition/lcdui/Spacer.html" title="class in javax.microedition.lcdui" target="classFrame">Spacer</A>
+<BR>
<A HREF="java/util/Stack.html" title="class in java.util" target="classFrame">Stack</A>
<BR>
<A HREF="java/lang/StackOverflowError.html" title="class in java.lang" target="classFrame">StackOverflowError</A>
<BR>
<A HREF="java/lang/StringBuffer.html" title="class in java.lang" target="classFrame">StringBuffer</A>
<BR>
+<A HREF="javax/microedition/lcdui/StringItem.html" title="class in javax.microedition.lcdui" target="classFrame">StringItem</A>
+<BR>
<A HREF="java/lang/StringUtils.html" title="class in java.lang" target="classFrame">StringUtils</A>
<BR>
<A HREF="java/lang/System.html" title="class in java.lang" target="classFrame">System</A>
<BR>
<A HREF="lejos/navigation/TachoNavigator.html" title="class in lejos.navigation" target="classFrame">TachoNavigator</A>
<BR>
+<A HREF="javax/microedition/lcdui/TextBox.html" title="class in javax.microedition.lcdui" target="classFrame">TextBox</A>
+<BR>
+<A HREF="javax/microedition/lcdui/TextField.html" title="class in javax.microedition.lcdui" target="classFrame">TextField</A>
+<BR>
<A HREF="lejos/nxt/TextMenu.html" title="class in lejos.nxt" target="classFrame">TextMenu</A>
<BR>
<A HREF="java/lang/Thread.html" title="class in java.lang" target="classFrame">Thread</A>
<BR>
<A HREF="java/lang/Throwable.html" title="class in java.lang" target="classFrame">Throwable</A>
<BR>
+<A HREF="javax/microedition/lcdui/Ticker.html" title="class in javax.microedition.lcdui" target="classFrame">Ticker</A>
+<BR>
<A HREF="lejos/nxt/TiltSensor.html" title="class in lejos.nxt" target="classFrame">TiltSensor</A>
<BR>
<A HREF="lejos/util/Timer.html" title="class in lejos.util" target="classFrame">Timer</A>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
All Classes (leJOS NXT API documentation)
</TITLE>
<BR>
<A HREF="lejos/subsumption/ActivityBase.html" title="class in lejos.subsumption">ActivityBase</A>
<BR>
+<A HREF="javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui">Alert</A>
+<BR>
<A HREF="lejos/subsumption/Arbitrator.html" title="class in lejos.subsumption">Arbitrator</A>
<BR>
<A HREF="java/lang/ArithmeticException.html" title="class in java.lang">ArithmeticException</A>
<BR>
<A HREF="java/lang/ArrayIndexOutOfBoundsException.html" title="class in java.lang">ArrayIndexOutOfBoundsException</A>
<BR>
+<A HREF="java/util/ArrayList.html" title="class in java.util">ArrayList</A>
+<BR>
<A HREF="lejos/util/ArrayRecycler.html" title="class in lejos.util">ArrayRecycler</A>
<BR>
<A HREF="lejos/util/Assertion.html" title="class in lejos.util">Assertion</A>
<BR>
<A HREF="lejos/nxt/comm/BTOutputStream.html" title="class in lejos.nxt.comm">BTOutputStream</A>
<BR>
+<A HREF="lejos/nxt/comm/BTRemoteDevice.html" title="class in lejos.nxt.comm">BTRemoteDevice</A>
+<BR>
<A HREF="lejos/nxt/Button.html" title="class in lejos.nxt">Button</A>
<BR>
<A HREF="lejos/nxt/ButtonListener.html" title="interface in lejos.nxt"><I>ButtonListener</I></A>
<BR>
+<A HREF="javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui"><I>Choice</I></A>
+<BR>
+<A HREF="javax/microedition/lcdui/ChoiceGroup.html" title="class in javax.microedition.lcdui">ChoiceGroup</A>
+<BR>
<A HREF="java/lang/Class.html" title="class in java.lang">Class</A>
<BR>
<A HREF="java/lang/ClassCastException.html" title="class in java.lang">ClassCastException</A>
<BR>
<A HREF="lejos/nxt/ColorSensor.html" title="class in lejos.nxt">ColorSensor</A>
<BR>
+<A HREF="javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A>
+<BR>
+<A HREF="javax/microedition/lcdui/CommandListener.html" title="interface in javax.microedition.lcdui"><I>CommandListener</I></A>
+<BR>
<A HREF="lejos/navigation/CompassNavigator.html" title="class in lejos.navigation">CompassNavigator</A>
<BR>
<A HREF="lejos/navigation/CompassPilot.html" title="class in lejos.navigation">CompassPilot</A>
<BR>
<A HREF="java/io/DataInputStream.html" title="class in java.io">DataInputStream</A>
<BR>
+<A HREF="lejos/nxt/Datalogger.html" title="class in lejos.nxt">Datalogger</A>
+<BR>
<A HREF="java/io/DataOutputStream.html" title="class in java.io">DataOutputStream</A>
<BR>
+<A HREF="javax/microedition/lcdui/Display.html" title="class in javax.microedition.lcdui">Display</A>
+<BR>
+<A HREF="javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A>
+<BR>
<A HREF="java/util/EmptyQueueException.html" title="class in java.util">EmptyQueueException</A>
<BR>
<A HREF="java/util/EmptyStackException.html" title="class in java.util">EmptyStackException</A>
<BR>
<A HREF="java/lang/Float.html" title="class in java.lang">Float</A>
<BR>
+<A HREF="javax/microedition/lcdui/Font.html" title="class in javax.microedition.lcdui">Font</A>
+<BR>
+<A HREF="javax/microedition/lcdui/Form.html" title="class in javax.microedition.lcdui">Form</A>
+<BR>
+<A HREF="javax/microedition/lcdui/Gauge.html" title="class in javax.microedition.lcdui">Gauge</A>
+<BR>
<A HREF="javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A>
<BR>
<A HREF="java/util/Hashtable.html" title="class in java.util">Hashtable</A>
<BR>
<A HREF="java/lang/IllegalStateException.html" title="class in java.lang">IllegalStateException</A>
<BR>
+<A HREF="javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A>
+<BR>
<A HREF="java/io/InputStream.html" title="class in java.io">InputStream</A>
<BR>
<A HREF="java/lang/Integer.html" title="class in java.lang">Integer</A>
<BR>
<A HREF="java/io/IOException.html" title="class in java.io">IOException</A>
<BR>
+<A HREF="javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A>
+<BR>
+<A HREF="javax/microedition/lcdui/ItemCommandListener.html" title="interface in javax.microedition.lcdui"><I>ItemCommandListener</I></A>
+<BR>
+<A HREF="javax/microedition/lcdui/ItemStateListener.html" title="interface in javax.microedition.lcdui"><I>ItemStateListener</I></A>
+<BR>
<A HREF="lejos/nxt/LCD.html" title="class in lejos.nxt">LCD</A>
<BR>
<A HREF="lejos/nxt/comm/LCP.html" title="class in lejos.nxt.comm">LCP</A>
<BR>
<A HREF="lejos/nxt/LightSensor.html" title="class in lejos.nxt">LightSensor</A>
<BR>
+<A HREF="javax/microedition/lcdui/List.html" title="class in javax.microedition.lcdui">List</A>
+<BR>
<A HREF="lejos/nxt/ListenerCaller.html" title="interface in lejos.nxt"><I>ListenerCaller</I></A>
<BR>
<A HREF="java/lang/Math.html" title="class in java.lang">Math</A>
<BR>
<A HREF="java/lang/NullPointerException.html" title="class in java.lang">NullPointerException</A>
<BR>
+<A HREF="NXTServerSocket.html" title="class in <Unnamed>">NXTServerSocket</A>
+<BR>
+<A HREF="lejos/nxt/comm/NXTSocket.html" title="class in lejos.nxt.comm">NXTSocket</A>
+<BR>
<A HREF="java/lang/Object.html" title="class in java.lang">Object</A>
<BR>
<A HREF="java/lang/OutOfMemoryError.html" title="class in java.lang">OutOfMemoryError</A>
<BR>
<A HREF="java/lang/RuntimeException.html" title="class in java.lang">RuntimeException</A>
<BR>
+<A HREF="javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">Screen</A>
+<BR>
<A HREF="lejos/nxt/SensorConstants.html" title="interface in lejos.nxt"><I>SensorConstants</I></A>
<BR>
<A HREF="lejos/nxt/SensorPort.html" title="class in lejos.nxt">SensorPort</A>
<BR>
<A HREF="lejos/nxt/SoundSensor.html" title="class in lejos.nxt">SoundSensor</A>
<BR>
+<A HREF="javax/microedition/lcdui/Spacer.html" title="class in javax.microedition.lcdui">Spacer</A>
+<BR>
<A HREF="java/util/Stack.html" title="class in java.util">Stack</A>
<BR>
<A HREF="java/lang/StackOverflowError.html" title="class in java.lang">StackOverflowError</A>
<BR>
<A HREF="java/lang/StringBuffer.html" title="class in java.lang">StringBuffer</A>
<BR>
+<A HREF="javax/microedition/lcdui/StringItem.html" title="class in javax.microedition.lcdui">StringItem</A>
+<BR>
<A HREF="java/lang/StringUtils.html" title="class in java.lang">StringUtils</A>
<BR>
<A HREF="java/lang/System.html" title="class in java.lang">System</A>
<BR>
<A HREF="lejos/navigation/TachoNavigator.html" title="class in lejos.navigation">TachoNavigator</A>
<BR>
+<A HREF="javax/microedition/lcdui/TextBox.html" title="class in javax.microedition.lcdui">TextBox</A>
+<BR>
+<A HREF="javax/microedition/lcdui/TextField.html" title="class in javax.microedition.lcdui">TextField</A>
+<BR>
<A HREF="lejos/nxt/TextMenu.html" title="class in lejos.nxt">TextMenu</A>
<BR>
<A HREF="java/lang/Thread.html" title="class in java.lang">Thread</A>
<BR>
<A HREF="java/lang/Throwable.html" title="class in java.lang">Throwable</A>
<BR>
+<A HREF="javax/microedition/lcdui/Ticker.html" title="class in javax.microedition.lcdui">Ticker</A>
+<BR>
<A HREF="lejos/nxt/TiltSensor.html" title="class in lejos.nxt">TiltSensor</A>
<BR>
<A HREF="lejos/util/Timer.html" title="class in lejos.util">Timer</A>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
Constant Field Values (leJOS NXT API documentation)
</TITLE>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left" COLSPAN="3">javax.microedition.lcdui.<A HREF="javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui">Alert</A></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.Alert.ALERT_TYPE_ALARM"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/Alert.html#ALERT_TYPE_ALARM">ALERT_TYPE_ALARM</A></CODE></TD>
+<TD ALIGN="right"><CODE>3</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.Alert.ALERT_TYPE_CONFIRMATION"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/Alert.html#ALERT_TYPE_CONFIRMATION">ALERT_TYPE_CONFIRMATION</A></CODE></TD>
+<TD ALIGN="right"><CODE>4</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.Alert.ALERT_TYPE_ERROR"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/Alert.html#ALERT_TYPE_ERROR">ALERT_TYPE_ERROR</A></CODE></TD>
+<TD ALIGN="right"><CODE>2</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.Alert.ALERT_TYPE_INFO"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/Alert.html#ALERT_TYPE_INFO">ALERT_TYPE_INFO</A></CODE></TD>
+<TD ALIGN="right"><CODE>0</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.Alert.ALERT_TYPE_WARNING"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/Alert.html#ALERT_TYPE_WARNING">ALERT_TYPE_WARNING</A></CODE></TD>
+<TD ALIGN="right"><CODE>1</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.Alert.FOREVER"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/Alert.html#FOREVER">FOREVER</A></CODE></TD>
+<TD ALIGN="right"><CODE>-2</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.Alert.STR_CONFIRM"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final <A HREF="java/lang/String.html" title="class in java.lang">String</A></CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/Alert.html#STR_CONFIRM">STR_CONFIRM</A></CODE></TD>
+<TD ALIGN="right"><CODE>"Yes"</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.Alert.STR_DENY"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final <A HREF="java/lang/String.html" title="class in java.lang">String</A></CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/Alert.html#STR_DENY">STR_DENY</A></CODE></TD>
+<TD ALIGN="right"><CODE>"No"</CODE></TD>
+</TR>
+</FONT></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<P>
+
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left" COLSPAN="3">javax.microedition.lcdui.<A HREF="javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.Choice.EXCLUSIVE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/Choice.html#EXCLUSIVE">EXCLUSIVE</A></CODE></TD>
+<TD ALIGN="right"><CODE>1</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.Choice.IMPLICIT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/Choice.html#IMPLICIT">IMPLICIT</A></CODE></TD>
+<TD ALIGN="right"><CODE>3</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.Choice.MULTIPLE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/Choice.html#MULTIPLE">MULTIPLE</A></CODE></TD>
+<TD ALIGN="right"><CODE>2</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.Choice.POPUP"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/Choice.html#POPUP">POPUP</A></CODE></TD>
+<TD ALIGN="right"><CODE>4</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.Choice.TEXT_WRAP_DEFAULT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/Choice.html#TEXT_WRAP_DEFAULT">TEXT_WRAP_DEFAULT</A></CODE></TD>
+<TD ALIGN="right"><CODE>0</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.Choice.TEXT_WRAP_OFF"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/Choice.html#TEXT_WRAP_OFF">TEXT_WRAP_OFF</A></CODE></TD>
+<TD ALIGN="right"><CODE>2</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.Choice.TEXT_WRAP_ON"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/Choice.html#TEXT_WRAP_ON">TEXT_WRAP_ON</A></CODE></TD>
+<TD ALIGN="right"><CODE>1</CODE></TD>
+</TR>
+</FONT></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<P>
+
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left" COLSPAN="3">javax.microedition.lcdui.<A HREF="javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.Command.BACK"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/Command.html#BACK">BACK</A></CODE></TD>
+<TD ALIGN="right"><CODE>2</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.Command.CANCEL"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/Command.html#CANCEL">CANCEL</A></CODE></TD>
+<TD ALIGN="right"><CODE>3</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.Command.EXIT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/Command.html#EXIT">EXIT</A></CODE></TD>
+<TD ALIGN="right"><CODE>7</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.Command.HELP"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/Command.html#HELP">HELP</A></CODE></TD>
+<TD ALIGN="right"><CODE>5</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.Command.ITEM"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/Command.html#ITEM">ITEM</A></CODE></TD>
+<TD ALIGN="right"><CODE>8</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.Command.OK"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/Command.html#OK">OK</A></CODE></TD>
+<TD ALIGN="right"><CODE>4</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.Command.SCREEN"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/Command.html#SCREEN">SCREEN</A></CODE></TD>
+<TD ALIGN="right"><CODE>1</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.Command.STOP"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/Command.html#STOP">STOP</A></CODE></TD>
+<TD ALIGN="right"><CODE>6</CODE></TD>
+</TR>
+</FONT></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<P>
+
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left" COLSPAN="3">javax.microedition.lcdui.<A HREF="javax/microedition/lcdui/Display.html" title="class in javax.microedition.lcdui">Display</A></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.Display.CHAR_HEIGHT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/Display.html#CHAR_HEIGHT">CHAR_HEIGHT</A></CODE></TD>
+<TD ALIGN="right"><CODE>8</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.Display.CHAR_WIDTH"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/Display.html#CHAR_WIDTH">CHAR_WIDTH</A></CODE></TD>
+<TD ALIGN="right"><CODE>6</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.Display.SCREEN_CHAR_DEPTH"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/Display.html#SCREEN_CHAR_DEPTH">SCREEN_CHAR_DEPTH</A></CODE></TD>
+<TD ALIGN="right"><CODE>8</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.Display.SCREEN_CHAR_WIDTH"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/Display.html#SCREEN_CHAR_WIDTH">SCREEN_CHAR_WIDTH</A></CODE></TD>
+<TD ALIGN="right"><CODE>16</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.Display.SCREEN_HEIGHT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/Display.html#SCREEN_HEIGHT">SCREEN_HEIGHT</A></CODE></TD>
+<TD ALIGN="right"><CODE>64</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.Display.SCREEN_WIDTH"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/Display.html#SCREEN_WIDTH">SCREEN_WIDTH</A></CODE></TD>
+<TD ALIGN="right"><CODE>100</CODE></TD>
+</TR>
+</FONT></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<P>
+
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left" COLSPAN="3">javax.microedition.lcdui.<A HREF="javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.Displayable.KEY_BACK"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/Displayable.html#KEY_BACK">KEY_BACK</A></CODE></TD>
+<TD ALIGN="right"><CODE>40</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.Displayable.KEY_ENTER"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/Displayable.html#KEY_ENTER">KEY_ENTER</A></CODE></TD>
+<TD ALIGN="right"><CODE>38</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.Displayable.KEY_LEFT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/Displayable.html#KEY_LEFT">KEY_LEFT</A></CODE></TD>
+<TD ALIGN="right"><CODE>37</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.Displayable.KEY_RIGHT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/Displayable.html#KEY_RIGHT">KEY_RIGHT</A></CODE></TD>
+<TD ALIGN="right"><CODE>39</CODE></TD>
+</TR>
+</FONT></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<P>
+
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left" COLSPAN="3">javax.microedition.lcdui.<A HREF="javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<P>
<P>
+
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left" COLSPAN="3">javax.microedition.lcdui.<A HREF="javax/microedition/lcdui/TextField.html" title="class in javax.microedition.lcdui">TextField</A></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.TextField.ANY"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/TextField.html#ANY">ANY</A></CODE></TD>
+<TD ALIGN="right"><CODE>1</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.TextField.DECIMAL"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/TextField.html#DECIMAL">DECIMAL</A></CODE></TD>
+<TD ALIGN="right"><CODE>6</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.TextField.EMAILADDR"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/TextField.html#EMAILADDR">EMAILADDR</A></CODE></TD>
+<TD ALIGN="right"><CODE>2</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.TextField.INITIAL_CAPS_SENTENCE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/TextField.html#INITIAL_CAPS_SENTENCE">INITIAL_CAPS_SENTENCE</A></CODE></TD>
+<TD ALIGN="right"><CODE>1536</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.TextField.INITIAL_CAPS_WORD"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/TextField.html#INITIAL_CAPS_WORD">INITIAL_CAPS_WORD</A></CODE></TD>
+<TD ALIGN="right"><CODE>1280</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.TextField.NON_PREDICTIVE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/TextField.html#NON_PREDICTIVE">NON_PREDICTIVE</A></CODE></TD>
+<TD ALIGN="right"><CODE>1024</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.TextField.NUMERIC"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/TextField.html#NUMERIC">NUMERIC</A></CODE></TD>
+<TD ALIGN="right"><CODE>3</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.TextField.PASSWORD"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/TextField.html#PASSWORD">PASSWORD</A></CODE></TD>
+<TD ALIGN="right"><CODE>256</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.TextField.PHONENUMBER"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/TextField.html#PHONENUMBER">PHONENUMBER</A></CODE></TD>
+<TD ALIGN="right"><CODE>4</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.TextField.SENSITIVE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/TextField.html#SENSITIVE">SENSITIVE</A></CODE></TD>
+<TD ALIGN="right"><CODE>768</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.TextField.UNEDITABLE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/TextField.html#UNEDITABLE">UNEDITABLE</A></CODE></TD>
+<TD ALIGN="right"><CODE>512</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="javax.microedition.lcdui.TextField.URL"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="javax/microedition/lcdui/TextField.html#URL">URL</A></CODE></TD>
+<TD ALIGN="right"><CODE>5</CODE></TD>
+</TR>
+</FONT></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<P>
<A NAME="lejos.nxt"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left" COLSPAN="3">lejos.nxt.<A HREF="lejos/nxt/LCD.html" title="class in lejos.nxt">LCD</A></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="lejos.nxt.LCD.CELL_WIDTH"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="lejos/nxt/LCD.html#CELL_WIDTH">CELL_WIDTH</A></CODE></TD>
+<TD ALIGN="right"><CODE>6</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="lejos.nxt.LCD.DISPLAY_CHAR_DEPTH"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="lejos/nxt/LCD.html#DISPLAY_CHAR_DEPTH">DISPLAY_CHAR_DEPTH</A></CODE></TD>
+<TD ALIGN="right"><CODE>8</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="lejos.nxt.LCD.DISPLAY_CHAR_WIDTH"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="lejos/nxt/LCD.html#DISPLAY_CHAR_WIDTH">DISPLAY_CHAR_WIDTH</A></CODE></TD>
+<TD ALIGN="right"><CODE>16</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="lejos.nxt.LCD.DISPLAY_DEPTH"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="lejos/nxt/LCD.html#DISPLAY_DEPTH">DISPLAY_DEPTH</A></CODE></TD>
+<TD ALIGN="right"><CODE>8</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="lejos.nxt.LCD.DISPLAY_WIDTH"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="lejos/nxt/LCD.html#DISPLAY_WIDTH">DISPLAY_WIDTH</A></CODE></TD>
+<TD ALIGN="right"><CODE>100</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="lejos.nxt.LCD.FONT_WIDTH"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="lejos/nxt/LCD.html#FONT_WIDTH">FONT_WIDTH</A></CODE></TD>
+<TD ALIGN="right"><CODE>5</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="lejos.nxt.LCD.NOOF_CHARS"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="lejos/nxt/LCD.html#NOOF_CHARS">NOOF_CHARS</A></CODE></TD>
+<TD ALIGN="right"><CODE>128</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="lejos.nxt.LCD.SCREEN_HEIGHT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="lejos/nxt/LCD.html#SCREEN_HEIGHT">SCREEN_HEIGHT</A></CODE></TD>
+<TD ALIGN="right"><CODE>64</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="lejos.nxt.LCD.SCREEN_SCALE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="lejos/nxt/LCD.html#SCREEN_SCALE">SCREEN_SCALE</A></CODE></TD>
+<TD ALIGN="right"><CODE>4</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="lejos.nxt.LCD.SCREEN_WIDTH"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="lejos/nxt/LCD.html#SCREEN_WIDTH">SCREEN_WIDTH</A></CODE></TD>
+<TD ALIGN="right"><CODE>100</CODE></TD>
+</TR>
+</FONT></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<P>
+
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left" COLSPAN="3">lejos.nxt.<A HREF="lejos/nxt/Poll.html" title="class in lejos.nxt">Poll</A></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right"><CODE>19</CODE></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="lejos.nxt.comm.Bluetooth.MSG_DISCOVERABLE_ACK"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public static final int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="lejos/nxt/comm/Bluetooth.html#MSG_DISCOVERABLE_ACK">MSG_DISCOVERABLE_ACK</A></CODE></TD>
-<TD ALIGN="right"><CODE>32</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
<A NAME="lejos.nxt.comm.Bluetooth.MSG_DUMP_LIST"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
<CODE>public static final int</CODE></FONT></TD>
<TD ALIGN="left"><CODE><A HREF="lejos/nxt/comm/Bluetooth.html#MSG_DUMP_LIST">MSG_DUMP_LIST</A></CODE></TD>
<TD ALIGN="right"><CODE>28</CODE></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="lejos.nxt.comm.Bluetooth.MSG_SET_DISCOVERABLE_ACK"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final int</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="lejos/nxt/comm/Bluetooth.html#MSG_SET_DISCOVERABLE_ACK">MSG_SET_DISCOVERABLE_ACK</A></CODE></TD>
+<TD ALIGN="right"><CODE>32</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
<A NAME="lejos.nxt.comm.Bluetooth.MSG_SET_FACTORY_SETTINGS"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
<CODE>public static final int</CODE></FONT></TD>
<TD ALIGN="left"><CODE><A HREF="lejos/nxt/comm/Bluetooth.html#MSG_SET_FACTORY_SETTINGS">MSG_SET_FACTORY_SETTINGS</A></CODE></TD>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
Deprecated List (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
API Help (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
Index (leJOS NXT API documentation)
</TITLE>
<DT><A HREF="./lejos/util/AbstractRecyclable.html" title="class in lejos.util"><B>AbstractRecyclable</B></A> - Class in <A HREF="./lejos/util/package-summary.html">lejos.util</A><DD>Represents a recyclable object.<DT><A HREF="./lejos/util/AbstractRecyclable.html#AbstractRecyclable()"><B>AbstractRecyclable()</B></A> -
Constructor for class lejos.util.<A HREF="./lejos/util/AbstractRecyclable.html" title="class in lejos.util">AbstractRecyclable</A>
<DD>
+<DT><A HREF="./NXTServerSocket.html#accept()"><B>accept()</B></A> -
+Method in class <A HREF="./NXTServerSocket.html" title="class in <Unnamed>">NXTServerSocket</A>
+<DD>Waits untill there is a socket connection available.
<DT><A HREF="./java/lang/Math.html#acos(double)"><B>acos(double)</B></A> -
Static method in class java.lang.<A HREF="./java/lang/Math.html" title="class in java.lang">Math</A>
<DD>Arc cosine function.
<DT><A HREF="./lejos/subsumption/ActivityBase.html" title="class in lejos.subsumption"><B>ActivityBase</B></A> - Class in <A HREF="./lejos/subsumption/package-summary.html">lejos.subsumption</A><DD>Useful base class.<DT><A HREF="./lejos/subsumption/ActivityBase.html#ActivityBase()"><B>ActivityBase()</B></A> -
Constructor for class lejos.subsumption.<A HREF="./lejos/subsumption/ActivityBase.html" title="class in lejos.subsumption">ActivityBase</A>
<DD>Set this thread to be a daemon thread.
+<DT><A HREF="./java/util/ArrayList.html#add(int, java.lang.Object)"><B>add(int, Object)</B></A> -
+Method in class java.util.<A HREF="./java/util/ArrayList.html" title="class in java.util">ArrayList</A>
+<DD>
+<DT><A HREF="./java/util/ArrayList.html#add(java.lang.Object)"><B>add(Object)</B></A> -
+Method in class java.util.<A HREF="./java/util/ArrayList.html" title="class in java.util">ArrayList</A>
+<DD>
+<DT><A HREF="./java/util/ArrayList.html#addAll(java.lang.Object[])"><B>addAll(Object[])</B></A> -
+Method in class java.util.<A HREF="./java/util/ArrayList.html" title="class in java.util">ArrayList</A>
+<DD>
+<DT><A HREF="./java/util/ArrayList.html#addAll(int, java.lang.Object[])"><B>addAll(int, Object[])</B></A> -
+Method in class java.util.<A HREF="./java/util/ArrayList.html" title="class in java.util">ArrayList</A>
+<DD>
<DT><A HREF="./lejos/nxt/Button.html#addButtonListener(lejos.nxt.ButtonListener)"><B>addButtonListener(ButtonListener)</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/Button.html" title="class in lejos.nxt">Button</A>
<DD>Adds a listener of button events.
+<DT><A HREF="./javax/microedition/lcdui/Displayable.html#addCommand(javax.microedition.lcdui.Command)"><B>addCommand(Command)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Item.html#addCommand(javax.microedition.lcdui.Command)"><B>addCommand(Command)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Spacer.html#addCommand(javax.microedition.lcdui.Command)"><B>addCommand(Command)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Spacer.html" title="class in javax.microedition.lcdui">Spacer</A>
+<DD>
+<DT><A HREF="./lejos/nxt/comm/Bluetooth.html#addDevice(lejos.nxt.comm.BTRemoteDevice)"><B>addDevice(BTRemoteDevice)</B></A> -
+Static method in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/Bluetooth.html" title="class in lejos.nxt.comm">Bluetooth</A>
+<DD>Add device to known devices
<DT><A HREF="./java/util/Vector.html#addElement(java.lang.Object)"><B>addElement(Object)</B></A> -
Method in class java.util.<A HREF="./java/util/Vector.html" title="class in java.util">Vector</A>
<DD>
<DT><A HREF="./lejos/nxt/SensorPort.html#addSensorPortListener(lejos.nxt.SensorPortListener)"><B>addSensorPortListener(SensorPortListener)</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/SensorPort.html" title="class in lejos.nxt">SensorPort</A>
<DD>Adds a port listener.
+<DT><A HREF="./javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui"><B>Alert</B></A> - Class in <A HREF="./javax/microedition/lcdui/package-summary.html">javax.microedition.lcdui</A><DD> <DT><A HREF="./javax/microedition/lcdui/Alert.html#Alert(java.lang.String)"><B>Alert(String)</B></A> -
+Constructor for class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui">Alert</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Alert.html#Alert(java.lang.String, java.lang.String, javax.microedition.lcdui.Image, int)"><B>Alert(String, String, Image, int)</B></A> -
+Constructor for class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui">Alert</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Alert.html#ALERT_TYPE_ALARM"><B>ALERT_TYPE_ALARM</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui">Alert</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Alert.html#ALERT_TYPE_CONFIRMATION"><B>ALERT_TYPE_CONFIRMATION</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui">Alert</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Alert.html#ALERT_TYPE_ERROR"><B>ALERT_TYPE_ERROR</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui">Alert</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Alert.html#ALERT_TYPE_INFO"><B>ALERT_TYPE_INFO</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui">Alert</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Alert.html#ALERT_TYPE_WARNING"><B>ALERT_TYPE_WARNING</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui">Alert</A>
+<DD>
<DT><A HREF="./lejos/nxt/Poll.html#ALL_BUTTONS"><B>ALL_BUTTONS</B></A> -
Static variable in class lejos.nxt.<A HREF="./lejos/nxt/Poll.html" title="class in lejos.nxt">Poll</A>
<DD>
<DT><A HREF="./lejos/navigation/TachoNavigator.html#angleTo(float, float)"><B>angleTo(float, float)</B></A> -
Method in class lejos.navigation.<A HREF="./lejos/navigation/TachoNavigator.html" title="class in lejos.navigation">TachoNavigator</A>
<DD>returns the direction angle (degrees) to point with coordinates (x,y)
+<DT><A HREF="./javax/microedition/lcdui/TextField.html#ANY"><B>ANY</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/TextField.html" title="class in javax.microedition.lcdui">TextField</A>
+<DD>
<DT><A HREF="./java/lang/StringBuffer.html#append(java.lang.String)"><B>append(String)</B></A> -
Method in class java.lang.<A HREF="./java/lang/StringBuffer.html" title="class in java.lang">StringBuffer</A>
<DD>
<DT><A HREF="./java/lang/StringBuffer.html#append(double)"><B>append(double)</B></A> -
Method in class java.lang.<A HREF="./java/lang/StringBuffer.html" title="class in java.lang">StringBuffer</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/Choice.html#append(java.lang.String, javax.microedition.lcdui.Image)"><B>append(String, Image)</B></A> -
+Method in interface javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/ChoiceGroup.html#append(java.lang.String, javax.microedition.lcdui.Image)"><B>append(String, Image)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/ChoiceGroup.html" title="class in javax.microedition.lcdui">ChoiceGroup</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Form.html#append(javax.microedition.lcdui.Image)"><B>append(Image)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Form.html" title="class in javax.microedition.lcdui">Form</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Form.html#append(javax.microedition.lcdui.Item)"><B>append(Item)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Form.html" title="class in javax.microedition.lcdui">Form</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Form.html#append(java.lang.String)"><B>append(String)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Form.html" title="class in javax.microedition.lcdui">Form</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/List.html#append(java.lang.String, javax.microedition.lcdui.Image)"><B>append(String, Image)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/List.html" title="class in javax.microedition.lcdui">List</A>
+<DD>
<DT><A HREF="./lejos/subsumption/Arbitrator.html" title="class in lejos.subsumption"><B>Arbitrator</B></A> - Class in <A HREF="./lejos/subsumption/package-summary.html">lejos.subsumption</A><DD>Arbitrator controls which behavior should currently be active in
a behavior control system.<DT><A HREF="./lejos/subsumption/Arbitrator.html#Arbitrator(lejos.subsumption.Behavior[])"><B>Arbitrator(Behavior[])</B></A> -
Constructor for class lejos.subsumption.<A HREF="./lejos/subsumption/Arbitrator.html" title="class in lejos.subsumption">Arbitrator</A>
<DT><A HREF="./java/lang/ArrayIndexOutOfBoundsException.html" title="class in java.lang"><B>ArrayIndexOutOfBoundsException</B></A> - Exception in <A HREF="./java/lang/package-summary.html">java.lang</A><DD> <DT><A HREF="./java/lang/ArrayIndexOutOfBoundsException.html#ArrayIndexOutOfBoundsException()"><B>ArrayIndexOutOfBoundsException()</B></A> -
Constructor for exception java.lang.<A HREF="./java/lang/ArrayIndexOutOfBoundsException.html" title="class in java.lang">ArrayIndexOutOfBoundsException</A>
<DD>
+<DT><A HREF="./java/util/ArrayList.html" title="class in java.util"><B>ArrayList</B></A> - Class in <A HREF="./java/util/package-summary.html">java.util</A><DD> <DT><A HREF="./java/util/ArrayList.html#ArrayList(int)"><B>ArrayList(int)</B></A> -
+Constructor for class java.util.<A HREF="./java/util/ArrayList.html" title="class in java.util">ArrayList</A>
+<DD>
+<DT><A HREF="./java/util/ArrayList.html#ArrayList(java.lang.Object[])"><B>ArrayList(Object[])</B></A> -
+Constructor for class java.util.<A HREF="./java/util/ArrayList.html" title="class in java.util">ArrayList</A>
+<DD>
+<DT><A HREF="./java/util/ArrayList.html#ArrayList()"><B>ArrayList()</B></A> -
+Constructor for class java.util.<A HREF="./java/util/ArrayList.html" title="class in java.util">ArrayList</A>
+<DD>
<DT><A HREF="./lejos/util/ArrayRecycler.html" title="class in lejos.util"><B>ArrayRecycler</B></A> - Class in <A HREF="./lejos/util/package-summary.html">lejos.util</A><DD>An array recycler for Object arrays.<DT><A HREF="./lejos/util/ArrayRecycler.html#ArrayRecycler()"><B>ArrayRecycler()</B></A> -
Constructor for class lejos.util.<A HREF="./lejos/util/ArrayRecycler.html" title="class in lejos.util">ArrayRecycler</A>
<DD>Constructs a recycler.
<DT><A HREF="./lejos/nxt/MotorPort.html#B"><B>B</B></A> -
Static variable in class lejos.nxt.<A HREF="./lejos/nxt/MotorPort.html" title="class in lejos.nxt">MotorPort</A>
<DD>MotorPort B.
+<DT><A HREF="./javax/microedition/lcdui/Command.html#BACK"><B>BACK</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A>
+<DD>
<DT><A HREF="./lejos/navigation/Navigator.html#backward()"><B>backward()</B></A> -
Method in interface lejos.navigation.<A HREF="./lejos/navigation/Navigator.html" title="interface in lejos.navigation">Navigator</A>
<DD>Moves the NXT robot backward until stop() is called.
<DT><A HREF="./lejos/nxt/comm/Bluetooth.html#btReceive(byte[])"><B>btReceive(byte[])</B></A> -
Static method in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/Bluetooth.html" title="class in lejos.nxt.comm">Bluetooth</A>
<DD>Low-level method to receive BT replies or data
+<DT><A HREF="./lejos/nxt/comm/BTRemoteDevice.html" title="class in lejos.nxt.comm"><B>BTRemoteDevice</B></A> - Class in <A HREF="./lejos/nxt/comm/package-summary.html">lejos.nxt.comm</A><DD> <DT><A HREF="./lejos/nxt/comm/BTRemoteDevice.html#BTRemoteDevice(char[], int, byte[], byte[])"><B>BTRemoteDevice(char[], int, byte[], byte[])</B></A> -
+Constructor for class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/BTRemoteDevice.html" title="class in lejos.nxt.comm">BTRemoteDevice</A>
+<DD>
<DT><A HREF="./lejos/nxt/comm/Bluetooth.html#btSend(byte[], int)"><B>btSend(byte[], int)</B></A> -
Static method in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/Bluetooth.html" title="class in lejos.nxt.comm">Bluetooth</A>
<DD>Low-level method to send a BT command or data
<DT><A HREF="./lejos/nxt/LightSensor.html#calibrateLow()"><B>calibrateLow()</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/LightSensor.html" title="class in lejos.nxt">LightSensor</A>
<DD>call this method when the light sensor is reading the low value - used by readValue
+<DT><A HREF="./javax/microedition/lcdui/Displayable.html#callCommandListener()"><B>callCommandListener()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Form.html#callItemStateListener()"><B>callItemStateListener()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Form.html" title="class in javax.microedition.lcdui">Form</A>
+<DD>
<DT><A HREF="./lejos/nxt/Button.html#callListeners()"><B>callListeners()</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/Button.html" title="class in lejos.nxt">Button</A>
<DD>Call Button Listeners.
<DT><A HREF="./lejos/nxt/SensorPort.html#callListeners()"><B>callListeners()</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/SensorPort.html" title="class in lejos.nxt">SensorPort</A>
<DD>Call Port Listeners.
+<DT><A HREF="./javax/microedition/lcdui/Command.html#CANCEL"><B>CANCEL</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A>
+<DD>
<DT><A HREF="./java/util/Vector.html#capacity()"><B>capacity()</B></A> -
Method in class java.util.<A HREF="./java/util/Vector.html" title="class in java.util">Vector</A>
<DD>
+<DT><A HREF="./java/util/ArrayList.html#capacityIncrement"><B>capacityIncrement</B></A> -
+Variable in class java.util.<A HREF="./java/util/ArrayList.html" title="class in java.util">ArrayList</A>
+<DD>
<DT><A HREF="./java/util/Vector.html#capacityIncrement"><B>capacityIncrement</B></A> -
Variable in class java.util.<A HREF="./java/util/Vector.html" title="class in java.util">Vector</A>
<DD>
Static method in class java.lang.<A HREF="./java/lang/Math.html" title="class in java.lang">Math</A>
<DD>Returns the smallest (closest to negative infinity) double value that is not
less than the argument and is equal to a mathematical integer.
+<DT><A HREF="./lejos/nxt/LCD.html#CELL_WIDTH"><B>CELL_WIDTH</B></A> -
+Static variable in class lejos.nxt.<A HREF="./lejos/nxt/LCD.html" title="class in lejos.nxt">LCD</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Display.html#CHAR_HEIGHT"><B>CHAR_HEIGHT</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Display.html" title="class in javax.microedition.lcdui">Display</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Display.html#CHAR_WIDTH"><B>CHAR_WIDTH</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Display.html" title="class in javax.microedition.lcdui">Display</A>
+<DD>
<DT><A HREF="./java/lang/String.html#charAt(int)"><B>charAt(int)</B></A> -
Method in class java.lang.<A HREF="./java/lang/String.html" title="class in java.lang">String</A>
<DD>Return the character at the given index
<DT><A HREF="./java/lang/StringBuffer.html#charAt(int)"><B>charAt(int)</B></A> -
Method in class java.lang.<A HREF="./java/lang/StringBuffer.html" title="class in java.lang">StringBuffer</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui"><B>Choice</B></A> - Interface in <A HREF="./javax/microedition/lcdui/package-summary.html">javax.microedition.lcdui</A><DD> <DT><A HREF="./javax/microedition/lcdui/ChoiceGroup.html" title="class in javax.microedition.lcdui"><B>ChoiceGroup</B></A> - Class in <A HREF="./javax/microedition/lcdui/package-summary.html">javax.microedition.lcdui</A><DD> <DT><A HREF="./javax/microedition/lcdui/ChoiceGroup.html#ChoiceGroup(java.lang.String, int)"><B>ChoiceGroup(String, int)</B></A> -
+Constructor for class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/ChoiceGroup.html" title="class in javax.microedition.lcdui">ChoiceGroup</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/ChoiceGroup.html#ChoiceGroup(java.lang.String, int, java.lang.String[], javax.microedition.lcdui.Image[])"><B>ChoiceGroup(String, int, String[], Image[])</B></A> -
+Constructor for class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/ChoiceGroup.html" title="class in javax.microedition.lcdui">ChoiceGroup</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/ChoiceGroup.html#choiceItems"><B>choiceItems</B></A> -
+Variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/ChoiceGroup.html" title="class in javax.microedition.lcdui">ChoiceGroup</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/ChoiceGroup.html#choiceType"><B>choiceType</B></A> -
+Variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/ChoiceGroup.html" title="class in javax.microedition.lcdui">ChoiceGroup</A>
+<DD>
<DT><A HREF="./java/lang/Class.html" title="class in java.lang"><B>Class</B></A> - Class in <A HREF="./java/lang/package-summary.html">java.lang</A><DD>Not functional.<DT><A HREF="./java/lang/Class.html#Class()"><B>Class()</B></A> -
Constructor for class java.lang.<A HREF="./java/lang/Class.html" title="class in java.lang">Class</A>
<DD>
<DT><A HREF="./java/lang/ClassNotFoundException.html" title="class in java.lang"><B>ClassNotFoundException</B></A> - Exception in <A HREF="./java/lang/package-summary.html">java.lang</A><DD> <DT><A HREF="./java/lang/ClassNotFoundException.html#ClassNotFoundException()"><B>ClassNotFoundException()</B></A> -
Constructor for exception java.lang.<A HREF="./java/lang/ClassNotFoundException.html" title="class in java.lang">ClassNotFoundException</A>
<DD>
+<DT><A HREF="./java/util/ArrayList.html#clear()"><B>clear()</B></A> -
+Method in class java.util.<A HREF="./java/util/ArrayList.html" title="class in java.util">ArrayList</A>
+<DD>
<DT><A HREF="./java/util/BitSet.html#clear(int)"><B>clear(int)</B></A> -
Method in class java.util.<A HREF="./java/util/BitSet.html" title="class in java.util">BitSet</A>
<DD>
<DT><A HREF="./lejos/nxt/LCD.html#clear()"><B>clear()</B></A> -
Static method in class lejos.nxt.<A HREF="./lejos/nxt/LCD.html" title="class in lejos.nxt">LCD</A>
<DD>Clear the display.
-<DT><A HREF="./java/lang/Cloneable.html" title="interface in java.lang"><B>Cloneable</B></A> - Interface in <A HREF="./java/lang/package-summary.html">java.lang</A><DD>This interface is not functional.<DT><A HREF="./java/io/DataOutputStream.html#close()"><B>close()</B></A> -
+<DT><A HREF="./lejos/nxt/LCD.html#clearDisplay()"><B>clearDisplay()</B></A> -
+Static method in class lejos.nxt.<A HREF="./lejos/nxt/LCD.html" title="class in lejos.nxt">LCD</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Displayable.html#clearPaintRequest()"><B>clearPaintRequest()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A>
+<DD>
+<DT><A HREF="./java/lang/Cloneable.html" title="interface in java.lang"><B>Cloneable</B></A> - Interface in <A HREF="./java/lang/package-summary.html">java.lang</A><DD>This interface is not functional.<DT><A HREF="./java/io/DataInputStream.html#close()"><B>close()</B></A> -
+Method in class java.io.<A HREF="./java/io/DataInputStream.html" title="class in java.io">DataInputStream</A>
+<DD>
+<DT><A HREF="./java/io/DataOutputStream.html#close()"><B>close()</B></A> -
Method in class java.io.<A HREF="./java/io/DataOutputStream.html" title="class in java.io">DataOutputStream</A>
<DD>Closes this data output stream.
<DT><A HREF="./java/io/FileOutputStream.html#close()"><B>close()</B></A> -
<DT><A HREF="./lejos/nxt/comm/USBConnection.html#close()"><B>close()</B></A> -
Method in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/USBConnection.html" title="class in lejos.nxt.comm">USBConnection</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/Displayable.html#cmdListener"><B>cmdListener</B></A> -
+Variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Item.html#cmdListener"><B>cmdListener</B></A> -
+Variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A>
+<DD>
<DT><A HREF="./lejos/nxt/ColorSensor.html" title="class in lejos.nxt"><B>ColorSensor</B></A> - Class in <A HREF="./lejos/nxt/package-summary.html">lejos.nxt</A><DD>HiTechnic color sensor.<br>
www.hitechnic.com<DT><A HREF="./lejos/nxt/ColorSensor.html#ColorSensor(lejos.nxt.I2CPort)"><B>ColorSensor(I2CPort)</B></A> -
Constructor for class lejos.nxt.<A HREF="./lejos/nxt/ColorSensor.html" title="class in lejos.nxt">ColorSensor</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui"><B>Command</B></A> - Class in <A HREF="./javax/microedition/lcdui/package-summary.html">javax.microedition.lcdui</A><DD> <DT><A HREF="./javax/microedition/lcdui/Command.html#Command(int, int, int)"><B>Command(int, int, int)</B></A> -
+Constructor for class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Command.html#Command(int, java.lang.String, int, int)"><B>Command(int, String, int, int)</B></A> -
+Constructor for class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/CommandListener.html#commandAction(javax.microedition.lcdui.Command, javax.microedition.lcdui.Displayable)"><B>commandAction(Command, Displayable)</B></A> -
+Method in interface javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/CommandListener.html" title="interface in javax.microedition.lcdui">CommandListener</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Form.html#commandAction(javax.microedition.lcdui.Command, javax.microedition.lcdui.Displayable)"><B>commandAction(Command, Displayable)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Form.html" title="class in javax.microedition.lcdui">Form</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/ItemCommandListener.html#commandAction(javax.microedition.lcdui.Command, javax.microedition.lcdui.Item)"><B>commandAction(Command, Item)</B></A> -
+Method in interface javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/ItemCommandListener.html" title="interface in javax.microedition.lcdui">ItemCommandListener</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/CommandListener.html" title="interface in javax.microedition.lcdui"><B>CommandListener</B></A> - Interface in <A HREF="./javax/microedition/lcdui/package-summary.html">javax.microedition.lcdui</A><DD> <DT><A HREF="./javax/microedition/lcdui/Displayable.html#commands"><B>commands</B></A> -
+Variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Item.html#commands"><B>commands</B></A> -
+Variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A>
+<DD>
<DT><A HREF="./lejos/navigation/CompassPilot.html#compass"><B>compass</B></A> -
Variable in class lejos.navigation.<A HREF="./lejos/navigation/CompassPilot.html" title="class in lejos.navigation">CompassPilot</A>
<DD>
<DT><A HREF="./lejos/navigation/CompassNavigator.html#CompassNavigator(lejos.nxt.SensorPort, float, float, lejos.nxt.Motor, lejos.nxt.Motor, boolean)"><B>CompassNavigator(SensorPort, float, float, Motor, Motor, boolean)</B></A> -
Constructor for class lejos.navigation.<A HREF="./lejos/navigation/CompassNavigator.html" title="class in lejos.navigation">CompassNavigator</A>
<DD>
+<DT><A HREF="./lejos/navigation/CompassNavigator.html#CompassNavigator(lejos.nxt.CompassSensor, float, float, lejos.nxt.Motor, lejos.nxt.Motor, boolean)"><B>CompassNavigator(CompassSensor, float, float, Motor, Motor, boolean)</B></A> -
+Constructor for class lejos.navigation.<A HREF="./lejos/navigation/CompassNavigator.html" title="class in lejos.navigation">CompassNavigator</A>
+<DD>
<DT><A HREF="./lejos/navigation/CompassNavigator.html#CompassNavigator(lejos.navigation.CompassPilot)"><B>CompassNavigator(CompassPilot)</B></A> -
Constructor for class lejos.navigation.<A HREF="./lejos/navigation/CompassNavigator.html" title="class in lejos.navigation">CompassNavigator</A>
<DD>To use this constructor, you must first create a compass pilot.
-<DT><A HREF="./lejos/navigation/CompassNavigator.html#compassPilot"><B>compassPilot</B></A> -
-Variable in class lejos.navigation.<A HREF="./lejos/navigation/CompassNavigator.html" title="class in lejos.navigation">CompassNavigator</A>
-<DD>
<DT><A HREF="./lejos/navigation/CompassPilot.html" title="class in lejos.navigation"><B>CompassPilot</B></A> - Class in <A HREF="./lejos/navigation/package-summary.html">lejos.navigation</A><DD> <DT><A HREF="./lejos/navigation/CompassPilot.html#CompassPilot(lejos.nxt.SensorPort, float, float, lejos.nxt.Motor, lejos.nxt.Motor)"><B>CompassPilot(SensorPort, float, float, Motor, Motor)</B></A> -
Constructor for class lejos.navigation.<A HREF="./lejos/navigation/CompassPilot.html" title="class in lejos.navigation">CompassPilot</A>
<DD>Allocates a CompasPilot object, and sets the physical parameters of the NXT robot.
<DT><A HREF="./lejos/navigation/CompassPilot.html#CompassPilot(lejos.nxt.SensorPort, float, float, lejos.nxt.Motor, lejos.nxt.Motor, boolean)"><B>CompassPilot(SensorPort, float, float, Motor, Motor, boolean)</B></A> -
Constructor for class lejos.navigation.<A HREF="./lejos/navigation/CompassPilot.html" title="class in lejos.navigation">CompassPilot</A>
<DD>Allocates a CompasPilot object, and sets the physical parameters of the NXT robot.
+<DT><A HREF="./lejos/navigation/CompassPilot.html#CompassPilot(lejos.nxt.CompassSensor, float, float, lejos.nxt.Motor, lejos.nxt.Motor)"><B>CompassPilot(CompassSensor, float, float, Motor, Motor)</B></A> -
+Constructor for class lejos.navigation.<A HREF="./lejos/navigation/CompassPilot.html" title="class in lejos.navigation">CompassPilot</A>
+<DD>Allocates a CompasPilot object, and sets the physical parameters of the NXT robot.
+<DT><A HREF="./lejos/navigation/CompassPilot.html#CompassPilot(lejos.nxt.CompassSensor, float, float, lejos.nxt.Motor, lejos.nxt.Motor, boolean)"><B>CompassPilot(CompassSensor, float, float, Motor, Motor, boolean)</B></A> -
+Constructor for class lejos.navigation.<A HREF="./lejos/navigation/CompassPilot.html" title="class in lejos.navigation">CompassPilot</A>
+<DD>Allocates a CompasPilot object, and sets the physical parameters of the NXT robot.
<DT><A HREF="./lejos/nxt/CompassSensor.html" title="class in lejos.nxt"><B>CompassSensor</B></A> - Class in <A HREF="./lejos/nxt/package-summary.html">lejos.nxt</A><DD>Abstraction for a HiTechnic or Mindsensors compass.<DT><A HREF="./lejos/nxt/CompassSensor.html#CompassSensor(lejos.nxt.I2CPort)"><B>CompassSensor(I2CPort)</B></A> -
Constructor for class lejos.nxt.<A HREF="./lejos/nxt/CompassSensor.html" title="class in lejos.nxt">CompassSensor</A>
<DD>
+<DT><A HREF="./lejos/nxt/comm/Bluetooth.html#connect(lejos.nxt.comm.BTRemoteDevice)"><B>connect(BTRemoteDevice)</B></A> -
+Static method in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/Bluetooth.html" title="class in lejos.nxt.comm">Bluetooth</A>
+<DD>Connects to a remote device
+<DT><A HREF="./lejos/nxt/comm/Bluetooth.html#connect(byte[])"><B>connect(byte[])</B></A> -
+Static method in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/Bluetooth.html" title="class in lejos.nxt.comm">Bluetooth</A>
+<DD>Connects to a Device by it's Byte-Device-Address Array
+<DT><A HREF="./java/util/ArrayList.html#contains(java.lang.Object)"><B>contains(Object)</B></A> -
+Method in class java.util.<A HREF="./java/util/ArrayList.html" title="class in java.util">ArrayList</A>
+<DD>
<DT><A HREF="./lejos/nxt/MotorPort.html#controlMotor(int, int)"><B>controlMotor(int, int)</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/MotorPort.html" title="class in lejos.nxt">MotorPort</A>
<DD>Low-level method to control a motor.
<DT><A HREF="./java/io/DataInputStream.html" title="class in java.io"><B>DataInputStream</B></A> - Class in <A HREF="./java/io/package-summary.html">java.io</A><DD> <DT><A HREF="./java/io/DataInputStream.html#DataInputStream(java.io.InputStream)"><B>DataInputStream(InputStream)</B></A> -
Constructor for class java.io.<A HREF="./java/io/DataInputStream.html" title="class in java.io">DataInputStream</A>
<DD>
+<DT><A HREF="./lejos/nxt/Datalogger.html" title="class in lejos.nxt"><B>Datalogger</B></A> - Class in <A HREF="./lejos/nxt/package-summary.html">lejos.nxt</A><DD>Datalogger class; stores float values then then transmits via bluetooth or usb<br>
+ works with DataViewer in pctools.<DT><A HREF="./lejos/nxt/Datalogger.html#Datalogger()"><B>Datalogger()</B></A> -
+Constructor for class lejos.nxt.<A HREF="./lejos/nxt/Datalogger.html" title="class in lejos.nxt">Datalogger</A>
+<DD>
<DT><A HREF="./java/io/DataOutputStream.html" title="class in java.io"><B>DataOutputStream</B></A> - Class in <A HREF="./java/io/package-summary.html">java.io</A><DD> <DT><A HREF="./java/io/DataOutputStream.html#DataOutputStream(java.io.OutputStream)"><B>DataOutputStream(OutputStream)</B></A> -
Constructor for class java.io.<A HREF="./java/io/DataOutputStream.html" title="class in java.io">DataOutputStream</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/TextField.html#DECIMAL"><B>DECIMAL</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/TextField.html" title="class in javax.microedition.lcdui">TextField</A>
+<DD>
<DT><A HREF="./java/io/File.html#defrag()"><B>defrag()</B></A> -
Static method in class java.io.<A HREF="./java/io/File.html" title="class in java.io">File</A>
<DD>assumptions: the files[] array has no nulls, and is in increasing order by page_location
<DT><A HREF="./java/lang/StringBuffer.html#delete(int, int)"><B>delete(int, int)</B></A> -
Method in class java.lang.<A HREF="./java/lang/StringBuffer.html" title="class in java.lang">StringBuffer</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/Choice.html#delete(int)"><B>delete(int)</B></A> -
+Method in interface javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/ChoiceGroup.html#delete(int)"><B>delete(int)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/ChoiceGroup.html" title="class in javax.microedition.lcdui">ChoiceGroup</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Form.html#delete(int)"><B>delete(int)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Form.html" title="class in javax.microedition.lcdui">Form</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/List.html#delete(int)"><B>delete(int)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/List.html" title="class in javax.microedition.lcdui">List</A>
+<DD>
<DT><A HREF="./lejos/nxt/comm/LCP.html#DELETE"><B>DELETE</B></A> -
Static variable in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/LCP.html" title="class in lejos.nxt.comm">LCP</A>
<DD>
<DT><A HREF="./lejos/nxt/comm/LCP.html#DELETE_USER_FLASH"><B>DELETE_USER_FLASH</B></A> -
Static variable in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/LCP.html" title="class in lejos.nxt.comm">LCP</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/Choice.html#deleteAll()"><B>deleteAll()</B></A> -
+Method in interface javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/ChoiceGroup.html#deleteAll()"><B>deleteAll()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/ChoiceGroup.html" title="class in javax.microedition.lcdui">ChoiceGroup</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Form.html#deleteAll()"><B>deleteAll()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Form.html" title="class in javax.microedition.lcdui">Form</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/List.html#deleteAll()"><B>deleteAll()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/List.html" title="class in javax.microedition.lcdui">List</A>
+<DD>
<DT><A HREF="./lejos/nxt/comm/LCP.html#DIRECT_COMMAND_NOREPLY"><B>DIRECT_COMMAND_NOREPLY</B></A> -
Static variable in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/LCP.html" title="class in lejos.nxt.comm">LCP</A>
<DD>
<DT><A HREF="./lejos/nxt/comm/LCP.html#DIRECT_COMMAND_REPLY"><B>DIRECT_COMMAND_REPLY</B></A> -
Static variable in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/LCP.html" title="class in lejos.nxt.comm">LCP</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/Display.html" title="class in javax.microedition.lcdui"><B>Display</B></A> - Class in <A HREF="./javax/microedition/lcdui/package-summary.html">javax.microedition.lcdui</A><DD> <DT><A HREF="./lejos/nxt/LCD.html#DISPLAY_CHAR_DEPTH"><B>DISPLAY_CHAR_DEPTH</B></A> -
+Static variable in class lejos.nxt.<A HREF="./lejos/nxt/LCD.html" title="class in lejos.nxt">LCD</A>
+<DD>
+<DT><A HREF="./lejos/nxt/LCD.html#DISPLAY_CHAR_WIDTH"><B>DISPLAY_CHAR_WIDTH</B></A> -
+Static variable in class lejos.nxt.<A HREF="./lejos/nxt/LCD.html" title="class in lejos.nxt">LCD</A>
+<DD>
+<DT><A HREF="./lejos/nxt/LCD.html#DISPLAY_DEPTH"><B>DISPLAY_DEPTH</B></A> -
+Static variable in class lejos.nxt.<A HREF="./lejos/nxt/LCD.html" title="class in lejos.nxt">LCD</A>
+<DD>
+<DT><A HREF="./lejos/nxt/LCD.html#DISPLAY_WIDTH"><B>DISPLAY_WIDTH</B></A> -
+Static variable in class lejos.nxt.<A HREF="./lejos/nxt/LCD.html" title="class in lejos.nxt">LCD</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui"><B>Displayable</B></A> - Class in <A HREF="./javax/microedition/lcdui/package-summary.html">javax.microedition.lcdui</A><DD> <DT><A HREF="./javax/microedition/lcdui/Displayable.html#Displayable()"><B>Displayable()</B></A> -
+Constructor for class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A>
+<DD>
<DT><A HREF="./lejos/navigation/Navigator.html#distanceTo(float, float)"><B>distanceTo(float, float)</B></A> -
Method in interface lejos.navigation.<A HREF="./lejos/navigation/Navigator.html" title="interface in lejos.navigation">Navigator</A>
<DD>returns the distance from robot to the point with coordinates (x,y) .
<DT><A HREF="./javax/microedition/lcdui/Graphics.html#drawArc(int, int, int, int, int, int)"><B>drawArc(int, int, int, int, int, int)</B></A> -
Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/Graphics.html#drawChar(char, int, int, boolean)"><B>drawChar(char, int, int, boolean)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A>
+<DD>
+<DT><A HREF="./lejos/nxt/LCD.html#drawChar(char, int, int, boolean)"><B>drawChar(char, int, int, boolean)</B></A> -
+Static method in class lejos.nxt.<A HREF="./lejos/nxt/LCD.html" title="class in lejos.nxt">LCD</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Graphics.html#drawImage(javax.microedition.lcdui.Image, int, int, boolean)"><B>drawImage(Image, int, int, boolean)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A>
+<DD>
<DT><A HREF="./lejos/nxt/LCD.html#drawInt(int, int, int)"><B>drawInt(int, int, int)</B></A> -
Static method in class lejos.nxt.<A HREF="./lejos/nxt/LCD.html" title="class in lejos.nxt">LCD</A>
<DD>Display an int on the LCD at specified x,y co-ordinate.
<DT><A HREF="./javax/microedition/lcdui/Graphics.html#drawLine(int, int, int, int)"><B>drawLine(int, int, int, int)</B></A> -
Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A>
<DD>
+<DT><A HREF="./lejos/nxt/LCD.html#drawPixels(byte, int, int, boolean)"><B>drawPixels(byte, int, int, boolean)</B></A> -
+Static method in class lejos.nxt.<A HREF="./lejos/nxt/LCD.html" title="class in lejos.nxt">LCD</A>
+<DD>
<DT><A HREF="./javax/microedition/lcdui/Graphics.html#drawRect(int, int, int, int)"><B>drawRect(int, int, int, int)</B></A> -
Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A>
<DD>
<DT><A HREF="./javax/microedition/lcdui/Graphics.html#drawString(java.lang.String, int, int)"><B>drawString(String, int, int)</B></A> -
Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/Graphics.html#drawString(java.lang.String, int, int, boolean)"><B>drawString(String, int, int, boolean)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A>
+<DD>
+<DT><A HREF="./lejos/nxt/LCD.html#drawString(java.lang.String, int, int, boolean)"><B>drawString(String, int, int, boolean)</B></A> -
+Static method in class lejos.nxt.<A HREF="./lejos/nxt/LCD.html" title="class in lejos.nxt">LCD</A>
+<DD>
<DT><A HREF="./lejos/nxt/LCD.html#drawString(java.lang.String, int, int)"><B>drawString(String, int, int)</B></A> -
Static method in class lejos.nxt.<A HREF="./lejos/nxt/LCD.html" title="class in lejos.nxt">LCD</A>
<DD>Display a string on the LCD at specified x,y co-ordinate.
<DT><A HREF="./java/util/Vector.html#elementAt(int)"><B>elementAt(int)</B></A> -
Method in class java.util.<A HREF="./java/util/Vector.html" title="class in java.util">Vector</A>
<DD>
+<DT><A HREF="./java/util/ArrayList.html#elementCount"><B>elementCount</B></A> -
+Variable in class java.util.<A HREF="./java/util/ArrayList.html" title="class in java.util">ArrayList</A>
+<DD>
<DT><A HREF="./java/util/Vector.html#elementCount"><B>elementCount</B></A> -
Variable in class java.util.<A HREF="./java/util/Vector.html" title="class in java.util">Vector</A>
<DD>
+<DT><A HREF="./java/util/ArrayList.html#elementData"><B>elementData</B></A> -
+Variable in class java.util.<A HREF="./java/util/ArrayList.html" title="class in java.util">ArrayList</A>
+<DD>
<DT><A HREF="./java/util/Vector.html#elementData"><B>elementData</B></A> -
Variable in class java.util.<A HREF="./java/util/Vector.html" title="class in java.util">Vector</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/TextField.html#EMAILADDR"><B>EMAILADDR</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/TextField.html" title="class in javax.microedition.lcdui">TextField</A>
+<DD>
<DT><A HREF="./java/util/Queue.html#empty()"><B>empty()</B></A> -
Method in class java.util.<A HREF="./java/util/Queue.html" title="class in java.util">Queue</A>
<DD>is this Queue empty?
<DT><A HREF="./java/lang/Exception.html#Exception(java.lang.String)"><B>Exception(String)</B></A> -
Constructor for exception java.lang.<A HREF="./java/lang/Exception.html" title="class in java.lang">Exception</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/Choice.html#EXCLUSIVE"><B>EXCLUSIVE</B></A> -
+Static variable in interface javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A>
+<DD>
<DT><A HREF="./java/io/File.html#exec()"><B>exec()</B></A> -
Method in class java.io.<A HREF="./java/io/File.html" title="class in java.io">File</A>
<DD>If the file is a binary executable, begins running it.
<DT><A HREF="./java/lang/System.html#exit(int)"><B>exit(int)</B></A> -
Static method in class java.lang.<A HREF="./java/lang/System.html" title="class in java.lang">System</A>
<DD>Terminate the application.
+<DT><A HREF="./javax/microedition/lcdui/Command.html#EXIT"><B>EXIT</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A>
+<DD>
<DT><A HREF="./java/lang/Math.html#exp(double)"><B>exp(double)</B></A> -
Static method in class java.lang.<A HREF="./java/lang/Math.html" title="class in java.lang">Math</A>
<DD>Exponential function.
Method in class java.io.<A HREF="./java/io/OutputStream.html" title="class in java.io">OutputStream</A>
<DD>Flushes this output stream and forces any buffered output bytes
to be written out.
+<DT><A HREF="./javax/microedition/lcdui/Font.html" title="class in javax.microedition.lcdui"><B>Font</B></A> - Class in <A HREF="./javax/microedition/lcdui/package-summary.html">javax.microedition.lcdui</A><DD> <DT><A HREF="./javax/microedition/lcdui/Font.html#Font()"><B>Font()</B></A> -
+Constructor for class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Font.html" title="class in javax.microedition.lcdui">Font</A>
+<DD>
+<DT><A HREF="./lejos/nxt/LCD.html#FONT_WIDTH"><B>FONT_WIDTH</B></A> -
+Static variable in class lejos.nxt.<A HREF="./lejos/nxt/LCD.html" title="class in lejos.nxt">LCD</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Alert.html#FOREVER"><B>FOREVER</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui">Alert</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Form.html" title="class in javax.microedition.lcdui"><B>Form</B></A> - Class in <A HREF="./javax/microedition/lcdui/package-summary.html">javax.microedition.lcdui</A><DD> <DT><A HREF="./javax/microedition/lcdui/Form.html#Form(java.lang.String)"><B>Form(String)</B></A> -
+Constructor for class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Form.html" title="class in javax.microedition.lcdui">Form</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Form.html#Form(java.lang.String, javax.microedition.lcdui.Item[])"><B>Form(String, Item[])</B></A> -
+Constructor for class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Form.html" title="class in javax.microedition.lcdui">Form</A>
+<DD>
<DT><A HREF="./java/io/File.html#format()"><B>format()</B></A> -
Static method in class java.io.<A HREF="./java/io/File.html" title="class in java.io">File</A>
<DD>Essentially formats the file system by writing TABLE_ID characters to
<A NAME="_G_"><!-- --></A><H2>
<B>G</B></H2>
<DL>
+<DT><A HREF="./javax/microedition/lcdui/Gauge.html" title="class in javax.microedition.lcdui"><B>Gauge</B></A> - Class in <A HREF="./javax/microedition/lcdui/package-summary.html">javax.microedition.lcdui</A><DD> <DT><A HREF="./javax/microedition/lcdui/Gauge.html#Gauge(java.lang.String, boolean, int, int)"><B>Gauge(String, boolean, int, int)</B></A> -
+Constructor for class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Gauge.html" title="class in javax.microedition.lcdui">Gauge</A>
+<DD>
+<DT><A HREF="./java/util/ArrayList.html#get(int)"><B>get(int)</B></A> -
+Method in class java.util.<A HREF="./java/util/ArrayList.html" title="class in java.util">ArrayList</A>
+<DD>
<DT><A HREF="./java/util/BitSet.html#get(int)"><B>get(int)</B></A> -
Method in class java.util.<A HREF="./java/util/BitSet.html" title="class in java.util">BitSet</A>
<DD>
<DT><A HREF="./java/util/Hashtable.html#get(java.lang.Object)"><B>get(Object)</B></A> -
Method in class java.util.<A HREF="./java/util/Hashtable.html" title="class in java.util">Hashtable</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/Form.html#get(int)"><B>get(int)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Form.html" title="class in javax.microedition.lcdui">Form</A>
+<DD>
<DT><A HREF="./lejos/util/RecyclableArray.html#get(int)"><B>get(int)</B></A> -
Method in class lejos.util.<A HREF="./lejos/util/RecyclableArray.html" title="class in lejos.util">RecyclableArray</A>
<DD>
<DT><A HREF="./lejos/nxt/Motor.html#getActualSpeed()"><B>getActualSpeed()</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A>
<DD>returns actualSpeed degrees per second, calculated every 100 ms; negative value means motor is rotating backward
+<DT><A HREF="./lejos/nxt/comm/BTRemoteDevice.html#getAddressString()"><B>getAddressString()</B></A> -
+Method in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/BTRemoteDevice.html" title="class in lejos.nxt.comm">BTRemoteDevice</A>
+<DD>
<DT><A HREF="./lejos/navigation/CompassPilot.html#getAngle()"><B>getAngle()</B></A> -
Method in class lejos.navigation.<A HREF="./lejos/navigation/CompassPilot.html" title="class in lejos.navigation">CompassPilot</A>
<DD>Returns the compass angle in degrees, Cartesian (increasing counter clockwise)
<DD>returns the angle of rotation of the robot since last call to reset of tacho count;
<DT><A HREF="./lejos/navigation/TachoNavigator.html#getAngle()"><B>getAngle()</B></A> -
Method in class lejos.navigation.<A HREF="./lejos/navigation/TachoNavigator.html" title="class in lejos.navigation">TachoNavigator</A>
-<DD>Returns the current angle the NXT robot is facing.
+<DD>Returns the current angle the NXT robot is facing, relative to the +X axis direction; the +Y direction is 90 degrees.
+<DT><A HREF="./lejos/nxt/Motor.html#getBasePower()"><B>getBasePower()</B></A> -
+Method in class lejos.nxt.<A HREF="./lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A>
+<DD>
<DT><A HREF="./lejos/nxt/ColorSensor.html#getBlue()"><B>getBlue()</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/ColorSensor.html" title="class in lejos.nxt">ColorSensor</A>
<DD>Returns the blue saturation of the color.
+<DT><A HREF="./javax/microedition/lcdui/Graphics.html#getCenteredX(java.lang.String)"><B>getCenteredX(String)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A>
+<DD>
<DT><A HREF="./java/lang/StringUtils.html#getCharacters(java.lang.String)"><B>getCharacters(String)</B></A> -
Static method in class java.lang.<A HREF="./java/lang/StringUtils.html" title="class in java.lang">StringUtils</A>
<DD>Return the character array corresponding to the String without copying it.
<DT><A HREF="./lejos/nxt/ColorSensor.html#getColorNumber()"><B>getColorNumber()</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/ColorSensor.html" title="class in lejos.nxt">ColorSensor</A>
<DD>Returns the color index detected by the sensor.
+<DT><A HREF="./javax/microedition/lcdui/Command.html#getCommandId()"><B>getCommandId()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Command.html#getCommandType()"><B>getCommandType()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A>
+<DD>
+<DT><A HREF="./lejos/navigation/CompassPilot.html#getCompass()"><B>getCompass()</B></A> -
+Method in class lejos.navigation.<A HREF="./lejos/navigation/CompassPilot.html" title="class in lejos.navigation">CompassPilot</A>
+<DD>return the compass
+<DT><A HREF="./javax/microedition/lcdui/Alert.html#getConfirmation()"><B>getConfirmation()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui">Alert</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/TextField.html#getConstraints()"><B>getConstraints()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/TextField.html" title="class in javax.microedition.lcdui">TextField</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Display.html#getCurrent()"><B>getCurrent()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Display.html" title="class in javax.microedition.lcdui">Display</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Image.html#getData()"><B>getData()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A>
+<DD>
<DT><A HREF="./lejos/nxt/I2CSensor.html#getData(int, byte[], int)"><B>getData(int, byte[], int)</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/I2CSensor.html" title="class in lejos.nxt">I2CSensor</A>
<DD>Executes an I2C read transaction and waits for the result.
+<DT><A HREF="./lejos/nxt/comm/NXTSocket.html#getDataInputStream()"><B>getDataInputStream()</B></A> -
+Method in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/NXTSocket.html" title="class in lejos.nxt.comm">NXTSocket</A>
+<DD>Returns the data input stream of the socket
+<DT><A HREF="./lejos/nxt/comm/NXTSocket.html#getDataOutputStream()"><B>getDataOutputStream()</B></A> -
+Method in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/NXTSocket.html" title="class in lejos.nxt.comm">NXTSocket</A>
+<DD>Returns the data output stream of the socket
<DT><A HREF="./lejos/nxt/CompassSensor.html#getDegrees()"><B>getDegrees()</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/CompassSensor.html" title="class in lejos.nxt">CompassSensor</A>
<DD>Returns the directional heading in degrees.
<DT><A HREF="./lejos/util/Timer.html#getDelay()"><B>getDelay()</B></A> -
Method in class lejos.util.<A HREF="./lejos/util/Timer.html" title="class in lejos.util">Timer</A>
<DD>access how man milliseconds between timedOut() messages.
+<DT><A HREF="./lejos/nxt/comm/BTRemoteDevice.html#getDeviceAddr()"><B>getDeviceAddr()</B></A> -
+Method in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/BTRemoteDevice.html" title="class in lejos.nxt.comm">BTRemoteDevice</A>
+<DD>
+<DT><A HREF="./lejos/nxt/comm/BTRemoteDevice.html#getDeviceClass()"><B>getDeviceClass()</B></A> -
+Method in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/BTRemoteDevice.html" title="class in lejos.nxt.comm">BTRemoteDevice</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Display.html#getDisplay()"><B>getDisplay()</B></A> -
+Static method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Display.html" title="class in javax.microedition.lcdui">Display</A>
+<DD>
<DT><A HREF="./lejos/nxt/UltrasonicSensor.html#getDistance()"><B>getDistance()</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/UltrasonicSensor.html" title="class in lejos.nxt">UltrasonicSensor</A>
<DD>Return distance of object.
+<DT><A HREF="./lejos/nxt/Motor.html#getError()"><B>getError()</B></A> -
+Method in class lejos.nxt.<A HREF="./lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A>
+<DD>
<DT><A HREF="./lejos/nxt/comm/Bluetooth.html#getFriendlyName()"><B>getFriendlyName()</B></A> -
Static method in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/Bluetooth.html" title="class in lejos.nxt.comm">Bluetooth</A>
+<DD>Get the friendly name of the local device
+<DT><A HREF="./lejos/nxt/comm/BTRemoteDevice.html#getFriendlyName()"><B>getFriendlyName()</B></A> -
+Method in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/BTRemoteDevice.html" title="class in lejos.nxt.comm">BTRemoteDevice</A>
+<DD>
+<DT><A HREF="./lejos/nxt/comm/BTRemoteDevice.html#getFriendlyName(char[])"><B>getFriendlyName(char[])</B></A> -
+Method in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/BTRemoteDevice.html" title="class in lejos.nxt.comm">BTRemoteDevice</A>
<DD>
<DT><A HREF="./lejos/nxt/ColorSensor.html#getGreen()"><B>getGreen()</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/ColorSensor.html" title="class in lejos.nxt">ColorSensor</A>
<DT><A HREF="./lejos/navigation/CompassPilot.html#getHeading()"><B>getHeading()</B></A> -
Method in class lejos.navigation.<A HREF="./lejos/navigation/CompassPilot.html" title="class in lejos.navigation">CompassPilot</A>
<DD>Returns target direction of robot facing
+<DT><A HREF="./javax/microedition/lcdui/Displayable.html#getHeight()"><B>getHeight()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Form.html#getHeight()"><B>getHeight()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Form.html" title="class in javax.microedition.lcdui">Form</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Graphics.html#getHeight()"><B>getHeight()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Image.html#getHeight()"><B>getHeight()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A>
+<DD>
<DT><A HREF="./lejos/nxt/Button.html#getId()"><B>getId()</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/Button.html" title="class in lejos.nxt">Button</A>
<DD>Return the ID of the button.
<DT><A HREF="./lejos/nxt/SensorPort.html#getId()"><B>getId()</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/SensorPort.html" title="class in lejos.nxt">SensorPort</A>
<DD>Return the ID of the port.
+<DT><A HREF="./javax/microedition/lcdui/Choice.html#getImage(int)"><B>getImage(int)</B></A> -
+Method in interface javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/ChoiceGroup.html#getImage(int)"><B>getImage(int)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/ChoiceGroup.html" title="class in javax.microedition.lcdui">ChoiceGroup</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/List.html#getImage(int)"><B>getImage(int)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/List.html" title="class in javax.microedition.lcdui">List</A>
+<DD>
<DT><A HREF="./java/io/File.html#getIndex()"><B>getIndex()</B></A> -
Method in class java.io.<A HREF="./java/io/File.html" title="class in java.io">File</A>
<DD>returns location of file in the files[] array
+<DT><A HREF="./javax/microedition/lcdui/Alert.html#getIndicator()"><B>getIndicator()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui">Alert</A>
+<DD>
+<DT><A HREF="./lejos/nxt/comm/NXTSocket.html#getInputStream()"><B>getInputStream()</B></A> -
+Method in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/NXTSocket.html" title="class in lejos.nxt.comm">NXTSocket</A>
+<DD>Returns the input stream associated with this socket
+<DT><A HREF="./lejos/nxt/comm/Bluetooth.html#getKnownDevice(java.lang.String)"><B>getKnownDevice(String)</B></A> -
+Static method in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/Bluetooth.html" title="class in lejos.nxt.comm">Bluetooth</A>
+<DD>Gets a Device of the BC4-Chips internal list of known Devices
+ (those who have been paired before) into the BTDevice Object.
+<DT><A HREF="./lejos/nxt/comm/Bluetooth.html#getKnownDevicesList()"><B>getKnownDevicesList()</B></A> -
+Static method in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/Bluetooth.html" title="class in lejos.nxt.comm">Bluetooth</A>
+<DD>The internal Chip has a list of already paired Devices.
+<DT><A HREF="./javax/microedition/lcdui/Item.html#getLabel()"><B>getLabel()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A>
+<DD>
+<DT><A HREF="./lejos/navigation/Pilot.html#getLeft()"><B>getLeft()</B></A> -
+Method in class lejos.navigation.<A HREF="./lejos/navigation/Pilot.html" title="class in lejos.navigation">Pilot</A>
+<DD>returns left motor
<DT><A HREF="./lejos/navigation/Pilot.html#getLeftActualSpeed()"><B>getLeftActualSpeed()</B></A> -
Method in class lejos.navigation.<A HREF="./lejos/navigation/Pilot.html" title="class in lejos.navigation">Pilot</A>
<DD>returns actual speed of left motor in degrees per second; a negative value if motor is rotating backwards <br>
<DD>Return the angle that a Motor is rotating to.
<DT><A HREF="./lejos/nxt/comm/Bluetooth.html#getLocalAddress()"><B>getLocalAddress()</B></A> -
Static method in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/Bluetooth.html" title="class in lejos.nxt.comm">Bluetooth</A>
+<DD>get the Bluetooth address of the local device
+<DT><A HREF="./javax/microedition/lcdui/Command.html#getLongLabel()"><B>getLongLabel()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/TextField.html#getMaxSize()"><B>getMaxSize()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/TextField.html" title="class in javax.microedition.lcdui">TextField</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Gauge.html#getMaxValue()"><B>getMaxValue()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Gauge.html" title="class in javax.microedition.lcdui">Gauge</A>
<DD>
<DT><A HREF="./java/lang/Throwable.html#getMessage()"><B>getMessage()</B></A> -
Method in class java.lang.<A HREF="./java/lang/Throwable.html" title="class in java.lang">Throwable</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/Item.html#getMinimumHeight()"><B>getMinimumHeight()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Item.html#getMinimumWidth()"><B>getMinimumWidth()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A>
+<DD>
<DT><A HREF="./lejos/nxt/Motor.html#getMode()"><B>getMode()</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A>
<DD>
Method in interface lejos.util.<A HREF="./lejos/util/Recyclable.html" title="interface in lejos.util">Recyclable</A>
<DD>Must return Recyclable most recently set with
<code>setNextRecyclable</code>.
+<DT><A HREF="./lejos/nxt/comm/NXTSocket.html#getOutputStream()"><B>getOutputStream()</B></A> -
+Method in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/NXTSocket.html" title="class in lejos.nxt.comm">NXTSocket</A>
+<DD>Returns the output stream associated with this socket
<DT><A HREF="./java/io/File.html#getPage()"><B>getPage()</B></A> -
Method in class java.io.<A HREF="./java/io/File.html" title="class in java.io">File</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/Displayable.html#getPaintRequest()"><B>getPaintRequest()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Item.html#getPaintRequest()"><B>getPaintRequest()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A>
+<DD>
+<DT><A HREF="./lejos/navigation/TachoNavigator.html#getPilot()"><B>getPilot()</B></A> -
+Method in class lejos.navigation.<A HREF="./lejos/navigation/TachoNavigator.html" title="class in lejos.navigation">TachoNavigator</A>
+<DD>
<DT><A HREF="./lejos/nxt/Motor.html#getPower()"><B>getPower()</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/Item.html#getPreferredHeight()"><B>getPreferredHeight()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Item.html#getPreferredWidth()"><B>getPreferredWidth()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A>
+<DD>
<DT><A HREF="./java/lang/Thread.html#getPriority()"><B>getPriority()</B></A> -
Method in class java.lang.<A HREF="./java/lang/Thread.html" title="class in java.lang">Thread</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/Command.html#getPriority()"><B>getPriority()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A>
+<DD>
<DT><A HREF="./lejos/nxt/I2CSensor.html#getProductID()"><B>getProductID()</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/I2CSensor.html" title="class in lejos.nxt">I2CSensor</A>
<DD>Return the sensor product identifier.
<DT><A HREF="./lejos/nxt/ColorSensor.html#getRed()"><B>getRed()</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/ColorSensor.html" title="class in lejos.nxt">ColorSensor</A>
<DD>Returns the red saturation of the color.
+<DT><A HREF="./lejos/navigation/Pilot.html#getRight()"><B>getRight()</B></A> -
+Method in class lejos.navigation.<A HREF="./lejos/navigation/Pilot.html" title="class in lejos.navigation">Pilot</A>
+<DD>returns right motor
<DT><A HREF="./lejos/navigation/Pilot.html#getRightActualSpeed()"><B>getRightActualSpeed()</B></A> -
Method in class lejos.navigation.<A HREF="./lejos/navigation/Pilot.html" title="class in lejos.navigation">Pilot</A>
<DD>returns actual speed of right motor in deg/sec; a negative value if motor is rotating backwards.
<DT><A HREF="./java/lang/System.html#getRuntime()"><B>getRuntime()</B></A> -
Static method in class java.lang.<A HREF="./java/lang/System.html" title="class in java.lang">System</A>
<DD>Get the singleton instance of Runtime.
+<DT><A HREF="./javax/microedition/lcdui/Choice.html#getSelectedFlags(boolean[])"><B>getSelectedFlags(boolean[])</B></A> -
+Method in interface javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/ChoiceGroup.html#getSelectedFlags(boolean[])"><B>getSelectedFlags(boolean[])</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/ChoiceGroup.html" title="class in javax.microedition.lcdui">ChoiceGroup</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/List.html#getSelectedFlags(boolean[])"><B>getSelectedFlags(boolean[])</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/List.html" title="class in javax.microedition.lcdui">List</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Choice.html#getSelectedIndex()"><B>getSelectedIndex()</B></A> -
+Method in interface javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/ChoiceGroup.html#getSelectedIndex()"><B>getSelectedIndex()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/ChoiceGroup.html" title="class in javax.microedition.lcdui">ChoiceGroup</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/List.html#getSelectedIndex()"><B>getSelectedIndex()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/List.html" title="class in javax.microedition.lcdui">List</A>
+<DD>
<DT><A HREF="./lejos/nxt/I2CSensor.html#getSensorType()"><B>getSensorType()</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/I2CSensor.html" title="class in lejos.nxt">I2CSensor</A>
<DD>Return the sensor type.
+<DT><A HREF="./lejos/navigation/Pilot.html#getSpeed()"><B>getSpeed()</B></A> -
+Method in class lejos.navigation.<A HREF="./lejos/navigation/Pilot.html" title="class in lejos.navigation">Pilot</A>
+<DD>return current speed setting
<DT><A HREF="./lejos/nxt/Motor.html#getSpeed()"><B>getSpeed()</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A>
<DD>Returns the current motor speed in degrees per second
+<DT><A HREF="./lejos/nxt/comm/Bluetooth.html#getStatus()"><B>getStatus()</B></A> -
+Static method in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/Bluetooth.html" title="class in lejos.nxt.comm">Bluetooth</A>
+<DD>
<DT><A HREF="./lejos/nxt/Motor.html#getStopAngle()"><B>getStopAngle()</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/Choice.html#getString(int)"><B>getString(int)</B></A> -
+Method in interface javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/ChoiceGroup.html#getString(int)"><B>getString(int)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/ChoiceGroup.html" title="class in javax.microedition.lcdui">ChoiceGroup</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/List.html#getString(int)"><B>getString(int)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/List.html" title="class in javax.microedition.lcdui">List</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Ticker.html#getString()"><B>getString()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Ticker.html" title="class in javax.microedition.lcdui">Ticker</A>
+<DD>
<DT><A HREF="./javax/microedition/lcdui/Graphics.html#getStrokeStyle()"><B>getStrokeStyle()</B></A> -
Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A>
<DD>
<DT><A HREF="./lejos/nxt/MotorPort.html#getTachoCountById(int)"><B>getTachoCountById(int)</B></A> -
Static method in class lejos.nxt.<A HREF="./lejos/nxt/MotorPort.html" title="class in lejos.nxt">MotorPort</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/StringItem.html#getText()"><B>getText()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/StringItem.html" title="class in javax.microedition.lcdui">StringItem</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/TextBox.html#getText()"><B>getText()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/TextBox.html" title="class in javax.microedition.lcdui">TextBox</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/TextField.html#getText()"><B>getText()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/TextField.html" title="class in javax.microedition.lcdui">TextField</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Displayable.html#getTicker()"><B>getTicker()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Alert.html#getTimeout()"><B>getTimeout()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui">Alert</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Displayable.html#getTitle()"><B>getTitle()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A>
+<DD>
<DT><A HREF="./lejos/navigation/Pilot.html#getTravelDistance()"><B>getTravelDistance()</B></A> -
Method in class lejos.navigation.<A HREF="./lejos/navigation/Pilot.html" title="class in lejos.navigation">Pilot</A>
<DD>returns distance taveled since last reset of tacho count
<DT><A HREF="./lejos/nxt/SensorPort.html#getType()"><B>getType()</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/SensorPort.html" title="class in lejos.nxt">SensorPort</A>
<DD>Returns type compatible with Lego firmware.
+<DT><A HREF="./javax/microedition/lcdui/Gauge.html#getValue()"><B>getValue()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Gauge.html" title="class in javax.microedition.lcdui">Gauge</A>
+<DD>
<DT><A HREF="./lejos/nxt/I2CSensor.html#getVersion()"><B>getVersion()</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/I2CSensor.html" title="class in lejos.nxt">I2CSensor</A>
<DD>Return the sensor version number.
+<DT><A HREF="./lejos/nxt/comm/Bluetooth.html#getVisibility()"><B>getVisibility()</B></A> -
+Static method in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/Bluetooth.html" title="class in lejos.nxt.comm">Bluetooth</A>
+<DD>
<DT><A HREF="./lejos/nxt/Battery.html#getVoltage()"><B>getVoltage()</B></A> -
Static method in class lejos.nxt.<A HREF="./lejos/nxt/Battery.html" title="class in lejos.nxt">Battery</A>
<DD>Returns the battery voltage in volts.
<DT><A HREF="./lejos/nxt/Battery.html#getVoltageMilliVolt()"><B>getVoltageMilliVolt()</B></A> -
Static method in class lejos.nxt.<A HREF="./lejos/nxt/Battery.html" title="class in lejos.nxt">Battery</A>
<DD>Returns the battery voltage in millivolts.
+<DT><A HREF="./javax/microedition/lcdui/Displayable.html#getWidth()"><B>getWidth()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Form.html#getWidth()"><B>getWidth()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Form.html" title="class in javax.microedition.lcdui">Form</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Graphics.html#getWidth()"><B>getWidth()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Image.html#getWidth()"><B>getWidth()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A>
+<DD>
<DT><A HREF="./lejos/navigation/Navigator.html#getX()"><B>getX()</B></A> -
Method in interface lejos.navigation.<A HREF="./lejos/navigation/Navigator.html" title="interface in lejos.navigation">Navigator</A>
<DD>Returns the current x coordinate of the NXT.
<DT><A HREF="./lejos/navigation/TachoNavigator.html#goTo(float, float, boolean)"><B>goTo(float, float, boolean)</B></A> -
Method in class lejos.navigation.<A HREF="./lejos/navigation/TachoNavigator.html" title="class in lejos.navigation">TachoNavigator</A>
<DD>Rotates the NXT robot towards the target point (x,y) and moves the required distance.
+<DT><A HREF="./javax/microedition/lcdui/Display.html#graphics"><B>graphics</B></A> -
+Variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Display.html" title="class in javax.microedition.lcdui">Display</A>
+<DD>
<DT><A HREF="./javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui"><B>Graphics</B></A> - Class in <A HREF="./javax/microedition/lcdui/package-summary.html">javax.microedition.lcdui</A><DD>Preliminary Graphics class for LCD Screen<DT><A HREF="./javax/microedition/lcdui/Graphics.html#Graphics()"><B>Graphics()</B></A> -
Constructor for class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A>
<DD>
<DT><A HREF="./java/util/Hashtable.html" title="class in java.util"><B>Hashtable</B></A> - Class in <A HREF="./java/util/package-summary.html">java.util</A><DD>Maps keys to objects.<DT><A HREF="./java/util/Hashtable.html#Hashtable()"><B>Hashtable()</B></A> -
Constructor for class java.util.<A HREF="./java/util/Hashtable.html" title="class in java.util">Hashtable</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/Displayable.html#height"><B>height</B></A> -
+Variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Command.html#HELP"><B>HELP</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Item.html#hideNotify()"><B>hideNotify()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Screen.html#hideNotify()"><B>hideNotify()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">Screen</A>
+<DD>
</DL>
<HR>
<A NAME="_I_"><!-- --></A><H2>
<DT><A HREF="./java/lang/IllegalStateException.html" title="class in java.lang"><B>IllegalStateException</B></A> - Exception in <A HREF="./java/lang/package-summary.html">java.lang</A><DD> <DT><A HREF="./java/lang/IllegalStateException.html#IllegalStateException()"><B>IllegalStateException()</B></A> -
Constructor for exception java.lang.<A HREF="./java/lang/IllegalStateException.html" title="class in java.lang">IllegalStateException</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui"><B>Image</B></A> - Class in <A HREF="./javax/microedition/lcdui/package-summary.html">javax.microedition.lcdui</A><DD> <DT><A HREF="./javax/microedition/lcdui/Image.html#Image(int, int, byte[])"><B>Image(int, int, byte[])</B></A> -
+Constructor for class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Alert.html#IMG_ALARM"><B>IMG_ALARM</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui">Alert</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Alert.html#IMG_CONFIRM"><B>IMG_CONFIRM</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui">Alert</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Alert.html#IMG_ERROR"><B>IMG_ERROR</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui">Alert</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Alert.html#IMG_INFO"><B>IMG_INFO</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui">Alert</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Alert.html#IMG_WARNING"><B>IMG_WARNING</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui">Alert</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Choice.html#IMPLICIT"><B>IMPLICIT</B></A> -
+Static variable in interface javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A>
+<DD>
<DT><A HREF="./java/io/DataInputStream.html#in"><B>in</B></A> -
Variable in class java.io.<A HREF="./java/io/DataInputStream.html" title="class in java.io">DataInputStream</A>
<DD>
+<DT><A HREF="./java/util/ArrayList.html#indexOf(java.lang.Object)"><B>indexOf(Object)</B></A> -
+Method in class java.util.<A HREF="./java/util/ArrayList.html" title="class in java.util">ArrayList</A>
+<DD>
<DT><A HREF="./java/util/Vector.html#indexOf(java.lang.Object)"><B>indexOf(Object)</B></A> -
Method in class java.util.<A HREF="./java/util/Vector.html" title="class in java.util">Vector</A>
<DD>
<DT><A HREF="./lejos/util/RecyclableArray.html#init()"><B>init()</B></A> -
Method in class lejos.util.<A HREF="./lejos/util/RecyclableArray.html" title="class in lejos.util">RecyclableArray</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/TextField.html#INITIAL_CAPS_SENTENCE"><B>INITIAL_CAPS_SENTENCE</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/TextField.html" title="class in javax.microedition.lcdui">TextField</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/TextField.html#INITIAL_CAPS_WORD"><B>INITIAL_CAPS_WORD</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/TextField.html" title="class in javax.microedition.lcdui">TextField</A>
+<DD>
<DT><A HREF="./java/io/InputStream.html" title="class in java.io"><B>InputStream</B></A> - Class in <A HREF="./java/io/package-summary.html">java.io</A><DD>This abstract class is the superclass of all classes representing
an input stream of bytes.<DT><A HREF="./java/io/InputStream.html#InputStream()"><B>InputStream()</B></A> -
Constructor for class java.io.<A HREF="./java/io/InputStream.html" title="class in java.io">InputStream</A>
<DD>
+<DT><A HREF="./lejos/nxt/comm/Bluetooth.html#inquire(int, int, byte[])"><B>inquire(int, int, byte[])</B></A> -
+Static method in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/Bluetooth.html" title="class in lejos.nxt.comm">Bluetooth</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Choice.html#insert(int, java.lang.String, javax.microedition.lcdui.Image)"><B>insert(int, String, Image)</B></A> -
+Method in interface javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/ChoiceGroup.html#insert(int, java.lang.String, javax.microedition.lcdui.Image)"><B>insert(int, String, Image)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/ChoiceGroup.html" title="class in javax.microedition.lcdui">ChoiceGroup</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Form.html#insert(int, javax.microedition.lcdui.Item)"><B>insert(int, Item)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Form.html" title="class in javax.microedition.lcdui">Form</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/List.html#insert(int, java.lang.String, javax.microedition.lcdui.Image)"><B>insert(int, String, Image)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/List.html" title="class in javax.microedition.lcdui">List</A>
+<DD>
<DT><A HREF="./java/util/Vector.html#insertElementAt(java.lang.Object, int)"><B>insertElementAt(Object, int)</B></A> -
Method in class java.util.<A HREF="./java/util/Vector.html" title="class in java.util">Vector</A>
<DD>
Constructor for class java.lang.<A HREF="./java/lang/Integer.html" title="class in java.lang">Integer</A>
<DD>Constructs a newly allocated <code>Integer</code> object that
represents the primitive <code>int</code> argument.
+<DT><A HREF="./javax/microedition/lcdui/Item.html#interactive"><B>interactive</B></A> -
+Variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A>
+<DD>
<DT><A HREF="./java/lang/Thread.html#interrupt()"><B>interrupt()</B></A> -
Method in class java.lang.<A HREF="./java/lang/Thread.html" title="class in java.lang">Thread</A>
<DD>Set the interrupted flag.
<DT><A HREF="./java/lang/Thread.html#isDaemon()"><B>isDaemon()</B></A> -
Method in class java.lang.<A HREF="./java/lang/Thread.html" title="class in java.lang">Thread</A>
<DD>Set the daemon flag.
+<DT><A HREF="./java/util/ArrayList.html#isEmpty()"><B>isEmpty()</B></A> -
+Method in class java.util.<A HREF="./java/util/ArrayList.html" title="class in java.util">ArrayList</A>
+<DD>
<DT><A HREF="./java/util/Vector.html#isEmpty()"><B>isEmpty()</B></A> -
Method in class java.util.<A HREF="./java/util/Vector.html" title="class in java.util">Vector</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/Item.html#isInteractive()"><B>isInteractive()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A>
+<DD>
<DT><A HREF="./java/lang/Thread.html#isInterrupted()"><B>isInterrupted()</B></A> -
Method in class java.lang.<A HREF="./java/lang/Thread.html" title="class in java.lang">Thread</A>
<DD>
<DT><A HREF="./lejos/nxt/Motor.html#isRotating()"><B>isRotating()</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A>
<DD>returns true when motor is rotating towarad a specified angle
+<DT><A HREF="./javax/microedition/lcdui/Choice.html#isSelected(int)"><B>isSelected(int)</B></A> -
+Method in interface javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/ChoiceGroup.html#isSelected(int)"><B>isSelected(int)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/ChoiceGroup.html" title="class in javax.microedition.lcdui">ChoiceGroup</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/List.html#isSelected(int)"><B>isSelected(int)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/List.html" title="class in javax.microedition.lcdui">List</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Displayable.html#isShown()"><B>isShown()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A>
+<DD>
<DT><A HREF="./lejos/navigation/CompassPilot.html#isTraveling()"><B>isTraveling()</B></A> -
Method in class lejos.navigation.<A HREF="./lejos/navigation/CompassPilot.html" title="class in lejos.navigation">CompassPilot</A>
<DD>returns returns if the robot is travelling for a specific distance;
-<DT><A HREF="./lejos/subsumption/Activity.html#iWantToRun()"><B>iWantToRun()</B></A> -
+<DT><A HREF="./javax/microedition/lcdui/Command.html#ITEM"><B>ITEM</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui"><B>Item</B></A> - Class in <A HREF="./javax/microedition/lcdui/package-summary.html">javax.microedition.lcdui</A><DD> <DT><A HREF="./javax/microedition/lcdui/Item.html#Item()"><B>Item()</B></A> -
+Constructor for class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/ItemCommandListener.html" title="interface in javax.microedition.lcdui"><B>ItemCommandListener</B></A> - Interface in <A HREF="./javax/microedition/lcdui/package-summary.html">javax.microedition.lcdui</A><DD> <DT><A HREF="./javax/microedition/lcdui/ItemStateListener.html#itemStateChanged(javax.microedition.lcdui.Item)"><B>itemStateChanged(Item)</B></A> -
+Method in interface javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/ItemStateListener.html" title="interface in javax.microedition.lcdui">ItemStateListener</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/ItemStateListener.html" title="interface in javax.microedition.lcdui"><B>ItemStateListener</B></A> - Interface in <A HREF="./javax/microedition/lcdui/package-summary.html">javax.microedition.lcdui</A><DD> <DT><A HREF="./lejos/subsumption/Activity.html#iWantToRun()"><B>iWantToRun()</B></A> -
Method in class lejos.subsumption.<A HREF="./lejos/subsumption/Activity.html" title="class in lejos.subsumption">Activity</A>
<DD>Call this if you want this activity to run.
</DL>
<DT><A HREF="./lejos/nxt/comm/LCP.html#KEEP_ALIVE"><B>KEEP_ALIVE</B></A> -
Static variable in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/LCP.html" title="class in lejos.nxt.comm">LCP</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/Displayable.html#KEY_BACK"><B>KEY_BACK</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Displayable.html#KEY_ENTER"><B>KEY_ENTER</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Displayable.html#KEY_LEFT"><B>KEY_LEFT</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Displayable.html#KEY_RIGHT"><B>KEY_RIGHT</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Alert.html#keyPressed(int)"><B>keyPressed(int)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui">Alert</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/ChoiceGroup.html#keyPressed(int)"><B>keyPressed(int)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/ChoiceGroup.html" title="class in javax.microedition.lcdui">ChoiceGroup</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Form.html#keyPressed(int)"><B>keyPressed(int)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Form.html" title="class in javax.microedition.lcdui">Form</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Gauge.html#keyPressed(int)"><B>keyPressed(int)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Gauge.html" title="class in javax.microedition.lcdui">Gauge</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Item.html#keyPressed(int)"><B>keyPressed(int)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/List.html#keyPressed(int)"><B>keyPressed(int)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/List.html" title="class in javax.microedition.lcdui">List</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Screen.html#keyPressed(int)"><B>keyPressed(int)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">Screen</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/TextBox.html#keyPressed(int)"><B>keyPressed(int)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/TextBox.html" title="class in javax.microedition.lcdui">TextBox</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Item.html#keyReleased(int)"><B>keyReleased(int)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Screen.html#keyReleased(int)"><B>keyReleased(int)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">Screen</A>
+<DD>
</DL>
<HR>
<A NAME="_L_"><!-- --></A><H2>
<B>L</B></H2>
<DL>
+<DT><A HREF="./javax/microedition/lcdui/Item.html#label"><B>label</B></A> -
+Variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A>
+<DD>
+<DT><A HREF="./java/util/ArrayList.html#lastIndexOf(java.lang.Object)"><B>lastIndexOf(Object)</B></A> -
+Method in class java.util.<A HREF="./java/util/ArrayList.html" title="class in java.util">ArrayList</A>
+<DD>
<DT><A HREF="./java/util/Vector.html#lastIndexOf(java.lang.Object)"><B>lastIndexOf(Object)</B></A> -
Method in class java.util.<A HREF="./java/util/Vector.html" title="class in java.util">Vector</A>
<DD>delivers the index of the last occurrence of the object
Method in class java.util.<A HREF="./java/util/Vector.html" title="class in java.util">Vector</A>
<DD>delivers the index of the last occurrence of the object
starting from some index
-<DT><A HREF="./lejos/nxt/LCD.html" title="class in lejos.nxt"><B>LCD</B></A> - Class in <A HREF="./lejos/nxt/package-summary.html">lejos.nxt</A><DD>LCD routines.<DT><A HREF="./lejos/nxt/comm/LCP.html" title="class in lejos.nxt.comm"><B>LCP</B></A> - Class in <A HREF="./lejos/nxt/comm/package-summary.html">lejos.nxt.comm</A><DD>Implements the Lego Communication Protocol,
+<DT><A HREF="./lejos/nxt/LCD.html" title="class in lejos.nxt"><B>LCD</B></A> - Class in <A HREF="./lejos/nxt/package-summary.html">lejos.nxt</A><DD> <DT><A HREF="./lejos/nxt/LCD.html#LCD()"><B>LCD()</B></A> -
+Constructor for class lejos.nxt.<A HREF="./lejos/nxt/LCD.html" title="class in lejos.nxt">LCD</A>
+<DD>
+<DT><A HREF="./lejos/nxt/comm/LCP.html" title="class in lejos.nxt.comm"><B>LCP</B></A> - Class in <A HREF="./lejos/nxt/comm/package-summary.html">lejos.nxt.comm</A><DD>Implements the Lego Communication Protocol,
with some extensions for lejos NXJ.<DT><A HREF="./lejos/nxt/Button.html#LEFT"><B>LEFT</B></A> -
Static variable in class lejos.nxt.<A HREF="./lejos/nxt/Button.html" title="class in lejos.nxt">Button</A>
<DD>The Left button.
Constructor for class lejos.nxt.<A HREF="./lejos/nxt/LightSensor.html" title="class in lejos.nxt">LightSensor</A>
<DD>Create a light sensor object attached to the specified port,
and sets floodlighting on or off.
+<DT><A HREF="./javax/microedition/lcdui/List.html" title="class in javax.microedition.lcdui"><B>List</B></A> - Class in <A HREF="./javax/microedition/lcdui/package-summary.html">javax.microedition.lcdui</A><DD> <DT><A HREF="./javax/microedition/lcdui/List.html#List(java.lang.String, int)"><B>List(String, int)</B></A> -
+Constructor for class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/List.html" title="class in javax.microedition.lcdui">List</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/List.html#List(java.lang.String, int, java.lang.String[], javax.microedition.lcdui.Image[])"><B>List(String, int, String[], Image[])</B></A> -
+Constructor for class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/List.html" title="class in javax.microedition.lcdui">List</A>
+<DD>
<DT><A HREF="./lejos/nxt/ListenerCaller.html" title="interface in lejos.nxt"><B>ListenerCaller</B></A> - Interface in <A HREF="./lejos/nxt/package-summary.html">lejos.nxt</A><DD>Interface for calling calling lejos listeners.<DT><A HREF="./java/io/File.html#listFiles()"><B>listFiles()</B></A> -
Static method in class java.io.<A HREF="./java/io/File.html" title="class in java.io">File</A>
<DD>Returns a list of files in the flash file system.
+<DT><A HREF="./javax/microedition/lcdui/List.html#listItems"><B>listItems</B></A> -
+Variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/List.html" title="class in javax.microedition.lcdui">List</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/List.html#listType"><B>listType</B></A> -
+Variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/List.html" title="class in javax.microedition.lcdui">List</A>
+<DD>
<DT><A HREF="./java/lang/Math.html#log(double)"><B>log(double)</B></A> -
Static method in class java.lang.<A HREF="./java/lang/Math.html" title="class in java.lang">Math</A>
<DD>Natural log function.
+<DT><A HREF="./lejos/nxt/comm/Bluetooth.html#lookupName(byte[])"><B>lookupName(byte[])</B></A> -
+Static method in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/Bluetooth.html" title="class in lejos.nxt.comm">Bluetooth</A>
+<DD>Look up the name of a device using its address
<DT><A HREF="./lejos/nxt/comm/LCP.html#LS_GET_STATUS"><B>LS_GET_STATUS</B></A> -
Static variable in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/LCP.html" title="class in lejos.nxt.comm">LCP</A>
<DD>
<A NAME="_M_"><!-- --></A><H2>
<B>M</B></H2>
<DL>
+<DT><A HREF="./lejos/nxt/Datalogger.html#main(java.lang.String[])"><B>main(String[])</B></A> -
+Static method in class lejos.nxt.<A HREF="./lejos/nxt/Datalogger.html" title="class in lejos.nxt">Datalogger</A>
+<DD>to test the DL object
<DT><A HREF="./StartUpText.html#main(java.lang.String[])"><B>main(String[])</B></A> -
Static method in class <A HREF="./StartUpText.html" title="class in <Unnamed>">StartUpText</A>
<DD>
<DT><A HREF="./java/lang/Integer.html#MIN_VALUE"><B>MIN_VALUE</B></A> -
Static variable in class java.lang.<A HREF="./java/lang/Integer.html" title="class in java.lang">Integer</A>
<DD>The smallest value of type <code>int</code>.
+<DT><A HREF="./javax/microedition/lcdui/Item.html#minHeight"><B>minHeight</B></A> -
+Variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Item.html#minWidth"><B>minWidth</B></A> -
+Variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A>
+<DD>
<DT><A HREF="./lejos/nxt/SensorConstants.html#MODE_ANGLESTEP"><B>MODE_ANGLESTEP</B></A> -
Static variable in interface lejos.nxt.<A HREF="./lejos/nxt/SensorConstants.html" title="interface in lejos.nxt">SensorConstants</A>
<DD>
<DT><A HREF="./lejos/nxt/comm/Bluetooth.html#MSG_CONNECT_RESULT"><B>MSG_CONNECT_RESULT</B></A> -
Static variable in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/Bluetooth.html" title="class in lejos.nxt.comm">Bluetooth</A>
<DD>
-<DT><A HREF="./lejos/nxt/comm/Bluetooth.html#MSG_DISCOVERABLE_ACK"><B>MSG_DISCOVERABLE_ACK</B></A> -
-Static variable in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/Bluetooth.html" title="class in lejos.nxt.comm">Bluetooth</A>
-<DD>
<DT><A HREF="./lejos/nxt/comm/Bluetooth.html#MSG_DUMP_LIST"><B>MSG_DUMP_LIST</B></A> -
Static variable in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/Bluetooth.html" title="class in lejos.nxt.comm">Bluetooth</A>
<DD>
<DT><A HREF="./lejos/nxt/comm/Bluetooth.html#MSG_SET_DISCOVERABLE"><B>MSG_SET_DISCOVERABLE</B></A> -
Static variable in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/Bluetooth.html" title="class in lejos.nxt.comm">Bluetooth</A>
<DD>
+<DT><A HREF="./lejos/nxt/comm/Bluetooth.html#MSG_SET_DISCOVERABLE_ACK"><B>MSG_SET_DISCOVERABLE_ACK</B></A> -
+Static variable in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/Bluetooth.html" title="class in lejos.nxt.comm">Bluetooth</A>
+<DD>
<DT><A HREF="./lejos/nxt/comm/Bluetooth.html#MSG_SET_FACTORY_SETTINGS"><B>MSG_SET_FACTORY_SETTINGS</B></A> -
Static variable in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/Bluetooth.html" title="class in lejos.nxt.comm">Bluetooth</A>
<DD>
<DT><A HREF="./lejos/nxt/comm/Bluetooth.html#MSG_START_HEART"><B>MSG_START_HEART</B></A> -
Static variable in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/Bluetooth.html" title="class in lejos.nxt.comm">Bluetooth</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/Choice.html#MULTIPLE"><B>MULTIPLE</B></A> -
+Static variable in interface javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A>
+<DD>
</DL>
<HR>
<A NAME="_N_"><!-- --></A><H2>
<DT><A HREF="./java/lang/NoClassDefFoundError.html" title="class in java.lang"><B>NoClassDefFoundError</B></A> - Error in <A HREF="./java/lang/package-summary.html">java.lang</A><DD> <DT><A HREF="./java/lang/NoClassDefFoundError.html#NoClassDefFoundError(java.lang.String)"><B>NoClassDefFoundError(String)</B></A> -
Constructor for error java.lang.<A HREF="./java/lang/NoClassDefFoundError.html" title="class in java.lang">NoClassDefFoundError</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/TextField.html#NON_PREDICTIVE"><B>NON_PREDICTIVE</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/TextField.html" title="class in javax.microedition.lcdui">TextField</A>
+<DD>
+<DT><A HREF="./lejos/nxt/LCD.html#NOOF_CHARS"><B>NOOF_CHARS</B></A> -
+Static variable in class lejos.nxt.<A HREF="./lejos/nxt/LCD.html" title="class in lejos.nxt">LCD</A>
+<DD>
<DT><A HREF="./java/lang/Thread.html#NORM_PRIORITY"><B>NORM_PRIORITY</B></A> -
Static variable in class java.lang.<A HREF="./java/lang/Thread.html" title="class in java.lang">Thread</A>
<DD>The priority that is assigned to the primordial thread.
<DT><A HREF="./java/lang/Object.html#notifyAll()"><B>notifyAll()</B></A> -
Method in class java.lang.<A HREF="./java/lang/Object.html" title="class in java.lang">Object</A>
<DD>Wake up all threads blocked on a wait().
+<DT><A HREF="./javax/microedition/lcdui/Item.html#notifyStateChanged()"><B>notifyStateChanged()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A>
+<DD>
<DT><A HREF="./java/lang/NullPointerException.html" title="class in java.lang"><B>NullPointerException</B></A> - Exception in <A HREF="./java/lang/package-summary.html">java.lang</A><DD> <DT><A HREF="./java/lang/NullPointerException.html#NullPointerException()"><B>NullPointerException()</B></A> -
Constructor for exception java.lang.<A HREF="./java/lang/NullPointerException.html" title="class in java.lang">NullPointerException</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/TextField.html#NUMERIC"><B>NUMERIC</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/TextField.html" title="class in javax.microedition.lcdui">TextField</A>
+<DD>
<DT><A HREF="./lejos/nxt/comm/LCP.html#NXJ_DEFRAG"><B>NXJ_DEFRAG</B></A> -
Static variable in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/LCP.html" title="class in lejos.nxt.comm">LCP</A>
<DD>
<DT><A HREF="./lejos/nxt/comm/LCP.html#NXJ_FIND_NEXT"><B>NXJ_FIND_NEXT</B></A> -
Static variable in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/LCP.html" title="class in lejos.nxt.comm">LCP</A>
<DD>
+<DT><A HREF="./NXTServerSocket.html" title="class in <Unnamed>"><B>NXTServerSocket</B></A> - Class in <A HREF="./package-summary.html"><Unnamed></A><DD> <DT><A HREF="./NXTServerSocket.html#NXTServerSocket(int, lejos.nxt.comm.BTConnection)"><B>NXTServerSocket(int, BTConnection)</B></A> -
+Constructor for class <A HREF="./NXTServerSocket.html" title="class in <Unnamed>">NXTServerSocket</A>
+<DD>Constructor.
+<DT><A HREF="./NXTServerSocket.html#NXTServerSocket(int, lejos.nxt.comm.USBConnection)"><B>NXTServerSocket(int, USBConnection)</B></A> -
+Constructor for class <A HREF="./NXTServerSocket.html" title="class in <Unnamed>">NXTServerSocket</A>
+<DD>Constructor.
+<DT><A HREF="./lejos/nxt/comm/NXTSocket.html" title="class in lejos.nxt.comm"><B>NXTSocket</B></A> - Class in <A HREF="./lejos/nxt/comm/package-summary.html">lejos.nxt.comm</A><DD>NXTSocket.<DT><A HREF="./lejos/nxt/comm/NXTSocket.html#NXTSocket(java.lang.String, int, lejos.nxt.comm.BTConnection)"><B>NXTSocket(String, int, BTConnection)</B></A> -
+Constructor for class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/NXTSocket.html" title="class in lejos.nxt.comm">NXTSocket</A>
+<DD>Constructor: Pass an open bluetooth connection and socket details.
+<DT><A HREF="./lejos/nxt/comm/NXTSocket.html#NXTSocket(java.lang.String, int, lejos.nxt.comm.USBConnection)"><B>NXTSocket(String, int, USBConnection)</B></A> -
+Constructor for class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/NXTSocket.html" title="class in lejos.nxt.comm">NXTSocket</A>
+<DD>Constructor: Pass an open USB connection and socket details.
+<DT><A HREF="./lejos/nxt/comm/NXTSocket.html#NXTSocket(lejos.nxt.comm.BTConnection)"><B>NXTSocket(BTConnection)</B></A> -
+Constructor for class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/NXTSocket.html" title="class in lejos.nxt.comm">NXTSocket</A>
+<DD>Constructor.
+<DT><A HREF="./lejos/nxt/comm/NXTSocket.html#NXTSocket(lejos.nxt.comm.USBConnection)"><B>NXTSocket(USBConnection)</B></A> -
+Constructor for class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/NXTSocket.html" title="class in lejos.nxt.comm">NXTSocket</A>
+<DD>Constructor for usb connnection.
</DL>
<HR>
<A NAME="_O_"><!-- --></A><H2>
<DT><A HREF="./java/lang/Object.html" title="class in java.lang"><B>Object</B></A> - Class in <A HREF="./java/lang/package-summary.html">java.lang</A><DD>All classes extend this one, implicitly.<DT><A HREF="./java/lang/Object.html#Object()"><B>Object()</B></A> -
Constructor for class java.lang.<A HREF="./java/lang/Object.html" title="class in java.lang">Object</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/Command.html#OK"><B>OK</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A>
+<DD>
<DT><A HREF="./lejos/nxt/comm/LCP.html#OPEN_APPEND_DATA"><B>OPEN_APPEND_DATA</B></A> -
Static variable in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/LCP.html" title="class in lejos.nxt.comm">LCP</A>
<DD>
<A NAME="_P_"><!-- --></A><H2>
<B>P</B></H2>
<DL>
+<DT><A HREF="./javax/microedition/lcdui/Alert.html#paint(javax.microedition.lcdui.Graphics)"><B>paint(Graphics)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui">Alert</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/ChoiceGroup.html#paint(javax.microedition.lcdui.Graphics, int, int, int, int, boolean)"><B>paint(Graphics, int, int, int, int, boolean)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/ChoiceGroup.html" title="class in javax.microedition.lcdui">ChoiceGroup</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Form.html#paint(javax.microedition.lcdui.Graphics)"><B>paint(Graphics)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Form.html" title="class in javax.microedition.lcdui">Form</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Gauge.html#paint(javax.microedition.lcdui.Graphics, int, int, int, int, boolean)"><B>paint(Graphics, int, int, int, int, boolean)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Gauge.html" title="class in javax.microedition.lcdui">Gauge</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Item.html#paint(javax.microedition.lcdui.Graphics, int, int, int, int, boolean)"><B>paint(Graphics, int, int, int, int, boolean)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/List.html#paint(javax.microedition.lcdui.Graphics)"><B>paint(Graphics)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/List.html" title="class in javax.microedition.lcdui">List</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Screen.html#paint(javax.microedition.lcdui.Graphics)"><B>paint(Graphics)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">Screen</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Spacer.html#paint(javax.microedition.lcdui.Graphics, int, int, int, int, boolean)"><B>paint(Graphics, int, int, int, int, boolean)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Spacer.html" title="class in javax.microedition.lcdui">Spacer</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/StringItem.html#paint(javax.microedition.lcdui.Graphics, int, int, int, int, boolean)"><B>paint(Graphics, int, int, int, int, boolean)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/StringItem.html" title="class in javax.microedition.lcdui">StringItem</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/TextBox.html#paint(javax.microedition.lcdui.Graphics)"><B>paint(Graphics)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/TextBox.html" title="class in javax.microedition.lcdui">TextBox</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/TextField.html#paint(javax.microedition.lcdui.Graphics, int, int, int, int, boolean)"><B>paint(Graphics, int, int, int, int, boolean)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/TextField.html" title="class in javax.microedition.lcdui">TextField</A>
+<DD>
<DT><A HREF="./lejos/nxt/RCXLightSensor.html#passivate()"><B>passivate()</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/RCXLightSensor.html" title="class in lejos.nxt">RCXLightSensor</A>
<DD>Passivates an RCX light sensor.
<DT><A HREF="./lejos/nxt/SensorPort.html#passivate()"><B>passivate()</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/SensorPort.html" title="class in lejos.nxt">SensorPort</A>
<DD>Passivates an RCX sensor sensor.
+<DT><A HREF="./javax/microedition/lcdui/TextField.html#PASSWORD"><B>PASSWORD</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/TextField.html" title="class in javax.microedition.lcdui">TextField</A>
+<DD>
<DT><A HREF="./lejos/nxt/Sound.html#pause(int)"><B>pause(int)</B></A> -
Static method in class lejos.nxt.<A HREF="./lejos/nxt/Sound.html" title="class in lejos.nxt">Sound</A>
<DD>
Method in class java.util.<A HREF="./java/util/Stack.html" title="class in java.util">Stack</A>
<DD>fetches an object from the stack
<br>does not remove it!
+<DT><A HREF="./javax/microedition/lcdui/TextField.html#PHONENUMBER"><B>PHONENUMBER</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/TextField.html" title="class in javax.microedition.lcdui">TextField</A>
+<DD>
<DT><A HREF="./java/lang/Math.html#PI"><B>PI</B></A> -
Static variable in class java.lang.<A HREF="./java/lang/Math.html" title="class in java.lang">Math</A>
<DD>
<DT><A HREF="./lejos/navigation/Pilot.html#Pilot(float, float, lejos.nxt.Motor, lejos.nxt.Motor, boolean)"><B>Pilot(float, float, Motor, Motor, boolean)</B></A> -
Constructor for class lejos.navigation.<A HREF="./lejos/navigation/Pilot.html" title="class in lejos.navigation">Pilot</A>
<DD>Allocates a Pilot object, and sets the physical parameters of the NXT robot.
-<DT><A HREF="./lejos/navigation/TachoNavigator.html#pilot"><B>pilot</B></A> -
-Variable in class lejos.navigation.<A HREF="./lejos/navigation/TachoNavigator.html" title="class in lejos.navigation">TachoNavigator</A>
+<DT><A HREF="./java/io/File.html#play(int, int)"><B>play(int, int)</B></A> -
+Method in class java.io.<A HREF="./java/io/File.html" title="class in java.io">File</A>
<DD>
<DT><A HREF="./lejos/nxt/comm/LCP.html#PLAY_SOUND_FILE"><B>PLAY_SOUND_FILE</B></A> -
Static variable in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/LCP.html" title="class in lejos.nxt.comm">LCP</A>
<DT><A HREF="./lejos/nxt/comm/LCP.html#PLAY_TONE"><B>PLAY_TONE</B></A> -
Static variable in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/LCP.html" title="class in lejos.nxt.comm">LCP</A>
<DD>
+<DT><A HREF="./lejos/nxt/Sound.html#playSample(int, int, int, int)"><B>playSample(int, int, int, int)</B></A> -
+Static method in class lejos.nxt.<A HREF="./lejos/nxt/Sound.html" title="class in lejos.nxt">Sound</A>
+<DD>Internal method used to play sound sample from a file
+<DT><A HREF="./lejos/nxt/Sound.html#playSample(java.io.File, int, int)"><B>playSample(File, int, int)</B></A> -
+Static method in class lejos.nxt.<A HREF="./lejos/nxt/Sound.html" title="class in lejos.nxt">Sound</A>
+<DD>
<DT><A HREF="./lejos/nxt/Sound.html#playTone(int, int)"><B>playTone(int, int)</B></A> -
Static method in class lejos.nxt.<A HREF="./lejos/nxt/Sound.html" title="class in lejos.nxt">Sound</A>
<DD>Plays a tone, given its frequency and duration.
Method in class java.util.<A HREF="./java/util/Stack.html" title="class in java.util">Stack</A>
<DD>fetches an object from the top of the stack
and removes it
+<DT><A HREF="./javax/microedition/lcdui/Choice.html#POPUP"><B>POPUP</B></A> -
+Static variable in interface javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A>
+<DD>
<DT><A HREF="./lejos/nxt/SensorPort.html#PORTS"><B>PORTS</B></A> -
Static variable in class lejos.nxt.<A HREF="./lejos/nxt/SensorPort.html" title="class in lejos.nxt">SensorPort</A>
<DD>Array containing all three ports [0..3].
<DT><A HREF="./java/lang/Math.html#pow(double, double)"><B>pow(double, double)</B></A> -
Static method in class java.lang.<A HREF="./java/lang/Math.html" title="class in java.lang">Math</A>
<DD>Power function.
+<DT><A HREF="./javax/microedition/lcdui/Item.html#prefHeight"><B>prefHeight</B></A> -
+Variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Item.html#prefWidth"><B>prefWidth</B></A> -
+Variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A>
+<DD>
<DT><A HREF="./java/util/Queue.html#push(java.lang.Object)"><B>push(Object)</B></A> -
Method in class java.util.<A HREF="./java/util/Queue.html" title="class in java.util">Queue</A>
<DD>pushes an object onto the Queue
<DT><A HREF="./java/util/Queue.html" title="class in java.util"><B>Queue</B></A> - Class in <A HREF="./java/util/package-summary.html">java.util</A><DD>A FIFO Queue of objects.<DT><A HREF="./java/util/Queue.html#Queue()"><B>Queue()</B></A> -
Constructor for class java.util.<A HREF="./java/util/Queue.html" title="class in java.util">Queue</A>
<DD>creates a new Queue instance
+<DT><A HREF="./javax/microedition/lcdui/Display.html#quit()"><B>quit()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Display.html" title="class in javax.microedition.lcdui">Display</A>
+<DD>
<DT><A HREF="./lejos/nxt/TextMenu.html#quit()"><B>quit()</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/TextMenu.html" title="class in lejos.nxt">TextMenu</A>
<DD>method to call from another thread to quit the menu
<DT><A HREF="./java/io/DataInputStream.html#readInt()"><B>readInt()</B></A> -
Method in class java.io.<A HREF="./java/io/DataInputStream.html" title="class in java.io">DataInputStream</A>
<DD>
+<DT><A HREF="./java/io/DataInputStream.html#readLine()"><B>readLine()</B></A> -
+Method in class java.io.<A HREF="./java/io/DataInputStream.html" title="class in java.io">DataInputStream</A>
+<DD>
<DT><A HREF="./lejos/nxt/LightSensor.html#readNormalizedValue()"><B>readNormalizedValue()</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/LightSensor.html" title="class in lejos.nxt">LightSensor</A>
<DD>Read the current sensor normalized value.
<DT><A HREF="./lejos/util/RecyclableArray.html#release()"><B>release()</B></A> -
Method in class lejos.util.<A HREF="./lejos/util/RecyclableArray.html" title="class in lejos.util">RecyclableArray</A>
<DD>
+<DT><A HREF="./java/util/ArrayList.html#remove(int)"><B>remove(int)</B></A> -
+Method in class java.util.<A HREF="./java/util/ArrayList.html" title="class in java.util">ArrayList</A>
+<DD>
<DT><A HREF="./java/util/Vector.html#removeAllElements()"><B>removeAllElements()</B></A> -
Method in class java.util.<A HREF="./java/util/Vector.html" title="class in java.util">Vector</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/Displayable.html#removeCommand(javax.microedition.lcdui.Command)"><B>removeCommand(Command)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Item.html#removeCommand(javax.microedition.lcdui.Command)"><B>removeCommand(Command)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A>
+<DD>
+<DT><A HREF="./lejos/nxt/comm/Bluetooth.html#removeDevice(lejos.nxt.comm.BTRemoteDevice)"><B>removeDevice(BTRemoteDevice)</B></A> -
+Static method in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/Bluetooth.html" title="class in lejos.nxt.comm">Bluetooth</A>
+<DD>Add device to known devices
<DT><A HREF="./java/util/Vector.html#removeElement(java.lang.Object)"><B>removeElement(Object)</B></A> -
Method in class java.util.<A HREF="./java/util/Vector.html" title="class in java.util">Vector</A>
<DD>
<DT><A HREF="./java/util/Vector.html#removeElementAt(int)"><B>removeElementAt(int)</B></A> -
Method in class java.util.<A HREF="./java/util/Vector.html" title="class in java.util">Vector</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/Displayable.html#repaint()"><B>repaint()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Item.html#repaint()"><B>repaint()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A>
+<DD>
<DT><A HREF="./lejos/nxt/comm/LCP.html#REPLY_COMMAND"><B>REPLY_COMMAND</B></A> -
Static variable in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/LCP.html" title="class in lejos.nxt.comm">LCP</A>
<DD>
Method in class java.io.<A HREF="./java/io/InputStream.html" title="class in java.io">InputStream</A>
<DD>Repositions this stream to the position at the time the
<code>mark</code> method was last called on this input stream.
+<DT><A HREF="./lejos/nxt/Datalogger.html#reset()"><B>reset()</B></A> -
+Method in class lejos.nxt.<A HREF="./lejos/nxt/Datalogger.html" title="class in lejos.nxt">Datalogger</A>
+<DD>Clears the log; next write is at the beginning;
<DT><A HREF="./lejos/nxt/comm/LCP.html#RESET_MOTOR_POSITION"><B>RESET_MOTOR_POSITION</B></A> -
Static variable in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/LCP.html" title="class in lejos.nxt.comm">LCP</A>
<DD>
<DT><A HREF="./lejos/nxt/SensorPort.html#S4"><B>S4</B></A> -
Static variable in class lejos.nxt.<A HREF="./lejos/nxt/SensorPort.html" title="class in lejos.nxt">SensorPort</A>
<DD>Port labeled 4 on NXT.
+<DT><A HREF="./javax/microedition/lcdui/Command.html#SCREEN"><B>SCREEN</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui"><B>Screen</B></A> - Class in <A HREF="./javax/microedition/lcdui/package-summary.html">javax.microedition.lcdui</A><DD> <DT><A HREF="./javax/microedition/lcdui/Screen.html#Screen()"><B>Screen()</B></A> -
+Constructor for class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">Screen</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Display.html#SCREEN_CHAR_DEPTH"><B>SCREEN_CHAR_DEPTH</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Display.html" title="class in javax.microedition.lcdui">Display</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Display.html#SCREEN_CHAR_WIDTH"><B>SCREEN_CHAR_WIDTH</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Display.html" title="class in javax.microedition.lcdui">Display</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Display.html#SCREEN_HEIGHT"><B>SCREEN_HEIGHT</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Display.html" title="class in javax.microedition.lcdui">Display</A>
+<DD>
+<DT><A HREF="./lejos/nxt/LCD.html#SCREEN_HEIGHT"><B>SCREEN_HEIGHT</B></A> -
+Static variable in class lejos.nxt.<A HREF="./lejos/nxt/LCD.html" title="class in lejos.nxt">LCD</A>
+<DD>
+<DT><A HREF="./lejos/nxt/LCD.html#SCREEN_SCALE"><B>SCREEN_SCALE</B></A> -
+Static variable in class lejos.nxt.<A HREF="./lejos/nxt/LCD.html" title="class in lejos.nxt">LCD</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Display.html#SCREEN_WIDTH"><B>SCREEN_WIDTH</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Display.html" title="class in javax.microedition.lcdui">Display</A>
+<DD>
+<DT><A HREF="./lejos/nxt/LCD.html#SCREEN_WIDTH"><B>SCREEN_WIDTH</B></A> -
+Static variable in class lejos.nxt.<A HREF="./lejos/nxt/LCD.html" title="class in lejos.nxt">LCD</A>
+<DD>
<DT><A HREF="./lejos/nxt/TextMenu.html#select()"><B>select()</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/TextMenu.html" title="class in lejos.nxt">TextMenu</A>
<DD>Allows the user to scroll through the items, using the right and left buttons (forward and back) The Enter key closes the menu <br>
<DT><A HREF="./lejos/nxt/comm/Bluetooth.html#sendPacket(byte[], int)"><B>sendPacket(byte[], int)</B></A> -
Static method in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/Bluetooth.html" title="class in lejos.nxt.comm">Bluetooth</A>
<DD>Send a data packet.
+<DT><A HREF="./javax/microedition/lcdui/TextField.html#SENSITIVE"><B>SENSITIVE</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/TextField.html" title="class in javax.microedition.lcdui">TextField</A>
+<DD>
<DT><A HREF="./lejos/nxt/Poll.html#SENSOR1_MASK"><B>SENSOR1_MASK</B></A> -
Static variable in class lejos.nxt.<A HREF="./lejos/nxt/Poll.html" title="class in lejos.nxt">Poll</A>
<DD>
<DT><A HREF="./lejos/nxt/Poll.html#SERIAL_SHIFT"><B>SERIAL_SHIFT</B></A> -
Static variable in class lejos.nxt.<A HREF="./lejos/nxt/Poll.html" title="class in lejos.nxt">Poll</A>
<DD>
-<DT><A HREF="./java/io/Serializable.html" title="interface in java.io"><B>Serializable</B></A> - Interface in <A HREF="./java/io/package-summary.html">java.io</A><DD>This interface is not functional.<DT><A HREF="./java/util/BitSet.html#set(int)"><B>set(int)</B></A> -
+<DT><A HREF="./java/io/Serializable.html" title="interface in java.io"><B>Serializable</B></A> - Interface in <A HREF="./java/io/package-summary.html">java.io</A><DD>This interface is not functional.<DT><A HREF="./java/util/ArrayList.html#set(int, java.lang.Object)"><B>set(int, Object)</B></A> -
+Method in class java.util.<A HREF="./java/util/ArrayList.html" title="class in java.util">ArrayList</A>
+<DD>
+<DT><A HREF="./java/util/BitSet.html#set(int)"><B>set(int)</B></A> -
Method in class java.util.<A HREF="./java/util/BitSet.html" title="class in java.util">BitSet</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/Choice.html#set(int, java.lang.String, javax.microedition.lcdui.Image)"><B>set(int, String, Image)</B></A> -
+Method in interface javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/ChoiceGroup.html#set(int, java.lang.String, javax.microedition.lcdui.Image)"><B>set(int, String, Image)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/ChoiceGroup.html" title="class in javax.microedition.lcdui">ChoiceGroup</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Form.html#set(int, javax.microedition.lcdui.Item)"><B>set(int, Item)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Form.html" title="class in javax.microedition.lcdui">Form</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/List.html#set(int, java.lang.String, javax.microedition.lcdui.Image)"><B>set(int, String, Image)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/List.html" title="class in javax.microedition.lcdui">List</A>
+<DD>
<DT><A HREF="./lejos/nxt/comm/LCP.html#SET_BRICK_NAME"><B>SET_BRICK_NAME</B></A> -
Static variable in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/LCP.html" title="class in lejos.nxt.comm">LCP</A>
<DD>
<DT><A HREF="./lejos/nxt/comm/LCP.html#SET_OUTPUT_STATE"><B>SET_OUTPUT_STATE</B></A> -
Static variable in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/LCP.html" title="class in lejos.nxt.comm">LCP</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/Displayable.html#setCommandListener(javax.microedition.lcdui.CommandListener)"><B>setCommandListener(CommandListener)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/TextBox.html#setConstraints(int)"><B>setConstraints(int)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/TextBox.html" title="class in javax.microedition.lcdui">TextBox</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Display.html#setCurrent(javax.microedition.lcdui.Screen)"><B>setCurrent(Screen)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Display.html" title="class in javax.microedition.lcdui">Display</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Display.html#setCurrent(javax.microedition.lcdui.Alert, javax.microedition.lcdui.Screen)"><B>setCurrent(Alert, Screen)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Display.html" title="class in javax.microedition.lcdui">Display</A>
+<DD>
<DT><A HREF="./java/lang/Thread.html#setDaemon(boolean)"><B>setDaemon(boolean)</B></A> -
Method in class java.lang.<A HREF="./java/lang/Thread.html" title="class in java.lang">Thread</A>
<DD>
<DT><A HREF="./lejos/nxt/SoundSensor.html#setDBA(boolean)"><B>setDBA(boolean)</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/SoundSensor.html" title="class in lejos.nxt">SoundSensor</A>
<DD>Set DB or DBA mode.
+<DT><A HREF="./javax/microedition/lcdui/Spacer.html#setDefaultCommand(javax.microedition.lcdui.Command)"><B>setDefaultCommand(Command)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Spacer.html" title="class in javax.microedition.lcdui">Spacer</A>
+<DD>
<DT><A HREF="./lejos/util/Timer.html#setDelay(int)"><B>setDelay(int)</B></A> -
Method in class lejos.util.<A HREF="./lejos/util/Timer.html" title="class in lejos.util">Timer</A>
<DD>Change the delay between timedOut messages.
+<DT><A HREF="./lejos/nxt/comm/BTRemoteDevice.html#setDeviceAddr(byte[])"><B>setDeviceAddr(byte[])</B></A> -
+Method in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/BTRemoteDevice.html" title="class in lejos.nxt.comm">BTRemoteDevice</A>
+<DD>
+<DT><A HREF="./lejos/nxt/comm/BTRemoteDevice.html#setDeviceClass(byte[])"><B>setDeviceClass(byte[])</B></A> -
+Method in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/BTRemoteDevice.html" title="class in lejos.nxt.comm">BTRemoteDevice</A>
+<DD>
+<DT><A HREF="./lejos/nxt/LCD.html#setDisplay()"><B>setDisplay()</B></A> -
+Static method in class lejos.nxt.<A HREF="./lejos/nxt/LCD.html" title="class in lejos.nxt">LCD</A>
+<DD>
<DT><A HREF="./lejos/nxt/LCD.html#setDisplay(int[])"><B>setDisplay(int[])</B></A> -
Static method in class lejos.nxt.<A HREF="./lejos/nxt/LCD.html" title="class in lejos.nxt">LCD</A>
<DD>Write graphics from a Java buffer to the display.
<DD>Set floodlighting on or off.
<DT><A HREF="./lejos/nxt/comm/Bluetooth.html#setFriendlyName(byte[])"><B>setFriendlyName(byte[])</B></A> -
Static method in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/Bluetooth.html" title="class in lejos.nxt.comm">Bluetooth</A>
+<DD>Set the name of the local device
+<DT><A HREF="./lejos/nxt/comm/BTRemoteDevice.html#setFriendlyName(char[], int)"><B>setFriendlyName(char[], int)</B></A> -
+Method in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/BTRemoteDevice.html" title="class in lejos.nxt.comm">BTRemoteDevice</A>
<DD>
<DT><A HREF="./lejos/navigation/CompassPilot.html#setHeading(int)"><B>setHeading(int)</B></A> -
Method in class lejos.navigation.<A HREF="./lejos/navigation/CompassPilot.html" title="class in lejos.navigation">CompassPilot</A>
<DD>sets target direction of robot facing in degrees
+<DT><A HREF="./javax/microedition/lcdui/Alert.html#setIndicator(javax.microedition.lcdui.Gauge)"><B>setIndicator(Gauge)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui">Alert</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Item.html#setItemCommandListener(javax.microedition.lcdui.ItemCommandListener)"><B>setItemCommandListener(ItemCommandListener)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A>
+<DD>
<DT><A HREF="./lejos/nxt/TextMenu.html#setItems(java.lang.String[])"><B>setItems(String[])</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/TextMenu.html" title="class in lejos.nxt">TextMenu</A>
<DD>set the array of items to be displayed
+<DT><A HREF="./javax/microedition/lcdui/Form.html#setItemStateListener(javax.microedition.lcdui.ItemStateListener)"><B>setItemStateListener(ItemStateListener)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Form.html" title="class in javax.microedition.lcdui">Form</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Spacer.html#setLabel(java.lang.String)"><B>setLabel(String)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Spacer.html" title="class in javax.microedition.lcdui">Spacer</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/TextBox.html#setMaxSize(int)"><B>setMaxSize(int)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/TextBox.html" title="class in javax.microedition.lcdui">TextBox</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Gauge.html#setMaxValue(int)"><B>setMaxValue(int)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Gauge.html" title="class in javax.microedition.lcdui">Gauge</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Spacer.html#setMinimumSize(int, int)"><B>setMinimumSize(int, int)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Spacer.html" title="class in javax.microedition.lcdui">Spacer</A>
+<DD>
<DT><A HREF="./lejos/nxt/SensorPort.html#setMode(int)"><B>setMode(int)</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/SensorPort.html" title="class in lejos.nxt">SensorPort</A>
<DD>Sets mode compatible with Lego firmware.
Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A>
<DD>Using rgbColor as argument even though global, because when this
setPixel() method is used later it will need color argument
+<DT><A HREF="./lejos/nxt/LCD.html#setPixel(int, int, int)"><B>setPixel(int, int, int)</B></A> -
+Static method in class lejos.nxt.<A HREF="./lejos/nxt/LCD.html" title="class in lejos.nxt">LCD</A>
+<DD>
<DT><A HREF="./lejos/navigation/Navigator.html#setPosition(float, float, float)"><B>setPosition(float, float, float)</B></A> -
Method in interface lejos.navigation.<A HREF="./lejos/navigation/Navigator.html" title="interface in lejos.navigation">Navigator</A>
<DD>sets robot location (x,y) and direction angle
<DT><A HREF="./lejos/nxt/Motor.html#setPower(int)"><B>setPower(int)</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A>
<DD>sets motor power.
+<DT><A HREF="./javax/microedition/lcdui/Item.html#setPreferredSize(int, int)"><B>setPreferredSize(int, int)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A>
+<DD>
<DT><A HREF="./java/lang/Thread.html#setPriority(int)"><B>setPriority(int)</B></A> -
Method in class java.lang.<A HREF="./java/lang/Thread.html" title="class in java.lang">Thread</A>
<DD>Set the priority of this thread.
+<DT><A HREF="./javax/microedition/lcdui/ChoiceGroup.html#setScrollWrap(boolean)"><B>setScrollWrap(boolean)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/ChoiceGroup.html" title="class in javax.microedition.lcdui">ChoiceGroup</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/List.html#setScrollWrap(boolean)"><B>setScrollWrap(boolean)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/List.html" title="class in javax.microedition.lcdui">List</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Choice.html#setSelectedFlags(boolean[])"><B>setSelectedFlags(boolean[])</B></A> -
+Method in interface javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/ChoiceGroup.html#setSelectedFlags(boolean[])"><B>setSelectedFlags(boolean[])</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/ChoiceGroup.html" title="class in javax.microedition.lcdui">ChoiceGroup</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/List.html#setSelectedFlags(boolean[])"><B>setSelectedFlags(boolean[])</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/List.html" title="class in javax.microedition.lcdui">List</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Choice.html#setSelectedIndex(int, boolean)"><B>setSelectedIndex(int, boolean)</B></A> -
+Method in interface javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/ChoiceGroup.html#setSelectedIndex(int, boolean)"><B>setSelectedIndex(int, boolean)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/ChoiceGroup.html" title="class in javax.microedition.lcdui">ChoiceGroup</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/List.html#setSelectedIndex(int, boolean)"><B>setSelectedIndex(int, boolean)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/List.html" title="class in javax.microedition.lcdui">List</A>
+<DD>
<DT><A HREF="./java/util/Vector.html#setSize(int)"><B>setSize(int)</B></A> -
Method in class java.util.<A HREF="./java/util/Vector.html" title="class in java.util">Vector</A>
<DD>
<DT><A HREF="./lejos/nxt/Motor.html#setSpeed(int)"><B>setSpeed(int)</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A>
<DD>Sets motor speed , in degrees per second; Up to 900 is posssible with 8 volts.
+<DT><A HREF="./lejos/nxt/comm/Bluetooth.html#setStatus(byte)"><B>setStatus(byte)</B></A> -
+Static method in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/Bluetooth.html" title="class in lejos.nxt.comm">Bluetooth</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Alert.html#setString(java.lang.String)"><B>setString(String)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui">Alert</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Ticker.html#setString(java.lang.String)"><B>setString(String)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Ticker.html" title="class in javax.microedition.lcdui">Ticker</A>
+<DD>
<DT><A HREF="./javax/microedition/lcdui/Graphics.html#setStrokeStyle(int)"><B>setStrokeStyle(int)</B></A> -
Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/StringItem.html#setText(java.lang.String)"><B>setText(String)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/StringItem.html" title="class in javax.microedition.lcdui">StringItem</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/TextBox.html#setText(java.lang.String)"><B>setText(String)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/TextBox.html" title="class in javax.microedition.lcdui">TextBox</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/TextField.html#setText(java.lang.String)"><B>setText(String)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/TextField.html" title="class in javax.microedition.lcdui">TextField</A>
+<DD>
<DT><A HREF="./lejos/nxt/Poll.html#setThrottle(int)"><B>setThrottle(int)</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/Poll.html" title="class in lejos.nxt">Poll</A>
<DD>Set a throttle on the regularity with which inputs
are polled.
+<DT><A HREF="./javax/microedition/lcdui/Displayable.html#setTicker(javax.microedition.lcdui.Ticker)"><B>setTicker(Ticker)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Displayable.html#setTicker(int)"><B>setTicker(int)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Alert.html#setTimeout(int)"><B>setTimeout(int)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui">Alert</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Displayable.html#setTitle(java.lang.String)"><B>setTitle(String)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A>
+<DD>
<DT><A HREF="./lejos/nxt/TextMenu.html#setTitle(java.lang.String)"><B>setTitle(String)</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/TextMenu.html" title="class in lejos.nxt">TextMenu</A>
<DD>set menu title.
+<DT><A HREF="./javax/microedition/lcdui/Alert.html#setType(int)"><B>setType(int)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui">Alert</A>
+<DD>
<DT><A HREF="./lejos/nxt/SensorPort.html#setType(int)"><B>setType(int)</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/SensorPort.html" title="class in lejos.nxt">SensorPort</A>
<DD>Sets type compatible with Lego firmware.
<DT><A HREF="./lejos/nxt/SensorPort.html#setTypeAndMode(int, int)"><B>setTypeAndMode(int, int)</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/SensorPort.html" title="class in lejos.nxt">SensorPort</A>
<DD>Sets type and mode compatible with Lego firmware.
+<DT><A HREF="./javax/microedition/lcdui/Gauge.html#setValue(int)"><B>setValue(int)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Gauge.html" title="class in javax.microedition.lcdui">Gauge</A>
+<DD>
+<DT><A HREF="./lejos/nxt/comm/Bluetooth.html#setVisibility(byte)"><B>setVisibility(byte)</B></A> -
+Static method in class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/Bluetooth.html" title="class in lejos.nxt.comm">Bluetooth</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Display.html#show(boolean)"><B>show(boolean)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Display.html" title="class in javax.microedition.lcdui">Display</A>
+<DD>Start displaying the installed menus
+<DT><A HREF="./javax/microedition/lcdui/Displayable.html#shown"><B>shown</B></A> -
+Variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Alert.html#showNotify()"><B>showNotify()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui">Alert</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Item.html#showNotify()"><B>showNotify()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Screen.html#showNotify()"><B>showNotify()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">Screen</A>
+<DD>
<DT><A HREF="./lejos/nxt/Motor.html#shutdown()"><B>shutdown()</B></A> -
Method in class lejos.nxt.<A HREF="./lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A>
<DD>causes run() to exit
Method in class java.io.<A HREF="./java/io/DataOutputStream.html" title="class in java.io">DataOutputStream</A>
<DD>Returns the current value of the counter <code>written</code>,
the number of bytes written to this data output stream so far.
+<DT><A HREF="./java/util/ArrayList.html#size()"><B>size()</B></A> -
+Method in class java.util.<A HREF="./java/util/ArrayList.html" title="class in java.util">ArrayList</A>
+<DD>
<DT><A HREF="./java/util/Vector.html#size()"><B>size()</B></A> -
Method in class java.util.<A HREF="./java/util/Vector.html" title="class in java.util">Vector</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/Choice.html#size()"><B>size()</B></A> -
+Method in interface javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/ChoiceGroup.html#size()"><B>size()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/ChoiceGroup.html" title="class in javax.microedition.lcdui">ChoiceGroup</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Form.html#size()"><B>size()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Form.html" title="class in javax.microedition.lcdui">Form</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/List.html#size()"><B>size()</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/List.html" title="class in javax.microedition.lcdui">List</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Displayable.html#sizeChanged(int, int)"><B>sizeChanged(int, int)</B></A> -
+Method in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A>
+<DD>
<DT><A HREF="./java/io/InputStream.html#skip(long)"><B>skip(long)</B></A> -
Method in class java.io.<A HREF="./java/io/InputStream.html" title="class in java.io">InputStream</A>
<DD>Skips over and discards <code>n</code> bytes of data from this input
Constructor for class lejos.nxt.<A HREF="./lejos/nxt/SoundSensor.html" title="class in lejos.nxt">SoundSensor</A>
<DD>Create a sound sensor object attached to the specified port,
and sets DB or DBA mode.
+<DT><A HREF="./javax/microedition/lcdui/Spacer.html" title="class in javax.microedition.lcdui"><B>Spacer</B></A> - Class in <A HREF="./javax/microedition/lcdui/package-summary.html">javax.microedition.lcdui</A><DD> <DT><A HREF="./javax/microedition/lcdui/Spacer.html#Spacer(int, int)"><B>Spacer(int, int)</B></A> -
+Constructor for class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Spacer.html" title="class in javax.microedition.lcdui">Spacer</A>
+<DD>
<DT><A HREF="./java/lang/Math.html#sqrt(double)"><B>sqrt(double)</B></A> -
Static method in class java.lang.<A HREF="./java/lang/Math.html" title="class in java.lang">Math</A>
<DD>Square root - thanks to Paulo Costa for donating the code.
Method in class lejos.navigation.<A HREF="./lejos/navigation/Pilot.html" title="class in lejos.navigation">Pilot</A>
<DD>Moves the NXT robot in a circular path, and stops when the direction it is facing has changed by a specific angle; <br>
Returns immediately if immediateReturn is true.
+<DT><A HREF="./javax/microedition/lcdui/Command.html#STOP"><B>STOP</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A>
+<DD>
<DT><A HREF="./lejos/navigation/CompassNavigator.html#stop()"><B>stop()</B></A> -
Method in class lejos.navigation.<A HREF="./lejos/navigation/CompassNavigator.html" title="class in lejos.navigation">CompassNavigator</A>
<DD>Halts the NXT robot and calculates new x, y coordinates.
<DT><A HREF="./lejos/subsumption/StopException.html" title="class in lejos.subsumption"><B>StopException</B></A> - Exception in <A HREF="./lejos/subsumption/package-summary.html">lejos.subsumption</A><DD>This exception indicates that an activity should stop.<DT><A HREF="./lejos/subsumption/StopException.html#StopException()"><B>StopException()</B></A> -
Constructor for exception lejos.subsumption.<A HREF="./lejos/subsumption/StopException.html" title="class in lejos.subsumption">StopException</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/Alert.html#STR_CONFIRM"><B>STR_CONFIRM</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui">Alert</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Alert.html#STR_DENY"><B>STR_DENY</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui">Alert</A>
+<DD>
<DT><A HREF="./javax/microedition/io/StreamConnection.html" title="interface in javax.microedition.io"><B>StreamConnection</B></A> - Interface in <A HREF="./javax/microedition/io/package-summary.html">javax.microedition.io</A><DD>This interface defines the capabilities that a stream connection must have.<DT><A HREF="./java/lang/String.html" title="class in java.lang"><B>String</B></A> - Class in <A HREF="./java/lang/package-summary.html">java.lang</A><DD>An immutable string of characters.<DT><A HREF="./java/lang/String.html#String(char[], int, int)"><B>String(char[], int, int)</B></A> -
Constructor for class java.lang.<A HREF="./java/lang/String.html" title="class in java.lang">String</A>
<DD>Create a String from a character array.
<DT><A HREF="./java/lang/StringBuffer.html#StringBuffer(int)"><B>StringBuffer(int)</B></A> -
Constructor for class java.lang.<A HREF="./java/lang/StringBuffer.html" title="class in java.lang">StringBuffer</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/StringItem.html" title="class in javax.microedition.lcdui"><B>StringItem</B></A> - Class in <A HREF="./javax/microedition/lcdui/package-summary.html">javax.microedition.lcdui</A><DD> <DT><A HREF="./javax/microedition/lcdui/StringItem.html#StringItem(java.lang.String, java.lang.String)"><B>StringItem(String, String)</B></A> -
+Constructor for class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/StringItem.html" title="class in javax.microedition.lcdui">StringItem</A>
+<DD>
<DT><A HREF="./java/lang/StringUtils.html" title="class in java.lang"><B>StringUtils</B></A> - Class in <A HREF="./java/lang/package-summary.html">java.lang</A><DD>Utilities for non-standard String maniplulation.<DT><A HREF="./lejos/subsumption/Behavior.html#suppress()"><B>suppress()</B></A> -
Method in interface lejos.subsumption.<A HREF="./lejos/subsumption/Behavior.html" title="interface in lejos.subsumption">Behavior</A>
<DD>The code in suppress() should stop the current behavior.
<A NAME="_T_"><!-- --></A><H2>
<B>T</B></H2>
<DL>
-<DT><A HREF="./lejos/navigation/TachoNavigator.html" title="class in lejos.navigation"><B>TachoNavigator</B></A> - Class in <A HREF="./lejos/navigation/package-summary.html">lejos.navigation</A><DD>The TachoNavigator class can keep track of the robot position and the direction angle it faces; It uses a pilot object to control NXT robot movements.<br>
+<DT><A HREF="./lejos/navigation/TachoNavigator.html" title="class in lejos.navigation"><B>TachoNavigator</B></A> - Class in <A HREF="./lejos/navigation/package-summary.html">lejos.navigation</A><DD>The TachoNavigator class can keep track of the robot position and the direction angle it faces; It uses a _pilot object to control NXT robot movements.<br>
The position and direction angle values are updated automatically when the movement command returns after the movement is complete and and after stop() command is issued.<DT><A HREF="./lejos/navigation/TachoNavigator.html#TachoNavigator(float, float, lejos.nxt.Motor, lejos.nxt.Motor, boolean)"><B>TachoNavigator(float, float, Motor, Motor, boolean)</B></A> -
Constructor for class lejos.navigation.<A HREF="./lejos/navigation/TachoNavigator.html" title="class in lejos.navigation">TachoNavigator</A>
<DD>Allocates a Navigator object and initializes it with the proper motors.
<DT><A HREF="./lejos/util/Assertion.html#testEQ(java.lang.String, int, int)"><B>testEQ(String, int, int)</B></A> -
Static method in class lejos.util.<A HREF="./lejos/util/Assertion.html" title="class in lejos.util">Assertion</A>
<DD>If the actual value is not equal to the expected value, throw an Error.
+<DT><A HREF="./javax/microedition/lcdui/Choice.html#TEXT_WRAP_DEFAULT"><B>TEXT_WRAP_DEFAULT</B></A> -
+Static variable in interface javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Choice.html#TEXT_WRAP_OFF"><B>TEXT_WRAP_OFF</B></A> -
+Static variable in interface javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Choice.html#TEXT_WRAP_ON"><B>TEXT_WRAP_ON</B></A> -
+Static variable in interface javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/TextBox.html" title="class in javax.microedition.lcdui"><B>TextBox</B></A> - Class in <A HREF="./javax/microedition/lcdui/package-summary.html">javax.microedition.lcdui</A><DD> <DT><A HREF="./javax/microedition/lcdui/TextBox.html#TextBox(java.lang.String, java.lang.String, int, int)"><B>TextBox(String, String, int, int)</B></A> -
+Constructor for class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/TextBox.html" title="class in javax.microedition.lcdui">TextBox</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/TextField.html" title="class in javax.microedition.lcdui"><B>TextField</B></A> - Class in <A HREF="./javax/microedition/lcdui/package-summary.html">javax.microedition.lcdui</A><DD> <DT><A HREF="./javax/microedition/lcdui/TextField.html#TextField(java.lang.String, java.lang.String, int, int)"><B>TextField(String, String, int, int)</B></A> -
+Constructor for class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/TextField.html" title="class in javax.microedition.lcdui">TextField</A>
+<DD>
<DT><A HREF="./lejos/nxt/TextMenu.html" title="class in lejos.nxt"><B>TextMenu</B></A> - Class in <A HREF="./lejos/nxt/package-summary.html">lejos.nxt</A><DD>Displays a list of items.<DT><A HREF="./lejos/nxt/TextMenu.html#TextMenu(java.lang.String[])"><B>TextMenu(String[])</B></A> -
Constructor for class lejos.nxt.<A HREF="./lejos/nxt/TextMenu.html" title="class in lejos.nxt">TextMenu</A>
<DD>This constructor sets location of the top row of the item list to row 0 of the display.
<DT><A HREF="./java/lang/Throwable.html#Throwable(java.lang.String)"><B>Throwable(String)</B></A> -
Constructor for class java.lang.<A HREF="./java/lang/Throwable.html" title="class in java.lang">Throwable</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/Displayable.html#ticker"><B>ticker</B></A> -
+Variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A>
+<DD>
+<DT><A HREF="./javax/microedition/lcdui/Ticker.html" title="class in javax.microedition.lcdui"><B>Ticker</B></A> - Class in <A HREF="./javax/microedition/lcdui/package-summary.html">javax.microedition.lcdui</A><DD> <DT><A HREF="./javax/microedition/lcdui/Ticker.html#Ticker(java.lang.String)"><B>Ticker(String)</B></A> -
+Constructor for class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Ticker.html" title="class in javax.microedition.lcdui">Ticker</A>
+<DD>
<DT><A HREF="./lejos/nxt/TiltSensor.html" title="class in lejos.nxt"><B>TiltSensor</B></A> - Class in <A HREF="./lejos/nxt/package-summary.html">lejos.nxt</A><DD>Abstraction for a Mindsensors (and possibly HiTechnic)
acceleration (tilt) sensor.<DT><A HREF="./lejos/nxt/TiltSensor.html#TiltSensor(lejos.nxt.I2CPort)"><B>TiltSensor(I2CPort)</B></A> -
Constructor for class lejos.nxt.<A HREF="./lejos/nxt/TiltSensor.html" title="class in lejos.nxt">TiltSensor</A>
<DT><A HREF="./lejos/util/Timer.html" title="class in lejos.util"><B>Timer</B></A> - Class in <A HREF="./lejos/util/package-summary.html">lejos.util</A><DD>Timer object, with some similar functionality to java.Swing.Timer.<DT><A HREF="./lejos/util/Timer.html#Timer(int, lejos.util.TimerListener)"><B>Timer(int, TimerListener)</B></A> -
Constructor for class lejos.util.<A HREF="./lejos/util/Timer.html" title="class in lejos.util">Timer</A>
<DD>Create a Timer object.
-<DT><A HREF="./lejos/util/TimerListener.html" title="interface in lejos.util"><B>TimerListener</B></A> - Interface in <A HREF="./lejos/util/package-summary.html">lejos.util</A><DD>Listener used with Timer.<DT><A HREF="./java/util/Vector.html#toArray()"><B>toArray()</B></A> -
+<DT><A HREF="./lejos/util/TimerListener.html" title="interface in lejos.util"><B>TimerListener</B></A> - Interface in <A HREF="./lejos/util/package-summary.html">lejos.util</A><DD>Listener used with Timer.<DT><A HREF="./javax/microedition/lcdui/Displayable.html#title"><B>title</B></A> -
+Variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A>
+<DD>
+<DT><A HREF="./java/util/Vector.html#toArray()"><B>toArray()</B></A> -
Method in class java.util.<A HREF="./java/util/Vector.html" title="class in java.util">Vector</A>
<DD>
<DT><A HREF="./java/lang/String.html#toCharArray()"><B>toCharArray()</B></A> -
<DT><A HREF="./lejos/nxt/TouchSensor.html" title="class in lejos.nxt"><B>TouchSensor</B></A> - Class in <A HREF="./lejos/nxt/package-summary.html">lejos.nxt</A><DD>Abstraction for a NXT touch sensor.<DT><A HREF="./lejos/nxt/TouchSensor.html#TouchSensor(lejos.nxt.ADSensorPort)"><B>TouchSensor(ADSensorPort)</B></A> -
Constructor for class lejos.nxt.<A HREF="./lejos/nxt/TouchSensor.html" title="class in lejos.nxt">TouchSensor</A>
<DD>Create a touch sensor object attached to the specified port.
+<DT><A HREF="./lejos/nxt/Datalogger.html#transmit(boolean)"><B>transmit(boolean)</B></A> -
+Method in class lejos.nxt.<A HREF="./lejos/nxt/Datalogger.html" title="class in lejos.nxt">Datalogger</A>
+<DD>transmit the stored values to the PC via USB or bluetooth;<br>
+ Displays "waiting" , so then start the DataViewer.
<DT><A HREF="./lejos/navigation/CompassNavigator.html#travel(float, boolean)"><B>travel(float, boolean)</B></A> -
Method in class lejos.navigation.<A HREF="./lejos/navigation/CompassNavigator.html" title="class in lejos.navigation">CompassNavigator</A>
<DD>Moves the NXT robot a specific distance.
<DT><A HREF="./lejos/nxt/UltrasonicSensor.html" title="class in lejos.nxt"><B>UltrasonicSensor</B></A> - Class in <A HREF="./lejos/nxt/package-summary.html">lejos.nxt</A><DD>Abstraction for a NXT Ultrasonic Sensor.<DT><A HREF="./lejos/nxt/UltrasonicSensor.html#UltrasonicSensor(lejos.nxt.I2CPort)"><B>UltrasonicSensor(I2CPort)</B></A> -
Constructor for class lejos.nxt.<A HREF="./lejos/nxt/UltrasonicSensor.html" title="class in lejos.nxt">UltrasonicSensor</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/TextField.html#UNEDITABLE"><B>UNEDITABLE</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/TextField.html" title="class in javax.microedition.lcdui">TextField</A>
+<DD>
<DT><A HREF="./lejos/navigation/CompassNavigator.html#updateHeading()"><B>updateHeading()</B></A> -
Method in class lejos.navigation.<A HREF="./lejos/navigation/CompassNavigator.html" title="class in lejos.navigation">CompassNavigator</A>
<DD>Direction of robot facing is set equal to the current compass reading
<DT><A HREF="./lejos/navigation/CompassNavigator.html#updateXY()"><B>updateXY()</B></A> -
Method in class lejos.navigation.<A HREF="./lejos/navigation/CompassNavigator.html" title="class in lejos.navigation">CompassNavigator</A>
<DD>Updates x,y coordinates; assumes last compass angle was constant during travel
+<DT><A HREF="./javax/microedition/lcdui/TextField.html#URL"><B>URL</B></A> -
+Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/TextField.html" title="class in javax.microedition.lcdui">TextField</A>
+<DD>
<DT><A HREF="./lejos/nxt/comm/USB.html" title="class in lejos.nxt.comm"><B>USB</B></A> - Class in <A HREF="./lejos/nxt/comm/package-summary.html">lejos.nxt.comm</A><DD> <DT><A HREF="./lejos/nxt/comm/USBConnection.html" title="class in lejos.nxt.comm"><B>USBConnection</B></A> - Class in <A HREF="./lejos/nxt/comm/package-summary.html">lejos.nxt.comm</A><DD>Represents a USB Stream Connection.<DT><A HREF="./lejos/nxt/comm/USBConnection.html#USBConnection()"><B>USBConnection()</B></A> -
Constructor for class lejos.nxt.comm.<A HREF="./lejos/nxt/comm/USBConnection.html" title="class in lejos.nxt.comm">USBConnection</A>
<DD>
<DT><A HREF="./javax/microedition/lcdui/Graphics.html#WHITE"><B>WHITE</B></A> -
Static variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A>
<DD>
+<DT><A HREF="./javax/microedition/lcdui/Displayable.html#width"><B>width</B></A> -
+Variable in class javax.microedition.lcdui.<A HREF="./javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A>
+<DD>
<DT><A HREF="./java/io/DataOutputStream.html#write(int)"><B>write(int)</B></A> -
Method in class java.io.<A HREF="./java/io/DataOutputStream.html" title="class in java.io">DataOutputStream</A>
<DD>Writes the specified byte (the low eight bits of the argument
Method in class java.io.<A HREF="./java/io/DataOutputStream.html" title="class in java.io">DataOutputStream</A>
<DD>Writes a <code>char</code> to the underlying output stream as a
2-byte value, high byte first.
+<DT><A HREF="./java/io/DataOutputStream.html#writeChars(java.lang.String)"><B>writeChars(String)</B></A> -
+Method in class java.io.<A HREF="./java/io/DataOutputStream.html" title="class in java.io">DataOutputStream</A>
+<DD>
<DT><A HREF="./java/io/DataOutputStream.html#writeFloat(float)"><B>writeFloat(float)</B></A> -
Method in class java.io.<A HREF="./java/io/DataOutputStream.html" title="class in java.io">DataOutputStream</A>
<DD>Converts the float argument to an <code>int</code> using the
Method in class java.io.<A HREF="./java/io/DataOutputStream.html" title="class in java.io">DataOutputStream</A>
<DD>Writes an <code>int</code> to the underlying output stream as four
bytes, high byte first.
+<DT><A HREF="./lejos/nxt/Datalogger.html#writeLog(float)"><B>writeLog(float)</B></A> -
+Method in class lejos.nxt.<A HREF="./lejos/nxt/Datalogger.html" title="class in lejos.nxt">Datalogger</A>
+<DD>write a float value to the log
<DT><A HREF="./lejos/nxt/Flash.html#writePage(byte[], int)"><B>writePage(byte[], int)</B></A> -
Static method in class lejos.nxt.<A HREF="./lejos/nxt/Flash.html" title="class in lejos.nxt">Flash</A>
<DD>
<DT><A HREF="./lejos/navigation/Pilot.html#_left"><B>_left</B></A> -
Variable in class lejos.navigation.<A HREF="./lejos/navigation/Pilot.html" title="class in lejos.navigation">Pilot</A>
<DD>left motor
+<DT><A HREF="./lejos/navigation/TachoNavigator.html#_pilot"><B>_pilot</B></A> -
+Variable in class lejos.navigation.<A HREF="./lejos/navigation/TachoNavigator.html" title="class in lejos.navigation">TachoNavigator</A>
+<DD>
<DT><A HREF="./lejos/navigation/Pilot.html#_right"><B>_right</B></A> -
Variable in class lejos.navigation.<A HREF="./lejos/navigation/Pilot.html" title="class in lejos.navigation">Pilot</A>
<DD>right motor
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc on Sun Jul 15 14:27:36 BST 2007-->
+<!-- Generated by javadoc on Sun Sep 02 23:07:10 BST 2007-->
<TITLE>
leJOS NXT API documentation
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
DataInputStream (leJOS NXT API documentation)
</TITLE>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../java/io/DataInputStream.html#close()">close</A></B>()</CODE>
+
+<BR>
+ Closes this input stream and releases any system resources associated
+ with the stream.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../java/io/DataInputStream.html#read()">read</A></B>()</CODE>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../java/lang/String.html" title="class in java.lang">String</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../java/io/DataInputStream.html#readLine()">readLine</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> short</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../java/io/DataInputStream.html#readShort()">readShort</A></B>()</CODE>
<TH ALIGN="left"><B>Methods inherited from class java.io.<A HREF="../../java/io/InputStream.html" title="class in java.io">InputStream</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../java/io/InputStream.html#available()">available</A>, <A HREF="../../java/io/InputStream.html#close()">close</A>, <A HREF="../../java/io/InputStream.html#mark(int)">mark</A>, <A HREF="../../java/io/InputStream.html#markSupported()">markSupported</A>, <A HREF="../../java/io/InputStream.html#reset()">reset</A>, <A HREF="../../java/io/InputStream.html#skip(long)">skip</A></CODE></TD>
+<TD><CODE><A HREF="../../java/io/InputStream.html#available()">available</A>, <A HREF="../../java/io/InputStream.html#mark(int)">mark</A>, <A HREF="../../java/io/InputStream.html#markSupported()">markSupported</A>, <A HREF="../../java/io/InputStream.html#reset()">reset</A>, <A HREF="../../java/io/InputStream.html#skip(long)">skip</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<DD><CODE><A HREF="../../java/io/IOException.html" title="class in java.io">IOException</A></CODE></DL>
</DD>
</DL>
+<HR>
+
+<A NAME="readLine()"><!-- --></A><H3>
+readLine</H3>
+<PRE>
+public <A HREF="../../java/lang/String.html" title="class in java.lang">String</A> <B>readLine</B>()
+ throws <A HREF="../../java/io/IOException.html" title="class in java.io">IOException</A></PRE>
+<DL>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../java/io/IOException.html" title="class in java.io">IOException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="close()"><!-- --></A><H3>
+close</H3>
+<PRE>
+public void <B>close</B>()
+ throws <A HREF="../../java/io/IOException.html" title="class in java.io">IOException</A></PRE>
+<DL>
+<DD><B>Description copied from class: <CODE><A HREF="../../java/io/InputStream.html#close()">InputStream</A></CODE></B></DD>
+<DD>Closes this input stream and releases any system resources associated
+ with the stream.
+
+ <p> The <code>close</code> method of <code>InputStream</code> does
+ nothing.
+<P>
+<DD><DL>
+<DT><B>Overrides:</B><DD><CODE><A HREF="../../java/io/InputStream.html#close()">close</A></CODE> in class <CODE><A HREF="../../java/io/InputStream.html" title="class in java.io">InputStream</A></CODE></DL>
+</DD>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../java/io/IOException.html" title="class in java.io">IOException</A></CODE> - if an I/O error occurs.</DL>
+</DD>
+</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
DataOutputStream (leJOS NXT API documentation)
</TITLE>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../java/io/DataOutputStream.html#writeChars(java.lang.String)">writeChars</A></B>(<A HREF="../../java/lang/String.html" title="class in java.lang">String</A> value)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../java/io/DataOutputStream.html#writeFloat(float)">writeFloat</A></B>(float v)</CODE>
<BR>
<DT><B>Returns:</B><DD>the value of the <code>written</code> field.<DT><B>See Also:</B><DD><A HREF="../../java/io/DataOutputStream.html#written"><CODE>written</CODE></A></DL>
</DD>
</DL>
+<HR>
+
+<A NAME="writeChars(java.lang.String)"><!-- --></A><H3>
+writeChars</H3>
+<PRE>
+public final void <B>writeChars</B>(<A HREF="../../java/lang/String.html" title="class in java.lang">String</A> value)
+ throws <A HREF="../../java/io/IOException.html" title="class in java.io">IOException</A></PRE>
+<DL>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../java/io/IOException.html" title="class in java.io">IOException</A></CODE></DL>
+</DD>
+</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
File (leJOS NXT API documentation)
</TITLE>
<BR>
move the file to become the last one in flash memory</TD>
</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../java/io/File.html#play(int, int)">play</A></B>(int freq,
+ int vol)</CODE>
+
+<BR>
+ </TD>
+</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
</DL>
</DD>
</DL>
+<HR>
+
+<A NAME="play(int, int)"><!-- --></A><H3>
+play</H3>
+<PRE>
+public void <B>play</B>(int freq,
+ int vol)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
FileInputStream (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
FileOutputStream (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
IOException (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
InputStream (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
OutputStream (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
Serializable (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
java.io (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
java.io (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
java.io Class Hierarchy (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:34 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:07 BST 2007 -->
<TITLE>
ArithmeticException (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:34 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:07 BST 2007 -->
<TITLE>
ArrayIndexOutOfBoundsException (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:34 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:07 BST 2007 -->
<TITLE>
Class (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
ClassCastException (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
ClassNotFoundException (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
Cloneable (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
Error (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
Exception (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
Float (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
IllegalArgumentException (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
IllegalMonitorStateException (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
IllegalStateException (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
Integer (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
InterruptedException (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
Math (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
NoClassDefFoundError (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
NoSuchMethodError (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
NullPointerException (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
Object (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
OutOfMemoryError (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
Runtime (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
RuntimeException (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
StackOverflowError (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
String (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
StringBuffer (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
StringUtils (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
System (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
Thread (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
ThreadDeath (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
Throwable (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
java.lang (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
java.lang (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
java.lang Class Hierarchy (leJOS NXT API documentation)
</TITLE>
--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
+<TITLE>
+ArrayList (leJOS NXT API documentation)
+</TITLE>
+
+<META NAME="keywords" CONTENT="java.util.ArrayList class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="ArrayList (leJOS NXT API documentation)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV CLASS
+ <A HREF="../../java/util/BitSet.html" title="class in java.util"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../index.html?java/util/ArrayList.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="ArrayList.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+java.util</FONT>
+<BR>
+Class ArrayList</H2>
+<PRE>
+<A HREF="../../java/lang/Object.html" title="class in java.lang">java.lang.Object</A>
+ <IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>java.util.ArrayList</B>
+</PRE>
+<HR>
+<DL>
+<DT><PRE>public class <B>ArrayList</B><DT>extends <A HREF="../../java/lang/Object.html" title="class in java.lang">Object</A></DL>
+</PRE>
+
+<P>
+<DL>
+<DT><B>Author:</B></DT>
+ <DD>Andre Nijholt</DD>
+</DL>
+<HR>
+
+<P>
+<!-- =========== FIELD SUMMARY =========== -->
+
+<A NAME="field_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Field Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../java/util/ArrayList.html#capacityIncrement">capacityIncrement</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../java/util/ArrayList.html#elementCount">elementCount</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected <A HREF="../../java/lang/Object.html" title="class in java.lang">Object</A>[]</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../java/util/ArrayList.html#elementData">elementData</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../java/util/ArrayList.html#ArrayList()">ArrayList</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../java/util/ArrayList.html#ArrayList(int)">ArrayList</A></B>(int initialCapacity)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../java/util/ArrayList.html#ArrayList(java.lang.Object[])">ArrayList</A></B>(<A HREF="../../java/lang/Object.html" title="class in java.lang">Object</A>[] elements)</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../java/util/ArrayList.html#add(int, java.lang.Object)">add</A></B>(int index,
+ <A HREF="../../java/lang/Object.html" title="class in java.lang">Object</A> element)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../java/util/ArrayList.html#add(java.lang.Object)">add</A></B>(<A HREF="../../java/lang/Object.html" title="class in java.lang">Object</A> o)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../java/util/ArrayList.html#addAll(int, java.lang.Object[])">addAll</A></B>(int index,
+ <A HREF="../../java/lang/Object.html" title="class in java.lang">Object</A>[] elements)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../java/util/ArrayList.html#addAll(java.lang.Object[])">addAll</A></B>(<A HREF="../../java/lang/Object.html" title="class in java.lang">Object</A>[] elements)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../java/util/ArrayList.html#clear()">clear</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../java/util/ArrayList.html#contains(java.lang.Object)">contains</A></B>(<A HREF="../../java/lang/Object.html" title="class in java.lang">Object</A> o)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../java/lang/Object.html" title="class in java.lang">Object</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../java/util/ArrayList.html#get(int)">get</A></B>(int index)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../java/util/ArrayList.html#indexOf(java.lang.Object)">indexOf</A></B>(<A HREF="../../java/lang/Object.html" title="class in java.lang">Object</A> o)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../java/util/ArrayList.html#isEmpty()">isEmpty</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../java/util/ArrayList.html#lastIndexOf(java.lang.Object)">lastIndexOf</A></B>(<A HREF="../../java/lang/Object.html" title="class in java.lang">Object</A> o)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../java/lang/Object.html" title="class in java.lang">Object</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../java/util/ArrayList.html#remove(int)">remove</A></B>(int index)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../java/lang/Object.html" title="class in java.lang">Object</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../java/util/ArrayList.html#set(int, java.lang.Object)">set</A></B>(int index,
+ <A HREF="../../java/lang/Object.html" title="class in java.lang">Object</A> element)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../java/util/ArrayList.html#size()">size</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="../../java/lang/Object.html" title="class in java.lang">Object</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../java/lang/Object.html#wait(long)">wait</A></CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ============ FIELD DETAIL =========== -->
+
+<A NAME="field_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Field Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="elementData"><!-- --></A><H3>
+elementData</H3>
+<PRE>
+protected <A HREF="../../java/lang/Object.html" title="class in java.lang">Object</A>[] <B>elementData</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="capacityIncrement"><!-- --></A><H3>
+capacityIncrement</H3>
+<PRE>
+protected int <B>capacityIncrement</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="elementCount"><!-- --></A><H3>
+elementCount</H3>
+<PRE>
+protected int <B>elementCount</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="ArrayList(int)"><!-- --></A><H3>
+ArrayList</H3>
+<PRE>
+public <B>ArrayList</B>(int initialCapacity)</PRE>
+<DL>
+</DL>
+<HR>
+
+<A NAME="ArrayList(java.lang.Object[])"><!-- --></A><H3>
+ArrayList</H3>
+<PRE>
+public <B>ArrayList</B>(<A HREF="../../java/lang/Object.html" title="class in java.lang">Object</A>[] elements)</PRE>
+<DL>
+</DL>
+<HR>
+
+<A NAME="ArrayList()"><!-- --></A><H3>
+ArrayList</H3>
+<PRE>
+public <B>ArrayList</B>()</PRE>
+<DL>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="add(int, java.lang.Object)"><!-- --></A><H3>
+add</H3>
+<PRE>
+public void <B>add</B>(int index,
+ <A HREF="../../java/lang/Object.html" title="class in java.lang">Object</A> element)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="add(java.lang.Object)"><!-- --></A><H3>
+add</H3>
+<PRE>
+public void <B>add</B>(<A HREF="../../java/lang/Object.html" title="class in java.lang">Object</A> o)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="addAll(java.lang.Object[])"><!-- --></A><H3>
+addAll</H3>
+<PRE>
+public void <B>addAll</B>(<A HREF="../../java/lang/Object.html" title="class in java.lang">Object</A>[] elements)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="addAll(int, java.lang.Object[])"><!-- --></A><H3>
+addAll</H3>
+<PRE>
+public void <B>addAll</B>(int index,
+ <A HREF="../../java/lang/Object.html" title="class in java.lang">Object</A>[] elements)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="clear()"><!-- --></A><H3>
+clear</H3>
+<PRE>
+public void <B>clear</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="contains(java.lang.Object)"><!-- --></A><H3>
+contains</H3>
+<PRE>
+public boolean <B>contains</B>(<A HREF="../../java/lang/Object.html" title="class in java.lang">Object</A> o)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="get(int)"><!-- --></A><H3>
+get</H3>
+<PRE>
+public <A HREF="../../java/lang/Object.html" title="class in java.lang">Object</A> <B>get</B>(int index)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="indexOf(java.lang.Object)"><!-- --></A><H3>
+indexOf</H3>
+<PRE>
+public int <B>indexOf</B>(<A HREF="../../java/lang/Object.html" title="class in java.lang">Object</A> o)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="lastIndexOf(java.lang.Object)"><!-- --></A><H3>
+lastIndexOf</H3>
+<PRE>
+public int <B>lastIndexOf</B>(<A HREF="../../java/lang/Object.html" title="class in java.lang">Object</A> o)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="isEmpty()"><!-- --></A><H3>
+isEmpty</H3>
+<PRE>
+public boolean <B>isEmpty</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="remove(int)"><!-- --></A><H3>
+remove</H3>
+<PRE>
+public <A HREF="../../java/lang/Object.html" title="class in java.lang">Object</A> <B>remove</B>(int index)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="set(int, java.lang.Object)"><!-- --></A><H3>
+set</H3>
+<PRE>
+public <A HREF="../../java/lang/Object.html" title="class in java.lang">Object</A> <B>set</B>(int index,
+ <A HREF="../../java/lang/Object.html" title="class in java.lang">Object</A> element)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="size()"><!-- --></A><H3>
+size</H3>
+<PRE>
+public int <B>size</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV CLASS
+ <A HREF="../../java/util/BitSet.html" title="class in java.util"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../index.html?java/util/ArrayList.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="ArrayList.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
BitSet (leJOS NXT API documentation)
</TITLE>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV CLASS
+ <A HREF="../../java/util/ArrayList.html" title="class in java.util"><B>PREV CLASS</B></A>
<A HREF="../../java/util/EmptyQueueException.html" title="class in java.util"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../index.html?java/util/BitSet.html" target="_top"><B>FRAMES</B></A>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV CLASS
+ <A HREF="../../java/util/ArrayList.html" title="class in java.util"><B>PREV CLASS</B></A>
<A HREF="../../java/util/EmptyQueueException.html" title="class in java.util"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../index.html?java/util/BitSet.html" target="_top"><B>FRAMES</B></A>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
EmptyQueueException (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
EmptyStackException (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
Hashtable (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
Queue (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
Random (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
Stack (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
Vector (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
java.util (leJOS NXT API documentation)
</TITLE>
Classes</FONT>
<FONT CLASS="FrameItemFont">
<BR>
+<A HREF="ArrayList.html" title="class in java.util" target="classFrame">ArrayList</A>
+<BR>
<A HREF="BitSet.html" title="class in java.util" target="classFrame">BitSet</A>
<BR>
<A HREF="Hashtable.html" title="class in java.util" target="classFrame">Hashtable</A>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
java.util (leJOS NXT API documentation)
</TITLE>
<B>Class Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../java/util/ArrayList.html" title="class in java.util">ArrayList</A></B></TD>
+<TD> </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../java/util/BitSet.html" title="class in java.util">BitSet</A></B></TD>
<TD>Represents a long set of bits.</TD>
</TR>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
java.util Class Hierarchy (leJOS NXT API documentation)
</TITLE>
</H2>
<UL>
<LI TYPE="circle">java.lang.<A HREF="../../java/lang/Object.html" title="class in java.lang"><B>Object</B></A><UL>
-<LI TYPE="circle">java.util.<A HREF="../../java/util/BitSet.html" title="class in java.util"><B>BitSet</B></A><LI TYPE="circle">java.util.<A HREF="../../java/util/Hashtable.html" title="class in java.util"><B>Hashtable</B></A><LI TYPE="circle">java.util.<A HREF="../../java/util/Random.html" title="class in java.util"><B>Random</B></A><LI TYPE="circle">java.lang.<A HREF="../../java/lang/Throwable.html" title="class in java.lang"><B>Throwable</B></A><UL>
+<LI TYPE="circle">java.util.<A HREF="../../java/util/ArrayList.html" title="class in java.util"><B>ArrayList</B></A><LI TYPE="circle">java.util.<A HREF="../../java/util/BitSet.html" title="class in java.util"><B>BitSet</B></A><LI TYPE="circle">java.util.<A HREF="../../java/util/Hashtable.html" title="class in java.util"><B>Hashtable</B></A><LI TYPE="circle">java.util.<A HREF="../../java/util/Random.html" title="class in java.util"><B>Random</B></A><LI TYPE="circle">java.lang.<A HREF="../../java/lang/Throwable.html" title="class in java.lang"><B>Throwable</B></A><UL>
<LI TYPE="circle">java.lang.<A HREF="../../java/lang/Exception.html" title="class in java.lang"><B>Exception</B></A><UL>
<LI TYPE="circle">java.lang.<A HREF="../../java/lang/RuntimeException.html" title="class in java.lang"><B>RuntimeException</B></A><UL>
<LI TYPE="circle">java.util.<A HREF="../../java/util/EmptyQueueException.html" title="class in java.util"><B>EmptyQueueException</B></A><LI TYPE="circle">java.util.<A HREF="../../java/util/EmptyStackException.html" title="class in java.util"><B>EmptyStackException</B></A></UL>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
StreamConnection (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
javax.microedition.io (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
javax.microedition.io (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
javax.microedition.io Class Hierarchy (leJOS NXT API documentation)
</TITLE>
--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
+<TITLE>
+Alert (leJOS NXT API documentation)
+</TITLE>
+
+<META NAME="keywords" CONTENT="javax.microedition.lcdui.Alert class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="Alert (leJOS NXT API documentation)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV CLASS
+ <A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/Alert.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="Alert.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+javax.microedition.lcdui</FONT>
+<BR>
+Class Alert</H2>
+<PRE>
+<A HREF="../../../java/lang/Object.html" title="class in java.lang">java.lang.Object</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">javax.microedition.lcdui.Displayable</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">javax.microedition.lcdui.Screen</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>javax.microedition.lcdui.Alert</B>
+</PRE>
+<HR>
+<DL>
+<DT><PRE>public class <B>Alert</B><DT>extends <A HREF="../../../javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">Screen</A></DL>
+</PRE>
+
+<P>
+<DL>
+<DT><B>Author:</B></DT>
+ <DD>Andre Nijholt</DD>
+</DL>
+<HR>
+
+<P>
+<!-- =========== FIELD SUMMARY =========== -->
+
+<A NAME="field_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Field Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Alert.html#ALERT_TYPE_ALARM">ALERT_TYPE_ALARM</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Alert.html#ALERT_TYPE_CONFIRMATION">ALERT_TYPE_CONFIRMATION</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Alert.html#ALERT_TYPE_ERROR">ALERT_TYPE_ERROR</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Alert.html#ALERT_TYPE_INFO">ALERT_TYPE_INFO</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Alert.html#ALERT_TYPE_WARNING">ALERT_TYPE_WARNING</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Alert.html#FOREVER">FOREVER</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Alert.html#IMG_ALARM">IMG_ALARM</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Alert.html#IMG_CONFIRM">IMG_CONFIRM</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Alert.html#IMG_ERROR">IMG_ERROR</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Alert.html#IMG_INFO">IMG_INFO</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Alert.html#IMG_WARNING">IMG_WARNING</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Alert.html#STR_CONFIRM">STR_CONFIRM</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Alert.html#STR_DENY">STR_DENY</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+ <A NAME="fields_inherited_from_class_javax.microedition.lcdui.Displayable"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Fields inherited from class javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../javax/microedition/lcdui/Displayable.html#cmdListener">cmdListener</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#commands">commands</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#height">height</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#KEY_BACK">KEY_BACK</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#KEY_ENTER">KEY_ENTER</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#KEY_LEFT">KEY_LEFT</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#KEY_RIGHT">KEY_RIGHT</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#shown">shown</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#ticker">ticker</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#title">title</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#width">width</A></CODE></TD>
+</TR>
+</TABLE>
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Alert.html#Alert(java.lang.String)">Alert</A></B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> title)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Alert.html#Alert(java.lang.String, java.lang.String, javax.microedition.lcdui.Image, int)">Alert</A></B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> title,
+ <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> alertText,
+ <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A> alertImage,
+ int alertType)</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Alert.html#getConfirmation()">getConfirmation</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../javax/microedition/lcdui/Gauge.html" title="class in javax.microedition.lcdui">Gauge</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Alert.html#getIndicator()">getIndicator</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Alert.html#getTimeout()">getTimeout</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Alert.html#keyPressed(int)">keyPressed</A></B>(int keyCode)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Alert.html#paint(javax.microedition.lcdui.Graphics)">paint</A></B>(<A HREF="../../../javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A> g)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Alert.html#setIndicator(javax.microedition.lcdui.Gauge)">setIndicator</A></B>(<A HREF="../../../javax/microedition/lcdui/Gauge.html" title="class in javax.microedition.lcdui">Gauge</A> indicator)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Alert.html#setString(java.lang.String)">setString</A></B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> alertText)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Alert.html#setTimeout(int)">setTimeout</A></B>(int time)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Alert.html#setType(int)">setType</A></B>(int alertType)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Alert.html#showNotify()">showNotify</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_javax.microedition.lcdui.Screen"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">Screen</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../javax/microedition/lcdui/Screen.html#hideNotify()">hideNotify</A>, <A HREF="../../../javax/microedition/lcdui/Screen.html#keyReleased(int)">keyReleased</A></CODE></TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_javax.microedition.lcdui.Displayable"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../javax/microedition/lcdui/Displayable.html#addCommand(javax.microedition.lcdui.Command)">addCommand</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#callCommandListener()">callCommandListener</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#clearPaintRequest()">clearPaintRequest</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#getHeight()">getHeight</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#getPaintRequest()">getPaintRequest</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#getTicker()">getTicker</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#getTitle()">getTitle</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#getWidth()">getWidth</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#isShown()">isShown</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#removeCommand(javax.microedition.lcdui.Command)">removeCommand</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#repaint()">repaint</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#setCommandListener(javax.microedition.lcdui.CommandListener)">setCommandListener</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#setTicker(int)">setTicker</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#setTicker(javax.microedition.lcdui.Ticker)">setTicker</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#setTitle(java.lang.String)">setTitle</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#sizeChanged(int, int)">sizeChanged</A></CODE></TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long)">wait</A></CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ============ FIELD DETAIL =========== -->
+
+<A NAME="field_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Field Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="FOREVER"><!-- --></A><H3>
+FOREVER</H3>
+<PRE>
+public static final int <B>FOREVER</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.Alert.FOREVER">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="ALERT_TYPE_INFO"><!-- --></A><H3>
+ALERT_TYPE_INFO</H3>
+<PRE>
+public static final int <B>ALERT_TYPE_INFO</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.Alert.ALERT_TYPE_INFO">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="ALERT_TYPE_WARNING"><!-- --></A><H3>
+ALERT_TYPE_WARNING</H3>
+<PRE>
+public static final int <B>ALERT_TYPE_WARNING</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.Alert.ALERT_TYPE_WARNING">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="ALERT_TYPE_ERROR"><!-- --></A><H3>
+ALERT_TYPE_ERROR</H3>
+<PRE>
+public static final int <B>ALERT_TYPE_ERROR</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.Alert.ALERT_TYPE_ERROR">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="ALERT_TYPE_ALARM"><!-- --></A><H3>
+ALERT_TYPE_ALARM</H3>
+<PRE>
+public static final int <B>ALERT_TYPE_ALARM</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.Alert.ALERT_TYPE_ALARM">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="ALERT_TYPE_CONFIRMATION"><!-- --></A><H3>
+ALERT_TYPE_CONFIRMATION</H3>
+<PRE>
+public static final int <B>ALERT_TYPE_CONFIRMATION</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.Alert.ALERT_TYPE_CONFIRMATION">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="STR_CONFIRM"><!-- --></A><H3>
+STR_CONFIRM</H3>
+<PRE>
+public static final <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> <B>STR_CONFIRM</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.Alert.STR_CONFIRM">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="STR_DENY"><!-- --></A><H3>
+STR_DENY</H3>
+<PRE>
+public static final <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> <B>STR_DENY</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.Alert.STR_DENY">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="IMG_INFO"><!-- --></A><H3>
+IMG_INFO</H3>
+<PRE>
+public static final <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A> <B>IMG_INFO</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="IMG_WARNING"><!-- --></A><H3>
+IMG_WARNING</H3>
+<PRE>
+public static final <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A> <B>IMG_WARNING</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="IMG_ERROR"><!-- --></A><H3>
+IMG_ERROR</H3>
+<PRE>
+public static final <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A> <B>IMG_ERROR</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="IMG_ALARM"><!-- --></A><H3>
+IMG_ALARM</H3>
+<PRE>
+public static final <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A> <B>IMG_ALARM</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="IMG_CONFIRM"><!-- --></A><H3>
+IMG_CONFIRM</H3>
+<PRE>
+public static final <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A> <B>IMG_CONFIRM</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="Alert(java.lang.String)"><!-- --></A><H3>
+Alert</H3>
+<PRE>
+public <B>Alert</B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> title)</PRE>
+<DL>
+</DL>
+<HR>
+
+<A NAME="Alert(java.lang.String, java.lang.String, javax.microedition.lcdui.Image, int)"><!-- --></A><H3>
+Alert</H3>
+<PRE>
+public <B>Alert</B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> title,
+ <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> alertText,
+ <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A> alertImage,
+ int alertType)</PRE>
+<DL>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="setType(int)"><!-- --></A><H3>
+setType</H3>
+<PRE>
+public void <B>setType</B>(int alertType)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setString(java.lang.String)"><!-- --></A><H3>
+setString</H3>
+<PRE>
+public void <B>setString</B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> alertText)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setTimeout(int)"><!-- --></A><H3>
+setTimeout</H3>
+<PRE>
+public void <B>setTimeout</B>(int time)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getTimeout()"><!-- --></A><H3>
+getTimeout</H3>
+<PRE>
+public int <B>getTimeout</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getConfirmation()"><!-- --></A><H3>
+getConfirmation</H3>
+<PRE>
+public boolean <B>getConfirmation</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setIndicator(javax.microedition.lcdui.Gauge)"><!-- --></A><H3>
+setIndicator</H3>
+<PRE>
+public void <B>setIndicator</B>(<A HREF="../../../javax/microedition/lcdui/Gauge.html" title="class in javax.microedition.lcdui">Gauge</A> indicator)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getIndicator()"><!-- --></A><H3>
+getIndicator</H3>
+<PRE>
+public <A HREF="../../../javax/microedition/lcdui/Gauge.html" title="class in javax.microedition.lcdui">Gauge</A> <B>getIndicator</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="keyPressed(int)"><!-- --></A><H3>
+keyPressed</H3>
+<PRE>
+protected void <B>keyPressed</B>(int keyCode)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Screen.html#keyPressed(int)">keyPressed</A></CODE> in class <CODE><A HREF="../../../javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">Screen</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="showNotify()"><!-- --></A><H3>
+showNotify</H3>
+<PRE>
+protected void <B>showNotify</B>()</PRE>
+<DL>
+<DD><DL>
+<DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Screen.html#showNotify()">showNotify</A></CODE> in class <CODE><A HREF="../../../javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">Screen</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="paint(javax.microedition.lcdui.Graphics)"><!-- --></A><H3>
+paint</H3>
+<PRE>
+public void <B>paint</B>(<A HREF="../../../javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A> g)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Screen.html#paint(javax.microedition.lcdui.Graphics)">paint</A></CODE> in class <CODE><A HREF="../../../javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">Screen</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV CLASS
+ <A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/Alert.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="Alert.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>
--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
+<TITLE>
+Choice (leJOS NXT API documentation)
+</TITLE>
+
+<META NAME="keywords" CONTENT="javax.microedition.lcdui.Choice interface">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="Choice (leJOS NXT API documentation)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/ChoiceGroup.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/Choice.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="Choice.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+javax.microedition.lcdui</FONT>
+<BR>
+Interface Choice</H2>
+<DL>
+<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../javax/microedition/lcdui/ChoiceGroup.html" title="class in javax.microedition.lcdui">ChoiceGroup</A>, <A HREF="../../../javax/microedition/lcdui/List.html" title="class in javax.microedition.lcdui">List</A></DD>
+</DL>
+<HR>
+<DL>
+<DT><PRE>public interface <B>Choice</B></DL>
+</PRE>
+
+<P>
+<DL>
+<DT><B>Author:</B></DT>
+ <DD>Andre Nijholt</DD>
+</DL>
+<HR>
+
+<P>
+<!-- =========== FIELD SUMMARY =========== -->
+
+<A NAME="field_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Field Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Choice.html#EXCLUSIVE">EXCLUSIVE</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Choice.html#IMPLICIT">IMPLICIT</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Choice.html#MULTIPLE">MULTIPLE</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Choice.html#POPUP">POPUP</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Choice.html#TEXT_WRAP_DEFAULT">TEXT_WRAP_DEFAULT</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Choice.html#TEXT_WRAP_OFF">TEXT_WRAP_OFF</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Choice.html#TEXT_WRAP_ON">TEXT_WRAP_ON</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Choice.html#append(java.lang.String, javax.microedition.lcdui.Image)">append</A></B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> stringPart,
+ <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A> imagePart)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Choice.html#delete(int)">delete</A></B>(int elementNum)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Choice.html#deleteAll()">deleteAll</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Choice.html#getImage(int)">getImage</A></B>(int elementNum)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Choice.html#getSelectedFlags(boolean[])">getSelectedFlags</A></B>(boolean[] selectedArray_return)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Choice.html#getSelectedIndex()">getSelectedIndex</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Choice.html#getString(int)">getString</A></B>(int elementNum)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Choice.html#insert(int, java.lang.String, javax.microedition.lcdui.Image)">insert</A></B>(int elementNum,
+ <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> stringPart,
+ <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A> imagePart)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Choice.html#isSelected(int)">isSelected</A></B>(int elementNum)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Choice.html#set(int, java.lang.String, javax.microedition.lcdui.Image)">set</A></B>(int elementNum,
+ <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> stringPart,
+ <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A> imagePart)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Choice.html#setSelectedFlags(boolean[])">setSelectedFlags</A></B>(boolean[] selectedArray)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Choice.html#setSelectedIndex(int, boolean)">setSelectedIndex</A></B>(int elementNum,
+ boolean selected)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Choice.html#size()">size</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ============ FIELD DETAIL =========== -->
+
+<A NAME="field_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Field Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="EXCLUSIVE"><!-- --></A><H3>
+EXCLUSIVE</H3>
+<PRE>
+static final int <B>EXCLUSIVE</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.Choice.EXCLUSIVE">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="MULTIPLE"><!-- --></A><H3>
+MULTIPLE</H3>
+<PRE>
+static final int <B>MULTIPLE</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.Choice.MULTIPLE">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="IMPLICIT"><!-- --></A><H3>
+IMPLICIT</H3>
+<PRE>
+static final int <B>IMPLICIT</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.Choice.IMPLICIT">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="POPUP"><!-- --></A><H3>
+POPUP</H3>
+<PRE>
+static final int <B>POPUP</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.Choice.POPUP">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="TEXT_WRAP_DEFAULT"><!-- --></A><H3>
+TEXT_WRAP_DEFAULT</H3>
+<PRE>
+static final int <B>TEXT_WRAP_DEFAULT</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.Choice.TEXT_WRAP_DEFAULT">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="TEXT_WRAP_ON"><!-- --></A><H3>
+TEXT_WRAP_ON</H3>
+<PRE>
+static final int <B>TEXT_WRAP_ON</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.Choice.TEXT_WRAP_ON">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="TEXT_WRAP_OFF"><!-- --></A><H3>
+TEXT_WRAP_OFF</H3>
+<PRE>
+static final int <B>TEXT_WRAP_OFF</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.Choice.TEXT_WRAP_OFF">Constant Field Values</A></DL>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="append(java.lang.String, javax.microedition.lcdui.Image)"><!-- --></A><H3>
+append</H3>
+<PRE>
+int <B>append</B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> stringPart,
+ <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A> imagePart)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="delete(int)"><!-- --></A><H3>
+delete</H3>
+<PRE>
+void <B>delete</B>(int elementNum)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="deleteAll()"><!-- --></A><H3>
+deleteAll</H3>
+<PRE>
+void <B>deleteAll</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getImage(int)"><!-- --></A><H3>
+getImage</H3>
+<PRE>
+<A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A> <B>getImage</B>(int elementNum)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getSelectedFlags(boolean[])"><!-- --></A><H3>
+getSelectedFlags</H3>
+<PRE>
+int <B>getSelectedFlags</B>(boolean[] selectedArray_return)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getSelectedIndex()"><!-- --></A><H3>
+getSelectedIndex</H3>
+<PRE>
+int <B>getSelectedIndex</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getString(int)"><!-- --></A><H3>
+getString</H3>
+<PRE>
+<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> <B>getString</B>(int elementNum)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="insert(int, java.lang.String, javax.microedition.lcdui.Image)"><!-- --></A><H3>
+insert</H3>
+<PRE>
+void <B>insert</B>(int elementNum,
+ <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> stringPart,
+ <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A> imagePart)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="isSelected(int)"><!-- --></A><H3>
+isSelected</H3>
+<PRE>
+boolean <B>isSelected</B>(int elementNum)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="set(int, java.lang.String, javax.microedition.lcdui.Image)"><!-- --></A><H3>
+set</H3>
+<PRE>
+void <B>set</B>(int elementNum,
+ <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> stringPart,
+ <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A> imagePart)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setSelectedFlags(boolean[])"><!-- --></A><H3>
+setSelectedFlags</H3>
+<PRE>
+void <B>setSelectedFlags</B>(boolean[] selectedArray)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setSelectedIndex(int, boolean)"><!-- --></A><H3>
+setSelectedIndex</H3>
+<PRE>
+void <B>setSelectedIndex</B>(int elementNum,
+ boolean selected)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="size()"><!-- --></A><H3>
+size</H3>
+<PRE>
+int <B>size</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/ChoiceGroup.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/Choice.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="Choice.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>
--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
+<TITLE>
+ChoiceGroup (leJOS NXT API documentation)
+</TITLE>
+
+<META NAME="keywords" CONTENT="javax.microedition.lcdui.ChoiceGroup class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="ChoiceGroup (leJOS NXT API documentation)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/ChoiceGroup.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="ChoiceGroup.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+javax.microedition.lcdui</FONT>
+<BR>
+Class ChoiceGroup</H2>
+<PRE>
+<A HREF="../../../java/lang/Object.html" title="class in java.lang">java.lang.Object</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">javax.microedition.lcdui.Item</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>javax.microedition.lcdui.ChoiceGroup</B>
+</PRE>
+<DL>
+<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></DD>
+</DL>
+<HR>
+<DL>
+<DT><PRE>public class <B>ChoiceGroup</B><DT>extends <A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A><DT>implements <A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></DL>
+</PRE>
+
+<P>
+<DL>
+<DT><B>Author:</B></DT>
+ <DD>Andre Nijholt</DD>
+</DL>
+<HR>
+
+<P>
+<!-- =========== FIELD SUMMARY =========== -->
+
+<A NAME="field_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Field Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected <A HREF="../../../java/util/ArrayList.html" title="class in java.util">ArrayList</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/ChoiceGroup.html#choiceItems">choiceItems</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/ChoiceGroup.html#choiceType">choiceType</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+ <A NAME="fields_inherited_from_class_javax.microedition.lcdui.Item"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Fields inherited from class javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../javax/microedition/lcdui/Item.html#cmdListener">cmdListener</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#commands">commands</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#interactive">interactive</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#label">label</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#minHeight">minHeight</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#minWidth">minWidth</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#prefHeight">prefHeight</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#prefWidth">prefWidth</A></CODE></TD>
+</TR>
+</TABLE>
+ <A NAME="fields_inherited_from_class_javax.microedition.lcdui.Choice"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Fields inherited from interface javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../javax/microedition/lcdui/Choice.html#EXCLUSIVE">EXCLUSIVE</A>, <A HREF="../../../javax/microedition/lcdui/Choice.html#IMPLICIT">IMPLICIT</A>, <A HREF="../../../javax/microedition/lcdui/Choice.html#MULTIPLE">MULTIPLE</A>, <A HREF="../../../javax/microedition/lcdui/Choice.html#POPUP">POPUP</A>, <A HREF="../../../javax/microedition/lcdui/Choice.html#TEXT_WRAP_DEFAULT">TEXT_WRAP_DEFAULT</A>, <A HREF="../../../javax/microedition/lcdui/Choice.html#TEXT_WRAP_OFF">TEXT_WRAP_OFF</A>, <A HREF="../../../javax/microedition/lcdui/Choice.html#TEXT_WRAP_ON">TEXT_WRAP_ON</A></CODE></TD>
+</TR>
+</TABLE>
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/ChoiceGroup.html#ChoiceGroup(java.lang.String, int)">ChoiceGroup</A></B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> label,
+ int choiceType)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/ChoiceGroup.html#ChoiceGroup(java.lang.String, int, java.lang.String[], javax.microedition.lcdui.Image[])">ChoiceGroup</A></B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> label,
+ int choiceType,
+ <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A>[] stringElements,
+ <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A>[] imageElements)</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/ChoiceGroup.html#append(java.lang.String, javax.microedition.lcdui.Image)">append</A></B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> stringPart,
+ <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A> imagePart)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/ChoiceGroup.html#delete(int)">delete</A></B>(int elementNum)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/ChoiceGroup.html#deleteAll()">deleteAll</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/ChoiceGroup.html#getImage(int)">getImage</A></B>(int elementNum)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/ChoiceGroup.html#getSelectedFlags(boolean[])">getSelectedFlags</A></B>(boolean[] selectedArray_return)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/ChoiceGroup.html#getSelectedIndex()">getSelectedIndex</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/ChoiceGroup.html#getString(int)">getString</A></B>(int elementNum)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/ChoiceGroup.html#insert(int, java.lang.String, javax.microedition.lcdui.Image)">insert</A></B>(int elementNum,
+ <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> stringPart,
+ <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A> imagePart)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/ChoiceGroup.html#isSelected(int)">isSelected</A></B>(int elementNum)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/ChoiceGroup.html#keyPressed(int)">keyPressed</A></B>(int keyCode)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/ChoiceGroup.html#paint(javax.microedition.lcdui.Graphics, int, int, int, int, boolean)">paint</A></B>(<A HREF="../../../javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A> g,
+ int x,
+ int y,
+ int w,
+ int h,
+ boolean selected)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/ChoiceGroup.html#set(int, java.lang.String, javax.microedition.lcdui.Image)">set</A></B>(int elementNum,
+ <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> stringPart,
+ <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A> imagePart)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/ChoiceGroup.html#setScrollWrap(boolean)">setScrollWrap</A></B>(boolean scrollWrap)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/ChoiceGroup.html#setSelectedFlags(boolean[])">setSelectedFlags</A></B>(boolean[] selectedArray)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/ChoiceGroup.html#setSelectedIndex(int, boolean)">setSelectedIndex</A></B>(int elementNum,
+ boolean selected)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/ChoiceGroup.html#size()">size</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_javax.microedition.lcdui.Item"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../javax/microedition/lcdui/Item.html#addCommand(javax.microedition.lcdui.Command)">addCommand</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#getLabel()">getLabel</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#getMinimumHeight()">getMinimumHeight</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#getMinimumWidth()">getMinimumWidth</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#getPaintRequest()">getPaintRequest</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#getPreferredHeight()">getPreferredHeight</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#getPreferredWidth()">getPreferredWidth</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#hideNotify()">hideNotify</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#isInteractive()">isInteractive</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#keyReleased(int)">keyReleased</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#notifyStateChanged()">notifyStateChanged</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#removeCommand(javax.microedition.lcdui.Command)">removeCommand</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#repaint()">repaint</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#setItemCommandListener(javax.microedition.lcdui.ItemCommandListener)">setItemCommandListener</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#setPreferredSize(int, int)">setPreferredSize</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#showNotify()">showNotify</A></CODE></TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long)">wait</A></CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ============ FIELD DETAIL =========== -->
+
+<A NAME="field_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Field Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="choiceType"><!-- --></A><H3>
+choiceType</H3>
+<PRE>
+protected int <B>choiceType</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="choiceItems"><!-- --></A><H3>
+choiceItems</H3>
+<PRE>
+protected <A HREF="../../../java/util/ArrayList.html" title="class in java.util">ArrayList</A> <B>choiceItems</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="ChoiceGroup(java.lang.String, int)"><!-- --></A><H3>
+ChoiceGroup</H3>
+<PRE>
+public <B>ChoiceGroup</B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> label,
+ int choiceType)</PRE>
+<DL>
+</DL>
+<HR>
+
+<A NAME="ChoiceGroup(java.lang.String, int, java.lang.String[], javax.microedition.lcdui.Image[])"><!-- --></A><H3>
+ChoiceGroup</H3>
+<PRE>
+public <B>ChoiceGroup</B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> label,
+ int choiceType,
+ <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A>[] stringElements,
+ <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A>[] imageElements)</PRE>
+<DL>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="append(java.lang.String, javax.microedition.lcdui.Image)"><!-- --></A><H3>
+append</H3>
+<PRE>
+public int <B>append</B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> stringPart,
+ <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A> imagePart)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Choice.html#append(java.lang.String, javax.microedition.lcdui.Image)">append</A></CODE> in interface <CODE><A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="delete(int)"><!-- --></A><H3>
+delete</H3>
+<PRE>
+public void <B>delete</B>(int elementNum)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Choice.html#delete(int)">delete</A></CODE> in interface <CODE><A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="deleteAll()"><!-- --></A><H3>
+deleteAll</H3>
+<PRE>
+public void <B>deleteAll</B>()</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Choice.html#deleteAll()">deleteAll</A></CODE> in interface <CODE><A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getImage(int)"><!-- --></A><H3>
+getImage</H3>
+<PRE>
+public <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A> <B>getImage</B>(int elementNum)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Choice.html#getImage(int)">getImage</A></CODE> in interface <CODE><A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getSelectedFlags(boolean[])"><!-- --></A><H3>
+getSelectedFlags</H3>
+<PRE>
+public int <B>getSelectedFlags</B>(boolean[] selectedArray_return)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Choice.html#getSelectedFlags(boolean[])">getSelectedFlags</A></CODE> in interface <CODE><A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getSelectedIndex()"><!-- --></A><H3>
+getSelectedIndex</H3>
+<PRE>
+public int <B>getSelectedIndex</B>()</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Choice.html#getSelectedIndex()">getSelectedIndex</A></CODE> in interface <CODE><A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getString(int)"><!-- --></A><H3>
+getString</H3>
+<PRE>
+public <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> <B>getString</B>(int elementNum)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Choice.html#getString(int)">getString</A></CODE> in interface <CODE><A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="insert(int, java.lang.String, javax.microedition.lcdui.Image)"><!-- --></A><H3>
+insert</H3>
+<PRE>
+public void <B>insert</B>(int elementNum,
+ <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> stringPart,
+ <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A> imagePart)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Choice.html#insert(int, java.lang.String, javax.microedition.lcdui.Image)">insert</A></CODE> in interface <CODE><A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="isSelected(int)"><!-- --></A><H3>
+isSelected</H3>
+<PRE>
+public boolean <B>isSelected</B>(int elementNum)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Choice.html#isSelected(int)">isSelected</A></CODE> in interface <CODE><A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="set(int, java.lang.String, javax.microedition.lcdui.Image)"><!-- --></A><H3>
+set</H3>
+<PRE>
+public void <B>set</B>(int elementNum,
+ <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> stringPart,
+ <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A> imagePart)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Choice.html#set(int, java.lang.String, javax.microedition.lcdui.Image)">set</A></CODE> in interface <CODE><A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setScrollWrap(boolean)"><!-- --></A><H3>
+setScrollWrap</H3>
+<PRE>
+public void <B>setScrollWrap</B>(boolean scrollWrap)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setSelectedFlags(boolean[])"><!-- --></A><H3>
+setSelectedFlags</H3>
+<PRE>
+public void <B>setSelectedFlags</B>(boolean[] selectedArray)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Choice.html#setSelectedFlags(boolean[])">setSelectedFlags</A></CODE> in interface <CODE><A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setSelectedIndex(int, boolean)"><!-- --></A><H3>
+setSelectedIndex</H3>
+<PRE>
+public void <B>setSelectedIndex</B>(int elementNum,
+ boolean selected)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Choice.html#setSelectedIndex(int, boolean)">setSelectedIndex</A></CODE> in interface <CODE><A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="size()"><!-- --></A><H3>
+size</H3>
+<PRE>
+public int <B>size</B>()</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Choice.html#size()">size</A></CODE> in interface <CODE><A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="keyPressed(int)"><!-- --></A><H3>
+keyPressed</H3>
+<PRE>
+protected void <B>keyPressed</B>(int keyCode)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Item.html#keyPressed(int)">keyPressed</A></CODE> in class <CODE><A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="paint(javax.microedition.lcdui.Graphics, int, int, int, int, boolean)"><!-- --></A><H3>
+paint</H3>
+<PRE>
+protected void <B>paint</B>(<A HREF="../../../javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A> g,
+ int x,
+ int y,
+ int w,
+ int h,
+ boolean selected)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Item.html#paint(javax.microedition.lcdui.Graphics, int, int, int, int, boolean)">paint</A></CODE> in class <CODE><A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/ChoiceGroup.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="ChoiceGroup.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>
--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
+<TITLE>
+Command (leJOS NXT API documentation)
+</TITLE>
+
+<META NAME="keywords" CONTENT="javax.microedition.lcdui.Command class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="Command (leJOS NXT API documentation)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/ChoiceGroup.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/CommandListener.html" title="interface in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/Command.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="Command.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+javax.microedition.lcdui</FONT>
+<BR>
+Class Command</H2>
+<PRE>
+<A HREF="../../../java/lang/Object.html" title="class in java.lang">java.lang.Object</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>javax.microedition.lcdui.Command</B>
+</PRE>
+<HR>
+<DL>
+<DT><PRE>public class <B>Command</B><DT>extends <A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></DL>
+</PRE>
+
+<P>
+<DL>
+<DT><B>Author:</B></DT>
+ <DD>Andre Nijholt</DD>
+</DL>
+<HR>
+
+<P>
+<!-- =========== FIELD SUMMARY =========== -->
+
+<A NAME="field_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Field Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Command.html#BACK">BACK</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Command.html#CANCEL">CANCEL</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Command.html#EXIT">EXIT</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Command.html#HELP">HELP</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Command.html#ITEM">ITEM</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Command.html#OK">OK</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Command.html#SCREEN">SCREEN</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Command.html#STOP">STOP</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Command.html#Command(int, int, int)">Command</A></B>(int commandId,
+ int commandType,
+ int priority)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Command.html#Command(int, java.lang.String, int, int)">Command</A></B>(int commandId,
+ <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> longLabel,
+ int commandType,
+ int priority)</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Command.html#getCommandId()">getCommandId</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Command.html#getCommandType()">getCommandType</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Command.html#getLongLabel()">getLongLabel</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Command.html#getPriority()">getPriority</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long)">wait</A></CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ============ FIELD DETAIL =========== -->
+
+<A NAME="field_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Field Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="SCREEN"><!-- --></A><H3>
+SCREEN</H3>
+<PRE>
+public static final int <B>SCREEN</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.Command.SCREEN">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="BACK"><!-- --></A><H3>
+BACK</H3>
+<PRE>
+public static final int <B>BACK</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.Command.BACK">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="CANCEL"><!-- --></A><H3>
+CANCEL</H3>
+<PRE>
+public static final int <B>CANCEL</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.Command.CANCEL">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="OK"><!-- --></A><H3>
+OK</H3>
+<PRE>
+public static final int <B>OK</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.Command.OK">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="HELP"><!-- --></A><H3>
+HELP</H3>
+<PRE>
+public static final int <B>HELP</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.Command.HELP">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="STOP"><!-- --></A><H3>
+STOP</H3>
+<PRE>
+public static final int <B>STOP</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.Command.STOP">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="EXIT"><!-- --></A><H3>
+EXIT</H3>
+<PRE>
+public static final int <B>EXIT</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.Command.EXIT">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="ITEM"><!-- --></A><H3>
+ITEM</H3>
+<PRE>
+public static final int <B>ITEM</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.Command.ITEM">Constant Field Values</A></DL>
+</DL>
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="Command(int, int, int)"><!-- --></A><H3>
+Command</H3>
+<PRE>
+public <B>Command</B>(int commandId,
+ int commandType,
+ int priority)</PRE>
+<DL>
+</DL>
+<HR>
+
+<A NAME="Command(int, java.lang.String, int, int)"><!-- --></A><H3>
+Command</H3>
+<PRE>
+public <B>Command</B>(int commandId,
+ <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> longLabel,
+ int commandType,
+ int priority)</PRE>
+<DL>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="getCommandType()"><!-- --></A><H3>
+getCommandType</H3>
+<PRE>
+public int <B>getCommandType</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getCommandId()"><!-- --></A><H3>
+getCommandId</H3>
+<PRE>
+public int <B>getCommandId</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getLongLabel()"><!-- --></A><H3>
+getLongLabel</H3>
+<PRE>
+public <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> <B>getLongLabel</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getPriority()"><!-- --></A><H3>
+getPriority</H3>
+<PRE>
+public int <B>getPriority</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/ChoiceGroup.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/CommandListener.html" title="interface in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/Command.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="Command.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>
--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
+<TITLE>
+CommandListener (leJOS NXT API documentation)
+</TITLE>
+
+<META NAME="keywords" CONTENT="javax.microedition.lcdui.CommandListener interface">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="CommandListener (leJOS NXT API documentation)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/Display.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/CommandListener.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="CommandListener.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+javax.microedition.lcdui</FONT>
+<BR>
+Interface CommandListener</H2>
+<DL>
+<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../javax/microedition/lcdui/Form.html" title="class in javax.microedition.lcdui">Form</A></DD>
+</DL>
+<HR>
+<DL>
+<DT><PRE>public interface <B>CommandListener</B></DL>
+</PRE>
+
+<P>
+<DL>
+<DT><B>Author:</B></DT>
+ <DD>Andre Nijholt</DD>
+</DL>
+<HR>
+
+<P>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/CommandListener.html#commandAction(javax.microedition.lcdui.Command, javax.microedition.lcdui.Displayable)">commandAction</A></B>(<A HREF="../../../javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A> c,
+ <A HREF="../../../javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A> d)</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="commandAction(javax.microedition.lcdui.Command, javax.microedition.lcdui.Displayable)"><!-- --></A><H3>
+commandAction</H3>
+<PRE>
+void <B>commandAction</B>(<A HREF="../../../javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A> c,
+ <A HREF="../../../javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A> d)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/Display.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/CommandListener.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="CommandListener.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>
--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
+<TITLE>
+Display (leJOS NXT API documentation)
+</TITLE>
+
+<META NAME="keywords" CONTENT="javax.microedition.lcdui.Display class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="Display (leJOS NXT API documentation)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/CommandListener.html" title="interface in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/Display.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="Display.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+javax.microedition.lcdui</FONT>
+<BR>
+Class Display</H2>
+<PRE>
+<A HREF="../../../java/lang/Object.html" title="class in java.lang">java.lang.Object</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>javax.microedition.lcdui.Display</B>
+</PRE>
+<HR>
+<DL>
+<DT><PRE>public class <B>Display</B><DT>extends <A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></DL>
+</PRE>
+
+<P>
+<DL>
+<DT><B>Author:</B></DT>
+ <DD>Andre Nijholt</DD>
+</DL>
+<HR>
+
+<P>
+<!-- =========== FIELD SUMMARY =========== -->
+
+<A NAME="field_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Field Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Display.html#CHAR_HEIGHT">CHAR_HEIGHT</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Display.html#CHAR_WIDTH">CHAR_WIDTH</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected <A HREF="../../../javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Display.html#graphics">graphics</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Display.html#SCREEN_CHAR_DEPTH">SCREEN_CHAR_DEPTH</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Display.html#SCREEN_CHAR_WIDTH">SCREEN_CHAR_WIDTH</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Display.html#SCREEN_HEIGHT">SCREEN_HEIGHT</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Display.html#SCREEN_WIDTH">SCREEN_WIDTH</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Display.html#getCurrent()">getCurrent</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static <A HREF="../../../javax/microedition/lcdui/Display.html" title="class in javax.microedition.lcdui">Display</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Display.html#getDisplay()">getDisplay</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Display.html#quit()">quit</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Display.html#setCurrent(javax.microedition.lcdui.Alert, javax.microedition.lcdui.Screen)">setCurrent</A></B>(<A HREF="../../../javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui">Alert</A> alert,
+ <A HREF="../../../javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">Screen</A> nextDisplayable)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Display.html#setCurrent(javax.microedition.lcdui.Screen)">setCurrent</A></B>(<A HREF="../../../javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">Screen</A> nextDisplayable)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Display.html#show(boolean)">show</A></B>(boolean polling)</CODE>
+
+<BR>
+ Start displaying the installed menus</TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long)">wait</A></CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ============ FIELD DETAIL =========== -->
+
+<A NAME="field_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Field Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="SCREEN_WIDTH"><!-- --></A><H3>
+SCREEN_WIDTH</H3>
+<PRE>
+public static final int <B>SCREEN_WIDTH</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.Display.SCREEN_WIDTH">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="SCREEN_HEIGHT"><!-- --></A><H3>
+SCREEN_HEIGHT</H3>
+<PRE>
+public static final int <B>SCREEN_HEIGHT</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.Display.SCREEN_HEIGHT">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="CHAR_WIDTH"><!-- --></A><H3>
+CHAR_WIDTH</H3>
+<PRE>
+public static final int <B>CHAR_WIDTH</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.Display.CHAR_WIDTH">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="CHAR_HEIGHT"><!-- --></A><H3>
+CHAR_HEIGHT</H3>
+<PRE>
+public static final int <B>CHAR_HEIGHT</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.Display.CHAR_HEIGHT">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="SCREEN_CHAR_WIDTH"><!-- --></A><H3>
+SCREEN_CHAR_WIDTH</H3>
+<PRE>
+public static final int <B>SCREEN_CHAR_WIDTH</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.Display.SCREEN_CHAR_WIDTH">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="SCREEN_CHAR_DEPTH"><!-- --></A><H3>
+SCREEN_CHAR_DEPTH</H3>
+<PRE>
+public static final int <B>SCREEN_CHAR_DEPTH</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.Display.SCREEN_CHAR_DEPTH">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="graphics"><!-- --></A><H3>
+graphics</H3>
+<PRE>
+protected <A HREF="../../../javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A> <B>graphics</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="getDisplay()"><!-- --></A><H3>
+getDisplay</H3>
+<PRE>
+public static <A HREF="../../../javax/microedition/lcdui/Display.html" title="class in javax.microedition.lcdui">Display</A> <B>getDisplay</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setCurrent(javax.microedition.lcdui.Screen)"><!-- --></A><H3>
+setCurrent</H3>
+<PRE>
+public void <B>setCurrent</B>(<A HREF="../../../javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">Screen</A> nextDisplayable)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setCurrent(javax.microedition.lcdui.Alert, javax.microedition.lcdui.Screen)"><!-- --></A><H3>
+setCurrent</H3>
+<PRE>
+public void <B>setCurrent</B>(<A HREF="../../../javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui">Alert</A> alert,
+ <A HREF="../../../javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">Screen</A> nextDisplayable)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getCurrent()"><!-- --></A><H3>
+getCurrent</H3>
+<PRE>
+public <A HREF="../../../javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A> <B>getCurrent</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="show(boolean)"><!-- --></A><H3>
+show</H3>
+<PRE>
+public void <B>show</B>(boolean polling)</PRE>
+<DL>
+<DD>Start displaying the installed menus
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>polling</CODE> - true to poll for button updates (recommended)</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="quit()"><!-- --></A><H3>
+quit</H3>
+<PRE>
+public void <B>quit</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/CommandListener.html" title="interface in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/Display.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="Display.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>
--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
+<TITLE>
+Displayable (leJOS NXT API documentation)
+</TITLE>
+
+<META NAME="keywords" CONTENT="javax.microedition.lcdui.Displayable class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="Displayable (leJOS NXT API documentation)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/Display.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/Font.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/Displayable.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="Displayable.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+javax.microedition.lcdui</FONT>
+<BR>
+Class Displayable</H2>
+<PRE>
+<A HREF="../../../java/lang/Object.html" title="class in java.lang">java.lang.Object</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>javax.microedition.lcdui.Displayable</B>
+</PRE>
+<DL>
+<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">Screen</A></DD>
+</DL>
+<HR>
+<DL>
+<DT><PRE>public class <B>Displayable</B><DT>extends <A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></DL>
+</PRE>
+
+<P>
+<DL>
+<DT><B>Author:</B></DT>
+ <DD>Andre Nijholt</DD>
+</DL>
+<HR>
+
+<P>
+<!-- =========== FIELD SUMMARY =========== -->
+
+<A NAME="field_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Field Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected <A HREF="../../../javax/microedition/lcdui/CommandListener.html" title="interface in javax.microedition.lcdui">CommandListener</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Displayable.html#cmdListener">cmdListener</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected <A HREF="../../../java/util/ArrayList.html" title="class in java.util">ArrayList</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Displayable.html#commands">commands</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Displayable.html#height">height</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Displayable.html#KEY_BACK">KEY_BACK</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Displayable.html#KEY_ENTER">KEY_ENTER</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Displayable.html#KEY_LEFT">KEY_LEFT</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Displayable.html#KEY_RIGHT">KEY_RIGHT</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Displayable.html#shown">shown</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected <A HREF="../../../javax/microedition/lcdui/Ticker.html" title="class in javax.microedition.lcdui">Ticker</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Displayable.html#ticker">ticker</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Displayable.html#title">title</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Displayable.html#width">width</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Displayable.html#Displayable()">Displayable</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Displayable.html#addCommand(javax.microedition.lcdui.Command)">addCommand</A></B>(<A HREF="../../../javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A> cmd)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Displayable.html#callCommandListener()">callCommandListener</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Displayable.html#clearPaintRequest()">clearPaintRequest</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Displayable.html#getHeight()">getHeight</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Displayable.html#getPaintRequest()">getPaintRequest</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../javax/microedition/lcdui/Ticker.html" title="class in javax.microedition.lcdui">Ticker</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Displayable.html#getTicker()">getTicker</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Displayable.html#getTitle()">getTitle</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Displayable.html#getWidth()">getWidth</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Displayable.html#isShown()">isShown</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Displayable.html#removeCommand(javax.microedition.lcdui.Command)">removeCommand</A></B>(<A HREF="../../../javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A> cmd)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Displayable.html#repaint()">repaint</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Displayable.html#setCommandListener(javax.microedition.lcdui.CommandListener)">setCommandListener</A></B>(<A HREF="../../../javax/microedition/lcdui/CommandListener.html" title="interface in javax.microedition.lcdui">CommandListener</A> l)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Displayable.html#setTicker(int)">setTicker</A></B>(int ticker)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Displayable.html#setTicker(javax.microedition.lcdui.Ticker)">setTicker</A></B>(<A HREF="../../../javax/microedition/lcdui/Ticker.html" title="class in javax.microedition.lcdui">Ticker</A> ticker)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Displayable.html#setTitle(java.lang.String)">setTitle</A></B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> s)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Displayable.html#sizeChanged(int, int)">sizeChanged</A></B>(int w,
+ int h)</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long)">wait</A></CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ============ FIELD DETAIL =========== -->
+
+<A NAME="field_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Field Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="KEY_LEFT"><!-- --></A><H3>
+KEY_LEFT</H3>
+<PRE>
+public static final int <B>KEY_LEFT</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.Displayable.KEY_LEFT">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="KEY_ENTER"><!-- --></A><H3>
+KEY_ENTER</H3>
+<PRE>
+public static final int <B>KEY_ENTER</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.Displayable.KEY_ENTER">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="KEY_RIGHT"><!-- --></A><H3>
+KEY_RIGHT</H3>
+<PRE>
+public static final int <B>KEY_RIGHT</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.Displayable.KEY_RIGHT">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="KEY_BACK"><!-- --></A><H3>
+KEY_BACK</H3>
+<PRE>
+public static final int <B>KEY_BACK</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.Displayable.KEY_BACK">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="commands"><!-- --></A><H3>
+commands</H3>
+<PRE>
+protected <A HREF="../../../java/util/ArrayList.html" title="class in java.util">ArrayList</A> <B>commands</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="cmdListener"><!-- --></A><H3>
+cmdListener</H3>
+<PRE>
+protected <A HREF="../../../javax/microedition/lcdui/CommandListener.html" title="interface in javax.microedition.lcdui">CommandListener</A> <B>cmdListener</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="ticker"><!-- --></A><H3>
+ticker</H3>
+<PRE>
+protected <A HREF="../../../javax/microedition/lcdui/Ticker.html" title="class in javax.microedition.lcdui">Ticker</A> <B>ticker</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="title"><!-- --></A><H3>
+title</H3>
+<PRE>
+protected <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> <B>title</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="height"><!-- --></A><H3>
+height</H3>
+<PRE>
+protected int <B>height</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="width"><!-- --></A><H3>
+width</H3>
+<PRE>
+protected int <B>width</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="shown"><!-- --></A><H3>
+shown</H3>
+<PRE>
+protected boolean <B>shown</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="Displayable()"><!-- --></A><H3>
+Displayable</H3>
+<PRE>
+public <B>Displayable</B>()</PRE>
+<DL>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="getHeight()"><!-- --></A><H3>
+getHeight</H3>
+<PRE>
+public int <B>getHeight</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setTicker(javax.microedition.lcdui.Ticker)"><!-- --></A><H3>
+setTicker</H3>
+<PRE>
+public void <B>setTicker</B>(<A HREF="../../../javax/microedition/lcdui/Ticker.html" title="class in javax.microedition.lcdui">Ticker</A> ticker)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getTicker()"><!-- --></A><H3>
+getTicker</H3>
+<PRE>
+public <A HREF="../../../javax/microedition/lcdui/Ticker.html" title="class in javax.microedition.lcdui">Ticker</A> <B>getTicker</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getTitle()"><!-- --></A><H3>
+getTitle</H3>
+<PRE>
+public <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> <B>getTitle</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getWidth()"><!-- --></A><H3>
+getWidth</H3>
+<PRE>
+public int <B>getWidth</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="isShown()"><!-- --></A><H3>
+isShown</H3>
+<PRE>
+public boolean <B>isShown</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="addCommand(javax.microedition.lcdui.Command)"><!-- --></A><H3>
+addCommand</H3>
+<PRE>
+public void <B>addCommand</B>(<A HREF="../../../javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A> cmd)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="removeCommand(javax.microedition.lcdui.Command)"><!-- --></A><H3>
+removeCommand</H3>
+<PRE>
+public void <B>removeCommand</B>(<A HREF="../../../javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A> cmd)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setCommandListener(javax.microedition.lcdui.CommandListener)"><!-- --></A><H3>
+setCommandListener</H3>
+<PRE>
+public void <B>setCommandListener</B>(<A HREF="../../../javax/microedition/lcdui/CommandListener.html" title="interface in javax.microedition.lcdui">CommandListener</A> l)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="callCommandListener()"><!-- --></A><H3>
+callCommandListener</H3>
+<PRE>
+protected void <B>callCommandListener</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setTicker(int)"><!-- --></A><H3>
+setTicker</H3>
+<PRE>
+public void <B>setTicker</B>(int ticker)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setTitle(java.lang.String)"><!-- --></A><H3>
+setTitle</H3>
+<PRE>
+public void <B>setTitle</B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> s)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="sizeChanged(int, int)"><!-- --></A><H3>
+sizeChanged</H3>
+<PRE>
+protected void <B>sizeChanged</B>(int w,
+ int h)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getPaintRequest()"><!-- --></A><H3>
+getPaintRequest</H3>
+<PRE>
+public boolean <B>getPaintRequest</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="clearPaintRequest()"><!-- --></A><H3>
+clearPaintRequest</H3>
+<PRE>
+public void <B>clearPaintRequest</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="repaint()"><!-- --></A><H3>
+repaint</H3>
+<PRE>
+public void <B>repaint</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/Display.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/Font.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/Displayable.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="Displayable.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>
--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
+<TITLE>
+Font (leJOS NXT API documentation)
+</TITLE>
+
+<META NAME="keywords" CONTENT="javax.microedition.lcdui.Font class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="Font (leJOS NXT API documentation)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/Form.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/Font.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="Font.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#methods_inherited_from_class_java.lang.Object">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+javax.microedition.lcdui</FONT>
+<BR>
+Class Font</H2>
+<PRE>
+<A HREF="../../../java/lang/Object.html" title="class in java.lang">java.lang.Object</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>javax.microedition.lcdui.Font</B>
+</PRE>
+<HR>
+<DL>
+<DT><PRE>public class <B>Font</B><DT>extends <A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></DL>
+</PRE>
+
+<P>
+<DL>
+<DT><B>Author:</B></DT>
+ <DD>Andre Nijholt</DD>
+</DL>
+<HR>
+
+<P>
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Font.html#Font()">Font</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long)">wait</A></CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="Font()"><!-- --></A><H3>
+Font</H3>
+<PRE>
+public <B>Font</B>()</PRE>
+<DL>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/Form.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/Font.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="Font.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#methods_inherited_from_class_java.lang.Object">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>
--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
+<TITLE>
+Form (leJOS NXT API documentation)
+</TITLE>
+
+<META NAME="keywords" CONTENT="javax.microedition.lcdui.Form class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="Form (leJOS NXT API documentation)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/Font.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/Gauge.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/Form.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="Form.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_javax.microedition.lcdui.Displayable">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+javax.microedition.lcdui</FONT>
+<BR>
+Class Form</H2>
+<PRE>
+<A HREF="../../../java/lang/Object.html" title="class in java.lang">java.lang.Object</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">javax.microedition.lcdui.Displayable</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">javax.microedition.lcdui.Screen</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>javax.microedition.lcdui.Form</B>
+</PRE>
+<DL>
+<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../javax/microedition/lcdui/CommandListener.html" title="interface in javax.microedition.lcdui">CommandListener</A></DD>
+</DL>
+<HR>
+<DL>
+<DT><PRE>public class <B>Form</B><DT>extends <A HREF="../../../javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">Screen</A><DT>implements <A HREF="../../../javax/microedition/lcdui/CommandListener.html" title="interface in javax.microedition.lcdui">CommandListener</A></DL>
+</PRE>
+
+<P>
+<DL>
+<DT><B>Author:</B></DT>
+ <DD>Andre Nijholt</DD>
+</DL>
+<HR>
+
+<P>
+<!-- =========== FIELD SUMMARY =========== -->
+
+<A NAME="field_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Field Summary</B></FONT></TH>
+</TR>
+</TABLE>
+ <A NAME="fields_inherited_from_class_javax.microedition.lcdui.Displayable"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Fields inherited from class javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../javax/microedition/lcdui/Displayable.html#cmdListener">cmdListener</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#commands">commands</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#KEY_BACK">KEY_BACK</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#KEY_ENTER">KEY_ENTER</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#KEY_LEFT">KEY_LEFT</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#KEY_RIGHT">KEY_RIGHT</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#shown">shown</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#ticker">ticker</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#title">title</A></CODE></TD>
+</TR>
+</TABLE>
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Form.html#Form(java.lang.String)">Form</A></B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> title)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Form.html#Form(java.lang.String, javax.microedition.lcdui.Item[])">Form</A></B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> title,
+ <A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A>[] items)</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Form.html#append(javax.microedition.lcdui.Image)">append</A></B>(<A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A> img)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Form.html#append(javax.microedition.lcdui.Item)">append</A></B>(<A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A> item)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Form.html#append(java.lang.String)">append</A></B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> str)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Form.html#callItemStateListener()">callItemStateListener</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Form.html#commandAction(javax.microedition.lcdui.Command, javax.microedition.lcdui.Displayable)">commandAction</A></B>(<A HREF="../../../javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A> c,
+ <A HREF="../../../javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A> d)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Form.html#delete(int)">delete</A></B>(int itemNum)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Form.html#deleteAll()">deleteAll</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Form.html#get(int)">get</A></B>(int itemNum)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Form.html#getHeight()">getHeight</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Form.html#getWidth()">getWidth</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Form.html#insert(int, javax.microedition.lcdui.Item)">insert</A></B>(int itemNum,
+ <A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A> item)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Form.html#keyPressed(int)">keyPressed</A></B>(int keyCode)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Form.html#paint(javax.microedition.lcdui.Graphics)">paint</A></B>(<A HREF="../../../javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A> g)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Form.html#set(int, javax.microedition.lcdui.Item)">set</A></B>(int itemNum,
+ <A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A> item)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Form.html#setItemStateListener(javax.microedition.lcdui.ItemStateListener)">setItemStateListener</A></B>(<A HREF="../../../javax/microedition/lcdui/ItemStateListener.html" title="interface in javax.microedition.lcdui">ItemStateListener</A> i)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Form.html#size()">size</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_javax.microedition.lcdui.Screen"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">Screen</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../javax/microedition/lcdui/Screen.html#hideNotify()">hideNotify</A>, <A HREF="../../../javax/microedition/lcdui/Screen.html#keyReleased(int)">keyReleased</A>, <A HREF="../../../javax/microedition/lcdui/Screen.html#showNotify()">showNotify</A></CODE></TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_javax.microedition.lcdui.Displayable"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../javax/microedition/lcdui/Displayable.html#addCommand(javax.microedition.lcdui.Command)">addCommand</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#callCommandListener()">callCommandListener</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#clearPaintRequest()">clearPaintRequest</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#getPaintRequest()">getPaintRequest</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#getTicker()">getTicker</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#getTitle()">getTitle</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#isShown()">isShown</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#removeCommand(javax.microedition.lcdui.Command)">removeCommand</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#repaint()">repaint</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#setCommandListener(javax.microedition.lcdui.CommandListener)">setCommandListener</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#setTicker(int)">setTicker</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#setTicker(javax.microedition.lcdui.Ticker)">setTicker</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#setTitle(java.lang.String)">setTitle</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#sizeChanged(int, int)">sizeChanged</A></CODE></TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long)">wait</A></CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="Form(java.lang.String)"><!-- --></A><H3>
+Form</H3>
+<PRE>
+public <B>Form</B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> title)</PRE>
+<DL>
+</DL>
+<HR>
+
+<A NAME="Form(java.lang.String, javax.microedition.lcdui.Item[])"><!-- --></A><H3>
+Form</H3>
+<PRE>
+public <B>Form</B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> title,
+ <A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A>[] items)</PRE>
+<DL>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="append(javax.microedition.lcdui.Image)"><!-- --></A><H3>
+append</H3>
+<PRE>
+public int <B>append</B>(<A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A> img)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="append(javax.microedition.lcdui.Item)"><!-- --></A><H3>
+append</H3>
+<PRE>
+public int <B>append</B>(<A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A> item)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="append(java.lang.String)"><!-- --></A><H3>
+append</H3>
+<PRE>
+public int <B>append</B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> str)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="delete(int)"><!-- --></A><H3>
+delete</H3>
+<PRE>
+public void <B>delete</B>(int itemNum)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="deleteAll()"><!-- --></A><H3>
+deleteAll</H3>
+<PRE>
+public void <B>deleteAll</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="get(int)"><!-- --></A><H3>
+get</H3>
+<PRE>
+public <A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A> <B>get</B>(int itemNum)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="set(int, javax.microedition.lcdui.Item)"><!-- --></A><H3>
+set</H3>
+<PRE>
+public void <B>set</B>(int itemNum,
+ <A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A> item)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="insert(int, javax.microedition.lcdui.Item)"><!-- --></A><H3>
+insert</H3>
+<PRE>
+public void <B>insert</B>(int itemNum,
+ <A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A> item)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getHeight()"><!-- --></A><H3>
+getHeight</H3>
+<PRE>
+public int <B>getHeight</B>()</PRE>
+<DL>
+<DD><DL>
+<DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Displayable.html#getHeight()">getHeight</A></CODE> in class <CODE><A HREF="../../../javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getWidth()"><!-- --></A><H3>
+getWidth</H3>
+<PRE>
+public int <B>getWidth</B>()</PRE>
+<DL>
+<DD><DL>
+<DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Displayable.html#getWidth()">getWidth</A></CODE> in class <CODE><A HREF="../../../javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="size()"><!-- --></A><H3>
+size</H3>
+<PRE>
+public int <B>size</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setItemStateListener(javax.microedition.lcdui.ItemStateListener)"><!-- --></A><H3>
+setItemStateListener</H3>
+<PRE>
+public void <B>setItemStateListener</B>(<A HREF="../../../javax/microedition/lcdui/ItemStateListener.html" title="interface in javax.microedition.lcdui">ItemStateListener</A> i)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="callItemStateListener()"><!-- --></A><H3>
+callItemStateListener</H3>
+<PRE>
+protected void <B>callItemStateListener</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="keyPressed(int)"><!-- --></A><H3>
+keyPressed</H3>
+<PRE>
+protected void <B>keyPressed</B>(int keyCode)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Screen.html#keyPressed(int)">keyPressed</A></CODE> in class <CODE><A HREF="../../../javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">Screen</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="commandAction(javax.microedition.lcdui.Command, javax.microedition.lcdui.Displayable)"><!-- --></A><H3>
+commandAction</H3>
+<PRE>
+public void <B>commandAction</B>(<A HREF="../../../javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A> c,
+ <A HREF="../../../javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A> d)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/CommandListener.html#commandAction(javax.microedition.lcdui.Command, javax.microedition.lcdui.Displayable)">commandAction</A></CODE> in interface <CODE><A HREF="../../../javax/microedition/lcdui/CommandListener.html" title="interface in javax.microedition.lcdui">CommandListener</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="paint(javax.microedition.lcdui.Graphics)"><!-- --></A><H3>
+paint</H3>
+<PRE>
+public void <B>paint</B>(<A HREF="../../../javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A> g)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Screen.html#paint(javax.microedition.lcdui.Graphics)">paint</A></CODE> in class <CODE><A HREF="../../../javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">Screen</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/Font.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/Gauge.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/Form.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="Form.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_javax.microedition.lcdui.Displayable">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>
--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
+<TITLE>
+Gauge (leJOS NXT API documentation)
+</TITLE>
+
+<META NAME="keywords" CONTENT="javax.microedition.lcdui.Gauge class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="Gauge (leJOS NXT API documentation)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/Form.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/Gauge.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="Gauge.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_javax.microedition.lcdui.Item">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+javax.microedition.lcdui</FONT>
+<BR>
+Class Gauge</H2>
+<PRE>
+<A HREF="../../../java/lang/Object.html" title="class in java.lang">java.lang.Object</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">javax.microedition.lcdui.Item</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>javax.microedition.lcdui.Gauge</B>
+</PRE>
+<HR>
+<DL>
+<DT><PRE>public class <B>Gauge</B><DT>extends <A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A></DL>
+</PRE>
+
+<P>
+<DL>
+<DT><B>Author:</B></DT>
+ <DD>Andre Nijholt</DD>
+</DL>
+<HR>
+
+<P>
+<!-- =========== FIELD SUMMARY =========== -->
+
+<A NAME="field_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Field Summary</B></FONT></TH>
+</TR>
+</TABLE>
+ <A NAME="fields_inherited_from_class_javax.microedition.lcdui.Item"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Fields inherited from class javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../javax/microedition/lcdui/Item.html#cmdListener">cmdListener</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#commands">commands</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#interactive">interactive</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#label">label</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#minHeight">minHeight</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#minWidth">minWidth</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#prefHeight">prefHeight</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#prefWidth">prefWidth</A></CODE></TD>
+</TR>
+</TABLE>
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Gauge.html#Gauge(java.lang.String, boolean, int, int)">Gauge</A></B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> label,
+ boolean interactive,
+ int maxValue,
+ int initialValue)</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Gauge.html#getMaxValue()">getMaxValue</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Gauge.html#getValue()">getValue</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Gauge.html#keyPressed(int)">keyPressed</A></B>(int keyCode)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Gauge.html#paint(javax.microedition.lcdui.Graphics, int, int, int, int, boolean)">paint</A></B>(<A HREF="../../../javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A> g,
+ int x,
+ int y,
+ int w,
+ int h,
+ boolean selected)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Gauge.html#setMaxValue(int)">setMaxValue</A></B>(int maxValue)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Gauge.html#setValue(int)">setValue</A></B>(int value)</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_javax.microedition.lcdui.Item"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../javax/microedition/lcdui/Item.html#addCommand(javax.microedition.lcdui.Command)">addCommand</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#getLabel()">getLabel</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#getMinimumHeight()">getMinimumHeight</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#getMinimumWidth()">getMinimumWidth</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#getPaintRequest()">getPaintRequest</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#getPreferredHeight()">getPreferredHeight</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#getPreferredWidth()">getPreferredWidth</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#hideNotify()">hideNotify</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#isInteractive()">isInteractive</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#keyReleased(int)">keyReleased</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#notifyStateChanged()">notifyStateChanged</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#removeCommand(javax.microedition.lcdui.Command)">removeCommand</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#repaint()">repaint</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#setItemCommandListener(javax.microedition.lcdui.ItemCommandListener)">setItemCommandListener</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#setPreferredSize(int, int)">setPreferredSize</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#showNotify()">showNotify</A></CODE></TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long)">wait</A></CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="Gauge(java.lang.String, boolean, int, int)"><!-- --></A><H3>
+Gauge</H3>
+<PRE>
+public <B>Gauge</B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> label,
+ boolean interactive,
+ int maxValue,
+ int initialValue)</PRE>
+<DL>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="getMaxValue()"><!-- --></A><H3>
+getMaxValue</H3>
+<PRE>
+public int <B>getMaxValue</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setMaxValue(int)"><!-- --></A><H3>
+setMaxValue</H3>
+<PRE>
+public void <B>setMaxValue</B>(int maxValue)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getValue()"><!-- --></A><H3>
+getValue</H3>
+<PRE>
+public int <B>getValue</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setValue(int)"><!-- --></A><H3>
+setValue</H3>
+<PRE>
+public void <B>setValue</B>(int value)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="keyPressed(int)"><!-- --></A><H3>
+keyPressed</H3>
+<PRE>
+protected void <B>keyPressed</B>(int keyCode)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Item.html#keyPressed(int)">keyPressed</A></CODE> in class <CODE><A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="paint(javax.microedition.lcdui.Graphics, int, int, int, int, boolean)"><!-- --></A><H3>
+paint</H3>
+<PRE>
+public void <B>paint</B>(<A HREF="../../../javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A> g,
+ int x,
+ int y,
+ int w,
+ int h,
+ boolean selected)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Item.html#paint(javax.microedition.lcdui.Graphics, int, int, int, int, boolean)">paint</A></CODE> in class <CODE><A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/Form.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/Gauge.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="Gauge.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_javax.microedition.lcdui.Item">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
Graphics (leJOS NXT API documentation)
</TITLE>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV CLASS
- NEXT CLASS</FONT></TD>
+ <A HREF="../../../javax/microedition/lcdui/Gauge.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?javax/microedition/lcdui/Graphics.html" target="_top"><B>FRAMES</B></A>
<A HREF="Graphics.html" target="_top"><B>NO FRAMES</B></A>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Graphics.html#drawChar(char, int, int, boolean)">drawChar</A></B>(char c,
+ int x,
+ int y,
+ boolean invert)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Graphics.html#drawImage(javax.microedition.lcdui.Image, int, int, boolean)">drawImage</A></B>(<A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A> img,
+ int x,
+ int y,
+ boolean invert)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Graphics.html#drawLine(int, int, int, int)">drawLine</A></B>(int x0,
int y0,
int x1,
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Graphics.html#drawString(java.lang.String, int, int, boolean)">drawString</A></B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> str,
+ int x,
+ int y,
+ boolean invert)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Graphics.html#fillArc(int, int, int, int, int, int)">fillArc</A></B>(int x,
int y,
int width,
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Graphics.html#getCenteredX(java.lang.String)">getCenteredX</A></B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> str)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Graphics.html#getHeight()">getHeight</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Graphics.html#getStrokeStyle()">getStrokeStyle</A></B>()</CODE>
<BR>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Graphics.html#getWidth()">getWidth</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Graphics.html#refresh()">refresh</A></B>()</CODE>
</TR>
</TABLE>
+<A NAME="getWidth()"><!-- --></A><H3>
+getWidth</H3>
+<PRE>
+public int <B>getWidth</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getHeight()"><!-- --></A><H3>
+getHeight</H3>
+<PRE>
+public int <B>getHeight</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getCenteredX(java.lang.String)"><!-- --></A><H3>
+getCenteredX</H3>
+<PRE>
+public int <B>getCenteredX</B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> str)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
<A NAME="setPixel(int, int, int)"><!-- --></A><H3>
setPixel</H3>
<PRE>
</DL>
<HR>
+<A NAME="drawString(java.lang.String, int, int, boolean)"><!-- --></A><H3>
+drawString</H3>
+<PRE>
+public void <B>drawString</B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> str,
+ int x,
+ int y,
+ boolean invert)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="drawChar(char, int, int, boolean)"><!-- --></A><H3>
+drawChar</H3>
+<PRE>
+public void <B>drawChar</B>(char c,
+ int x,
+ int y,
+ boolean invert)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="drawImage(javax.microedition.lcdui.Image, int, int, boolean)"><!-- --></A><H3>
+drawImage</H3>
+<PRE>
+public void <B>drawImage</B>(<A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A> img,
+ int x,
+ int y,
+ boolean invert)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
<A NAME="getStrokeStyle()"><!-- --></A><H3>
getStrokeStyle</H3>
<PRE>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV CLASS
- NEXT CLASS</FONT></TD>
+ <A HREF="../../../javax/microedition/lcdui/Gauge.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?javax/microedition/lcdui/Graphics.html" target="_top"><B>FRAMES</B></A>
<A HREF="Graphics.html" target="_top"><B>NO FRAMES</B></A>
--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
+<TITLE>
+Image (leJOS NXT API documentation)
+</TITLE>
+
+<META NAME="keywords" CONTENT="javax.microedition.lcdui.Image class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="Image (leJOS NXT API documentation)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/Image.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="Image.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+javax.microedition.lcdui</FONT>
+<BR>
+Class Image</H2>
+<PRE>
+<A HREF="../../../java/lang/Object.html" title="class in java.lang">java.lang.Object</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>javax.microedition.lcdui.Image</B>
+</PRE>
+<HR>
+<DL>
+<DT><PRE>public class <B>Image</B><DT>extends <A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></DL>
+</PRE>
+
+<P>
+<DL>
+<DT><B>Author:</B></DT>
+ <DD>Andre Nijholt</DD>
+</DL>
+<HR>
+
+<P>
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Image.html#Image(int, int, byte[])">Image</A></B>(int width,
+ int height,
+ byte[] data)</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> byte[]</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Image.html#getData()">getData</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Image.html#getHeight()">getHeight</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Image.html#getWidth()">getWidth</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long)">wait</A></CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="Image(int, int, byte[])"><!-- --></A><H3>
+Image</H3>
+<PRE>
+public <B>Image</B>(int width,
+ int height,
+ byte[] data)</PRE>
+<DL>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="getWidth()"><!-- --></A><H3>
+getWidth</H3>
+<PRE>
+public int <B>getWidth</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getHeight()"><!-- --></A><H3>
+getHeight</H3>
+<PRE>
+public int <B>getHeight</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getData()"><!-- --></A><H3>
+getData</H3>
+<PRE>
+public byte[] <B>getData</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/Image.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="Image.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>
--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
+<TITLE>
+Item (leJOS NXT API documentation)
+</TITLE>
+
+<META NAME="keywords" CONTENT="javax.microedition.lcdui.Item class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="Item (leJOS NXT API documentation)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/ItemCommandListener.html" title="interface in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/Item.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="Item.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+javax.microedition.lcdui</FONT>
+<BR>
+Class Item</H2>
+<PRE>
+<A HREF="../../../java/lang/Object.html" title="class in java.lang">java.lang.Object</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>javax.microedition.lcdui.Item</B>
+</PRE>
+<DL>
+<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../javax/microedition/lcdui/ChoiceGroup.html" title="class in javax.microedition.lcdui">ChoiceGroup</A>, <A HREF="../../../javax/microedition/lcdui/Gauge.html" title="class in javax.microedition.lcdui">Gauge</A>, <A HREF="../../../javax/microedition/lcdui/Spacer.html" title="class in javax.microedition.lcdui">Spacer</A>, <A HREF="../../../javax/microedition/lcdui/StringItem.html" title="class in javax.microedition.lcdui">StringItem</A>, <A HREF="../../../javax/microedition/lcdui/TextField.html" title="class in javax.microedition.lcdui">TextField</A></DD>
+</DL>
+<HR>
+<DL>
+<DT><PRE>public abstract class <B>Item</B><DT>extends <A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></DL>
+</PRE>
+
+<P>
+<DL>
+<DT><B>Author:</B></DT>
+ <DD>Andre Nijholt</DD>
+</DL>
+<HR>
+
+<P>
+<!-- =========== FIELD SUMMARY =========== -->
+
+<A NAME="field_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Field Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected <A HREF="../../../javax/microedition/lcdui/ItemCommandListener.html" title="interface in javax.microedition.lcdui">ItemCommandListener</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Item.html#cmdListener">cmdListener</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected <A HREF="../../../java/util/ArrayList.html" title="class in java.util">ArrayList</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Item.html#commands">commands</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Item.html#interactive">interactive</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Item.html#label">label</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Item.html#minHeight">minHeight</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Item.html#minWidth">minWidth</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Item.html#prefHeight">prefHeight</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Item.html#prefWidth">prefWidth</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Item.html#Item()">Item</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Item.html#addCommand(javax.microedition.lcdui.Command)">addCommand</A></B>(<A HREF="../../../javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A> cmd)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Item.html#getLabel()">getLabel</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Item.html#getMinimumHeight()">getMinimumHeight</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Item.html#getMinimumWidth()">getMinimumWidth</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Item.html#getPaintRequest()">getPaintRequest</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Item.html#getPreferredHeight()">getPreferredHeight</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Item.html#getPreferredWidth()">getPreferredWidth</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Item.html#hideNotify()">hideNotify</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Item.html#isInteractive()">isInteractive</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Item.html#keyPressed(int)">keyPressed</A></B>(int keyCode)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Item.html#keyReleased(int)">keyReleased</A></B>(int keyCode)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Item.html#notifyStateChanged()">notifyStateChanged</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected abstract void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Item.html#paint(javax.microedition.lcdui.Graphics, int, int, int, int, boolean)">paint</A></B>(<A HREF="../../../javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A> g,
+ int x,
+ int y,
+ int w,
+ int h,
+ boolean selected)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Item.html#removeCommand(javax.microedition.lcdui.Command)">removeCommand</A></B>(<A HREF="../../../javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A> cmd)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Item.html#repaint()">repaint</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Item.html#setItemCommandListener(javax.microedition.lcdui.ItemCommandListener)">setItemCommandListener</A></B>(<A HREF="../../../javax/microedition/lcdui/ItemCommandListener.html" title="interface in javax.microedition.lcdui">ItemCommandListener</A> l)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Item.html#setPreferredSize(int, int)">setPreferredSize</A></B>(int width,
+ int height)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Item.html#showNotify()">showNotify</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long)">wait</A></CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ============ FIELD DETAIL =========== -->
+
+<A NAME="field_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Field Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="label"><!-- --></A><H3>
+label</H3>
+<PRE>
+protected <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> <B>label</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="minWidth"><!-- --></A><H3>
+minWidth</H3>
+<PRE>
+protected int <B>minWidth</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="minHeight"><!-- --></A><H3>
+minHeight</H3>
+<PRE>
+protected int <B>minHeight</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="prefWidth"><!-- --></A><H3>
+prefWidth</H3>
+<PRE>
+protected int <B>prefWidth</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="prefHeight"><!-- --></A><H3>
+prefHeight</H3>
+<PRE>
+protected int <B>prefHeight</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="interactive"><!-- --></A><H3>
+interactive</H3>
+<PRE>
+protected boolean <B>interactive</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="cmdListener"><!-- --></A><H3>
+cmdListener</H3>
+<PRE>
+protected <A HREF="../../../javax/microedition/lcdui/ItemCommandListener.html" title="interface in javax.microedition.lcdui">ItemCommandListener</A> <B>cmdListener</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="commands"><!-- --></A><H3>
+commands</H3>
+<PRE>
+protected <A HREF="../../../java/util/ArrayList.html" title="class in java.util">ArrayList</A> <B>commands</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="Item()"><!-- --></A><H3>
+Item</H3>
+<PRE>
+public <B>Item</B>()</PRE>
+<DL>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="getLabel()"><!-- --></A><H3>
+getLabel</H3>
+<PRE>
+public <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> <B>getLabel</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getMinimumHeight()"><!-- --></A><H3>
+getMinimumHeight</H3>
+<PRE>
+public int <B>getMinimumHeight</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getMinimumWidth()"><!-- --></A><H3>
+getMinimumWidth</H3>
+<PRE>
+public int <B>getMinimumWidth</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getPreferredHeight()"><!-- --></A><H3>
+getPreferredHeight</H3>
+<PRE>
+public int <B>getPreferredHeight</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getPreferredWidth()"><!-- --></A><H3>
+getPreferredWidth</H3>
+<PRE>
+public int <B>getPreferredWidth</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setPreferredSize(int, int)"><!-- --></A><H3>
+setPreferredSize</H3>
+<PRE>
+public void <B>setPreferredSize</B>(int width,
+ int height)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="isInteractive()"><!-- --></A><H3>
+isInteractive</H3>
+<PRE>
+public boolean <B>isInteractive</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="notifyStateChanged()"><!-- --></A><H3>
+notifyStateChanged</H3>
+<PRE>
+public void <B>notifyStateChanged</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="addCommand(javax.microedition.lcdui.Command)"><!-- --></A><H3>
+addCommand</H3>
+<PRE>
+public void <B>addCommand</B>(<A HREF="../../../javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A> cmd)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="removeCommand(javax.microedition.lcdui.Command)"><!-- --></A><H3>
+removeCommand</H3>
+<PRE>
+public void <B>removeCommand</B>(<A HREF="../../../javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A> cmd)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setItemCommandListener(javax.microedition.lcdui.ItemCommandListener)"><!-- --></A><H3>
+setItemCommandListener</H3>
+<PRE>
+public void <B>setItemCommandListener</B>(<A HREF="../../../javax/microedition/lcdui/ItemCommandListener.html" title="interface in javax.microedition.lcdui">ItemCommandListener</A> l)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getPaintRequest()"><!-- --></A><H3>
+getPaintRequest</H3>
+<PRE>
+public boolean <B>getPaintRequest</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="repaint()"><!-- --></A><H3>
+repaint</H3>
+<PRE>
+protected void <B>repaint</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="keyPressed(int)"><!-- --></A><H3>
+keyPressed</H3>
+<PRE>
+protected void <B>keyPressed</B>(int keyCode)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="keyReleased(int)"><!-- --></A><H3>
+keyReleased</H3>
+<PRE>
+protected void <B>keyReleased</B>(int keyCode)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="showNotify()"><!-- --></A><H3>
+showNotify</H3>
+<PRE>
+protected void <B>showNotify</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="hideNotify()"><!-- --></A><H3>
+hideNotify</H3>
+<PRE>
+protected void <B>hideNotify</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="paint(javax.microedition.lcdui.Graphics, int, int, int, int, boolean)"><!-- --></A><H3>
+paint</H3>
+<PRE>
+protected abstract void <B>paint</B>(<A HREF="../../../javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A> g,
+ int x,
+ int y,
+ int w,
+ int h,
+ boolean selected)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/ItemCommandListener.html" title="interface in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/Item.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="Item.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>
--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
+<TITLE>
+ItemCommandListener (leJOS NXT API documentation)
+</TITLE>
+
+<META NAME="keywords" CONTENT="javax.microedition.lcdui.ItemCommandListener interface">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="ItemCommandListener (leJOS NXT API documentation)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/ItemStateListener.html" title="interface in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/ItemCommandListener.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="ItemCommandListener.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+javax.microedition.lcdui</FONT>
+<BR>
+Interface ItemCommandListener</H2>
+<HR>
+<DL>
+<DT><PRE>public interface <B>ItemCommandListener</B></DL>
+</PRE>
+
+<P>
+<DL>
+<DT><B>Author:</B></DT>
+ <DD>Andre Nijholt</DD>
+</DL>
+<HR>
+
+<P>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/ItemCommandListener.html#commandAction(javax.microedition.lcdui.Command, javax.microedition.lcdui.Item)">commandAction</A></B>(<A HREF="../../../javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A> c,
+ <A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A> d)</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="commandAction(javax.microedition.lcdui.Command, javax.microedition.lcdui.Item)"><!-- --></A><H3>
+commandAction</H3>
+<PRE>
+void <B>commandAction</B>(<A HREF="../../../javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A> c,
+ <A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A> d)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/ItemStateListener.html" title="interface in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/ItemCommandListener.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="ItemCommandListener.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>
--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
+<TITLE>
+ItemStateListener (leJOS NXT API documentation)
+</TITLE>
+
+<META NAME="keywords" CONTENT="javax.microedition.lcdui.ItemStateListener interface">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="ItemStateListener (leJOS NXT API documentation)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/ItemCommandListener.html" title="interface in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/List.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/ItemStateListener.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="ItemStateListener.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+javax.microedition.lcdui</FONT>
+<BR>
+Interface ItemStateListener</H2>
+<HR>
+<DL>
+<DT><PRE>public interface <B>ItemStateListener</B></DL>
+</PRE>
+
+<P>
+<DL>
+<DT><B>Author:</B></DT>
+ <DD>Andre Nijholt</DD>
+</DL>
+<HR>
+
+<P>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/ItemStateListener.html#itemStateChanged(javax.microedition.lcdui.Item)">itemStateChanged</A></B>(<A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A> item)</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="itemStateChanged(javax.microedition.lcdui.Item)"><!-- --></A><H3>
+itemStateChanged</H3>
+<PRE>
+void <B>itemStateChanged</B>(<A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A> item)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/ItemCommandListener.html" title="interface in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/List.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/ItemStateListener.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="ItemStateListener.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>
--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
+<TITLE>
+List (leJOS NXT API documentation)
+</TITLE>
+
+<META NAME="keywords" CONTENT="javax.microedition.lcdui.List class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="List (leJOS NXT API documentation)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/ItemStateListener.html" title="interface in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/List.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="List.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+javax.microedition.lcdui</FONT>
+<BR>
+Class List</H2>
+<PRE>
+<A HREF="../../../java/lang/Object.html" title="class in java.lang">java.lang.Object</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">javax.microedition.lcdui.Displayable</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">javax.microedition.lcdui.Screen</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>javax.microedition.lcdui.List</B>
+</PRE>
+<DL>
+<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></DD>
+</DL>
+<HR>
+<DL>
+<DT><PRE>public class <B>List</B><DT>extends <A HREF="../../../javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">Screen</A><DT>implements <A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></DL>
+</PRE>
+
+<P>
+<DL>
+<DT><B>Author:</B></DT>
+ <DD>Andre Nijholt</DD>
+</DL>
+<HR>
+
+<P>
+<!-- =========== FIELD SUMMARY =========== -->
+
+<A NAME="field_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Field Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected <A HREF="../../../java/util/ArrayList.html" title="class in java.util">ArrayList</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/List.html#listItems">listItems</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/List.html#listType">listType</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+ <A NAME="fields_inherited_from_class_javax.microedition.lcdui.Displayable"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Fields inherited from class javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../javax/microedition/lcdui/Displayable.html#cmdListener">cmdListener</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#commands">commands</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#height">height</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#KEY_BACK">KEY_BACK</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#KEY_ENTER">KEY_ENTER</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#KEY_LEFT">KEY_LEFT</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#KEY_RIGHT">KEY_RIGHT</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#shown">shown</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#ticker">ticker</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#title">title</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#width">width</A></CODE></TD>
+</TR>
+</TABLE>
+ <A NAME="fields_inherited_from_class_javax.microedition.lcdui.Choice"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Fields inherited from interface javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../javax/microedition/lcdui/Choice.html#EXCLUSIVE">EXCLUSIVE</A>, <A HREF="../../../javax/microedition/lcdui/Choice.html#IMPLICIT">IMPLICIT</A>, <A HREF="../../../javax/microedition/lcdui/Choice.html#MULTIPLE">MULTIPLE</A>, <A HREF="../../../javax/microedition/lcdui/Choice.html#POPUP">POPUP</A>, <A HREF="../../../javax/microedition/lcdui/Choice.html#TEXT_WRAP_DEFAULT">TEXT_WRAP_DEFAULT</A>, <A HREF="../../../javax/microedition/lcdui/Choice.html#TEXT_WRAP_OFF">TEXT_WRAP_OFF</A>, <A HREF="../../../javax/microedition/lcdui/Choice.html#TEXT_WRAP_ON">TEXT_WRAP_ON</A></CODE></TD>
+</TR>
+</TABLE>
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/List.html#List(java.lang.String, int)">List</A></B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> title,
+ int listType)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/List.html#List(java.lang.String, int, java.lang.String[], javax.microedition.lcdui.Image[])">List</A></B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> title,
+ int listType,
+ <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A>[] stringElements,
+ <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A>[] imageElements)</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/List.html#append(java.lang.String, javax.microedition.lcdui.Image)">append</A></B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> stringPart,
+ <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A> imagePart)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/List.html#delete(int)">delete</A></B>(int elementNum)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/List.html#deleteAll()">deleteAll</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/List.html#getImage(int)">getImage</A></B>(int elementNum)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/List.html#getSelectedFlags(boolean[])">getSelectedFlags</A></B>(boolean[] selectedArray_return)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/List.html#getSelectedIndex()">getSelectedIndex</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/List.html#getString(int)">getString</A></B>(int elementNum)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/List.html#insert(int, java.lang.String, javax.microedition.lcdui.Image)">insert</A></B>(int elementNum,
+ <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> stringPart,
+ <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A> imagePart)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/List.html#isSelected(int)">isSelected</A></B>(int elementNum)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/List.html#keyPressed(int)">keyPressed</A></B>(int keyCode)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/List.html#paint(javax.microedition.lcdui.Graphics)">paint</A></B>(<A HREF="../../../javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A> g)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/List.html#set(int, java.lang.String, javax.microedition.lcdui.Image)">set</A></B>(int elementNum,
+ <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> stringPart,
+ <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A> imagePart)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/List.html#setScrollWrap(boolean)">setScrollWrap</A></B>(boolean scrollWrap)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/List.html#setSelectedFlags(boolean[])">setSelectedFlags</A></B>(boolean[] selectedArray)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/List.html#setSelectedIndex(int, boolean)">setSelectedIndex</A></B>(int elementNum,
+ boolean selected)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/List.html#size()">size</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_javax.microedition.lcdui.Screen"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">Screen</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../javax/microedition/lcdui/Screen.html#hideNotify()">hideNotify</A>, <A HREF="../../../javax/microedition/lcdui/Screen.html#keyReleased(int)">keyReleased</A>, <A HREF="../../../javax/microedition/lcdui/Screen.html#showNotify()">showNotify</A></CODE></TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_javax.microedition.lcdui.Displayable"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../javax/microedition/lcdui/Displayable.html#addCommand(javax.microedition.lcdui.Command)">addCommand</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#callCommandListener()">callCommandListener</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#clearPaintRequest()">clearPaintRequest</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#getHeight()">getHeight</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#getPaintRequest()">getPaintRequest</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#getTicker()">getTicker</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#getTitle()">getTitle</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#getWidth()">getWidth</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#isShown()">isShown</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#removeCommand(javax.microedition.lcdui.Command)">removeCommand</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#repaint()">repaint</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#setCommandListener(javax.microedition.lcdui.CommandListener)">setCommandListener</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#setTicker(int)">setTicker</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#setTicker(javax.microedition.lcdui.Ticker)">setTicker</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#setTitle(java.lang.String)">setTitle</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#sizeChanged(int, int)">sizeChanged</A></CODE></TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long)">wait</A></CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ============ FIELD DETAIL =========== -->
+
+<A NAME="field_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Field Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="listType"><!-- --></A><H3>
+listType</H3>
+<PRE>
+protected int <B>listType</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="listItems"><!-- --></A><H3>
+listItems</H3>
+<PRE>
+protected <A HREF="../../../java/util/ArrayList.html" title="class in java.util">ArrayList</A> <B>listItems</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="List(java.lang.String, int)"><!-- --></A><H3>
+List</H3>
+<PRE>
+public <B>List</B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> title,
+ int listType)</PRE>
+<DL>
+</DL>
+<HR>
+
+<A NAME="List(java.lang.String, int, java.lang.String[], javax.microedition.lcdui.Image[])"><!-- --></A><H3>
+List</H3>
+<PRE>
+public <B>List</B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> title,
+ int listType,
+ <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A>[] stringElements,
+ <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A>[] imageElements)</PRE>
+<DL>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="append(java.lang.String, javax.microedition.lcdui.Image)"><!-- --></A><H3>
+append</H3>
+<PRE>
+public int <B>append</B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> stringPart,
+ <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A> imagePart)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Choice.html#append(java.lang.String, javax.microedition.lcdui.Image)">append</A></CODE> in interface <CODE><A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="delete(int)"><!-- --></A><H3>
+delete</H3>
+<PRE>
+public void <B>delete</B>(int elementNum)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Choice.html#delete(int)">delete</A></CODE> in interface <CODE><A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="deleteAll()"><!-- --></A><H3>
+deleteAll</H3>
+<PRE>
+public void <B>deleteAll</B>()</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Choice.html#deleteAll()">deleteAll</A></CODE> in interface <CODE><A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getImage(int)"><!-- --></A><H3>
+getImage</H3>
+<PRE>
+public <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A> <B>getImage</B>(int elementNum)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Choice.html#getImage(int)">getImage</A></CODE> in interface <CODE><A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getSelectedFlags(boolean[])"><!-- --></A><H3>
+getSelectedFlags</H3>
+<PRE>
+public int <B>getSelectedFlags</B>(boolean[] selectedArray_return)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Choice.html#getSelectedFlags(boolean[])">getSelectedFlags</A></CODE> in interface <CODE><A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getSelectedIndex()"><!-- --></A><H3>
+getSelectedIndex</H3>
+<PRE>
+public int <B>getSelectedIndex</B>()</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Choice.html#getSelectedIndex()">getSelectedIndex</A></CODE> in interface <CODE><A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getString(int)"><!-- --></A><H3>
+getString</H3>
+<PRE>
+public <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> <B>getString</B>(int elementNum)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Choice.html#getString(int)">getString</A></CODE> in interface <CODE><A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="insert(int, java.lang.String, javax.microedition.lcdui.Image)"><!-- --></A><H3>
+insert</H3>
+<PRE>
+public void <B>insert</B>(int elementNum,
+ <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> stringPart,
+ <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A> imagePart)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Choice.html#insert(int, java.lang.String, javax.microedition.lcdui.Image)">insert</A></CODE> in interface <CODE><A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="isSelected(int)"><!-- --></A><H3>
+isSelected</H3>
+<PRE>
+public boolean <B>isSelected</B>(int elementNum)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Choice.html#isSelected(int)">isSelected</A></CODE> in interface <CODE><A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="set(int, java.lang.String, javax.microedition.lcdui.Image)"><!-- --></A><H3>
+set</H3>
+<PRE>
+public void <B>set</B>(int elementNum,
+ <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> stringPart,
+ <A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A> imagePart)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Choice.html#set(int, java.lang.String, javax.microedition.lcdui.Image)">set</A></CODE> in interface <CODE><A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setScrollWrap(boolean)"><!-- --></A><H3>
+setScrollWrap</H3>
+<PRE>
+public void <B>setScrollWrap</B>(boolean scrollWrap)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setSelectedFlags(boolean[])"><!-- --></A><H3>
+setSelectedFlags</H3>
+<PRE>
+public void <B>setSelectedFlags</B>(boolean[] selectedArray)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Choice.html#setSelectedFlags(boolean[])">setSelectedFlags</A></CODE> in interface <CODE><A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setSelectedIndex(int, boolean)"><!-- --></A><H3>
+setSelectedIndex</H3>
+<PRE>
+public void <B>setSelectedIndex</B>(int elementNum,
+ boolean selected)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Choice.html#setSelectedIndex(int, boolean)">setSelectedIndex</A></CODE> in interface <CODE><A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="size()"><!-- --></A><H3>
+size</H3>
+<PRE>
+public int <B>size</B>()</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Choice.html#size()">size</A></CODE> in interface <CODE><A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="keyPressed(int)"><!-- --></A><H3>
+keyPressed</H3>
+<PRE>
+protected void <B>keyPressed</B>(int keyCode)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Screen.html#keyPressed(int)">keyPressed</A></CODE> in class <CODE><A HREF="../../../javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">Screen</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="paint(javax.microedition.lcdui.Graphics)"><!-- --></A><H3>
+paint</H3>
+<PRE>
+protected void <B>paint</B>(<A HREF="../../../javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A> g)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Screen.html#paint(javax.microedition.lcdui.Graphics)">paint</A></CODE> in class <CODE><A HREF="../../../javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">Screen</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/ItemStateListener.html" title="interface in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/List.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="List.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>
--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
+<TITLE>
+Screen (leJOS NXT API documentation)
+</TITLE>
+
+<META NAME="keywords" CONTENT="javax.microedition.lcdui.Screen class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="Screen (leJOS NXT API documentation)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/List.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/Spacer.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/Screen.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="Screen.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_javax.microedition.lcdui.Displayable">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+javax.microedition.lcdui</FONT>
+<BR>
+Class Screen</H2>
+<PRE>
+<A HREF="../../../java/lang/Object.html" title="class in java.lang">java.lang.Object</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">javax.microedition.lcdui.Displayable</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>javax.microedition.lcdui.Screen</B>
+</PRE>
+<DL>
+<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui">Alert</A>, <A HREF="../../../javax/microedition/lcdui/Form.html" title="class in javax.microedition.lcdui">Form</A>, <A HREF="../../../javax/microedition/lcdui/List.html" title="class in javax.microedition.lcdui">List</A>, <A HREF="../../../javax/microedition/lcdui/TextBox.html" title="class in javax.microedition.lcdui">TextBox</A></DD>
+</DL>
+<HR>
+<DL>
+<DT><PRE>public abstract class <B>Screen</B><DT>extends <A HREF="../../../javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A></DL>
+</PRE>
+
+<P>
+<DL>
+<DT><B>Author:</B></DT>
+ <DD>Andre Nijholt</DD>
+</DL>
+<HR>
+
+<P>
+<!-- =========== FIELD SUMMARY =========== -->
+
+<A NAME="field_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Field Summary</B></FONT></TH>
+</TR>
+</TABLE>
+ <A NAME="fields_inherited_from_class_javax.microedition.lcdui.Displayable"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Fields inherited from class javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../javax/microedition/lcdui/Displayable.html#cmdListener">cmdListener</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#commands">commands</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#height">height</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#KEY_BACK">KEY_BACK</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#KEY_ENTER">KEY_ENTER</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#KEY_LEFT">KEY_LEFT</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#KEY_RIGHT">KEY_RIGHT</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#shown">shown</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#ticker">ticker</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#title">title</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#width">width</A></CODE></TD>
+</TR>
+</TABLE>
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Screen.html#Screen()">Screen</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Screen.html#hideNotify()">hideNotify</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Screen.html#keyPressed(int)">keyPressed</A></B>(int keyCode)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Screen.html#keyReleased(int)">keyReleased</A></B>(int keyCode)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected abstract void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Screen.html#paint(javax.microedition.lcdui.Graphics)">paint</A></B>(<A HREF="../../../javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A> g)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Screen.html#showNotify()">showNotify</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_javax.microedition.lcdui.Displayable"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../javax/microedition/lcdui/Displayable.html#addCommand(javax.microedition.lcdui.Command)">addCommand</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#callCommandListener()">callCommandListener</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#clearPaintRequest()">clearPaintRequest</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#getHeight()">getHeight</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#getPaintRequest()">getPaintRequest</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#getTicker()">getTicker</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#getTitle()">getTitle</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#getWidth()">getWidth</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#isShown()">isShown</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#removeCommand(javax.microedition.lcdui.Command)">removeCommand</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#repaint()">repaint</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#setCommandListener(javax.microedition.lcdui.CommandListener)">setCommandListener</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#setTicker(int)">setTicker</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#setTicker(javax.microedition.lcdui.Ticker)">setTicker</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#setTitle(java.lang.String)">setTitle</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#sizeChanged(int, int)">sizeChanged</A></CODE></TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long)">wait</A></CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="Screen()"><!-- --></A><H3>
+Screen</H3>
+<PRE>
+public <B>Screen</B>()</PRE>
+<DL>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="keyPressed(int)"><!-- --></A><H3>
+keyPressed</H3>
+<PRE>
+protected void <B>keyPressed</B>(int keyCode)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="keyReleased(int)"><!-- --></A><H3>
+keyReleased</H3>
+<PRE>
+protected void <B>keyReleased</B>(int keyCode)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="showNotify()"><!-- --></A><H3>
+showNotify</H3>
+<PRE>
+protected void <B>showNotify</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="hideNotify()"><!-- --></A><H3>
+hideNotify</H3>
+<PRE>
+protected void <B>hideNotify</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="paint(javax.microedition.lcdui.Graphics)"><!-- --></A><H3>
+paint</H3>
+<PRE>
+protected abstract void <B>paint</B>(<A HREF="../../../javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A> g)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/List.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/Spacer.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/Screen.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="Screen.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_javax.microedition.lcdui.Displayable">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>
--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
+<TITLE>
+Spacer (leJOS NXT API documentation)
+</TITLE>
+
+<META NAME="keywords" CONTENT="javax.microedition.lcdui.Spacer class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="Spacer (leJOS NXT API documentation)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/StringItem.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/Spacer.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="Spacer.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_javax.microedition.lcdui.Item">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+javax.microedition.lcdui</FONT>
+<BR>
+Class Spacer</H2>
+<PRE>
+<A HREF="../../../java/lang/Object.html" title="class in java.lang">java.lang.Object</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">javax.microedition.lcdui.Item</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>javax.microedition.lcdui.Spacer</B>
+</PRE>
+<HR>
+<DL>
+<DT><PRE>public class <B>Spacer</B><DT>extends <A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A></DL>
+</PRE>
+
+<P>
+<DL>
+<DT><B>Author:</B></DT>
+ <DD>Andre Nijholt</DD>
+</DL>
+<HR>
+
+<P>
+<!-- =========== FIELD SUMMARY =========== -->
+
+<A NAME="field_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Field Summary</B></FONT></TH>
+</TR>
+</TABLE>
+ <A NAME="fields_inherited_from_class_javax.microedition.lcdui.Item"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Fields inherited from class javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../javax/microedition/lcdui/Item.html#cmdListener">cmdListener</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#commands">commands</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#interactive">interactive</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#label">label</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#minHeight">minHeight</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#minWidth">minWidth</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#prefHeight">prefHeight</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#prefWidth">prefWidth</A></CODE></TD>
+</TR>
+</TABLE>
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Spacer.html#Spacer(int, int)">Spacer</A></B>(int minWidth,
+ int minHeight)</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Spacer.html#addCommand(javax.microedition.lcdui.Command)">addCommand</A></B>(<A HREF="../../../javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A> cmd)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Spacer.html#paint(javax.microedition.lcdui.Graphics, int, int, int, int, boolean)">paint</A></B>(<A HREF="../../../javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A> g,
+ int x,
+ int y,
+ int w,
+ int h,
+ boolean selected)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Spacer.html#setDefaultCommand(javax.microedition.lcdui.Command)">setDefaultCommand</A></B>(<A HREF="../../../javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A> cmd)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Spacer.html#setLabel(java.lang.String)">setLabel</A></B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> label)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Spacer.html#setMinimumSize(int, int)">setMinimumSize</A></B>(int minWidth,
+ int minHeight)</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_javax.microedition.lcdui.Item"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../javax/microedition/lcdui/Item.html#getLabel()">getLabel</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#getMinimumHeight()">getMinimumHeight</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#getMinimumWidth()">getMinimumWidth</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#getPaintRequest()">getPaintRequest</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#getPreferredHeight()">getPreferredHeight</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#getPreferredWidth()">getPreferredWidth</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#hideNotify()">hideNotify</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#isInteractive()">isInteractive</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#keyPressed(int)">keyPressed</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#keyReleased(int)">keyReleased</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#notifyStateChanged()">notifyStateChanged</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#removeCommand(javax.microedition.lcdui.Command)">removeCommand</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#repaint()">repaint</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#setItemCommandListener(javax.microedition.lcdui.ItemCommandListener)">setItemCommandListener</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#setPreferredSize(int, int)">setPreferredSize</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#showNotify()">showNotify</A></CODE></TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long)">wait</A></CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="Spacer(int, int)"><!-- --></A><H3>
+Spacer</H3>
+<PRE>
+public <B>Spacer</B>(int minWidth,
+ int minHeight)</PRE>
+<DL>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="addCommand(javax.microedition.lcdui.Command)"><!-- --></A><H3>
+addCommand</H3>
+<PRE>
+public void <B>addCommand</B>(<A HREF="../../../javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A> cmd)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Item.html#addCommand(javax.microedition.lcdui.Command)">addCommand</A></CODE> in class <CODE><A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setDefaultCommand(javax.microedition.lcdui.Command)"><!-- --></A><H3>
+setDefaultCommand</H3>
+<PRE>
+public void <B>setDefaultCommand</B>(<A HREF="../../../javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A> cmd)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setLabel(java.lang.String)"><!-- --></A><H3>
+setLabel</H3>
+<PRE>
+public void <B>setLabel</B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> label)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setMinimumSize(int, int)"><!-- --></A><H3>
+setMinimumSize</H3>
+<PRE>
+public void <B>setMinimumSize</B>(int minWidth,
+ int minHeight)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="paint(javax.microedition.lcdui.Graphics, int, int, int, int, boolean)"><!-- --></A><H3>
+paint</H3>
+<PRE>
+public void <B>paint</B>(<A HREF="../../../javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A> g,
+ int x,
+ int y,
+ int w,
+ int h,
+ boolean selected)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Item.html#paint(javax.microedition.lcdui.Graphics, int, int, int, int, boolean)">paint</A></CODE> in class <CODE><A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/StringItem.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/Spacer.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="Spacer.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_javax.microedition.lcdui.Item">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>
--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
+<TITLE>
+StringItem (leJOS NXT API documentation)
+</TITLE>
+
+<META NAME="keywords" CONTENT="javax.microedition.lcdui.StringItem class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="StringItem (leJOS NXT API documentation)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/Spacer.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/TextBox.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/StringItem.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="StringItem.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_javax.microedition.lcdui.Item">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+javax.microedition.lcdui</FONT>
+<BR>
+Class StringItem</H2>
+<PRE>
+<A HREF="../../../java/lang/Object.html" title="class in java.lang">java.lang.Object</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">javax.microedition.lcdui.Item</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>javax.microedition.lcdui.StringItem</B>
+</PRE>
+<HR>
+<DL>
+<DT><PRE>public class <B>StringItem</B><DT>extends <A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A></DL>
+</PRE>
+
+<P>
+<DL>
+<DT><B>Author:</B></DT>
+ <DD>Andre Nijholt</DD>
+</DL>
+<HR>
+
+<P>
+<!-- =========== FIELD SUMMARY =========== -->
+
+<A NAME="field_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Field Summary</B></FONT></TH>
+</TR>
+</TABLE>
+ <A NAME="fields_inherited_from_class_javax.microedition.lcdui.Item"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Fields inherited from class javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../javax/microedition/lcdui/Item.html#cmdListener">cmdListener</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#commands">commands</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#interactive">interactive</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#label">label</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#minHeight">minHeight</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#minWidth">minWidth</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#prefHeight">prefHeight</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#prefWidth">prefWidth</A></CODE></TD>
+</TR>
+</TABLE>
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/StringItem.html#StringItem(java.lang.String, java.lang.String)">StringItem</A></B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> label,
+ <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> text)</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/StringItem.html#getText()">getText</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/StringItem.html#paint(javax.microedition.lcdui.Graphics, int, int, int, int, boolean)">paint</A></B>(<A HREF="../../../javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A> g,
+ int x,
+ int y,
+ int w,
+ int h,
+ boolean selected)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/StringItem.html#setText(java.lang.String)">setText</A></B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> text)</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_javax.microedition.lcdui.Item"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../javax/microedition/lcdui/Item.html#addCommand(javax.microedition.lcdui.Command)">addCommand</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#getLabel()">getLabel</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#getMinimumHeight()">getMinimumHeight</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#getMinimumWidth()">getMinimumWidth</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#getPaintRequest()">getPaintRequest</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#getPreferredHeight()">getPreferredHeight</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#getPreferredWidth()">getPreferredWidth</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#hideNotify()">hideNotify</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#isInteractive()">isInteractive</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#keyPressed(int)">keyPressed</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#keyReleased(int)">keyReleased</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#notifyStateChanged()">notifyStateChanged</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#removeCommand(javax.microedition.lcdui.Command)">removeCommand</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#repaint()">repaint</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#setItemCommandListener(javax.microedition.lcdui.ItemCommandListener)">setItemCommandListener</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#setPreferredSize(int, int)">setPreferredSize</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#showNotify()">showNotify</A></CODE></TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long)">wait</A></CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="StringItem(java.lang.String, java.lang.String)"><!-- --></A><H3>
+StringItem</H3>
+<PRE>
+public <B>StringItem</B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> label,
+ <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> text)</PRE>
+<DL>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="getText()"><!-- --></A><H3>
+getText</H3>
+<PRE>
+public <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> <B>getText</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setText(java.lang.String)"><!-- --></A><H3>
+setText</H3>
+<PRE>
+public void <B>setText</B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> text)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="paint(javax.microedition.lcdui.Graphics, int, int, int, int, boolean)"><!-- --></A><H3>
+paint</H3>
+<PRE>
+public void <B>paint</B>(<A HREF="../../../javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A> g,
+ int x,
+ int y,
+ int w,
+ int h,
+ boolean selected)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Item.html#paint(javax.microedition.lcdui.Graphics, int, int, int, int, boolean)">paint</A></CODE> in class <CODE><A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/Spacer.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/TextBox.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/StringItem.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="StringItem.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_javax.microedition.lcdui.Item">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>
--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
+<TITLE>
+TextBox (leJOS NXT API documentation)
+</TITLE>
+
+<META NAME="keywords" CONTENT="javax.microedition.lcdui.TextBox class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="TextBox (leJOS NXT API documentation)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/StringItem.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/TextField.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/TextBox.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="TextBox.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_javax.microedition.lcdui.Displayable">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+javax.microedition.lcdui</FONT>
+<BR>
+Class TextBox</H2>
+<PRE>
+<A HREF="../../../java/lang/Object.html" title="class in java.lang">java.lang.Object</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">javax.microedition.lcdui.Displayable</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">javax.microedition.lcdui.Screen</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>javax.microedition.lcdui.TextBox</B>
+</PRE>
+<HR>
+<DL>
+<DT><PRE>public class <B>TextBox</B><DT>extends <A HREF="../../../javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">Screen</A></DL>
+</PRE>
+
+<P>
+<DL>
+<DT><B>Author:</B></DT>
+ <DD>Andre Nijholt</DD>
+</DL>
+<HR>
+
+<P>
+<!-- =========== FIELD SUMMARY =========== -->
+
+<A NAME="field_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Field Summary</B></FONT></TH>
+</TR>
+</TABLE>
+ <A NAME="fields_inherited_from_class_javax.microedition.lcdui.Displayable"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Fields inherited from class javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../javax/microedition/lcdui/Displayable.html#cmdListener">cmdListener</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#commands">commands</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#height">height</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#KEY_BACK">KEY_BACK</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#KEY_ENTER">KEY_ENTER</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#KEY_LEFT">KEY_LEFT</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#KEY_RIGHT">KEY_RIGHT</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#shown">shown</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#ticker">ticker</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#title">title</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#width">width</A></CODE></TD>
+</TR>
+</TABLE>
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/TextBox.html#TextBox(java.lang.String, java.lang.String, int, int)">TextBox</A></B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> title,
+ <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> text,
+ int maxSize,
+ int constraints)</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/TextBox.html#getText()">getText</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/TextBox.html#keyPressed(int)">keyPressed</A></B>(int keyCode)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/TextBox.html#paint(javax.microedition.lcdui.Graphics)">paint</A></B>(<A HREF="../../../javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A> g)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/TextBox.html#setConstraints(int)">setConstraints</A></B>(int constraints)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/TextBox.html#setMaxSize(int)">setMaxSize</A></B>(int maxSize)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/TextBox.html#setText(java.lang.String)">setText</A></B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> text)</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_javax.microedition.lcdui.Screen"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">Screen</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../javax/microedition/lcdui/Screen.html#hideNotify()">hideNotify</A>, <A HREF="../../../javax/microedition/lcdui/Screen.html#keyReleased(int)">keyReleased</A>, <A HREF="../../../javax/microedition/lcdui/Screen.html#showNotify()">showNotify</A></CODE></TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_javax.microedition.lcdui.Displayable"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../javax/microedition/lcdui/Displayable.html#addCommand(javax.microedition.lcdui.Command)">addCommand</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#callCommandListener()">callCommandListener</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#clearPaintRequest()">clearPaintRequest</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#getHeight()">getHeight</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#getPaintRequest()">getPaintRequest</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#getTicker()">getTicker</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#getTitle()">getTitle</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#getWidth()">getWidth</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#isShown()">isShown</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#removeCommand(javax.microedition.lcdui.Command)">removeCommand</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#repaint()">repaint</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#setCommandListener(javax.microedition.lcdui.CommandListener)">setCommandListener</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#setTicker(int)">setTicker</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#setTicker(javax.microedition.lcdui.Ticker)">setTicker</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#setTitle(java.lang.String)">setTitle</A>, <A HREF="../../../javax/microedition/lcdui/Displayable.html#sizeChanged(int, int)">sizeChanged</A></CODE></TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long)">wait</A></CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="TextBox(java.lang.String, java.lang.String, int, int)"><!-- --></A><H3>
+TextBox</H3>
+<PRE>
+public <B>TextBox</B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> title,
+ <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> text,
+ int maxSize,
+ int constraints)</PRE>
+<DL>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="setText(java.lang.String)"><!-- --></A><H3>
+setText</H3>
+<PRE>
+public void <B>setText</B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> text)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getText()"><!-- --></A><H3>
+getText</H3>
+<PRE>
+public <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> <B>getText</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setMaxSize(int)"><!-- --></A><H3>
+setMaxSize</H3>
+<PRE>
+public void <B>setMaxSize</B>(int maxSize)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setConstraints(int)"><!-- --></A><H3>
+setConstraints</H3>
+<PRE>
+public void <B>setConstraints</B>(int constraints)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="keyPressed(int)"><!-- --></A><H3>
+keyPressed</H3>
+<PRE>
+protected void <B>keyPressed</B>(int keyCode)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Screen.html#keyPressed(int)">keyPressed</A></CODE> in class <CODE><A HREF="../../../javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">Screen</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="paint(javax.microedition.lcdui.Graphics)"><!-- --></A><H3>
+paint</H3>
+<PRE>
+public void <B>paint</B>(<A HREF="../../../javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A> g)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Screen.html#paint(javax.microedition.lcdui.Graphics)">paint</A></CODE> in class <CODE><A HREF="../../../javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">Screen</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/StringItem.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/TextField.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/TextBox.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="TextBox.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_javax.microedition.lcdui.Displayable">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>
--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
+<TITLE>
+TextField (leJOS NXT API documentation)
+</TITLE>
+
+<META NAME="keywords" CONTENT="javax.microedition.lcdui.TextField class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="TextField (leJOS NXT API documentation)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/TextBox.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/Ticker.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/TextField.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="TextField.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+javax.microedition.lcdui</FONT>
+<BR>
+Class TextField</H2>
+<PRE>
+<A HREF="../../../java/lang/Object.html" title="class in java.lang">java.lang.Object</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">javax.microedition.lcdui.Item</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>javax.microedition.lcdui.TextField</B>
+</PRE>
+<HR>
+<DL>
+<DT><PRE>public class <B>TextField</B><DT>extends <A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A></DL>
+</PRE>
+
+<P>
+<DL>
+<DT><B>Author:</B></DT>
+ <DD>Andre Nijholt</DD>
+</DL>
+<HR>
+
+<P>
+<!-- =========== FIELD SUMMARY =========== -->
+
+<A NAME="field_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Field Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/TextField.html#ANY">ANY</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/TextField.html#DECIMAL">DECIMAL</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/TextField.html#EMAILADDR">EMAILADDR</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/TextField.html#INITIAL_CAPS_SENTENCE">INITIAL_CAPS_SENTENCE</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/TextField.html#INITIAL_CAPS_WORD">INITIAL_CAPS_WORD</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/TextField.html#NON_PREDICTIVE">NON_PREDICTIVE</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/TextField.html#NUMERIC">NUMERIC</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/TextField.html#PASSWORD">PASSWORD</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/TextField.html#PHONENUMBER">PHONENUMBER</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/TextField.html#SENSITIVE">SENSITIVE</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/TextField.html#UNEDITABLE">UNEDITABLE</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/TextField.html#URL">URL</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+ <A NAME="fields_inherited_from_class_javax.microedition.lcdui.Item"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Fields inherited from class javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../javax/microedition/lcdui/Item.html#cmdListener">cmdListener</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#commands">commands</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#interactive">interactive</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#label">label</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#minHeight">minHeight</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#minWidth">minWidth</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#prefHeight">prefHeight</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#prefWidth">prefWidth</A></CODE></TD>
+</TR>
+</TABLE>
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/TextField.html#TextField(java.lang.String, java.lang.String, int, int)">TextField</A></B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> label,
+ <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> text,
+ int maxSize,
+ int constraints)</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/TextField.html#getConstraints()">getConstraints</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/TextField.html#getMaxSize()">getMaxSize</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/TextField.html#getText()">getText</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/TextField.html#paint(javax.microedition.lcdui.Graphics, int, int, int, int, boolean)">paint</A></B>(<A HREF="../../../javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A> g,
+ int x,
+ int y,
+ int w,
+ int h,
+ boolean selected)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/TextField.html#setText(java.lang.String)">setText</A></B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> text)</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_javax.microedition.lcdui.Item"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../javax/microedition/lcdui/Item.html#addCommand(javax.microedition.lcdui.Command)">addCommand</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#getLabel()">getLabel</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#getMinimumHeight()">getMinimumHeight</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#getMinimumWidth()">getMinimumWidth</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#getPaintRequest()">getPaintRequest</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#getPreferredHeight()">getPreferredHeight</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#getPreferredWidth()">getPreferredWidth</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#hideNotify()">hideNotify</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#isInteractive()">isInteractive</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#keyPressed(int)">keyPressed</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#keyReleased(int)">keyReleased</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#notifyStateChanged()">notifyStateChanged</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#removeCommand(javax.microedition.lcdui.Command)">removeCommand</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#repaint()">repaint</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#setItemCommandListener(javax.microedition.lcdui.ItemCommandListener)">setItemCommandListener</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#setPreferredSize(int, int)">setPreferredSize</A>, <A HREF="../../../javax/microedition/lcdui/Item.html#showNotify()">showNotify</A></CODE></TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long)">wait</A></CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ============ FIELD DETAIL =========== -->
+
+<A NAME="field_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Field Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="ANY"><!-- --></A><H3>
+ANY</H3>
+<PRE>
+public static final int <B>ANY</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.TextField.ANY">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="EMAILADDR"><!-- --></A><H3>
+EMAILADDR</H3>
+<PRE>
+public static final int <B>EMAILADDR</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.TextField.EMAILADDR">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="NUMERIC"><!-- --></A><H3>
+NUMERIC</H3>
+<PRE>
+public static final int <B>NUMERIC</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.TextField.NUMERIC">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="PHONENUMBER"><!-- --></A><H3>
+PHONENUMBER</H3>
+<PRE>
+public static final int <B>PHONENUMBER</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.TextField.PHONENUMBER">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="URL"><!-- --></A><H3>
+URL</H3>
+<PRE>
+public static final int <B>URL</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.TextField.URL">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="DECIMAL"><!-- --></A><H3>
+DECIMAL</H3>
+<PRE>
+public static final int <B>DECIMAL</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.TextField.DECIMAL">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="PASSWORD"><!-- --></A><H3>
+PASSWORD</H3>
+<PRE>
+public static final int <B>PASSWORD</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.TextField.PASSWORD">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="UNEDITABLE"><!-- --></A><H3>
+UNEDITABLE</H3>
+<PRE>
+public static final int <B>UNEDITABLE</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.TextField.UNEDITABLE">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="SENSITIVE"><!-- --></A><H3>
+SENSITIVE</H3>
+<PRE>
+public static final int <B>SENSITIVE</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.TextField.SENSITIVE">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="NON_PREDICTIVE"><!-- --></A><H3>
+NON_PREDICTIVE</H3>
+<PRE>
+public static final int <B>NON_PREDICTIVE</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.TextField.NON_PREDICTIVE">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="INITIAL_CAPS_WORD"><!-- --></A><H3>
+INITIAL_CAPS_WORD</H3>
+<PRE>
+public static final int <B>INITIAL_CAPS_WORD</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.TextField.INITIAL_CAPS_WORD">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="INITIAL_CAPS_SENTENCE"><!-- --></A><H3>
+INITIAL_CAPS_SENTENCE</H3>
+<PRE>
+public static final int <B>INITIAL_CAPS_SENTENCE</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.lcdui.TextField.INITIAL_CAPS_SENTENCE">Constant Field Values</A></DL>
+</DL>
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="TextField(java.lang.String, java.lang.String, int, int)"><!-- --></A><H3>
+TextField</H3>
+<PRE>
+public <B>TextField</B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> label,
+ <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> text,
+ int maxSize,
+ int constraints)</PRE>
+<DL>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="setText(java.lang.String)"><!-- --></A><H3>
+setText</H3>
+<PRE>
+public void <B>setText</B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> text)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getText()"><!-- --></A><H3>
+getText</H3>
+<PRE>
+public <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> <B>getText</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getMaxSize()"><!-- --></A><H3>
+getMaxSize</H3>
+<PRE>
+public int <B>getMaxSize</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getConstraints()"><!-- --></A><H3>
+getConstraints</H3>
+<PRE>
+public int <B>getConstraints</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="paint(javax.microedition.lcdui.Graphics, int, int, int, int, boolean)"><!-- --></A><H3>
+paint</H3>
+<PRE>
+public void <B>paint</B>(<A HREF="../../../javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A> g,
+ int x,
+ int y,
+ int w,
+ int h,
+ boolean selected)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/lcdui/Item.html#paint(javax.microedition.lcdui.Graphics, int, int, int, int, boolean)">paint</A></CODE> in class <CODE><A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/TextBox.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ <A HREF="../../../javax/microedition/lcdui/Ticker.html" title="class in javax.microedition.lcdui"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/TextField.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="TextField.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>
--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
+<TITLE>
+Ticker (leJOS NXT API documentation)
+</TITLE>
+
+<META NAME="keywords" CONTENT="javax.microedition.lcdui.Ticker class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="Ticker (leJOS NXT API documentation)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/TextField.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ NEXT CLASS</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/Ticker.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="Ticker.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+javax.microedition.lcdui</FONT>
+<BR>
+Class Ticker</H2>
+<PRE>
+<A HREF="../../../java/lang/Object.html" title="class in java.lang">java.lang.Object</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>javax.microedition.lcdui.Ticker</B>
+</PRE>
+<HR>
+<DL>
+<DT><PRE>public class <B>Ticker</B><DT>extends <A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></DL>
+</PRE>
+
+<P>
+<HR>
+
+<P>
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Ticker.html#Ticker(java.lang.String)">Ticker</A></B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> str)</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Ticker.html#getString()">getString</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../javax/microedition/lcdui/Ticker.html#setString(java.lang.String)">setString</A></B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> str)</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long)">wait</A></CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="Ticker(java.lang.String)"><!-- --></A><H3>
+Ticker</H3>
+<PRE>
+public <B>Ticker</B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> str)</PRE>
+<DL>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="getString()"><!-- --></A><H3>
+getString</H3>
+<PRE>
+public <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> <B>getString</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setString(java.lang.String)"><!-- --></A><H3>
+setString</H3>
+<PRE>
+public void <B>setString</B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> str)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../javax/microedition/lcdui/TextField.html" title="class in javax.microedition.lcdui"><B>PREV CLASS</B></A>
+ NEXT CLASS</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?javax/microedition/lcdui/Ticker.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="Ticker.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
javax.microedition.lcdui (leJOS NXT API documentation)
</TITLE>
<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
<TR>
<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont">
+Interfaces</FONT>
+<FONT CLASS="FrameItemFont">
+<BR>
+<A HREF="Choice.html" title="interface in javax.microedition.lcdui" target="classFrame"><I>Choice</I></A>
+<BR>
+<A HREF="CommandListener.html" title="interface in javax.microedition.lcdui" target="classFrame"><I>CommandListener</I></A>
+<BR>
+<A HREF="ItemCommandListener.html" title="interface in javax.microedition.lcdui" target="classFrame"><I>ItemCommandListener</I></A>
+<BR>
+<A HREF="ItemStateListener.html" title="interface in javax.microedition.lcdui" target="classFrame"><I>ItemStateListener</I></A></FONT></TD>
+</TR>
+</TABLE>
+
+
+<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
+<TR>
+<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont">
Classes</FONT>
<FONT CLASS="FrameItemFont">
<BR>
-<A HREF="Graphics.html" title="class in javax.microedition.lcdui" target="classFrame">Graphics</A></FONT></TD>
+<A HREF="Alert.html" title="class in javax.microedition.lcdui" target="classFrame">Alert</A>
+<BR>
+<A HREF="ChoiceGroup.html" title="class in javax.microedition.lcdui" target="classFrame">ChoiceGroup</A>
+<BR>
+<A HREF="Command.html" title="class in javax.microedition.lcdui" target="classFrame">Command</A>
+<BR>
+<A HREF="Display.html" title="class in javax.microedition.lcdui" target="classFrame">Display</A>
+<BR>
+<A HREF="Displayable.html" title="class in javax.microedition.lcdui" target="classFrame">Displayable</A>
+<BR>
+<A HREF="Font.html" title="class in javax.microedition.lcdui" target="classFrame">Font</A>
+<BR>
+<A HREF="Form.html" title="class in javax.microedition.lcdui" target="classFrame">Form</A>
+<BR>
+<A HREF="Gauge.html" title="class in javax.microedition.lcdui" target="classFrame">Gauge</A>
+<BR>
+<A HREF="Graphics.html" title="class in javax.microedition.lcdui" target="classFrame">Graphics</A>
+<BR>
+<A HREF="Image.html" title="class in javax.microedition.lcdui" target="classFrame">Image</A>
+<BR>
+<A HREF="Item.html" title="class in javax.microedition.lcdui" target="classFrame">Item</A>
+<BR>
+<A HREF="List.html" title="class in javax.microedition.lcdui" target="classFrame">List</A>
+<BR>
+<A HREF="Screen.html" title="class in javax.microedition.lcdui" target="classFrame">Screen</A>
+<BR>
+<A HREF="Spacer.html" title="class in javax.microedition.lcdui" target="classFrame">Spacer</A>
+<BR>
+<A HREF="StringItem.html" title="class in javax.microedition.lcdui" target="classFrame">StringItem</A>
+<BR>
+<A HREF="TextBox.html" title="class in javax.microedition.lcdui" target="classFrame">TextBox</A>
+<BR>
+<A HREF="TextField.html" title="class in javax.microedition.lcdui" target="classFrame">TextField</A>
+<BR>
+<A HREF="Ticker.html" title="class in javax.microedition.lcdui" target="classFrame">Ticker</A></FONT></TD>
</TR>
</TABLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
javax.microedition.lcdui (leJOS NXT API documentation)
</TITLE>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Interface Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A></B></TD>
+<TD> </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../../javax/microedition/lcdui/CommandListener.html" title="interface in javax.microedition.lcdui">CommandListener</A></B></TD>
+<TD> </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../../javax/microedition/lcdui/ItemCommandListener.html" title="interface in javax.microedition.lcdui">ItemCommandListener</A></B></TD>
+<TD> </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../../javax/microedition/lcdui/ItemStateListener.html" title="interface in javax.microedition.lcdui">ItemStateListener</A></B></TD>
+<TD> </TD>
+</TR>
+</TABLE>
+
+
+<P>
+
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Class Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../../javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui">Alert</A></B></TD>
+<TD> </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../../javax/microedition/lcdui/ChoiceGroup.html" title="class in javax.microedition.lcdui">ChoiceGroup</A></B></TD>
+<TD> </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../../javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui">Command</A></B></TD>
+<TD> </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../../javax/microedition/lcdui/Display.html" title="class in javax.microedition.lcdui">Display</A></B></TD>
+<TD> </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../../javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui">Displayable</A></B></TD>
+<TD> </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../../javax/microedition/lcdui/Font.html" title="class in javax.microedition.lcdui">Font</A></B></TD>
+<TD> </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../../javax/microedition/lcdui/Form.html" title="class in javax.microedition.lcdui">Form</A></B></TD>
+<TD> </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../../javax/microedition/lcdui/Gauge.html" title="class in javax.microedition.lcdui">Gauge</A></B></TD>
+<TD> </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui">Graphics</A></B></TD>
<TD>Preliminary Graphics class for LCD Screen</TD>
</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui">Image</A></B></TD>
+<TD> </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui">Item</A></B></TD>
+<TD> </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../../javax/microedition/lcdui/List.html" title="class in javax.microedition.lcdui">List</A></B></TD>
+<TD> </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../../javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui">Screen</A></B></TD>
+<TD> </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../../javax/microedition/lcdui/Spacer.html" title="class in javax.microedition.lcdui">Spacer</A></B></TD>
+<TD> </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../../javax/microedition/lcdui/StringItem.html" title="class in javax.microedition.lcdui">StringItem</A></B></TD>
+<TD> </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../../javax/microedition/lcdui/TextBox.html" title="class in javax.microedition.lcdui">TextBox</A></B></TD>
+<TD> </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../../javax/microedition/lcdui/TextField.html" title="class in javax.microedition.lcdui">TextField</A></B></TD>
+<TD> </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../../javax/microedition/lcdui/Ticker.html" title="class in javax.microedition.lcdui">Ticker</A></B></TD>
+<TD> </TD>
+</TR>
</TABLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
javax.microedition.lcdui Class Hierarchy (leJOS NXT API documentation)
</TITLE>
</H2>
<UL>
<LI TYPE="circle">java.lang.<A HREF="../../../java/lang/Object.html" title="class in java.lang"><B>Object</B></A><UL>
-<LI TYPE="circle">javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui"><B>Graphics</B></A></UL>
+<LI TYPE="circle">javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui"><B>Command</B></A><LI TYPE="circle">javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Display.html" title="class in javax.microedition.lcdui"><B>Display</B></A><LI TYPE="circle">javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui"><B>Displayable</B></A><UL>
+<LI TYPE="circle">javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui"><B>Screen</B></A><UL>
+<LI TYPE="circle">javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui"><B>Alert</B></A><LI TYPE="circle">javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Form.html" title="class in javax.microedition.lcdui"><B>Form</B></A> (implements javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/CommandListener.html" title="interface in javax.microedition.lcdui">CommandListener</A>)
+<LI TYPE="circle">javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/List.html" title="class in javax.microedition.lcdui"><B>List</B></A> (implements javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A>)
+<LI TYPE="circle">javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/TextBox.html" title="class in javax.microedition.lcdui"><B>TextBox</B></A></UL>
</UL>
+<LI TYPE="circle">javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Font.html" title="class in javax.microedition.lcdui"><B>Font</B></A><LI TYPE="circle">javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui"><B>Graphics</B></A><LI TYPE="circle">javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui"><B>Image</B></A><LI TYPE="circle">javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui"><B>Item</B></A><UL>
+<LI TYPE="circle">javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/ChoiceGroup.html" title="class in javax.microedition.lcdui"><B>ChoiceGroup</B></A> (implements javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A>)
+<LI TYPE="circle">javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Gauge.html" title="class in javax.microedition.lcdui"><B>Gauge</B></A><LI TYPE="circle">javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Spacer.html" title="class in javax.microedition.lcdui"><B>Spacer</B></A><LI TYPE="circle">javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/StringItem.html" title="class in javax.microedition.lcdui"><B>StringItem</B></A><LI TYPE="circle">javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/TextField.html" title="class in javax.microedition.lcdui"><B>TextField</B></A></UL>
+<LI TYPE="circle">javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Ticker.html" title="class in javax.microedition.lcdui"><B>Ticker</B></A></UL>
+</UL>
+<H2>
+Interface Hierarchy
+</H2>
+<UL>
+<LI TYPE="circle">javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui"><B>Choice</B></A><LI TYPE="circle">javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/CommandListener.html" title="interface in javax.microedition.lcdui"><B>CommandListener</B></A><LI TYPE="circle">javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/ItemCommandListener.html" title="interface in javax.microedition.lcdui"><B>ItemCommandListener</B></A><LI TYPE="circle">javax.microedition.lcdui.<A HREF="../../../javax/microedition/lcdui/ItemStateListener.html" title="interface in javax.microedition.lcdui"><B>ItemStateListener</B></A></UL>
<HR>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
CompassNavigator (leJOS NXT API documentation)
</TITLE>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+ SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_lejos.navigation.TachoNavigator">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> <A HREF="../../lejos/navigation/CompassPilot.html" title="class in lejos.navigation">CompassPilot</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../lejos/navigation/CompassNavigator.html#compassPilot">compassPilot</A></B></CODE>
-
-<BR>
- </TD>
-</TR>
</TABLE>
<A NAME="fields_inherited_from_class_lejos.navigation.TachoNavigator"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TH ALIGN="left"><B>Fields inherited from class lejos.navigation.<A HREF="../../lejos/navigation/TachoNavigator.html" title="class in lejos.navigation">TachoNavigator</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../lejos/navigation/TachoNavigator.html#_heading">_heading</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#pilot">pilot</A></CODE></TD>
+<TD><CODE><A HREF="../../lejos/navigation/TachoNavigator.html#_heading">_heading</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#_pilot">_pilot</A></CODE></TD>
</TR>
</TABLE>
To use this constructor, you must first create a compass pilot.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../lejos/navigation/CompassNavigator.html#CompassNavigator(lejos.nxt.CompassSensor, float, float, lejos.nxt.Motor, lejos.nxt.Motor, boolean)">CompassNavigator</A></B>(<A HREF="../../lejos/nxt/CompassSensor.html" title="class in lejos.nxt">CompassSensor</A> compass,
+ float wheelDiameter,
+ float trackWidth,
+ <A HREF="../../lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A> leftMotor,
+ <A HREF="../../lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A> rightMotor,
+ boolean reverse)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../lejos/navigation/CompassNavigator.html#CompassNavigator(lejos.nxt.SensorPort, float, float, lejos.nxt.Motor, lejos.nxt.Motor)">CompassNavigator</A></B>(<A HREF="../../lejos/nxt/SensorPort.html" title="class in lejos.nxt">SensorPort</A> compassPort,
float wheelDiameter,
float trackWidth,
<TH ALIGN="left"><B>Methods inherited from class lejos.navigation.<A HREF="../../lejos/navigation/TachoNavigator.html" title="class in lejos.navigation">TachoNavigator</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../lejos/navigation/TachoNavigator.html#angleTo(float, float)">angleTo</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#backward()">backward</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#distanceTo(float, float)">distanceTo</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#forward()">forward</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#getAngle()">getAngle</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#getX()">getX</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#getY()">getY</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#goTo(float, float)">goTo</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#goTo(float, float, boolean)">goTo</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#isMoving()">isMoving</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#rotate(float)">rotate</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#rotateLeft()">rotateLeft</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#rotateRight()">rotateRight</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#rotateTo(float)">rotateTo</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#setPosition(float, float, float)">setPosition</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#setSpeed(int)">setSpeed</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#travel(float)">travel</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#turn(float)">turn</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#turn(float, int)">turn</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#turn(float, int, boolean)">turn</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#updatePosition()">updatePosition</A></CODE></TD>
+<TD><CODE><A HREF="../../lejos/navigation/TachoNavigator.html#angleTo(float, float)">angleTo</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#backward()">backward</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#distanceTo(float, float)">distanceTo</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#forward()">forward</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#getAngle()">getAngle</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#getPilot()">getPilot</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#getX()">getX</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#getY()">getY</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#goTo(float, float)">goTo</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#goTo(float, float, boolean)">goTo</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#isMoving()">isMoving</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#rotate(float)">rotate</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#rotateLeft()">rotateLeft</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#rotateRight()">rotateRight</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#rotateTo(float)">rotateTo</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#setPosition(float, float, float)">setPosition</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#setSpeed(int)">setSpeed</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#travel(float)">travel</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#turn(float)">turn</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#turn(float, int)">turn</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#turn(float, int, boolean)">turn</A>, <A HREF="../../lejos/navigation/TachoNavigator.html#updatePosition()">updatePosition</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<P>
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="compassPilot"><!-- --></A><H3>
-compassPilot</H3>
-<PRE>
-public <A HREF="../../lejos/navigation/CompassPilot.html" title="class in lejos.navigation">CompassPilot</A> <B>compassPilot</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
</DL>
<HR>
+<A NAME="CompassNavigator(lejos.nxt.CompassSensor, float, float, lejos.nxt.Motor, lejos.nxt.Motor, boolean)"><!-- --></A><H3>
+CompassNavigator</H3>
+<PRE>
+public <B>CompassNavigator</B>(<A HREF="../../lejos/nxt/CompassSensor.html" title="class in lejos.nxt">CompassSensor</A> compass,
+ float wheelDiameter,
+ float trackWidth,
+ <A HREF="../../lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A> leftMotor,
+ <A HREF="../../lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A> rightMotor,
+ boolean reverse)</PRE>
+<DL>
+</DL>
+<HR>
+
<A NAME="CompassNavigator(lejos.navigation.CompassPilot)"><!-- --></A><H3>
CompassNavigator</H3>
<PRE>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+ SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_lejos.navigation.TachoNavigator">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
CompassPilot (leJOS NXT API documentation)
</TITLE>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> <A HREF="../../lejos/nxt/CompassSensor.html" title="class in lejos.nxt">CompassSensor</A></CODE></FONT></TD>
+<CODE>protected <A HREF="../../lejos/nxt/CompassSensor.html" title="class in lejos.nxt">CompassSensor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../lejos/navigation/CompassPilot.html#compass">compass</A></B></CODE>
<BR>
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../lejos/navigation/CompassPilot.html#CompassPilot(lejos.nxt.CompassSensor, float, float, lejos.nxt.Motor, lejos.nxt.Motor)">CompassPilot</A></B>(<A HREF="../../lejos/nxt/CompassSensor.html" title="class in lejos.nxt">CompassSensor</A> compass,
+ float wheelDiameter,
+ float trackWidth,
+ <A HREF="../../lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A> leftMotor,
+ <A HREF="../../lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A> rightMotor)</CODE>
+
+<BR>
+ Allocates a CompasPilot object, and sets the physical parameters of the NXT robot.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../lejos/navigation/CompassPilot.html#CompassPilot(lejos.nxt.CompassSensor, float, float, lejos.nxt.Motor, lejos.nxt.Motor, boolean)">CompassPilot</A></B>(<A HREF="../../lejos/nxt/CompassSensor.html" title="class in lejos.nxt">CompassSensor</A> compass,
+ float wheelDiameter,
+ float trackWidth,
+ <A HREF="../../lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A> leftMotor,
+ <A HREF="../../lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A> rightMotor,
+ boolean reverse)</CODE>
+
+<BR>
+ Allocates a CompasPilot object, and sets the physical parameters of the NXT robot.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../lejos/navigation/CompassPilot.html#CompassPilot(lejos.nxt.SensorPort, float, float, lejos.nxt.Motor, lejos.nxt.Motor)">CompassPilot</A></B>(<A HREF="../../lejos/nxt/SensorPort.html" title="class in lejos.nxt">SensorPort</A> compassPort,
float wheelDiameter,
float trackWidth,
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../lejos/nxt/CompassSensor.html" title="class in lejos.nxt">CompassSensor</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../lejos/navigation/CompassPilot.html#getCompass()">getCompass</A></B>()</CODE>
+
+<BR>
+ return the compass</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../lejos/navigation/CompassPilot.html#getHeading()">getHeading</A></B>()</CODE>
<TH ALIGN="left"><B>Methods inherited from class lejos.navigation.<A HREF="../../lejos/navigation/Pilot.html" title="class in lejos.navigation">Pilot</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../lejos/navigation/Pilot.html#backward()">backward</A>, <A HREF="../../lejos/navigation/Pilot.html#forward()">forward</A>, <A HREF="../../lejos/navigation/Pilot.html#getLeftActualSpeed()">getLeftActualSpeed</A>, <A HREF="../../lejos/navigation/Pilot.html#getLeftCount()">getLeftCount</A>, <A HREF="../../lejos/navigation/Pilot.html#getRightActualSpeed()">getRightActualSpeed</A>, <A HREF="../../lejos/navigation/Pilot.html#getRightCount()">getRightCount</A>, <A HREF="../../lejos/navigation/Pilot.html#getTravelDistance()">getTravelDistance</A>, <A HREF="../../lejos/navigation/Pilot.html#getTurnRatio()">getTurnRatio</A>, <A HREF="../../lejos/navigation/Pilot.html#regulateSpeed(boolean)">regulateSpeed</A>, <A HREF="../../lejos/navigation/Pilot.html#resetTachoCount()">resetTachoCount</A>, <A HREF="../../lejos/navigation/Pilot.html#setSpeed(int)">setSpeed</A>, <A HREF="../../lejos/navigation/Pilot.html#steer(int)">steer</A>, <A HREF="../../lejos/navigation/Pilot.html#steer(int, int)">steer</A>, <A HREF="../../lejos/navigation/Pilot.html#steer(int, int, boolean)">steer</A>, <A HREF="../../lejos/navigation/Pilot.html#stop()">stop</A></CODE></TD>
+<TD><CODE><A HREF="../../lejos/navigation/Pilot.html#backward()">backward</A>, <A HREF="../../lejos/navigation/Pilot.html#forward()">forward</A>, <A HREF="../../lejos/navigation/Pilot.html#getLeft()">getLeft</A>, <A HREF="../../lejos/navigation/Pilot.html#getLeftActualSpeed()">getLeftActualSpeed</A>, <A HREF="../../lejos/navigation/Pilot.html#getLeftCount()">getLeftCount</A>, <A HREF="../../lejos/navigation/Pilot.html#getRight()">getRight</A>, <A HREF="../../lejos/navigation/Pilot.html#getRightActualSpeed()">getRightActualSpeed</A>, <A HREF="../../lejos/navigation/Pilot.html#getRightCount()">getRightCount</A>, <A HREF="../../lejos/navigation/Pilot.html#getSpeed()">getSpeed</A>, <A HREF="../../lejos/navigation/Pilot.html#getTravelDistance()">getTravelDistance</A>, <A HREF="../../lejos/navigation/Pilot.html#getTurnRatio()">getTurnRatio</A>, <A HREF="../../lejos/navigation/Pilot.html#regulateSpeed(boolean)">regulateSpeed</A>, <A HREF="../../lejos/navigation/Pilot.html#resetTachoCount()">resetTachoCount</A>, <A HREF="../../lejos/navigation/Pilot.html#setSpeed(int)">setSpeed</A>, <A HREF="../../lejos/navigation/Pilot.html#steer(int)">steer</A>, <A HREF="../../lejos/navigation/Pilot.html#steer(int, int)">steer</A>, <A HREF="../../lejos/navigation/Pilot.html#steer(int, int, boolean)">steer</A>, <A HREF="../../lejos/navigation/Pilot.html#stop()">stop</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<A NAME="compass"><!-- --></A><H3>
compass</H3>
<PRE>
-public <A HREF="../../lejos/nxt/CompassSensor.html" title="class in lejos.nxt">CompassSensor</A> <B>compass</B></PRE>
+protected <A HREF="../../lejos/nxt/CompassSensor.html" title="class in lejos.nxt">CompassSensor</A> <B>compass</B></PRE>
<DL>
<DL>
</DL>
<DL>
<DT><B>Parameters:</B><DD><CODE>compassPort</CODE> - : the compass sensor is connected to this port;<DD><CODE>wheelDiameter</CODE> - Diameter of the tire, in any convenient units. (The diameter in mm is usually printed on the tire).<DD><CODE>trackWidth</CODE> - Distance between center of right tire and center of left tire, in same units as wheelDiameter<DD><CODE>leftMotor</CODE> - <DD><CODE>rightMotor</CODE> - <DD><CODE>reverse</CODE> - if true of motor.forward() drives the robot backwards</DL>
</DL>
+<HR>
+
+<A NAME="CompassPilot(lejos.nxt.CompassSensor, float, float, lejos.nxt.Motor, lejos.nxt.Motor)"><!-- --></A><H3>
+CompassPilot</H3>
+<PRE>
+public <B>CompassPilot</B>(<A HREF="../../lejos/nxt/CompassSensor.html" title="class in lejos.nxt">CompassSensor</A> compass,
+ float wheelDiameter,
+ float trackWidth,
+ <A HREF="../../lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A> leftMotor,
+ <A HREF="../../lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A> rightMotor)</PRE>
+<DL>
+<DD>Allocates a CompasPilot object, and sets the physical parameters of the NXT robot. <br>
+ Assumes Motor.forward() causes the robot to move forward);
+ Parameters
+<P>
+<DL>
+<DT><B>Parameters:</B><DD><CODE>compass</CODE> - : a compass sensor;<DD><CODE>wheelDiameter</CODE> - Diameter of the tire, in any convenient units. (The diameter in mm is usually printed on the tire).<DD><CODE>trackWidth</CODE> - Distance between center of right tire and center of left tire, in same units as wheelDiameter<DD><CODE>leftMotor</CODE> - <DD><CODE>rightMotor</CODE> - </DL>
+</DL>
+<HR>
+
+<A NAME="CompassPilot(lejos.nxt.CompassSensor, float, float, lejos.nxt.Motor, lejos.nxt.Motor, boolean)"><!-- --></A><H3>
+CompassPilot</H3>
+<PRE>
+public <B>CompassPilot</B>(<A HREF="../../lejos/nxt/CompassSensor.html" title="class in lejos.nxt">CompassSensor</A> compass,
+ float wheelDiameter,
+ float trackWidth,
+ <A HREF="../../lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A> leftMotor,
+ <A HREF="../../lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A> rightMotor,
+ boolean reverse)</PRE>
+<DL>
+<DD>Allocates a CompasPilot object, and sets the physical parameters of the NXT robot. <br>
+ Assumes Motor.forward() causes the robot to move forward);
+ Parameters
+<P>
+<DL>
+<DT><B>Parameters:</B><DD><CODE>compass</CODE> - : a compass sensor;<DD><CODE>wheelDiameter</CODE> - Diameter of the tire, in any convenient units. (The diameter in mm is usually printed on the tire).<DD><CODE>trackWidth</CODE> - Distance between center of right tire and center of left tire, in same units as wheelDiameter<DD><CODE>leftMotor</CODE> - <DD><CODE>rightMotor</CODE> - <DD><CODE>reverse</CODE> - if true of motor.forward() drives the robot backwards</DL>
+</DL>
<!-- ============ METHOD DETAIL ========== -->
</DL>
<HR>
+<A NAME="getCompass()"><!-- --></A><H3>
+getCompass</H3>
+<PRE>
+public <A HREF="../../lejos/nxt/CompassSensor.html" title="class in lejos.nxt">CompassSensor</A> <B>getCompass</B>()</PRE>
+<DL>
+<DD>return the compass
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>the compass</DL>
+</DD>
+</DL>
+<HR>
+
<A NAME="getAngle()"><!-- --></A><H3>
getAngle</H3>
<PRE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
Navigator (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
Pilot (leJOS NXT API documentation)
</TITLE>
Uses the smoothAcceleration property of Motors to improve motor symchronication
Example:<p>
<code><pre>
- Pilot sc = new Pilot(2.1f,4.4f,Motor.A, Motor.C,true);
- sc.setSpeed(720);// 2 RPM
- sc.travel(12);
- sc.rotate(-90);
- sc.travel(-12,true);
- while(sc.isMoving())Thread.yield();
- sc.rotate(-90);
- sc.rotateTo(270);
- sc.steer(-50,180,true);
- while(sc.isMoving())Thread.yield();
- sc.steer(100);
+ Pilot pilot = new Pilot(2.1f,4.4f,Motor.A, Motor.C,true);
+ pilot.setSpeed(720);// 2 RPM
+ pilot.travel(12);
+ pilot.rotate(-90);
+ pilot.travel(-12,true);
+ while(pilot.isMoving())Thread.yield();
+ pilot.rotate(-90);
+ pilot.rotateTo(270);
+ pilot.steer(-50,180,true);
+ while(pilot.isMoving())Thread.yield();
+ pilot.steer(100);
try{Thread.sleep(1000);}
catch(InterruptedException e){}
- sc.stop();
+ pilot.stop();
</pre></code>
<P>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> <A HREF="../../lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A></CODE></FONT></TD>
+<CODE>protected <A HREF="../../lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../lejos/navigation/Pilot.html#_left">_left</A></B></CODE>
<BR>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> <A HREF="../../lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A></CODE></FONT></TD>
+<CODE>protected <A HREF="../../lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../lejos/navigation/Pilot.html#_right">_right</A></B></CODE>
<BR>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../lejos/navigation/Pilot.html#getLeft()">getLeft</A></B>()</CODE>
+
+<BR>
+ returns left motor</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../lejos/navigation/Pilot.html#getLeftActualSpeed()">getLeftActualSpeed</A></B>()</CODE>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../lejos/navigation/Pilot.html#getRight()">getRight</A></B>()</CODE>
+
+<BR>
+ returns right motor</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../lejos/navigation/Pilot.html#getRightActualSpeed()">getRightActualSpeed</A></B>()</CODE>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../lejos/navigation/Pilot.html#getSpeed()">getSpeed</A></B>()</CODE>
+
+<BR>
+ return current speed setting</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> float</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../lejos/navigation/Pilot.html#getTravelDistance()">getTravelDistance</A></B>()</CODE>
<A NAME="_left"><!-- --></A><H3>
_left</H3>
<PRE>
-public <A HREF="../../lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A> <B>_left</B></PRE>
+protected <A HREF="../../lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A> <B>_left</B></PRE>
<DL>
<DD>left motor
<P>
<A NAME="_right"><!-- --></A><H3>
_right</H3>
<PRE>
-public <A HREF="../../lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A> <B>_right</B></PRE>
+protected <A HREF="../../lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A> <B>_right</B></PRE>
<DL>
<DD>right motor
<P>
</TR>
</TABLE>
+<A NAME="getLeft()"><!-- --></A><H3>
+getLeft</H3>
+<PRE>
+public <A HREF="../../lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A> <B>getLeft</B>()</PRE>
+<DL>
+<DD>returns left motor
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>left motor</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getRight()"><!-- --></A><H3>
+getRight</H3>
+<PRE>
+public <A HREF="../../lejos/nxt/Motor.html" title="class in lejos.nxt">Motor</A> <B>getRight</B>()</PRE>
+<DL>
+<DD>returns right motor
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>right motor</DL>
+</DD>
+</DL>
+<HR>
+
<A NAME="getLeftCount()"><!-- --></A><H3>
getLeftCount</H3>
<PRE>
</DL>
<HR>
+<A NAME="getSpeed()"><!-- --></A><H3>
+getSpeed</H3>
+<PRE>
+public int <B>getSpeed</B>()</PRE>
+<DL>
+<DD>return current speed setting
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>current speed</DL>
+</DD>
+</DL>
+<HR>
+
<A NAME="setSpeed(int)"><!-- --></A><H3>
setSpeed</H3>
<PRE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
TachoNavigator (leJOS NXT API documentation)
</TITLE>
</PRE>
<P>
-The TachoNavigator class can keep track of the robot position and the direction angle it faces; It uses a pilot object to control NXT robot movements.<br>
+The TachoNavigator class can keep track of the robot position and the direction angle it faces; It uses a _pilot object to control NXT robot movements.<br>
The position and direction angle values are updated automatically when the movement command returns after the movement is complete and and after stop() command is issued.
However, some commands optionally return immediately, to permit sensor monitoring in the main thread. It is then the programmers responsibility to
call updatePosition() when the robot motion is completed. All angles are in degrees, distances in the units used to specify robot dimensions.
- As with pilot, the robot must be have two independently controlled drive wheels.
+ As with pilot, the robot must be have two independently controlled drive wheels.
+ The assumed initial position of the robot is at (0,0) and initial angle 0 i.e. pointing in the +X direction.
<P>
<P>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> <A HREF="../../lejos/navigation/Pilot.html" title="class in lejos.navigation">Pilot</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../lejos/navigation/TachoNavigator.html#pilot">pilot</A></B></CODE>
+<CODE>protected <A HREF="../../lejos/navigation/Pilot.html" title="class in lejos.navigation">Pilot</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../lejos/navigation/TachoNavigator.html#_pilot">_pilot</A></B></CODE>
<BR>
</TD>
<TD><CODE><B><A HREF="../../lejos/navigation/TachoNavigator.html#getAngle()">getAngle</A></B>()</CODE>
<BR>
- Returns the current angle the NXT robot is facing.</TD>
+ Returns the current angle the NXT robot is facing, relative to the +X axis direction; the +Y direction is 90 degrees.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../lejos/navigation/Pilot.html" title="class in lejos.navigation">Pilot</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../lejos/navigation/TachoNavigator.html#getPilot()">getPilot</A></B>()</CODE>
+
+<BR>
+ </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
</DL>
<HR>
-<A NAME="pilot"><!-- --></A><H3>
-pilot</H3>
+<A NAME="_pilot"><!-- --></A><H3>
+_pilot</H3>
<PRE>
-public <A HREF="../../lejos/navigation/Pilot.html" title="class in lejos.navigation">Pilot</A> <B>pilot</B></PRE>
+protected <A HREF="../../lejos/navigation/Pilot.html" title="class in lejos.navigation">Pilot</A> <B>_pilot</B></PRE>
<DL>
<DL>
</DL>
</TR>
</TABLE>
+<A NAME="getPilot()"><!-- --></A><H3>
+getPilot</H3>
+<PRE>
+public <A HREF="../../lejos/navigation/Pilot.html" title="class in lejos.navigation">Pilot</A> <B>getPilot</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
<A NAME="getX()"><!-- --></A><H3>
getX</H3>
<PRE>
<PRE>
public float <B>getAngle</B>()</PRE>
<DL>
-<DD>Returns the current angle the NXT robot is facing.
+<DD>Returns the current angle the NXT robot is facing, relative to the +X axis direction; the +Y direction is 90 degrees.
Note: At present it will only give an updated reading when the NXT is stopped.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../lejos/navigation/Navigator.html#setPosition(float, float, float)">setPosition</A></CODE> in interface <CODE><A HREF="../../lejos/navigation/Navigator.html" title="interface in lejos.navigation">Navigator</A></CODE></DL>
</DD>
<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>x</CODE> - the x coordinate of the robot<DD><CODE>y</CODE> - the y coordinate of the robot<DD><CODE>directionAngle</CODE> - the angle the robot is heading, measured from the x axis</DL>
+<DT><B>Parameters:</B><DD><CODE>x</CODE> - the x coordinate of the robot<DD><CODE>y</CODE> - the y coordinate of the robot<DD><CODE>directionAngle</CODE> - the angle the robot is heading, measured from the x axis. 90 degrees is the +Y direction</DL>
</DD>
</DL>
<HR>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
lejos.navigation (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
lejos.navigation (leJOS NXT API documentation)
</TITLE>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../lejos/navigation/TachoNavigator.html" title="class in lejos.navigation">TachoNavigator</A></B></TD>
-<TD>The TachoNavigator class can keep track of the robot position and the direction angle it faces; It uses a pilot object to control NXT robot movements.<br>
+<TD>The TachoNavigator class can keep track of the robot position and the direction angle it faces; It uses a _pilot object to control NXT robot movements.<br>
The position and direction angle values are updated automatically when the movement command returns after the movement is complete and and after stop() command is issued.</TD>
</TR>
</TABLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
lejos.navigation Class Hierarchy (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
Battery (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
Button (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
ButtonListener (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
ColorSensor (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
CompassSensor (leJOS NXT API documentation)
</TITLE>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../lejos/nxt/ColorSensor.html" title="class in lejos.nxt"><B>PREV CLASS</B></A>
- <A HREF="../../lejos/nxt/Flash.html" title="class in lejos.nxt"><B>NEXT CLASS</B></A></FONT></TD>
+ <A HREF="../../lejos/nxt/Datalogger.html" title="class in lejos.nxt"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../index.html?lejos/nxt/CompassSensor.html" target="_top"><B>FRAMES</B></A>
<A HREF="CompassSensor.html" target="_top"><B>NO FRAMES</B></A>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../lejos/nxt/ColorSensor.html" title="class in lejos.nxt"><B>PREV CLASS</B></A>
- <A HREF="../../lejos/nxt/Flash.html" title="class in lejos.nxt"><B>NEXT CLASS</B></A></FONT></TD>
+ <A HREF="../../lejos/nxt/Datalogger.html" title="class in lejos.nxt"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../index.html?lejos/nxt/CompassSensor.html" target="_top"><B>FRAMES</B></A>
<A HREF="CompassSensor.html" target="_top"><B>NO FRAMES</B></A>
--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
+<TITLE>
+Datalogger (leJOS NXT API documentation)
+</TITLE>
+
+<META NAME="keywords" CONTENT="lejos.nxt.Datalogger class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="Datalogger (leJOS NXT API documentation)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../lejos/nxt/CompassSensor.html" title="class in lejos.nxt"><B>PREV CLASS</B></A>
+ <A HREF="../../lejos/nxt/Flash.html" title="class in lejos.nxt"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../index.html?lejos/nxt/Datalogger.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="Datalogger.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+lejos.nxt</FONT>
+<BR>
+Class Datalogger</H2>
+<PRE>
+<A HREF="../../java/lang/Object.html" title="class in java.lang">java.lang.Object</A>
+ <IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>lejos.nxt.Datalogger</B>
+</PRE>
+<HR>
+<DL>
+<DT><PRE>public class <B>Datalogger</B><DT>extends <A HREF="../../java/lang/Object.html" title="class in java.lang">Object</A></DL>
+</PRE>
+
+<P>
+Datalogger class; stores float values then then transmits via bluetooth or usb<br>
+ works with DataViewer in pctools.
+ A maximum of 2000 data values can be stored.
+<P>
+
+<P>
+<HR>
+
+<P>
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../lejos/nxt/Datalogger.html#Datalogger()">Datalogger</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../lejos/nxt/Datalogger.html#main(java.lang.String[])">main</A></B>(<A HREF="../../java/lang/String.html" title="class in java.lang">String</A>[] args)</CODE>
+
+<BR>
+ to test the DL object</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../lejos/nxt/Datalogger.html#reset()">reset</A></B>()</CODE>
+
+<BR>
+ Clears the log; next write is at the beginning;</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../lejos/nxt/Datalogger.html#transmit(boolean)">transmit</A></B>(boolean useUSB)</CODE>
+
+<BR>
+ transmit the stored values to the PC via USB or bluetooth;<br>
+ Displays "waiting" , so then start the DataViewer.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../lejos/nxt/Datalogger.html#writeLog(float)">writeLog</A></B>(float v)</CODE>
+
+<BR>
+ write a float value to the log</TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="../../java/lang/Object.html" title="class in java.lang">Object</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../java/lang/Object.html#wait(long)">wait</A></CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="Datalogger()"><!-- --></A><H3>
+Datalogger</H3>
+<PRE>
+public <B>Datalogger</B>()</PRE>
+<DL>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="writeLog(float)"><!-- --></A><H3>
+writeLog</H3>
+<PRE>
+public void <B>writeLog</B>(float v)</PRE>
+<DL>
+<DD>write a float value to the log
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>v</CODE> - </DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="reset()"><!-- --></A><H3>
+reset</H3>
+<PRE>
+public void <B>reset</B>()</PRE>
+<DL>
+<DD>Clears the log; next write is at the beginning;
+<P>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="transmit(boolean)"><!-- --></A><H3>
+transmit</H3>
+<PRE>
+public void <B>transmit</B>(boolean useUSB)</PRE>
+<DL>
+<DD>transmit the stored values to the PC via USB or bluetooth;<br>
+ Displays "waiting" , so then start the DataViewer.
+ When finished, displays the number values sent, and asks "Resend?".
+ Press ENTER for yes, ESC to exit the program.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>useUSB</CODE> - if false, uses Bluetooth</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="main(java.lang.String[])"><!-- --></A><H3>
+main</H3>
+<PRE>
+public static void <B>main</B>(<A HREF="../../java/lang/String.html" title="class in java.lang">String</A>[] args)</PRE>
+<DL>
+<DD>to test the DL object
+<P>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../lejos/nxt/CompassSensor.html" title="class in lejos.nxt"><B>PREV CLASS</B></A>
+ <A HREF="../../lejos/nxt/Flash.html" title="class in lejos.nxt"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../index.html?lejos/nxt/Datalogger.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="Datalogger.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
Flash (leJOS NXT API documentation)
</TITLE>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../lejos/nxt/CompassSensor.html" title="class in lejos.nxt"><B>PREV CLASS</B></A>
+ <A HREF="../../lejos/nxt/Datalogger.html" title="class in lejos.nxt"><B>PREV CLASS</B></A>
<A HREF="../../lejos/nxt/I2CSensor.html" title="class in lejos.nxt"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../index.html?lejos/nxt/Flash.html" target="_top"><B>FRAMES</B></A>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../lejos/nxt/CompassSensor.html" title="class in lejos.nxt"><B>PREV CLASS</B></A>
+ <A HREF="../../lejos/nxt/Datalogger.html" title="class in lejos.nxt"><B>PREV CLASS</B></A>
<A HREF="../../lejos/nxt/I2CSensor.html" title="class in lejos.nxt"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../index.html?lejos/nxt/Flash.html" target="_top"><B>FRAMES</B></A>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
I2CSensor (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
LCD (leJOS NXT API documentation)
</TITLE>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
+DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
</PRE>
<P>
-LCD routines.
-<P>
-
-<P>
+<DL>
+<DT><B>Author:</B></DT>
+ <DD>Andre Nijholt</DD>
+</DL>
<HR>
<P>
+<!-- =========== FIELD SUMMARY =========== -->
+
+<A NAME="field_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Field Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../lejos/nxt/LCD.html#CELL_WIDTH">CELL_WIDTH</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../lejos/nxt/LCD.html#DISPLAY_CHAR_DEPTH">DISPLAY_CHAR_DEPTH</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../lejos/nxt/LCD.html#DISPLAY_CHAR_WIDTH">DISPLAY_CHAR_WIDTH</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../lejos/nxt/LCD.html#DISPLAY_DEPTH">DISPLAY_DEPTH</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../lejos/nxt/LCD.html#DISPLAY_WIDTH">DISPLAY_WIDTH</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../lejos/nxt/LCD.html#FONT_WIDTH">FONT_WIDTH</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../lejos/nxt/LCD.html#NOOF_CHARS">NOOF_CHARS</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../lejos/nxt/LCD.html#SCREEN_HEIGHT">SCREEN_HEIGHT</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../lejos/nxt/LCD.html#SCREEN_SCALE">SCREEN_SCALE</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../lejos/nxt/LCD.html#SCREEN_WIDTH">SCREEN_WIDTH</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../lejos/nxt/LCD.html#LCD()">LCD</A></B>()</CODE>
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../lejos/nxt/LCD.html#clearDisplay()">clearDisplay</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../lejos/nxt/LCD.html#drawChar(char, int, int, boolean)">drawChar</A></B>(char c,
+ int x,
+ int y,
+ boolean invert)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../lejos/nxt/LCD.html#drawInt(int, int, int)">drawInt</A></B>(int i,
int x,
int y)</CODE>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../lejos/nxt/LCD.html#drawPixels(byte, int, int, boolean)">drawPixels</A></B>(byte b,
+ int x,
+ int y,
+ boolean invert)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../lejos/nxt/LCD.html#drawString(java.lang.String, int, int)">drawString</A></B>(<A HREF="../../java/lang/String.html" title="class in java.lang">String</A> str,
int x,
int y)</CODE>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../lejos/nxt/LCD.html#drawString(java.lang.String, int, int, boolean)">drawString</A></B>(<A HREF="../../java/lang/String.html" title="class in java.lang">String</A> str,
+ int x,
+ int y,
+ boolean invert)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../lejos/nxt/LCD.html#refresh()">refresh</A></B>()</CODE>
<BR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../lejos/nxt/LCD.html#setDisplay()">setDisplay</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../lejos/nxt/LCD.html#setDisplay(int[])">setDisplay</A></B>(int[] buff)</CODE>
<BR>
Write graphics from a Java buffer to the display.</TD>
</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../lejos/nxt/LCD.html#setPixel(int, int, int)">setPixel</A></B>(int rgbColor,
+ int x,
+ int y)</CODE>
+
+<BR>
+ </TD>
+</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<P>
+<!-- ============ FIELD DETAIL =========== -->
+
+<A NAME="field_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Field Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="SCREEN_SCALE"><!-- --></A><H3>
+SCREEN_SCALE</H3>
+<PRE>
+public static final int <B>SCREEN_SCALE</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#lejos.nxt.LCD.SCREEN_SCALE">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="SCREEN_WIDTH"><!-- --></A><H3>
+SCREEN_WIDTH</H3>
+<PRE>
+public static final int <B>SCREEN_WIDTH</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#lejos.nxt.LCD.SCREEN_WIDTH">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="SCREEN_HEIGHT"><!-- --></A><H3>
+SCREEN_HEIGHT</H3>
+<PRE>
+public static final int <B>SCREEN_HEIGHT</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#lejos.nxt.LCD.SCREEN_HEIGHT">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="DISPLAY_WIDTH"><!-- --></A><H3>
+DISPLAY_WIDTH</H3>
+<PRE>
+public static final int <B>DISPLAY_WIDTH</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#lejos.nxt.LCD.DISPLAY_WIDTH">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="DISPLAY_DEPTH"><!-- --></A><H3>
+DISPLAY_DEPTH</H3>
+<PRE>
+public static final int <B>DISPLAY_DEPTH</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#lejos.nxt.LCD.DISPLAY_DEPTH">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="NOOF_CHARS"><!-- --></A><H3>
+NOOF_CHARS</H3>
+<PRE>
+public static final int <B>NOOF_CHARS</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#lejos.nxt.LCD.NOOF_CHARS">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="FONT_WIDTH"><!-- --></A><H3>
+FONT_WIDTH</H3>
+<PRE>
+public static final int <B>FONT_WIDTH</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#lejos.nxt.LCD.FONT_WIDTH">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="CELL_WIDTH"><!-- --></A><H3>
+CELL_WIDTH</H3>
+<PRE>
+public static final int <B>CELL_WIDTH</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#lejos.nxt.LCD.CELL_WIDTH">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="DISPLAY_CHAR_WIDTH"><!-- --></A><H3>
+DISPLAY_CHAR_WIDTH</H3>
+<PRE>
+public static final int <B>DISPLAY_CHAR_WIDTH</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#lejos.nxt.LCD.DISPLAY_CHAR_WIDTH">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="DISPLAY_CHAR_DEPTH"><!-- --></A><H3>
+DISPLAY_CHAR_DEPTH</H3>
+<PRE>
+public static final int <B>DISPLAY_CHAR_DEPTH</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#lejos.nxt.LCD.DISPLAY_CHAR_DEPTH">Constant Field Values</A></DL>
+</DL>
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="LCD()"><!-- --></A><H3>
+LCD</H3>
+<PRE>
+public <B>LCD</B>()</PRE>
+<DL>
+</DL>
+
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
</TR>
</TABLE>
+<A NAME="setPixel(int, int, int)"><!-- --></A><H3>
+setPixel</H3>
+<PRE>
+public static void <B>setPixel</B>(int rgbColor,
+ int x,
+ int y)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="drawString(java.lang.String, int, int, boolean)"><!-- --></A><H3>
+drawString</H3>
+<PRE>
+public static void <B>drawString</B>(<A HREF="../../java/lang/String.html" title="class in java.lang">String</A> str,
+ int x,
+ int y,
+ boolean invert)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="drawChar(char, int, int, boolean)"><!-- --></A><H3>
+drawChar</H3>
+<PRE>
+public static void <B>drawChar</B>(char c,
+ int x,
+ int y,
+ boolean invert)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="drawPixels(byte, int, int, boolean)"><!-- --></A><H3>
+drawPixels</H3>
+<PRE>
+public static void <B>drawPixels</B>(byte b,
+ int x,
+ int y,
+ boolean invert)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="clearDisplay()"><!-- --></A><H3>
+clearDisplay</H3>
+<PRE>
+public static void <B>clearDisplay</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setDisplay()"><!-- --></A><H3>
+setDisplay</H3>
+<PRE>
+public static void <B>setDisplay</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
<A NAME="drawString(java.lang.String, int, int)"><!-- --></A><H3>
drawString</H3>
<PRE>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
+DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
LightSensor (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
ListenerCaller (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
Motor (leJOS NXT API documentation)
</TITLE>
Example:<p>
<code><pre>
Motor.A.setSpeed(720);// 2 RPM
- Motor.C.setSpeed(7200);
+ Motor.C.setSpeed(720);
Motor.A.forward();
Motor.C.forward();
Thread.sleep (1000);
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> float</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../lejos/nxt/Motor.html#getBasePower()">getBasePower</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> float</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../lejos/nxt/Motor.html#getError()">getError</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../lejos/nxt/Motor.html#getLimitAngle()">getLimitAngle</A></B>()</CODE>
</DL>
<HR>
+<A NAME="getError()"><!-- --></A><H3>
+getError</H3>
+<PRE>
+public float <B>getError</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getBasePower()"><!-- --></A><H3>
+getBasePower</H3>
+<PRE>
+public float <B>getBasePower</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
<A NAME="isForward()"><!-- --></A><H3>
isForward</H3>
<PRE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
MotorPort (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
Poll (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
RCXLightSensor (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
RCXMotor (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
SensorConstants (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
SensorPort (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
SensorPortListener (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
Sound (leJOS NXT API documentation)
</TITLE>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../lejos/nxt/Sound.html#playSample(java.io.File, int, int)">playSample</A></B>(<A HREF="../../java/io/File.html" title="class in java.io">File</A> file,
+ int freq,
+ int vol)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../lejos/nxt/Sound.html#playSample(int, int, int, int)">playSample</A></B>(int page,
+ int len,
+ int freq,
+ int vol)</CODE>
+
+<BR>
+ Internal method used to play sound sample from a file</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../lejos/nxt/Sound.html#playTone(int, int)">playTone</A></B>(int aFrequency,
int aDuration)</CODE>
<DT><B>Parameters:</B><DD><CODE>aFrequency</CODE> - The frequency of the tone in Hertz (Hz).<DD><CODE>aDuration</CODE> - The duration of the tone, in centiseconds. Value is truncated at 256 centiseconds.</DL>
</DD>
</DL>
+<HR>
+
+<A NAME="playSample(int, int, int, int)"><!-- --></A><H3>
+playSample</H3>
+<PRE>
+public static void <B>playSample</B>(int page,
+ int len,
+ int freq,
+ int vol)</PRE>
+<DL>
+<DD>Internal method used to play sound sample from a file
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>page</CODE> - the start page of the file<DD><CODE>len</CODE> - the length of the file<DD><CODE>freq</CODE> - the frequency<DD><CODE>vol</CODE> - the volume</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="playSample(java.io.File, int, int)"><!-- --></A><H3>
+playSample</H3>
+<PRE>
+public static void <B>playSample</B>(<A HREF="../../java/io/File.html" title="class in java.io">File</A> file,
+ int freq,
+ int vol)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>file</CODE> - the 8-bit PWM (WAV) sample file<DD><CODE>freq</CODE> - the average frequency to play the sample at<DD><CODE>vol</CODE> - the sound volume</DL>
+</DD>
+</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
SoundSensor (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
TextMenu (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
TiltSensor (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
TouchSensor (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
UltrasonicSensor (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
BTConnection (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
BTInputStream (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
BTOutputStream (leJOS NXT API documentation)
</TITLE>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../lejos/nxt/comm/BTInputStream.html" title="class in lejos.nxt.comm"><B>PREV CLASS</B></A>
- <A HREF="../../../lejos/nxt/comm/LCP.html" title="class in lejos.nxt.comm"><B>NEXT CLASS</B></A></FONT></TD>
+ <A HREF="../../../lejos/nxt/comm/BTRemoteDevice.html" title="class in lejos.nxt.comm"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?lejos/nxt/comm/BTOutputStream.html" target="_top"><B>FRAMES</B></A>
<A HREF="BTOutputStream.html" target="_top"><B>NO FRAMES</B></A>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../lejos/nxt/comm/BTInputStream.html" title="class in lejos.nxt.comm"><B>PREV CLASS</B></A>
- <A HREF="../../../lejos/nxt/comm/LCP.html" title="class in lejos.nxt.comm"><B>NEXT CLASS</B></A></FONT></TD>
+ <A HREF="../../../lejos/nxt/comm/BTRemoteDevice.html" title="class in lejos.nxt.comm"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?lejos/nxt/comm/BTOutputStream.html" target="_top"><B>FRAMES</B></A>
<A HREF="BTOutputStream.html" target="_top"><B>NO FRAMES</B></A>
--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
+<TITLE>
+BTRemoteDevice (leJOS NXT API documentation)
+</TITLE>
+
+<META NAME="keywords" CONTENT="lejos.nxt.comm.BTRemoteDevice class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="BTRemoteDevice (leJOS NXT API documentation)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../lejos/nxt/comm/BTOutputStream.html" title="class in lejos.nxt.comm"><B>PREV CLASS</B></A>
+ <A HREF="../../../lejos/nxt/comm/LCP.html" title="class in lejos.nxt.comm"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?lejos/nxt/comm/BTRemoteDevice.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="BTRemoteDevice.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+lejos.nxt.comm</FONT>
+<BR>
+Class BTRemoteDevice</H2>
+<PRE>
+<A HREF="../../../java/lang/Object.html" title="class in java.lang">java.lang.Object</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>lejos.nxt.comm.BTRemoteDevice</B>
+</PRE>
+<HR>
+<DL>
+<DT><PRE>public class <B>BTRemoteDevice</B><DT>extends <A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></DL>
+</PRE>
+
+<P>
+<HR>
+
+<P>
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../lejos/nxt/comm/BTRemoteDevice.html#BTRemoteDevice(char[], int, byte[], byte[])">BTRemoteDevice</A></B>(char[] friendlyNameCharArray,
+ int len,
+ byte[] deviceAddr,
+ byte[] devclass)</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../lejos/nxt/comm/BTRemoteDevice.html#getAddressString()">getAddressString</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> byte[]</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../lejos/nxt/comm/BTRemoteDevice.html#getDeviceAddr()">getDeviceAddr</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> byte[]</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../lejos/nxt/comm/BTRemoteDevice.html#getDeviceClass()">getDeviceClass</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../lejos/nxt/comm/BTRemoteDevice.html#getFriendlyName()">getFriendlyName</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../lejos/nxt/comm/BTRemoteDevice.html#getFriendlyName(char[])">getFriendlyName</A></B>(char[] friendlyNameCharArray)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../lejos/nxt/comm/BTRemoteDevice.html#setDeviceAddr(byte[])">setDeviceAddr</A></B>(byte[] deviceAddr)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../lejos/nxt/comm/BTRemoteDevice.html#setDeviceClass(byte[])">setDeviceClass</A></B>(byte[] devclass)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../lejos/nxt/comm/BTRemoteDevice.html#setFriendlyName(char[], int)">setFriendlyName</A></B>(char[] friendlyNameCharArray,
+ int len)</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long)">wait</A></CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="BTRemoteDevice(char[], int, byte[], byte[])"><!-- --></A><H3>
+BTRemoteDevice</H3>
+<PRE>
+public <B>BTRemoteDevice</B>(char[] friendlyNameCharArray,
+ int len,
+ byte[] deviceAddr,
+ byte[] devclass)</PRE>
+<DL>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="setDeviceAddr(byte[])"><!-- --></A><H3>
+setDeviceAddr</H3>
+<PRE>
+public void <B>setDeviceAddr</B>(byte[] deviceAddr)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getDeviceAddr()"><!-- --></A><H3>
+getDeviceAddr</H3>
+<PRE>
+public byte[] <B>getDeviceAddr</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setFriendlyName(char[], int)"><!-- --></A><H3>
+setFriendlyName</H3>
+<PRE>
+public void <B>setFriendlyName</B>(char[] friendlyNameCharArray,
+ int len)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getFriendlyName()"><!-- --></A><H3>
+getFriendlyName</H3>
+<PRE>
+public <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> <B>getFriendlyName</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getFriendlyName(char[])"><!-- --></A><H3>
+getFriendlyName</H3>
+<PRE>
+public int <B>getFriendlyName</B>(char[] friendlyNameCharArray)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setDeviceClass(byte[])"><!-- --></A><H3>
+setDeviceClass</H3>
+<PRE>
+public void <B>setDeviceClass</B>(byte[] devclass)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getAddressString()"><!-- --></A><H3>
+getAddressString</H3>
+<PRE>
+public <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> <B>getAddressString</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getDeviceClass()"><!-- --></A><H3>
+getDeviceClass</H3>
+<PRE>
+public byte[] <B>getDeviceClass</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../lejos/nxt/comm/BTOutputStream.html" title="class in lejos.nxt.comm"><B>PREV CLASS</B></A>
+ <A HREF="../../../lejos/nxt/comm/LCP.html" title="class in lejos.nxt.comm"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?lejos/nxt/comm/BTRemoteDevice.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="BTRemoteDevice.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
Bluetooth (leJOS NXT API documentation)
</TITLE>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../lejos/nxt/comm/Bluetooth.html#MSG_DISCOVERABLE_ACK">MSG_DISCOVERABLE_ACK</A></B></CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../lejos/nxt/comm/Bluetooth.html#MSG_DUMP_LIST">MSG_DUMP_LIST</A></B></CODE>
<BR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../lejos/nxt/comm/Bluetooth.html#MSG_SET_DISCOVERABLE_ACK">MSG_SET_DISCOVERABLE_ACK</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../lejos/nxt/comm/Bluetooth.html#MSG_SET_FACTORY_SETTINGS">MSG_SET_FACTORY_SETTINGS</A></B></CODE>
<BR>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../lejos/nxt/comm/Bluetooth.html#addDevice(lejos.nxt.comm.BTRemoteDevice)">addDevice</A></B>(<A HREF="../../../lejos/nxt/comm/BTRemoteDevice.html" title="class in lejos.nxt.comm">BTRemoteDevice</A> d)</CODE>
+
+<BR>
+ Add device to known devices</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../lejos/nxt/comm/Bluetooth.html#btGetCmdMode()">btGetCmdMode</A></B>()</CODE>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static <A HREF="../../../lejos/nxt/comm/BTConnection.html" title="class in lejos.nxt.comm">BTConnection</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../lejos/nxt/comm/Bluetooth.html#connect(lejos.nxt.comm.BTRemoteDevice)">connect</A></B>(<A HREF="../../../lejos/nxt/comm/BTRemoteDevice.html" title="class in lejos.nxt.comm">BTRemoteDevice</A> remoteDevice)</CODE>
+
+<BR>
+ Connects to a remote device</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static <A HREF="../../../lejos/nxt/comm/BTConnection.html" title="class in lejos.nxt.comm">BTConnection</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../lejos/nxt/comm/Bluetooth.html#connect(byte[])">connect</A></B>(byte[] device_addr)</CODE>
+
+<BR>
+ Connects to a Device by it's Byte-Device-Address Array</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static byte[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../lejos/nxt/comm/Bluetooth.html#getFriendlyName()">getFriendlyName</A></B>()</CODE>
<BR>
- </TD>
+ Get the friendly name of the local device</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static <A HREF="../../../lejos/nxt/comm/BTRemoteDevice.html" title="class in lejos.nxt.comm">BTRemoteDevice</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../lejos/nxt/comm/Bluetooth.html#getKnownDevice(java.lang.String)">getKnownDevice</A></B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> fName)</CODE>
+
+<BR>
+ Gets a Device of the BC4-Chips internal list of known Devices
+ (those who have been paired before) into the BTDevice Object.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static <A HREF="../../../java/util/Vector.html" title="class in java.util">Vector</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../lejos/nxt/comm/Bluetooth.html#getKnownDevicesList()">getKnownDevicesList</A></B>()</CODE>
+
+<BR>
+ The internal Chip has a list of already paired Devices.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<TD><CODE><B><A HREF="../../../lejos/nxt/comm/Bluetooth.html#getLocalAddress()">getLocalAddress</A></B>()</CODE>
<BR>
+ get the Bluetooth address of the local device</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../lejos/nxt/comm/Bluetooth.html#getStatus()">getStatus</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../lejos/nxt/comm/Bluetooth.html#getVisibility()">getVisibility</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static <A HREF="../../../java/util/Vector.html" title="class in java.util">Vector</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../lejos/nxt/comm/Bluetooth.html#inquire(int, int, byte[])">inquire</A></B>(int maxDevices,
+ int timeout,
+ byte[] cod)</CODE>
+
+<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../lejos/nxt/comm/Bluetooth.html#lookupName(byte[])">lookupName</A></B>(byte[] deviceAddr)</CODE>
+
+<BR>
+ Look up the name of a device using its address</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../lejos/nxt/comm/Bluetooth.html#readPacket(byte[], int)">readPacket</A></B>(byte[] buf,
int bufLen)</CODE>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../lejos/nxt/comm/Bluetooth.html#removeDevice(lejos.nxt.comm.BTRemoteDevice)">removeDevice</A></B>(<A HREF="../../../lejos/nxt/comm/BTRemoteDevice.html" title="class in lejos.nxt.comm">BTRemoteDevice</A> d)</CODE>
+
+<BR>
+ Add device to known devices</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../lejos/nxt/comm/Bluetooth.html#sendCommand(byte[], int)">sendCommand</A></B>(byte[] cmd,
int len)</CODE>
<TD><CODE><B><A HREF="../../../lejos/nxt/comm/Bluetooth.html#setFriendlyName(byte[])">setFriendlyName</A></B>(byte[] name)</CODE>
<BR>
+ Set the name of the local device</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../lejos/nxt/comm/Bluetooth.html#setStatus(byte)">setStatus</A></B>(byte status)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../lejos/nxt/comm/Bluetooth.html#setVisibility(byte)">setVisibility</A></B>(byte visible)</CODE>
+
+<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
</DL>
<HR>
-<A NAME="MSG_DISCOVERABLE_ACK"><!-- --></A><H3>
-MSG_DISCOVERABLE_ACK</H3>
+<A NAME="MSG_SET_DISCOVERABLE_ACK"><!-- --></A><H3>
+MSG_SET_DISCOVERABLE_ACK</H3>
<PRE>
-public static final int <B>MSG_DISCOVERABLE_ACK</B></PRE>
+public static final int <B>MSG_SET_DISCOVERABLE_ACK</B></PRE>
<DL>
<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#lejos.nxt.comm.Bluetooth.MSG_DISCOVERABLE_ACK">Constant Field Values</A></DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#lejos.nxt.comm.Bluetooth.MSG_SET_DISCOVERABLE_ACK">Constant Field Values</A></DL>
</DL>
<HR>
<PRE>
public static byte[] <B>getFriendlyName</B>()</PRE>
<DL>
+<DD>Get the friendly name of the local device
+<P>
<DD><DL>
-</DL>
+
+<DT><B>Returns:</B><DD>the friendly name</DL>
</DD>
</DL>
<HR>
<PRE>
public static void <B>setFriendlyName</B>(byte[] name)</PRE>
<DL>
+<DD>Set the name of the local device
+<P>
<DD><DL>
-</DL>
+<DT><B>Parameters:</B><DD><CODE>name</CODE> - the friendly name for the device</DL>
</DD>
</DL>
<HR>
<PRE>
public static byte[] <B>getLocalAddress</B>()</PRE>
<DL>
+<DD>get the Bluetooth address of the local device
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>the local address</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="connect(lejos.nxt.comm.BTRemoteDevice)"><!-- --></A><H3>
+connect</H3>
+<PRE>
+public static <A HREF="../../../lejos/nxt/comm/BTConnection.html" title="class in lejos.nxt.comm">BTConnection</A> <B>connect</B>(<A HREF="../../../lejos/nxt/comm/BTRemoteDevice.html" title="class in lejos.nxt.comm">BTRemoteDevice</A> remoteDevice)</PRE>
+<DL>
+<DD>Connects to a remote device
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>remoteDevice</CODE> - remote device
+<DT><B>Returns:</B><DD>BTConnection Object or null</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="connect(byte[])"><!-- --></A><H3>
+connect</H3>
+<PRE>
+public static <A HREF="../../../lejos/nxt/comm/BTConnection.html" title="class in lejos.nxt.comm">BTConnection</A> <B>connect</B>(byte[] device_addr)</PRE>
+<DL>
+<DD>Connects to a Device by it's Byte-Device-Address Array
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>device_addr</CODE> - byte-Array with device-Address
+<DT><B>Returns:</B><DD>BTConnection Object or null</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getKnownDevicesList()"><!-- --></A><H3>
+getKnownDevicesList</H3>
+<PRE>
+public static <A HREF="../../../java/util/Vector.html" title="class in java.util">Vector</A> <B>getKnownDevicesList</B>()</PRE>
+<DL>
+<DD>The internal Chip has a list of already paired Devices. This Method returns a
+ Vector-List which contains all the known Devices on the List. These need not be reachable.
+ To connect to a "not-known"-Device, you should use the Inquiry-Prozess.
+ The pairing-Process can also be done with the original Lego-Firmware. The List of known
+ devices will not get lost, when installing the LeJOS Firmware.
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>Vector with List of known Devices</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getKnownDevice(java.lang.String)"><!-- --></A><H3>
+getKnownDevice</H3>
+<PRE>
+public static <A HREF="../../../lejos/nxt/comm/BTRemoteDevice.html" title="class in lejos.nxt.comm">BTRemoteDevice</A> <B>getKnownDevice</B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> fName)</PRE>
+<DL>
+<DD>Gets a Device of the BC4-Chips internal list of known Devices
+ (those who have been paired before) into the BTDevice Object.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>fName</CODE> - Friendly-Name of the device
+<DT><B>Returns:</B><DD>BTDevice Object or null, if not found.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="addDevice(lejos.nxt.comm.BTRemoteDevice)"><!-- --></A><H3>
+addDevice</H3>
+<PRE>
+public static boolean <B>addDevice</B>(<A HREF="../../../lejos/nxt/comm/BTRemoteDevice.html" title="class in lejos.nxt.comm">BTRemoteDevice</A> d)</PRE>
+<DL>
+<DD>Add device to known devices
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>d</CODE> - Remote Device
+<DT><B>Returns:</B><DD>true iff add was successful</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="removeDevice(lejos.nxt.comm.BTRemoteDevice)"><!-- --></A><H3>
+removeDevice</H3>
+<PRE>
+public static boolean <B>removeDevice</B>(<A HREF="../../../lejos/nxt/comm/BTRemoteDevice.html" title="class in lejos.nxt.comm">BTRemoteDevice</A> d)</PRE>
+<DL>
+<DD>Add device to known devices
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>d</CODE> - Remote Device
+<DT><B>Returns:</B><DD>true iff remove was successful</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="inquire(int, int, byte[])"><!-- --></A><H3>
+inquire</H3>
+<PRE>
+public static <A HREF="../../../java/util/Vector.html" title="class in java.util">Vector</A> <B>inquire</B>(int maxDevices,
+ int timeout,
+ byte[] cod)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="lookupName(byte[])"><!-- --></A><H3>
+lookupName</H3>
+<PRE>
+public static <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> <B>lookupName</B>(byte[] deviceAddr)</PRE>
+<DL>
+<DD>Look up the name of a device using its address
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>deviceAddr</CODE> -
+<DT><B>Returns:</B><DD>friendly name of device</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getStatus()"><!-- --></A><H3>
+getStatus</H3>
+<PRE>
+public static int <B>getStatus</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setStatus(byte)"><!-- --></A><H3>
+setStatus</H3>
+<PRE>
+public static void <B>setStatus</B>(byte status)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getVisibility()"><!-- --></A><H3>
+getVisibility</H3>
+<PRE>
+public static int <B>getVisibility</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setVisibility(byte)"><!-- --></A><H3>
+setVisibility</H3>
+<PRE>
+public static void <B>setVisibility</B>(byte visible)</PRE>
+<DL>
<DD><DL>
</DL>
</DD>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
LCP (leJOS NXT API documentation)
</TITLE>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../lejos/nxt/comm/BTOutputStream.html" title="class in lejos.nxt.comm"><B>PREV CLASS</B></A>
- <A HREF="../../../lejos/nxt/comm/USB.html" title="class in lejos.nxt.comm"><B>NEXT CLASS</B></A></FONT></TD>
+ <A HREF="../../../lejos/nxt/comm/BTRemoteDevice.html" title="class in lejos.nxt.comm"><B>PREV CLASS</B></A>
+ <A HREF="../../../lejos/nxt/comm/NXTSocket.html" title="class in lejos.nxt.comm"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?lejos/nxt/comm/LCP.html" target="_top"><B>FRAMES</B></A>
<A HREF="LCP.html" target="_top"><B>NO FRAMES</B></A>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../lejos/nxt/comm/BTOutputStream.html" title="class in lejos.nxt.comm"><B>PREV CLASS</B></A>
- <A HREF="../../../lejos/nxt/comm/USB.html" title="class in lejos.nxt.comm"><B>NEXT CLASS</B></A></FONT></TD>
+ <A HREF="../../../lejos/nxt/comm/BTRemoteDevice.html" title="class in lejos.nxt.comm"><B>PREV CLASS</B></A>
+ <A HREF="../../../lejos/nxt/comm/NXTSocket.html" title="class in lejos.nxt.comm"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?lejos/nxt/comm/LCP.html" target="_top"><B>FRAMES</B></A>
<A HREF="LCP.html" target="_top"><B>NO FRAMES</B></A>
--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
+<TITLE>
+NXTSocket (leJOS NXT API documentation)
+</TITLE>
+
+<META NAME="keywords" CONTENT="lejos.nxt.comm.NXTSocket class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="NXTSocket (leJOS NXT API documentation)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../lejos/nxt/comm/LCP.html" title="class in lejos.nxt.comm"><B>PREV CLASS</B></A>
+ <A HREF="../../../lejos/nxt/comm/USB.html" title="class in lejos.nxt.comm"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?lejos/nxt/comm/NXTSocket.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="NXTSocket.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+lejos.nxt.comm</FONT>
+<BR>
+Class NXTSocket</H2>
+<PRE>
+<A HREF="../../../java/lang/Object.html" title="class in java.lang">java.lang.Object</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>lejos.nxt.comm.NXTSocket</B>
+</PRE>
+<HR>
+<DL>
+<DT><PRE>public class <B>NXTSocket</B><DT>extends <A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></DL>
+</PRE>
+
+<P>
+NXTSocket. Allows a NXT to establish a connection with a remote Socket
+ server via a proxy server.
+<P>
+
+<P>
+<DL>
+<DT><B>Version:</B></DT>
+ <DD>1.0</DD>
+<DT><B>Author:</B></DT>
+ <DD>Ranulf Green</DD>
+</DL>
+<HR>
+
+<P>
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../lejos/nxt/comm/NXTSocket.html#NXTSocket(lejos.nxt.comm.BTConnection)">NXTSocket</A></B>(<A HREF="../../../lejos/nxt/comm/BTConnection.html" title="class in lejos.nxt.comm">BTConnection</A> btc)</CODE>
+
+<BR>
+ Constructor.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../lejos/nxt/comm/NXTSocket.html#NXTSocket(java.lang.String, int, lejos.nxt.comm.BTConnection)">NXTSocket</A></B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> host,
+ int port,
+ <A HREF="../../../lejos/nxt/comm/BTConnection.html" title="class in lejos.nxt.comm">BTConnection</A> btc)</CODE>
+
+<BR>
+ Constructor: Pass an open bluetooth connection and socket details.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../lejos/nxt/comm/NXTSocket.html#NXTSocket(java.lang.String, int, lejos.nxt.comm.USBConnection)">NXTSocket</A></B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> host,
+ int port,
+ <A HREF="../../../lejos/nxt/comm/USBConnection.html" title="class in lejos.nxt.comm">USBConnection</A> usbc)</CODE>
+
+<BR>
+ Constructor: Pass an open USB connection and socket details.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../lejos/nxt/comm/NXTSocket.html#NXTSocket(lejos.nxt.comm.USBConnection)">NXTSocket</A></B>(<A HREF="../../../lejos/nxt/comm/USBConnection.html" title="class in lejos.nxt.comm">USBConnection</A> usbc)</CODE>
+
+<BR>
+ Constructor for usb connnection.</TD>
+</TR>
+</TABLE>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../java/io/DataInputStream.html" title="class in java.io">DataInputStream</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../lejos/nxt/comm/NXTSocket.html#getDataInputStream()">getDataInputStream</A></B>()</CODE>
+
+<BR>
+ Returns the data input stream of the socket</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../java/io/DataOutputStream.html" title="class in java.io">DataOutputStream</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../lejos/nxt/comm/NXTSocket.html#getDataOutputStream()">getDataOutputStream</A></B>()</CODE>
+
+<BR>
+ Returns the data output stream of the socket</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../java/io/InputStream.html" title="class in java.io">InputStream</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../lejos/nxt/comm/NXTSocket.html#getInputStream()">getInputStream</A></B>()</CODE>
+
+<BR>
+ Returns the input stream associated with this socket</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../java/io/OutputStream.html" title="class in java.io">OutputStream</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../lejos/nxt/comm/NXTSocket.html#getOutputStream()">getOutputStream</A></B>()</CODE>
+
+<BR>
+ Returns the output stream associated with this socket</TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long)">wait</A></CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="NXTSocket(java.lang.String, int, lejos.nxt.comm.BTConnection)"><!-- --></A><H3>
+NXTSocket</H3>
+<PRE>
+public <B>NXTSocket</B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> host,
+ int port,
+ <A HREF="../../../lejos/nxt/comm/BTConnection.html" title="class in lejos.nxt.comm">BTConnection</A> btc)
+ throws <A HREF="../../../java/io/IOException.html" title="class in java.io">IOException</A></PRE>
+<DL>
+<DD>Constructor: Pass an open bluetooth connection and socket details.
+<P>
+<DL>
+<DT><B>Parameters:</B><DD><CODE>host</CODE> - The name of the host with which the socket will be opened<DD><CODE>port</CODE> - The port to connect to<DD><CODE>btc</CODE> - The bluetooth connection
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../java/io/IOException.html" title="class in java.io">IOException</A></CODE> - If the bluetooth does not respond or the proxy is
+ not running</DL>
+</DL>
+<HR>
+
+<A NAME="NXTSocket(java.lang.String, int, lejos.nxt.comm.USBConnection)"><!-- --></A><H3>
+NXTSocket</H3>
+<PRE>
+public <B>NXTSocket</B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> host,
+ int port,
+ <A HREF="../../../lejos/nxt/comm/USBConnection.html" title="class in lejos.nxt.comm">USBConnection</A> usbc)
+ throws <A HREF="../../../java/io/IOException.html" title="class in java.io">IOException</A></PRE>
+<DL>
+<DD>Constructor: Pass an open USB connection and socket details.
+<P>
+<DL>
+<DT><B>Parameters:</B><DD><CODE>host</CODE> - The name of the host with which the socket will be opened<DD><CODE>port</CODE> - The port to connect to<DD><CODE>usbc</CODE> - The USB connection
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../java/io/IOException.html" title="class in java.io">IOException</A></CODE> - If the bluetooth does not respond or the proxy is
+ not running</DL>
+</DL>
+<HR>
+
+<A NAME="NXTSocket(lejos.nxt.comm.BTConnection)"><!-- --></A><H3>
+NXTSocket</H3>
+<PRE>
+public <B>NXTSocket</B>(<A HREF="../../../lejos/nxt/comm/BTConnection.html" title="class in lejos.nxt.comm">BTConnection</A> btc)</PRE>
+<DL>
+<DD>Constructor. Use if the socket is intended not to connect to a host
+<P>
+<DL>
+<DT><B>Parameters:</B><DD><CODE>btc</CODE> - the connection the socket is made over</DL>
+</DL>
+<HR>
+
+<A NAME="NXTSocket(lejos.nxt.comm.USBConnection)"><!-- --></A><H3>
+NXTSocket</H3>
+<PRE>
+public <B>NXTSocket</B>(<A HREF="../../../lejos/nxt/comm/USBConnection.html" title="class in lejos.nxt.comm">USBConnection</A> usbc)</PRE>
+<DL>
+<DD>Constructor for usb connnection. Does not connect to a host
+<P>
+<DL>
+<DT><B>Parameters:</B><DD><CODE>usbc</CODE> - The USB connection to use;</DL>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="getDataInputStream()"><!-- --></A><H3>
+getDataInputStream</H3>
+<PRE>
+public <A HREF="../../../java/io/DataInputStream.html" title="class in java.io">DataInputStream</A> <B>getDataInputStream</B>()
+ throws <A HREF="../../../java/io/IOException.html" title="class in java.io">IOException</A></PRE>
+<DL>
+<DD>Returns the data input stream of the socket
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>The data input stream of the socket
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../java/io/IOException.html" title="class in java.io">IOException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getDataOutputStream()"><!-- --></A><H3>
+getDataOutputStream</H3>
+<PRE>
+public <A HREF="../../../java/io/DataOutputStream.html" title="class in java.io">DataOutputStream</A> <B>getDataOutputStream</B>()
+ throws <A HREF="../../../java/io/IOException.html" title="class in java.io">IOException</A></PRE>
+<DL>
+<DD>Returns the data output stream of the socket
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>The data output stream of the socket
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../java/io/IOException.html" title="class in java.io">IOException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getOutputStream()"><!-- --></A><H3>
+getOutputStream</H3>
+<PRE>
+public <A HREF="../../../java/io/OutputStream.html" title="class in java.io">OutputStream</A> <B>getOutputStream</B>()
+ throws <A HREF="../../../java/io/IOException.html" title="class in java.io">IOException</A></PRE>
+<DL>
+<DD>Returns the output stream associated with this socket
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>The output stream
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../java/io/IOException.html" title="class in java.io">IOException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getInputStream()"><!-- --></A><H3>
+getInputStream</H3>
+<PRE>
+public <A HREF="../../../java/io/InputStream.html" title="class in java.io">InputStream</A> <B>getInputStream</B>()
+ throws <A HREF="../../../java/io/IOException.html" title="class in java.io">IOException</A></PRE>
+<DL>
+<DD>Returns the input stream associated with this socket
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>The input stream
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../java/io/IOException.html" title="class in java.io">IOException</A></CODE></DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../lejos/nxt/comm/LCP.html" title="class in lejos.nxt.comm"><B>PREV CLASS</B></A>
+ <A HREF="../../../lejos/nxt/comm/USB.html" title="class in lejos.nxt.comm"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?lejos/nxt/comm/NXTSocket.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="NXTSocket.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
USB (leJOS NXT API documentation)
</TITLE>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../lejos/nxt/comm/LCP.html" title="class in lejos.nxt.comm"><B>PREV CLASS</B></A>
+ <A HREF="../../../lejos/nxt/comm/NXTSocket.html" title="class in lejos.nxt.comm"><B>PREV CLASS</B></A>
<A HREF="../../../lejos/nxt/comm/USBConnection.html" title="class in lejos.nxt.comm"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?lejos/nxt/comm/USB.html" target="_top"><B>FRAMES</B></A>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../lejos/nxt/comm/LCP.html" title="class in lejos.nxt.comm"><B>PREV CLASS</B></A>
+ <A HREF="../../../lejos/nxt/comm/NXTSocket.html" title="class in lejos.nxt.comm"><B>PREV CLASS</B></A>
<A HREF="../../../lejos/nxt/comm/USBConnection.html" title="class in lejos.nxt.comm"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?lejos/nxt/comm/USB.html" target="_top"><B>FRAMES</B></A>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
USBConnection (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
USBInputStream (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
<TITLE>
USBOutputStream (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
lejos.nxt.comm (leJOS NXT API documentation)
</TITLE>
<BR>
<A HREF="BTOutputStream.html" title="class in lejos.nxt.comm" target="classFrame">BTOutputStream</A>
<BR>
+<A HREF="BTRemoteDevice.html" title="class in lejos.nxt.comm" target="classFrame">BTRemoteDevice</A>
+<BR>
<A HREF="LCP.html" title="class in lejos.nxt.comm" target="classFrame">LCP</A>
<BR>
+<A HREF="NXTSocket.html" title="class in lejos.nxt.comm" target="classFrame">NXTSocket</A>
+<BR>
<A HREF="USB.html" title="class in lejos.nxt.comm" target="classFrame">USB</A>
<BR>
<A HREF="USBConnection.html" title="class in lejos.nxt.comm" target="classFrame">USBConnection</A>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
lejos.nxt.comm (leJOS NXT API documentation)
</TITLE>
<TD> </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../../lejos/nxt/comm/BTRemoteDevice.html" title="class in lejos.nxt.comm">BTRemoteDevice</A></B></TD>
+<TD> </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../lejos/nxt/comm/LCP.html" title="class in lejos.nxt.comm">LCP</A></B></TD>
<TD>Implements the Lego Communication Protocol,
with some extensions for lejos NXJ.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../../lejos/nxt/comm/NXTSocket.html" title="class in lejos.nxt.comm">NXTSocket</A></B></TD>
+<TD>NXTSocket.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../lejos/nxt/comm/USB.html" title="class in lejos.nxt.comm">USB</A></B></TD>
<TD> </TD>
</TR>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
lejos.nxt.comm Class Hierarchy (leJOS NXT API documentation)
</TITLE>
<UL>
<LI TYPE="circle">java.lang.<A HREF="../../../java/lang/Object.html" title="class in java.lang"><B>Object</B></A><UL>
<LI TYPE="circle">lejos.nxt.comm.<A HREF="../../../lejos/nxt/comm/Bluetooth.html" title="class in lejos.nxt.comm"><B>Bluetooth</B></A><LI TYPE="circle">lejos.nxt.comm.<A HREF="../../../lejos/nxt/comm/BTConnection.html" title="class in lejos.nxt.comm"><B>BTConnection</B></A> (implements javax.microedition.io.<A HREF="../../../javax/microedition/io/StreamConnection.html" title="interface in javax.microedition.io">StreamConnection</A>)
-<LI TYPE="circle">java.io.<A HREF="../../../java/io/InputStream.html" title="class in java.io"><B>InputStream</B></A><UL>
+<LI TYPE="circle">lejos.nxt.comm.<A HREF="../../../lejos/nxt/comm/BTRemoteDevice.html" title="class in lejos.nxt.comm"><B>BTRemoteDevice</B></A><LI TYPE="circle">java.io.<A HREF="../../../java/io/InputStream.html" title="class in java.io"><B>InputStream</B></A><UL>
<LI TYPE="circle">lejos.nxt.comm.<A HREF="../../../lejos/nxt/comm/BTInputStream.html" title="class in lejos.nxt.comm"><B>BTInputStream</B></A><LI TYPE="circle">lejos.nxt.comm.<A HREF="../../../lejos/nxt/comm/USBInputStream.html" title="class in lejos.nxt.comm"><B>USBInputStream</B></A></UL>
-<LI TYPE="circle">lejos.nxt.comm.<A HREF="../../../lejos/nxt/comm/LCP.html" title="class in lejos.nxt.comm"><B>LCP</B></A><LI TYPE="circle">java.io.<A HREF="../../../java/io/OutputStream.html" title="class in java.io"><B>OutputStream</B></A><UL>
+<LI TYPE="circle">lejos.nxt.comm.<A HREF="../../../lejos/nxt/comm/LCP.html" title="class in lejos.nxt.comm"><B>LCP</B></A><LI TYPE="circle">lejos.nxt.comm.<A HREF="../../../lejos/nxt/comm/NXTSocket.html" title="class in lejos.nxt.comm"><B>NXTSocket</B></A><LI TYPE="circle">java.io.<A HREF="../../../java/io/OutputStream.html" title="class in java.io"><B>OutputStream</B></A><UL>
<LI TYPE="circle">lejos.nxt.comm.<A HREF="../../../lejos/nxt/comm/BTOutputStream.html" title="class in lejos.nxt.comm"><B>BTOutputStream</B></A><LI TYPE="circle">lejos.nxt.comm.<A HREF="../../../lejos/nxt/comm/USBOutputStream.html" title="class in lejos.nxt.comm"><B>USBOutputStream</B></A></UL>
<LI TYPE="circle">lejos.nxt.comm.<A HREF="../../../lejos/nxt/comm/USB.html" title="class in lejos.nxt.comm"><B>USB</B></A><LI TYPE="circle">lejos.nxt.comm.<A HREF="../../../lejos/nxt/comm/USBConnection.html" title="class in lejos.nxt.comm"><B>USBConnection</B></A> (implements javax.microedition.io.<A HREF="../../../javax/microedition/io/StreamConnection.html" title="interface in javax.microedition.io">StreamConnection</A>)
</UL>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
lejos.nxt (leJOS NXT API documentation)
</TITLE>
<BR>
<A HREF="CompassSensor.html" title="class in lejos.nxt" target="classFrame">CompassSensor</A>
<BR>
+<A HREF="Datalogger.html" title="class in lejos.nxt" target="classFrame">Datalogger</A>
+<BR>
<A HREF="Flash.html" title="class in lejos.nxt" target="classFrame">Flash</A>
<BR>
<A HREF="I2CSensor.html" title="class in lejos.nxt" target="classFrame">I2CSensor</A>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
lejos.nxt (leJOS NXT API documentation)
</TITLE>
<TD>Abstraction for a HiTechnic or Mindsensors compass.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../lejos/nxt/Datalogger.html" title="class in lejos.nxt">Datalogger</A></B></TD>
+<TD>Datalogger class; stores float values then then transmits via bluetooth or usb<br>
+ works with DataViewer in pctools.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../lejos/nxt/Flash.html" title="class in lejos.nxt">Flash</A></B></TD>
<TD> </TD>
</TR>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../lejos/nxt/LCD.html" title="class in lejos.nxt">LCD</A></B></TD>
-<TD>LCD routines.</TD>
+<TD> </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../lejos/nxt/LightSensor.html" title="class in lejos.nxt">LightSensor</A></B></TD>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
lejos.nxt Class Hierarchy (leJOS NXT API documentation)
</TITLE>
<UL>
<LI TYPE="circle">java.lang.<A HREF="../../java/lang/Object.html" title="class in java.lang"><B>Object</B></A><UL>
<LI TYPE="circle">lejos.nxt.<A HREF="../../lejos/nxt/Battery.html" title="class in lejos.nxt"><B>Battery</B></A><LI TYPE="circle">lejos.nxt.<A HREF="../../lejos/nxt/Button.html" title="class in lejos.nxt"><B>Button</B></A> (implements lejos.nxt.<A HREF="../../lejos/nxt/ListenerCaller.html" title="interface in lejos.nxt">ListenerCaller</A>)
-<LI TYPE="circle">lejos.nxt.<A HREF="../../lejos/nxt/Flash.html" title="class in lejos.nxt"><B>Flash</B></A><LI TYPE="circle">lejos.nxt.<A HREF="../../lejos/nxt/I2CSensor.html" title="class in lejos.nxt"><B>I2CSensor</B></A> (implements lejos.nxt.<A HREF="../../lejos/nxt/SensorConstants.html" title="interface in lejos.nxt">SensorConstants</A>)
+<LI TYPE="circle">lejos.nxt.<A HREF="../../lejos/nxt/Datalogger.html" title="class in lejos.nxt"><B>Datalogger</B></A><LI TYPE="circle">lejos.nxt.<A HREF="../../lejos/nxt/Flash.html" title="class in lejos.nxt"><B>Flash</B></A><LI TYPE="circle">lejos.nxt.<A HREF="../../lejos/nxt/I2CSensor.html" title="class in lejos.nxt"><B>I2CSensor</B></A> (implements lejos.nxt.<A HREF="../../lejos/nxt/SensorConstants.html" title="interface in lejos.nxt">SensorConstants</A>)
<UL>
<LI TYPE="circle">lejos.nxt.<A HREF="../../lejos/nxt/ColorSensor.html" title="class in lejos.nxt"><B>ColorSensor</B></A><LI TYPE="circle">lejos.nxt.<A HREF="../../lejos/nxt/CompassSensor.html" title="class in lejos.nxt"><B>CompassSensor</B></A><LI TYPE="circle">lejos.nxt.<A HREF="../../lejos/nxt/TiltSensor.html" title="class in lejos.nxt"><B>TiltSensor</B></A><LI TYPE="circle">lejos.nxt.<A HREF="../../lejos/nxt/UltrasonicSensor.html" title="class in lejos.nxt"><B>UltrasonicSensor</B></A></UL>
<LI TYPE="circle">lejos.nxt.<A HREF="../../lejos/nxt/LCD.html" title="class in lejos.nxt"><B>LCD</B></A><LI TYPE="circle">lejos.nxt.<A HREF="../../lejos/nxt/LightSensor.html" title="class in lejos.nxt"><B>LightSensor</B></A> (implements lejos.nxt.<A HREF="../../lejos/nxt/SensorConstants.html" title="interface in lejos.nxt">SensorConstants</A>)
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
Activity (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
ActivityBase (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
Arbitrator (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
Behavior (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
StopException (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
lejos.subsumption (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
lejos.subsumption (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
lejos.subsumption Class Hierarchy (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
AbstractRecyclable (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
ArrayRecycler (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
Assertion (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
Recyclable (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
RecyclableArray (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
Recycler (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
Timer (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:08 BST 2007 -->
<TITLE>
TimerListener (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
lejos.util (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
lejos.util (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
lejos.util Class Hierarchy (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
Overview (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
Overview (leJOS NXT API documentation)
</TITLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
Class Hierarchy (leJOS NXT API documentation)
</TITLE>
<LI TYPE="circle">lejos.util.<A HREF="lejos/util/AbstractRecyclable.html" title="class in lejos.util"><B>AbstractRecyclable</B></A> (implements lejos.util.<A HREF="lejos/util/Recyclable.html" title="interface in lejos.util">Recyclable</A>)
<UL>
<LI TYPE="circle">lejos.util.<A HREF="lejos/util/RecyclableArray.html" title="class in lejos.util"><B>RecyclableArray</B></A></UL>
-<LI TYPE="circle">lejos.subsumption.<A HREF="lejos/subsumption/Arbitrator.html" title="class in lejos.subsumption"><B>Arbitrator</B></A><LI TYPE="circle">lejos.util.<A HREF="lejos/util/Assertion.html" title="class in lejos.util"><B>Assertion</B></A><LI TYPE="circle">lejos.nxt.<A HREF="lejos/nxt/Battery.html" title="class in lejos.nxt"><B>Battery</B></A><LI TYPE="circle">java.util.<A HREF="java/util/BitSet.html" title="class in java.util"><B>BitSet</B></A><LI TYPE="circle">lejos.nxt.comm.<A HREF="lejos/nxt/comm/Bluetooth.html" title="class in lejos.nxt.comm"><B>Bluetooth</B></A><LI TYPE="circle">lejos.nxt.comm.<A HREF="lejos/nxt/comm/BTConnection.html" title="class in lejos.nxt.comm"><B>BTConnection</B></A> (implements javax.microedition.io.<A HREF="javax/microedition/io/StreamConnection.html" title="interface in javax.microedition.io">StreamConnection</A>)
-<LI TYPE="circle">lejos.nxt.<A HREF="lejos/nxt/Button.html" title="class in lejos.nxt"><B>Button</B></A> (implements lejos.nxt.<A HREF="lejos/nxt/ListenerCaller.html" title="interface in lejos.nxt">ListenerCaller</A>)
-<LI TYPE="circle">java.lang.<A HREF="java/lang/Class.html" title="class in java.lang"><B>Class</B></A><LI TYPE="circle">java.io.<A HREF="java/io/File.html" title="class in java.io"><B>File</B></A><LI TYPE="circle">lejos.nxt.<A HREF="lejos/nxt/Flash.html" title="class in lejos.nxt"><B>Flash</B></A><LI TYPE="circle">java.lang.<A HREF="java/lang/Float.html" title="class in java.lang"><B>Float</B></A><LI TYPE="circle">javax.microedition.lcdui.<A HREF="javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui"><B>Graphics</B></A><LI TYPE="circle">java.util.<A HREF="java/util/Hashtable.html" title="class in java.util"><B>Hashtable</B></A><LI TYPE="circle">lejos.nxt.<A HREF="lejos/nxt/I2CSensor.html" title="class in lejos.nxt"><B>I2CSensor</B></A> (implements lejos.nxt.<A HREF="lejos/nxt/SensorConstants.html" title="interface in lejos.nxt">SensorConstants</A>)
+<LI TYPE="circle">lejos.subsumption.<A HREF="lejos/subsumption/Arbitrator.html" title="class in lejos.subsumption"><B>Arbitrator</B></A><LI TYPE="circle">java.util.<A HREF="java/util/ArrayList.html" title="class in java.util"><B>ArrayList</B></A><LI TYPE="circle">lejos.util.<A HREF="lejos/util/Assertion.html" title="class in lejos.util"><B>Assertion</B></A><LI TYPE="circle">lejos.nxt.<A HREF="lejos/nxt/Battery.html" title="class in lejos.nxt"><B>Battery</B></A><LI TYPE="circle">java.util.<A HREF="java/util/BitSet.html" title="class in java.util"><B>BitSet</B></A><LI TYPE="circle">lejos.nxt.comm.<A HREF="lejos/nxt/comm/Bluetooth.html" title="class in lejos.nxt.comm"><B>Bluetooth</B></A><LI TYPE="circle">lejos.nxt.comm.<A HREF="lejos/nxt/comm/BTConnection.html" title="class in lejos.nxt.comm"><B>BTConnection</B></A> (implements javax.microedition.io.<A HREF="javax/microedition/io/StreamConnection.html" title="interface in javax.microedition.io">StreamConnection</A>)
+<LI TYPE="circle">lejos.nxt.comm.<A HREF="lejos/nxt/comm/BTRemoteDevice.html" title="class in lejos.nxt.comm"><B>BTRemoteDevice</B></A><LI TYPE="circle">lejos.nxt.<A HREF="lejos/nxt/Button.html" title="class in lejos.nxt"><B>Button</B></A> (implements lejos.nxt.<A HREF="lejos/nxt/ListenerCaller.html" title="interface in lejos.nxt">ListenerCaller</A>)
+<LI TYPE="circle">java.lang.<A HREF="java/lang/Class.html" title="class in java.lang"><B>Class</B></A><LI TYPE="circle">javax.microedition.lcdui.<A HREF="javax/microedition/lcdui/Command.html" title="class in javax.microedition.lcdui"><B>Command</B></A><LI TYPE="circle">lejos.nxt.<A HREF="lejos/nxt/Datalogger.html" title="class in lejos.nxt"><B>Datalogger</B></A><LI TYPE="circle">javax.microedition.lcdui.<A HREF="javax/microedition/lcdui/Display.html" title="class in javax.microedition.lcdui"><B>Display</B></A><LI TYPE="circle">javax.microedition.lcdui.<A HREF="javax/microedition/lcdui/Displayable.html" title="class in javax.microedition.lcdui"><B>Displayable</B></A><UL>
+<LI TYPE="circle">javax.microedition.lcdui.<A HREF="javax/microedition/lcdui/Screen.html" title="class in javax.microedition.lcdui"><B>Screen</B></A><UL>
+<LI TYPE="circle">javax.microedition.lcdui.<A HREF="javax/microedition/lcdui/Alert.html" title="class in javax.microedition.lcdui"><B>Alert</B></A><LI TYPE="circle">javax.microedition.lcdui.<A HREF="javax/microedition/lcdui/Form.html" title="class in javax.microedition.lcdui"><B>Form</B></A> (implements javax.microedition.lcdui.<A HREF="javax/microedition/lcdui/CommandListener.html" title="interface in javax.microedition.lcdui">CommandListener</A>)
+<LI TYPE="circle">javax.microedition.lcdui.<A HREF="javax/microedition/lcdui/List.html" title="class in javax.microedition.lcdui"><B>List</B></A> (implements javax.microedition.lcdui.<A HREF="javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A>)
+<LI TYPE="circle">javax.microedition.lcdui.<A HREF="javax/microedition/lcdui/TextBox.html" title="class in javax.microedition.lcdui"><B>TextBox</B></A></UL>
+</UL>
+<LI TYPE="circle">java.io.<A HREF="java/io/File.html" title="class in java.io"><B>File</B></A><LI TYPE="circle">lejos.nxt.<A HREF="lejos/nxt/Flash.html" title="class in lejos.nxt"><B>Flash</B></A><LI TYPE="circle">java.lang.<A HREF="java/lang/Float.html" title="class in java.lang"><B>Float</B></A><LI TYPE="circle">javax.microedition.lcdui.<A HREF="javax/microedition/lcdui/Font.html" title="class in javax.microedition.lcdui"><B>Font</B></A><LI TYPE="circle">javax.microedition.lcdui.<A HREF="javax/microedition/lcdui/Graphics.html" title="class in javax.microedition.lcdui"><B>Graphics</B></A><LI TYPE="circle">java.util.<A HREF="java/util/Hashtable.html" title="class in java.util"><B>Hashtable</B></A><LI TYPE="circle">lejos.nxt.<A HREF="lejos/nxt/I2CSensor.html" title="class in lejos.nxt"><B>I2CSensor</B></A> (implements lejos.nxt.<A HREF="lejos/nxt/SensorConstants.html" title="interface in lejos.nxt">SensorConstants</A>)
<UL>
<LI TYPE="circle">lejos.nxt.<A HREF="lejos/nxt/ColorSensor.html" title="class in lejos.nxt"><B>ColorSensor</B></A><LI TYPE="circle">lejos.nxt.<A HREF="lejos/nxt/CompassSensor.html" title="class in lejos.nxt"><B>CompassSensor</B></A><LI TYPE="circle">lejos.nxt.<A HREF="lejos/nxt/TiltSensor.html" title="class in lejos.nxt"><B>TiltSensor</B></A><LI TYPE="circle">lejos.nxt.<A HREF="lejos/nxt/UltrasonicSensor.html" title="class in lejos.nxt"><B>UltrasonicSensor</B></A></UL>
-<LI TYPE="circle">java.io.<A HREF="java/io/InputStream.html" title="class in java.io"><B>InputStream</B></A><UL>
+<LI TYPE="circle">javax.microedition.lcdui.<A HREF="javax/microedition/lcdui/Image.html" title="class in javax.microedition.lcdui"><B>Image</B></A><LI TYPE="circle">java.io.<A HREF="java/io/InputStream.html" title="class in java.io"><B>InputStream</B></A><UL>
<LI TYPE="circle">lejos.nxt.comm.<A HREF="lejos/nxt/comm/BTInputStream.html" title="class in lejos.nxt.comm"><B>BTInputStream</B></A><LI TYPE="circle">java.io.<A HREF="java/io/DataInputStream.html" title="class in java.io"><B>DataInputStream</B></A><LI TYPE="circle">java.io.<A HREF="java/io/FileInputStream.html" title="class in java.io"><B>FileInputStream</B></A><LI TYPE="circle">lejos.nxt.comm.<A HREF="lejos/nxt/comm/USBInputStream.html" title="class in lejos.nxt.comm"><B>USBInputStream</B></A></UL>
-<LI TYPE="circle">java.lang.<A HREF="java/lang/Integer.html" title="class in java.lang"><B>Integer</B></A><LI TYPE="circle">lejos.nxt.<A HREF="lejos/nxt/LCD.html" title="class in lejos.nxt"><B>LCD</B></A><LI TYPE="circle">lejos.nxt.comm.<A HREF="lejos/nxt/comm/LCP.html" title="class in lejos.nxt.comm"><B>LCP</B></A><LI TYPE="circle">lejos.nxt.<A HREF="lejos/nxt/LightSensor.html" title="class in lejos.nxt"><B>LightSensor</B></A> (implements lejos.nxt.<A HREF="lejos/nxt/SensorConstants.html" title="interface in lejos.nxt">SensorConstants</A>)
+<LI TYPE="circle">java.lang.<A HREF="java/lang/Integer.html" title="class in java.lang"><B>Integer</B></A><LI TYPE="circle">javax.microedition.lcdui.<A HREF="javax/microedition/lcdui/Item.html" title="class in javax.microedition.lcdui"><B>Item</B></A><UL>
+<LI TYPE="circle">javax.microedition.lcdui.<A HREF="javax/microedition/lcdui/ChoiceGroup.html" title="class in javax.microedition.lcdui"><B>ChoiceGroup</B></A> (implements javax.microedition.lcdui.<A HREF="javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui">Choice</A>)
+<LI TYPE="circle">javax.microedition.lcdui.<A HREF="javax/microedition/lcdui/Gauge.html" title="class in javax.microedition.lcdui"><B>Gauge</B></A><LI TYPE="circle">javax.microedition.lcdui.<A HREF="javax/microedition/lcdui/Spacer.html" title="class in javax.microedition.lcdui"><B>Spacer</B></A><LI TYPE="circle">javax.microedition.lcdui.<A HREF="javax/microedition/lcdui/StringItem.html" title="class in javax.microedition.lcdui"><B>StringItem</B></A><LI TYPE="circle">javax.microedition.lcdui.<A HREF="javax/microedition/lcdui/TextField.html" title="class in javax.microedition.lcdui"><B>TextField</B></A></UL>
+<LI TYPE="circle">lejos.nxt.<A HREF="lejos/nxt/LCD.html" title="class in lejos.nxt"><B>LCD</B></A><LI TYPE="circle">lejos.nxt.comm.<A HREF="lejos/nxt/comm/LCP.html" title="class in lejos.nxt.comm"><B>LCP</B></A><LI TYPE="circle">lejos.nxt.<A HREF="lejos/nxt/LightSensor.html" title="class in lejos.nxt"><B>LightSensor</B></A> (implements lejos.nxt.<A HREF="lejos/nxt/SensorConstants.html" title="interface in lejos.nxt">SensorConstants</A>)
<LI TYPE="circle">java.lang.<A HREF="java/lang/Math.html" title="class in java.lang"><B>Math</B></A><LI TYPE="circle">lejos.nxt.<A HREF="lejos/nxt/Motor.html" title="class in lejos.nxt"><B>Motor</B></A> (implements lejos.util.<A HREF="lejos/util/TimerListener.html" title="interface in lejos.util">TimerListener</A>)
-<LI TYPE="circle">lejos.nxt.<A HREF="lejos/nxt/MotorPort.html" title="class in lejos.nxt"><B>MotorPort</B></A><LI TYPE="circle">java.io.<A HREF="java/io/OutputStream.html" title="class in java.io"><B>OutputStream</B></A><UL>
+<LI TYPE="circle">lejos.nxt.<A HREF="lejos/nxt/MotorPort.html" title="class in lejos.nxt"><B>MotorPort</B></A><LI TYPE="circle"><A HREF="NXTServerSocket.html" title="class in <Unnamed>"><B>NXTServerSocket</B></A><LI TYPE="circle">lejos.nxt.comm.<A HREF="lejos/nxt/comm/NXTSocket.html" title="class in lejos.nxt.comm"><B>NXTSocket</B></A><LI TYPE="circle">java.io.<A HREF="java/io/OutputStream.html" title="class in java.io"><B>OutputStream</B></A><UL>
<LI TYPE="circle">lejos.nxt.comm.<A HREF="lejos/nxt/comm/BTOutputStream.html" title="class in lejos.nxt.comm"><B>BTOutputStream</B></A><LI TYPE="circle">java.io.<A HREF="java/io/DataOutputStream.html" title="class in java.io"><B>DataOutputStream</B></A><LI TYPE="circle">java.io.<A HREF="java/io/FileOutputStream.html" title="class in java.io"><B>FileOutputStream</B></A><LI TYPE="circle">lejos.nxt.comm.<A HREF="lejos/nxt/comm/USBOutputStream.html" title="class in lejos.nxt.comm"><B>USBOutputStream</B></A></UL>
<LI TYPE="circle">lejos.navigation.<A HREF="lejos/navigation/Pilot.html" title="class in lejos.navigation"><B>Pilot</B></A><UL>
<LI TYPE="circle">lejos.navigation.<A HREF="lejos/navigation/CompassPilot.html" title="class in lejos.navigation"><B>CompassPilot</B></A></UL>
<LI TYPE="circle">java.lang.<A HREF="java/lang/ArrayIndexOutOfBoundsException.html" title="class in java.lang"><B>ArrayIndexOutOfBoundsException</B></A><LI TYPE="circle">java.lang.<A HREF="java/lang/ClassCastException.html" title="class in java.lang"><B>ClassCastException</B></A><LI TYPE="circle">java.util.<A HREF="java/util/EmptyQueueException.html" title="class in java.util"><B>EmptyQueueException</B></A><LI TYPE="circle">java.util.<A HREF="java/util/EmptyStackException.html" title="class in java.util"><B>EmptyStackException</B></A><LI TYPE="circle">java.lang.<A HREF="java/lang/IllegalArgumentException.html" title="class in java.lang"><B>IllegalArgumentException</B></A><LI TYPE="circle">java.lang.<A HREF="java/lang/IllegalMonitorStateException.html" title="class in java.lang"><B>IllegalMonitorStateException</B></A><LI TYPE="circle">java.lang.<A HREF="java/lang/IllegalStateException.html" title="class in java.lang"><B>IllegalStateException</B></A><LI TYPE="circle">java.lang.<A HREF="java/lang/NullPointerException.html" title="class in java.lang"><B>NullPointerException</B></A></UL>
<LI TYPE="circle">lejos.subsumption.<A HREF="lejos/subsumption/StopException.html" title="class in lejos.subsumption"><B>StopException</B></A></UL>
</UL>
-<LI TYPE="circle">lejos.util.<A HREF="lejos/util/Timer.html" title="class in lejos.util"><B>Timer</B></A><LI TYPE="circle">lejos.nxt.<A HREF="lejos/nxt/TouchSensor.html" title="class in lejos.nxt"><B>TouchSensor</B></A> (implements lejos.nxt.<A HREF="lejos/nxt/SensorConstants.html" title="interface in lejos.nxt">SensorConstants</A>)
+<LI TYPE="circle">javax.microedition.lcdui.<A HREF="javax/microedition/lcdui/Ticker.html" title="class in javax.microedition.lcdui"><B>Ticker</B></A><LI TYPE="circle">lejos.util.<A HREF="lejos/util/Timer.html" title="class in lejos.util"><B>Timer</B></A><LI TYPE="circle">lejos.nxt.<A HREF="lejos/nxt/TouchSensor.html" title="class in lejos.nxt"><B>TouchSensor</B></A> (implements lejos.nxt.<A HREF="lejos/nxt/SensorConstants.html" title="interface in lejos.nxt">SensorConstants</A>)
<LI TYPE="circle">lejos.nxt.comm.<A HREF="lejos/nxt/comm/USB.html" title="class in lejos.nxt.comm"><B>USB</B></A><LI TYPE="circle">lejos.nxt.comm.<A HREF="lejos/nxt/comm/USBConnection.html" title="class in lejos.nxt.comm"><B>USBConnection</B></A> (implements javax.microedition.io.<A HREF="javax/microedition/io/StreamConnection.html" title="interface in javax.microedition.io">StreamConnection</A>)
<LI TYPE="circle">java.util.<A HREF="java/util/Vector.html" title="class in java.util"><B>Vector</B></A><UL>
<LI TYPE="circle">java.util.<A HREF="java/util/Queue.html" title="class in java.util"><B>Queue</B></A><LI TYPE="circle">java.util.<A HREF="java/util/Stack.html" title="class in java.util"><B>Stack</B></A></UL>
Interface Hierarchy
</H2>
<UL>
-<LI TYPE="circle">lejos.subsumption.<A HREF="lejos/subsumption/Behavior.html" title="interface in lejos.subsumption"><B>Behavior</B></A><LI TYPE="circle">lejos.nxt.<A HREF="lejos/nxt/ButtonListener.html" title="interface in lejos.nxt"><B>ButtonListener</B></A><LI TYPE="circle">java.lang.<A HREF="java/lang/Cloneable.html" title="interface in java.lang"><B>Cloneable</B></A><LI TYPE="circle">lejos.nxt.<A HREF="lejos/nxt/ListenerCaller.html" title="interface in lejos.nxt"><B>ListenerCaller</B></A><LI TYPE="circle">lejos.navigation.<A HREF="lejos/navigation/Navigator.html" title="interface in lejos.navigation"><B>Navigator</B></A><LI TYPE="circle">lejos.util.<A HREF="lejos/util/Recyclable.html" title="interface in lejos.util"><B>Recyclable</B></A><LI TYPE="circle">lejos.nxt.<A HREF="lejos/nxt/SensorConstants.html" title="interface in lejos.nxt"><B>SensorConstants</B></A><LI TYPE="circle">lejos.nxt.<A HREF="lejos/nxt/SensorPortListener.html" title="interface in lejos.nxt"><B>SensorPortListener</B></A><LI TYPE="circle">java.io.<A HREF="java/io/Serializable.html" title="interface in java.io"><B>Serializable</B></A><LI TYPE="circle">javax.microedition.io.<A HREF="javax/microedition/io/StreamConnection.html" title="interface in javax.microedition.io"><B>StreamConnection</B></A><LI TYPE="circle">lejos.util.<A HREF="lejos/util/TimerListener.html" title="interface in lejos.util"><B>TimerListener</B></A></UL>
+<LI TYPE="circle">lejos.subsumption.<A HREF="lejos/subsumption/Behavior.html" title="interface in lejos.subsumption"><B>Behavior</B></A><LI TYPE="circle">lejos.nxt.<A HREF="lejos/nxt/ButtonListener.html" title="interface in lejos.nxt"><B>ButtonListener</B></A><LI TYPE="circle">javax.microedition.lcdui.<A HREF="javax/microedition/lcdui/Choice.html" title="interface in javax.microedition.lcdui"><B>Choice</B></A><LI TYPE="circle">java.lang.<A HREF="java/lang/Cloneable.html" title="interface in java.lang"><B>Cloneable</B></A><LI TYPE="circle">javax.microedition.lcdui.<A HREF="javax/microedition/lcdui/CommandListener.html" title="interface in javax.microedition.lcdui"><B>CommandListener</B></A><LI TYPE="circle">javax.microedition.lcdui.<A HREF="javax/microedition/lcdui/ItemCommandListener.html" title="interface in javax.microedition.lcdui"><B>ItemCommandListener</B></A><LI TYPE="circle">javax.microedition.lcdui.<A HREF="javax/microedition/lcdui/ItemStateListener.html" title="interface in javax.microedition.lcdui"><B>ItemStateListener</B></A><LI TYPE="circle">lejos.nxt.<A HREF="lejos/nxt/ListenerCaller.html" title="interface in lejos.nxt"><B>ListenerCaller</B></A><LI TYPE="circle">lejos.navigation.<A HREF="lejos/navigation/Navigator.html" title="interface in lejos.navigation"><B>Navigator</B></A><LI TYPE="circle">lejos.util.<A HREF="lejos/util/Recyclable.html" title="interface in lejos.util"><B>Recyclable</B></A><LI TYPE="circle">lejos.nxt.<A HREF="lejos/nxt/SensorConstants.html" title="interface in lejos.nxt"><B>SensorConstants</B></A><LI TYPE="circle">lejos.nxt.<A HREF="lejos/nxt/SensorPortListener.html" title="interface in lejos.nxt"><B>SensorPortListener</B></A><LI TYPE="circle">java.io.<A HREF="java/io/Serializable.html" title="interface in java.io"><B>Serializable</B></A><LI TYPE="circle">javax.microedition.io.<A HREF="javax/microedition/io/StreamConnection.html" title="interface in javax.microedition.io"><B>StreamConnection</B></A><LI TYPE="circle">lejos.util.<A HREF="lejos/util/TimerListener.html" title="interface in lejos.util"><B>TimerListener</B></A></UL>
<HR>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
<Unnamed> (leJOS NXT API documentation)
</TITLE>
Classes</FONT>
<FONT CLASS="FrameItemFont">
<BR>
+<A HREF="NXTServerSocket.html" title="class in <Unnamed>" target="classFrame">NXTServerSocket</A>
+<BR>
<A HREF="StartUpText.html" title="class in <Unnamed>" target="classFrame">StartUpText</A></FONT></TD>
</TR>
</TABLE>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
(leJOS NXT API documentation)
</TITLE>
<B>Class Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="NXTServerSocket.html" title="class in <Unnamed>">NXTServerSocket</A></B></TD>
+<TD> </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="StartUpText.html" title="class in <Unnamed>">StartUpText</A></B></TD>
<TD> </TD>
</TR>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
Class Hierarchy (leJOS NXT API documentation)
</TITLE>
</H2>
<UL>
<LI TYPE="circle">java.lang.<A HREF="java/lang/Object.html" title="class in java.lang"><B>Object</B></A><UL>
-<LI TYPE="circle"><A HREF="StartUpText.html" title="class in <Unnamed>"><B>StartUpText</B></A></UL>
+<LI TYPE="circle"><A HREF="NXTServerSocket.html" title="class in <Unnamed>"><B>NXTServerSocket</B></A><LI TYPE="circle"><A HREF="StartUpText.html" title="class in <Unnamed>"><B>StartUpText</B></A></UL>
</UL>
<HR>
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:10 BST 2007 -->
<TITLE>
Serialized Form (leJOS NXT API documentation)
</TITLE>
<P>
<P>
-<A NAME="java.util.ArrayList"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Class java.util.ArrayList extends java.util.AbstractList<E> implements Serializable</B></FONT></TH>
-</TR>
-</TABLE>
-
-<P>
-<B>serialVersionUID: </B>8683452581122892189L
-
-<P>
-<A NAME="serialized_methods"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Serialization Methods</B></FONT></TH>
-</TR>
-</TABLE>
-
-<P>
-<A NAME="readObject(java.io.ObjectInputStream)"><!-- --></A><H3>
-readObject</H3>
-<PRE>
-private void <B>readObject</B>(java.io.ObjectInputStream arg0)
- throws <A HREF="java/io/IOException.html" title="class in java.io">IOException</A>,
- <A HREF="java/lang/ClassNotFoundException.html" title="class in java.lang">ClassNotFoundException</A></PRE>
-<DL>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="java/io/IOException.html" title="class in java.io">IOException</A></CODE>
-<DD><CODE><A HREF="java/lang/ClassNotFoundException.html" title="class in java.lang">ClassNotFoundException</A></CODE></DD>
-</DL>
-</DL>
-<HR>
-<A NAME="writeObject(java.io.ObjectOutputStream)"><!-- --></A><H3>
-writeObject</H3>
-<PRE>
-private void <B>writeObject</B>(java.io.ObjectOutputStream arg0)
- throws <A HREF="java/io/IOException.html" title="class in java.io">IOException</A></PRE>
-<DL>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="java/io/IOException.html" title="class in java.io">IOException</A></CODE></DD>
-</DL>
-</DL>
-<A NAME="serializedForm"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Serialized Fields</B></FONT></TH>
-</TR>
-</TABLE>
-
-<H3>
-size</H3>
-<PRE>
-int <B>size</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-
-<P>
<A NAME="java.util.Calendar"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<?xml version="1.0" encoding="UTF-8"?>\r
<classpath>\r
- <classpathentry excluding="BTReceive/|BTSend/|BumperCar/|ColorDetector/|CompassTest/|ExceptionTest/|HelloWorld/|Line/|Listen/|MemoryTest/|PerformanceTest/|PilotTester/|SonicTest/|SpeedTest/|Subsumption1/|Subsumption2/|TiltTest/|Tune/|USBReceive/|USBSend/|View/|GraphicsSample/" kind="src" path=""/>\r
+ <classpathentry excluding="BTReceive/|BTSend/|BumperCar/|ColorDetector/|CompassTest/|ExceptionTest/|HelloWorld/|Line/|Listen/|MemoryTest/|PerformanceTest/|PilotTester/|SonicTest/|SpeedTest/|Subsumption1/|Subsumption2/|TiltTest/|Tune/|USBReceive/|USBSend/|View/|GraphicsSample/|SocketTest/|TimeTest/|SocketServer/|BTConnectTest/|SoundSample/|LCDUI/" kind="src" path=""/>\r
+ <classpathentry kind="src" path="LCDUI"/>\r
+ <classpathentry kind="src" path="SoundSample"/>\r
<classpathentry kind="src" path="GraphicsSample"/>\r
<classpathentry kind="src" path="USBSend"/>\r
<classpathentry kind="src" path="USBReceive"/>\r
<classpathentry kind="src" path="View"/>\r
<classpathentry kind="src" path="Line"/>\r
<classpathentry kind="src" path="HelloWorld"/>\r
+ <classpathentry kind="src" path="SocketTest"/>\r
+ <classpathentry kind="src" path="TimeTest"/>\r
+ <classpathentry kind="src" path="SocketServer"/>\r
+ <classpathentry kind="src" path="BTConnectTest"/>\r
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>\r
<classpathentry kind="lib" path="/classes/lib/classes.jar"/>\r
<classpathentry kind="lib" path="/pccomms/lib/pccomm.jar"/>\r
--- /dev/null
+import java.io.IOException;\r
+\r
+import lejos.nxt.*;\r
+import lejos.nxt.comm.*;\r
+import java.io.*;\r
+\r
+public class BTConnectTest {\r
+ public static void main(String[] args) throws Exception {\r
+ String name = "NXT";\r
+ \r
+ LCD.drawString("Try to connect...", 0, 0);\r
+ LCD.refresh();\r
+ \r
+ BTRemoteDevice btrd = Bluetooth.getKnownDevice(name);\r
+\r
+ BTConnection btc = Bluetooth.connect(btrd);\r
+ \r
+ LCD.clear();\r
+ LCD.drawString("Connected", 0, 0);\r
+ LCD.refresh();\r
+ \r
+ DataInputStream dis = btc.openDataInputStream();\r
+ DataOutputStream dos = btc.openDataOutputStream();\r
+ \r
+ for(int i=0;i<100;i++) {\r
+ try {\r
+ LCD.drawInt(i*30000, 0, 2);\r
+ LCD.refresh();\r
+ dos.writeInt(i*30000);\r
+ dos.flush(); \r
+ } catch (IOException ioe) {\r
+ LCD.drawString("Exception", 0, 0);\r
+ LCD.refresh();\r
+ }\r
+ \r
+ try {\r
+ LCD.drawInt(dis.readInt(),0,3);\r
+ LCD.refresh();\r
+ } catch (IOException ioe) {\r
+ }\r
+ }\r
+ \r
+ try {\r
+ dis.close();\r
+ dos.close();\r
+ btc.close();\r
+ } catch (IOException ioe) {\r
+ }\r
+ \r
+ Button.ESCAPE.waitForPressAndRelease();\r
+ }\r
+}\r
--- /dev/null
+<project name="samples" default="uploadandrun">
+ <description>
+ Sample build file
+ </description>
+
+ <!-- set properties for this build -->
+ <property environment = "env"/>
+ <property file="../samples.properties"/>
+ <property name="src" location="."/>
+ <basename property="program" file="."/>
+ <property name="binary" value="${program}.nxj" />
+
+ <!-- deletes class files -->
+ <target name="clean" description="clean up all generated files">
+ <delete>
+ <fileset dir=".">
+ <include name="**/*.class"/>
+ </fileset>
+ </delete>
+ </target>
+
+ <target name="compile" depends="clean"
+ description="compile the source " >
+ <!-- Compile the java code from ${src} -->
+ <javac source="1.3" target="1.1" srcdir="${src}" destdir="${src}">
+ <bootclasspath>
+ <pathelement location="${nxj.classes.home}/lib/classes.jar"/>
+ </bootclasspath>
+ </javac>
+ </target>
+
+ <target name="link" depends="compile"
+ description="link the binary " >
+ <!-- Link the binary and create a signature file -->
+ <java classname="js.tinyvm.TinyVM">
+ <arg value="--classpath"/>
+ <arg path="${nxj.classes.home}/lib/classes.jar:." />
+ <arg value="--writeorder" />
+ <arg value="LE" />
+ <arg value="${program}"/>
+ <arg value="-o"/>
+ <arg value="${binary}"/>
+ <arg value="-v"/>
+ <classpath>
+ <pathelement location="${nxj.jtools.home}/lib/jtools.jar"/>
+ <pathelement location="${nxj.jtools.home}/3rdparty/lib/commons-cli-1.0.jar"/>
+ <pathelement location="${nxj.jtools.home}/3rdparty/lib/bcel-5.1.jar"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="upload" depends="link"
+ description="upload the binary " >
+ <java classname="lejos.pc.tools.NXJUpload" fork="true">
+ <jvmarg value="-Djava.library.path=${nxj.library.path}"/>
+ <arg value="${binary}"/>
+ <classpath>
+ <pathelement location="${nxj.jtools.home}/lib/jtools.jar"/>
+ <pathelement location="${nxj.pctools.home}/lib/pctools.jar"/>
+ <pathelement location="${nxj.pccomm.home}/lib/pccomm.jar"/>
+ <pathelement location="${nxj.jtools.home}/3rdparty/lib/commons-cli-1.0.jar"/>
+ <pathelement location="${nxj.jtools.home}/3rdparty/lib/bcel-5.1.jar"/>
+ <pathelement location="${nxj.pccomm.home}/3rdparty/lib/bluecove.jar"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="uploadandrun" depends="link"
+ description="upload and run the binary " >
+ <java classname="lejos.pc.tools.NXJUpload" fork="true">
+ <jvmarg value="-Djava.library.path=${nxj.library.path}"/>
+ <arg value="${binary}"/>
+ <arg value="-r"/>
+ <classpath>
+ <pathelement location="${nxj.jtools.home}/lib/jtools.jar"/>
+ <pathelement location="${nxj.pctools.home}/lib/pctools.jar"/>
+ <pathelement location="${nxj.pccomm.home}/lib/pccomm.jar"/>
+ <pathelement location="${nxj.jtools.home}/3rdparty/lib/commons-cli-1.0.jar"/>
+ <pathelement location="${nxj.jtools.home}/3rdparty/lib/bcel-5.1.jar"/>
+ <pathelement location="${nxj.pccomm.home}/3rdparty/lib/bluecove.jar"/>
+ </classpath>
+ </java>
+ </target>
+</project>
<property name="src" location="."/>
<basename property="program" file="."/>
<property name="binary" value="${program}.nxj" />
+
+ <!-- deletes class files -->
+ <target name="clean" description="clean up all generated files">
+ <delete>
+ <fileset dir=".">
+ <include name="**/*.class"/>
+ </fileset>
+ </delete>
+ </target>
- <target name="compile"
+ <target name="compile" depends="clean"
description="compile the source " >
<!-- Compile the java code from ${src} -->
<javac source="1.3" target="1.1" srcdir="${src}" destdir="${src}">
<property name="src" location="."/>
<basename property="program" file="."/>
<property name="binary" value="${program}.nxj" />
+
+ <!-- deletes class files -->
+ <target name="clean" description="clean up all generated files">
+ <delete>
+ <fileset dir=".">
+ <include name="**/*.class"/>
+ </fileset>
+ </delete>
+ </target>
- <target name="compile"
+ <target name="compile" depends="clean"
description="compile the source " >
<!-- Compile the java code from ${src} -->
<javac source="1.3" target="1.1" srcdir="${src}" destdir="${src}">
<property name="src" location="."/>
<basename property="program" file="."/>
<property name="binary" value="${program}.nxj" />
+
+ <!-- deletes class files -->
+ <target name="clean" description="clean up all generated files">
+ <delete>
+ <fileset dir=".">
+ <include name="**/*.class"/>
+ </fileset>
+ </delete>
+ </target>
- <target name="compile"
+ <target name="compile" depends="clean"
description="compile the source " >
<!-- Compile the java code from ${src} -->
<javac source="1.3" target="1.1" srcdir="${src}" destdir="${src}">
<property name="src" location="."/>
<basename property="program" file="."/>
<property name="binary" value="${program}.nxj" />
+
+ <!-- deletes class files -->
+ <target name="clean" description="clean up all generated files">
+ <delete>
+ <fileset dir=".">
+ <include name="**/*.class"/>
+ </fileset>
+ </delete>
+ </target>
- <target name="compile"
+ <target name="compile" depends="clean"
description="compile the source " >
<!-- Compile the java code from ${src} -->
<javac source="1.3" target="1.1" srcdir="${src}" destdir="${src}">
<property name="src" location="."/>
<basename property="program" file="."/>
<property name="binary" value="${program}.nxj" />
+
+ <!-- deletes class files -->
+ <target name="clean" description="clean up all generated files">
+ <delete>
+ <fileset dir=".">
+ <include name="**/*.class"/>
+ </fileset>
+ </delete>
+ </target>
- <target name="compile"
+ <target name="compile" depends="clean"
description="compile the source " >
<!-- Compile the java code from ${src} -->
<javac source="1.3" target="1.1" srcdir="${src}" destdir="${src}">
<property name="src" location="."/>
<basename property="program" file="."/>
<property name="binary" value="${program}.nxj" />
+
+ <!-- deletes class files -->
+ <target name="clean" description="clean up all generated files">
+ <delete>
+ <fileset dir=".">
+ <include name="**/*.class"/>
+ </fileset>
+ </delete>
+ </target>
- <target name="compile"
+ <target name="compile" depends="clean"
description="compile the source " >
<!-- Compile the java code from ${src} -->
<javac source="1.3" target="1.1" srcdir="${src}" destdir="${src}">
<property name="src" location="."/>
<basename property="program" file="."/>
<property name="binary" value="${program}.nxj" />
+
+ <!-- deletes class files -->
+ <target name="clean" description="clean up all generated files">
+ <delete>
+ <fileset dir=".">
+ <include name="**/*.class"/>
+ </fileset>
+ </delete>
+ </target>
- <target name="compile"
+ <target name="compile" depends="clean"
description="compile the source " >
<!-- Compile the java code from ${src} -->
<javac source="1.3" target="1.1" srcdir="${src}" destdir="${src}">
--- /dev/null
+\r
+\r
+import javax.microedition.lcdui.Alert;\r
+import javax.microedition.lcdui.Choice;\r
+import javax.microedition.lcdui.ChoiceGroup;\r
+import javax.microedition.lcdui.Command;\r
+import javax.microedition.lcdui.CommandListener;\r
+import javax.microedition.lcdui.Display;\r
+import javax.microedition.lcdui.Displayable;\r
+import javax.microedition.lcdui.Form;\r
+import javax.microedition.lcdui.Gauge;\r
+import javax.microedition.lcdui.Image;\r
+import javax.microedition.lcdui.Item;\r
+import javax.microedition.lcdui.ItemCommandListener;\r
+import javax.microedition.lcdui.List;\r
+import javax.microedition.lcdui.Spacer;\r
+import javax.microedition.lcdui.TextBox;\r
+import javax.microedition.lcdui.TextField;\r
+import javax.microedition.lcdui.Ticker;\r
+\r
+import lejos.util.Timer;\r
+import lejos.util.TimerListener;\r
+\r
+/**\r
+ * \r
+ * @author Andre Nijholt\r
+ */\r
+public class LCDUI implements CommandListener {\r
+ private static final int CMDID_BACK_TO_MAIN = 1;\r
+ private static final int CMDID_EXIT_APP = 2;\r
+\r
+ private static final Command BACK_COMMAND = new Command(CMDID_BACK_TO_MAIN, Command.BACK, 0);\r
+ private static final Command EXIT_COMMAND = new Command(CMDID_EXIT_APP, Command.STOP, 2);\r
+\r
+ private List menu = new List("Test Components", Choice.IMPLICIT);\r
+ private Ticker ticker = new Ticker("Test GUI Components");\r
+ \r
+ // Main menu items\r
+ private TextBox input = new TextBox("Enter Some Text:", "", 16, TextField.ANY);\r
+ private List choose = new List("Choose Items", Choice.MULTIPLE);\r
+ private Alert soundAlert = new Alert("Sound Alert");\r
+ private Form form1 = new Form("Testing form");\r
+ private Form form2 = new Form("Form for Stuff");\r
+ private Alert exitAlert = new Alert("Exit");\r
+ \r
+ // Gauge on soundAlert\r
+ private Gauge alertGauge = new Gauge(null, false, 20, 0);\r
+ private Timer gaugeTimer = new Timer(100, new TimerListener() {\r
+ public void timedOut() {\r
+ int curValue = alertGauge.getValue();\r
+ if (curValue >= alertGauge.getMaxValue()) {\r
+ gaugeTimer.stop();\r
+ alertGauge.setValue(0);\r
+ } else {\r
+ alertGauge.setValue(curValue + 1);\r
+ }\r
+ soundAlert.repaint();\r
+ }\r
+ });\r
+ \r
+ // Items on form1\r
+ private ChoiceGroup choiceGroup1 = new ChoiceGroup("Popup 1", Choice.POPUP);\r
+ private ChoiceGroup choiceGroup2 = new ChoiceGroup("Popup 2", Choice.POPUP);\r
+ private ChoiceGroup radioButtons = new ChoiceGroup(null, Choice.EXCLUSIVE);\r
+ private Image img = new Image(32, 32, new byte[] {\r
+ (byte) 0xff, (byte) 0x03, (byte) 0x05, (byte) 0x09, (byte) 0x11, (byte) 0x21, (byte) 0x41, (byte) 0x81,\r
+ (byte) 0x01, (byte) 0x01, (byte) 0x01, (byte) 0x01, (byte) 0x01, (byte) 0x01, (byte) 0x01, (byte) 0x01,\r
+ (byte) 0x01, (byte) 0x01, (byte) 0x01, (byte) 0x01, (byte) 0x01, (byte) 0x01, (byte) 0x01, (byte) 0x01,\r
+ (byte) 0x81, (byte) 0x41, (byte) 0x21, (byte) 0x11, (byte) 0x09, (byte) 0x05, (byte) 0x03, (byte) 0xff,\r
+ (byte) 0xff, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00,\r
+ (byte) 0x01, (byte) 0x02, (byte) 0x04, (byte) 0x08, (byte) 0x10, (byte) 0x20, (byte) 0x40, (byte) 0x80,\r
+ (byte) 0x80, (byte) 0x40, (byte) 0x20, (byte) 0x10, (byte) 0x08, (byte) 0x04, (byte) 0x02, (byte) 0x01,\r
+ (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0xff,\r
+ (byte) 0xff, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00,\r
+ (byte) 0x80, (byte) 0x40, (byte) 0x20, (byte) 0x10, (byte) 0x08, (byte) 0x04, (byte) 0x02, (byte) 0x01,\r
+ (byte) 0x01, (byte) 0x02, (byte) 0x04, (byte) 0x08, (byte) 0x10, (byte) 0x20, (byte) 0x40, (byte) 0x80,\r
+ (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0xff,\r
+ (byte) 0xff, (byte) 0xc0, (byte) 0xa0, (byte) 0x90, (byte) 0x88, (byte) 0x84, (byte) 0x82, (byte) 0x81,\r
+ (byte) 0x80, (byte) 0x80, (byte) 0x80, (byte) 0x80, (byte) 0x80, (byte) 0x80, (byte) 0x80, (byte) 0x80,\r
+ (byte) 0x80, (byte) 0x80, (byte) 0x80, (byte) 0x80, (byte) 0x80, (byte) 0x80, (byte) 0x80, (byte) 0x80,\r
+ (byte) 0x81, (byte) 0x82, (byte) 0x84, (byte) 0x88, (byte) 0x90, (byte) 0xa0, (byte) 0xc0, (byte) 0xff\r
+ });\r
+\r
+ // Items on form2\r
+ private Gauge volGauge = new Gauge("Volume: ", true, 8, 6);\r
+ private Gauge gauge = new Gauge("Progress Bar", true, 20, 9);\r
+ TextField textfield = new TextField("TextField label", "abc", 16, TextField.ANY);\r
+ \r
+ private Display display;\r
+\r
+ public LCDUI() {}\r
+ \r
+ /**\r
+ * Start application\r
+ * \r
+ * @param polling Select method for button handling\r
+ */\r
+ public void startApp(boolean polling) {\r
+ // Create main menu\r
+ menu = new List("Test Components", Choice.IMPLICIT);\r
+ menu.append("Test TextBox", null);\r
+ menu.append("Test List", null);\r
+ menu.append("Test Alert", null);\r
+ menu.append("Test Form 1", null);\r
+ menu.append("Test Form 2", null);\r
+ menu.setSelectedIndex(0, true);\r
+ menu.addCommand(EXIT_COMMAND);\r
+ menu.setCommandListener(this);\r
+ menu.setTicker(ticker);\r
+\r
+ // Set textbox properties\r
+// input.setTicker(new Ticker("Testing TextBox")); Very slow!\r
+ input.addCommand(BACK_COMMAND);\r
+ input.setCommandListener(this);\r
+\r
+ // Set list properties and fill list\r
+// choose.setTicker(new Ticker("Testing List")); Very slow!\r
+ choose.addCommand(BACK_COMMAND);\r
+ choose.setCommandListener(this);\r
+ choose.append("Item 1", null);\r
+ choose.append("Item 2", null);\r
+ choose.append("Item 3", null);\r
+ choose.append("Item 4", null);\r
+ choose.append("Item 5", null);\r
+ choose.append("Item 6", null);\r
+ choose.append("Item 7", null);\r
+ choose.append("Item 8", null);\r
+ choose.append("Item 9", null);\r
+ choose.append("Item 10", null);\r
+\r
+ // Set alert properties\r
+ soundAlert.setType(Alert.ALERT_TYPE_ERROR);\r
+ soundAlert.setTimeout(2000);\r
+ soundAlert.setString("** ERROR **");\r
+ soundAlert.setIndicator(alertGauge);\r
+\r
+ // Create form1 and set command listener\r
+ form1.append(choiceGroup1);\r
+ form1.append(choiceGroup2);\r
+ form1.append("Left");\r
+ form1.append(img);\r
+ form1.append(new Spacer(8, 8));\r
+ form1.append("Right");\r
+ form1.append(radioButtons);\r
+ form1.addCommand(BACK_COMMAND);\r
+ form1.setCommandListener(this);\r
+ \r
+ // Fill popup menus and radiobox\r
+ choiceGroup1.append("Menu 1", null);\r
+ choiceGroup1.append("Menu 2", null);\r
+ choiceGroup1.append("Menu 3", null);\r
+ choiceGroup1.append("Menu 4", null);\r
+ choiceGroup1.append("Menu 5", null);\r
+ choiceGroup1.append("Menu 6", null);\r
+ choiceGroup1.append("Menu 7", null);\r
+ choiceGroup1.append("Menu 8", null);\r
+ choiceGroup1.append("Menu 9", null);\r
+ choiceGroup1.append("Menu 10", null);\r
+ \r
+ choiceGroup2.append("Select 1", null);\r
+ choiceGroup2.append("Select 2", null);\r
+ choiceGroup2.append("Select 3", null);\r
+ choiceGroup2.append("Select 4", null);\r
+ choiceGroup2.setScrollWrap(false);\r
+ choiceGroup2.setItemCommandListener(new ItemCommandListener() {\r
+ public void commandAction(Command c, Item d) {\r
+ radioButtons.setSelectedIndex(choiceGroup2.getSelectedIndex() % 2, true);\r
+ }\r
+ });\r
+ choiceGroup2.addCommand(new Command(1, Command.SCREEN, 0));\r
+ \r
+ radioButtons.append("Selection 1", null);\r
+ radioButtons.append("Selection 2", null);\r
+ radioButtons.setSelectedIndex(0, true);\r
+ radioButtons.setPreferredSize(Display.SCREEN_WIDTH, 2 * Display.CHAR_HEIGHT);\r
+\r
+ // Create form2 and set command listener\r
+ form2.append(volGauge);\r
+ form2.append(gauge);\r
+ form2.append(textfield);\r
+ form2.addCommand(BACK_COMMAND);\r
+ form2.setCommandListener(this);\r
+ \r
+ // Start displaying main menu and handling buttons\r
+ display = Display.getDisplay();\r
+ display.setCurrent(menu);\r
+ display.show(polling);\r
+ }\r
+ \r
+ /**\r
+ * Handle events.\r
+ */ \r
+ public void commandAction(Command c, Displayable d) {\r
+ if (c.getCommandId() == CMDID_BACK_TO_MAIN) {\r
+ // Display main menu again\r
+ display.setCurrent(menu);\r
+ } else if (c.getCommandId() == CMDID_EXIT_APP) {\r
+ // Request to exit application\r
+ exitAlert.setType(Alert.ALERT_TYPE_CONFIRMATION);\r
+ exitAlert.setString("Exit Lejos?");\r
+ exitAlert.setCommandListener(this);\r
+ display.setCurrent(exitAlert);\r
+ } else {\r
+ // Handle system commands\r
+ if (d == exitAlert) {\r
+ if (exitAlert.getConfirmation()) {\r
+ display.quit();\r
+ } else {\r
+ display.setCurrent(menu);\r
+ }\r
+ } else if (d == menu) {\r
+ List list = (List) display.getCurrent();\r
+ if (list.getSelectedIndex() == 0) {\r
+ display.setCurrent(input);\r
+ } else if (list.getSelectedIndex() == 1) {\r
+ display.setCurrent(choose);\r
+ } else if (list.getSelectedIndex() == 2) {\r
+ display.setCurrent(soundAlert);\r
+ alertGauge.setValue(0);\r
+ gaugeTimer.start();\r
+ } else if (list.getSelectedIndex() == 3) {\r
+ display.setCurrent(form1);\r
+ } else if (list.getSelectedIndex() == 4) {\r
+ display.setCurrent(form2);\r
+ }\r
+ }\r
+ }\r
+ }\r
+\r
+ /**\r
+ * @param args\r
+ */\r
+ public static void main(String[] args) {\r
+ new LCDUI().startApp(true);\r
+ }\r
+\r
+}\r
--- /dev/null
+<project name="samples" default="uploadandrun">
+ <description>
+ Sample build file
+ </description>
+
+ <!-- set properties for this build -->
+ <property environment = "env"/>
+ <property file="../samples.properties"/>
+ <property name="src" location="."/>
+ <basename property="program" file="."/>
+ <property name="binary" value="${program}.nxj" />
+
+ <!-- deletes class files -->
+ <target name="clean" description="clean up all generated files">
+ <delete>
+ <fileset dir=".">
+ <include name="**/*.class"/>
+ </fileset>
+ </delete>
+ </target>
+
+ <target name="compile" depends="clean"
+ description="compile the source " >
+ <!-- Compile the java code from ${src} -->
+ <javac source="1.3" target="1.1" srcdir="${src}" destdir="${src}">
+ <bootclasspath>
+ <pathelement location="${nxj.classes.home}/lib/classes.jar"/>
+ </bootclasspath>
+ </javac>
+ </target>
+
+ <target name="link" depends="compile"
+ description="link the binary " >
+ <!-- Link the binary and create a signature file -->
+ <java classname="js.tinyvm.TinyVM">
+ <arg value="--classpath"/>
+ <arg path="${nxj.classes.home}/lib/classes.jar:." />
+ <arg value="--writeorder" />
+ <arg value="LE" />
+ <arg value="${program}"/>
+ <arg value="-o"/>
+ <arg value="${binary}"/>
+ <arg value="-v"/>
+ <classpath>
+ <pathelement location="${nxj.jtools.home}/lib/jtools.jar"/>
+ <pathelement location="${nxj.jtools.home}/3rdparty/lib/commons-cli-1.0.jar"/>
+ <pathelement location="${nxj.jtools.home}/3rdparty/lib/bcel-5.1.jar"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="upload" depends="link"
+ description="upload the binary " >
+ <java classname="lejos.pc.tools.NXJUpload" fork="true">
+ <jvmarg value="-Djava.library.path=${nxj.library.path}"/>
+ <arg value="${binary}"/>
+ <classpath>
+ <pathelement location="${nxj.jtools.home}/lib/jtools.jar"/>
+ <pathelement location="${nxj.pctools.home}/lib/pctools.jar"/>
+ <pathelement location="${nxj.pccomm.home}/lib/pccomm.jar"/>
+ <pathelement location="${nxj.jtools.home}/3rdparty/lib/commons-cli-1.0.jar"/>
+ <pathelement location="${nxj.jtools.home}/3rdparty/lib/bcel-5.1.jar"/>
+ <pathelement location="${nxj.pccomm.home}/3rdparty/lib/bluecove.jar"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="uploadandrun" depends="link"
+ description="upload and run the binary " >
+ <java classname="lejos.pc.tools.NXJUpload" fork="true">
+ <jvmarg value="-Djava.library.path=${nxj.library.path}"/>
+ <arg value="${binary}"/>
+ <arg value="-r"/>
+ <classpath>
+ <pathelement location="${nxj.jtools.home}/lib/jtools.jar"/>
+ <pathelement location="${nxj.pctools.home}/lib/pctools.jar"/>
+ <pathelement location="${nxj.pccomm.home}/lib/pccomm.jar"/>
+ <pathelement location="${nxj.jtools.home}/3rdparty/lib/commons-cli-1.0.jar"/>
+ <pathelement location="${nxj.jtools.home}/3rdparty/lib/bcel-5.1.jar"/>
+ <pathelement location="${nxj.pccomm.home}/3rdparty/lib/bluecove.jar"/>
+ </classpath>
+ </java>
+ </target>
+</project>
<property name="src" location="."/>
<basename property="program" file="."/>
<property name="binary" value="${program}.nxj" />
+
+ <!-- deletes class files -->
+ <target name="clean" description="clean up all generated files">
+ <delete>
+ <fileset dir=".">
+ <include name="**/*.class"/>
+ </fileset>
+ </delete>
+ </target>
- <target name="compile"
+ <target name="compile" depends="clean"
description="compile the source " >
<!-- Compile the java code from ${src} -->
<javac source="1.3" target="1.1" srcdir="${src}" destdir="${src}">
<property name="src" location="."/>
<basename property="program" file="."/>
<property name="binary" value="${program}.nxj" />
+
+ <!-- deletes class files -->
+ <target name="clean" description="clean up all generated files">
+ <delete>
+ <fileset dir=".">
+ <include name="**/*.class"/>
+ </fileset>
+ </delete>
+ </target>
- <target name="compile"
+ <target name="compile" depends="clean"
description="compile the source " >
<!-- Compile the java code from ${src} -->
<javac source="1.3" target="1.1" srcdir="${src}" destdir="${src}">
<property name="src" location="."/>
<basename property="program" file="."/>
<property name="binary" value="${program}.nxj" />
+
+ <!-- deletes class files -->
+ <target name="clean" description="clean up all generated files">
+ <delete>
+ <fileset dir=".">
+ <include name="**/*.class"/>
+ </fileset>
+ </delete>
+ </target>
- <target name="compile"
+ <target name="compile" depends="clean"
description="compile the source " >
<!-- Compile the java code from ${src} -->
<javac source="1.3" target="1.1" srcdir="${src}" destdir="${src}">
<property name="src" location="."/>
<basename property="program" file="."/>
<property name="binary" value="${program}.nxj" />
+
+ <!-- deletes class files -->
+ <target name="clean" description="clean up all generated files">
+ <delete>
+ <fileset dir=".">
+ <include name="**/*.class"/>
+ </fileset>
+ </delete>
+ </target>
- <target name="compile"
+ <target name="compile" depends="clean"
description="compile the source " >
<!-- Compile the java code from ${src} -->
<javac source="1.3" target="1.1" srcdir="${src}" destdir="${src}">
<property name="src" location="."/>
<basename property="program" file="."/>
<property name="binary" value="${program}.nxj" />
+
+ <!-- deletes class files -->
+ <target name="clean" description="clean up all generated files">
+ <delete>
+ <fileset dir=".">
+ <include name="**/*.class"/>
+ </fileset>
+ </delete>
+ </target>
- <target name="compile"
+ <target name="compile" depends="clean"
description="compile the source " >
<!-- Compile the java code from ${src} -->
<javac source="1.3" target="1.1" srcdir="${src}" destdir="${src}">
--- /dev/null
+import java.awt.*;\r
+import java.awt.event.*;\r
+import java.io.*;\r
+import java.net.*;\r
+import javax.swing.*;\r
+\r
+public class SocketServer {\r
+\r
+ DataOutputStream outToSocket = null;\r
+ DataInputStream inFromSocket = null;\r
+\r
+ public SocketServer(){\r
+ JFrame f = new JFrame();\r
+ JPanel p = new JPanel(new FlowLayout());\r
+ final JTextField t = new JTextField(10);\r
+ JButton b = new JButton("SEND");\r
+ JButton c = new JButton("Echo");\r
+\r
+ p.add(t);\r
+ p.add(b);\r
+ p.add(c);\r
+ b.addActionListener(new ActionListener(){\r
+\r
+ public void actionPerformed(ActionEvent arg0) {\r
+ String s = t.getText();\r
+ s+='\n';\r
+ try {\r
+ System.out.println("Sending " + s);\r
+ outToSocket.writeChars(s);\r
+ outToSocket.flush();\r
+ } catch (IOException e) {}\r
+\r
+ }});\r
+\r
+ c.addActionListener(new ActionListener(){\r
+\r
+ public void actionPerformed(ActionEvent arg0) {\r
+ String s = t.getText();\r
+ s+='\n';\r
+ try {\r
+ System.out.println("Sending " + s);\r
+ outToSocket.writeChars(s);\r
+ outToSocket.flush();\r
+ System.out.println("Read : " + inFromSocket.readLine());\r
+\r
+\r
+ } catch (IOException e) {}\r
+ }});\r
+ \r
+ WindowListener listener = new WindowAdapter() {\r
+ public void windowClosing(WindowEvent w) {\r
+ System.exit(0);\r
+ }\r
+ };\r
+ \r
+ f.addWindowListener(listener);\r
+ \r
+ f.add(p);\r
+ f.pack();\r
+ f.setVisible(true);\r
+ new a();\r
+ }\r
+\r
+ private class a extends Thread{\r
+ public a(){\r
+ start();\r
+ }\r
+\r
+ public void run(){\r
+ try {\r
+ ServerSocket s = new ServerSocket(8081);\r
+ while(true){\r
+ Socket sock = s.accept();\r
+ System.out.println("Socket Server Connected");\r
+ outToSocket = new DataOutputStream(sock.getOutputStream());\r
+ inFromSocket = new DataInputStream(sock.getInputStream());\r
+ }\r
+ } catch (IOException e) {}\r
+ }\r
+ }\r
+\r
+ public static void main(String[] args) {\r
+ new SocketServer();\r
+ }\r
+}\r
+\r
+\r
--- /dev/null
+\r
+import lejos.nxt.*;\r
+import lejos.nxt.comm.*;\r
+import java.io.*;\r
+\r
+/**\r
+* Simple test program. Echoes something similar back to\r
+* the socket server\r
+* @author Ranulf Green\r
+*\r
+*/\r
+public class SocketTest {\r
+\r
+ private DataInputStream ins;\r
+ private DataOutputStream outs;\r
+ private BTConnection btc = null;\r
+ private NXTSocket sock = null;\r
+ private String connected = "connected";\r
+ private String waiting = "waiting";\r
+ boolean con = false;\r
+\r
+ public SocketTest() throws Exception{\r
+ while(true){\r
+ connect();\r
+ ins = sock.getDataInputStream();\r
+ outs = sock.getDataOutputStream();\r
+ try{\r
+ String s = ins.readLine();\r
+ print(s);\r
+ s = "not " + s + '\n';\r
+ outs.writeChars(s);\r
+ outs.flush();\r
+ }catch(IOException e){\r
+ LCD.drawString("ERROR",0,1);\r
+ LCD.refresh();\r
+ }\r
+ closeStream();\r
+ }\r
+ }\r
+\r
+ public void connect()throws IOException{\r
+ if(!con){\r
+ LCD.clear();\r
+ LCD.drawString(waiting,0,0);\r
+ LCD.refresh();\r
+ btc = Bluetooth.waitForConnection();\r
+ LCD.clear();\r
+ sock = new NXTSocket("localhost",8081,btc);\r
+ con = true;\r
+ LCD.drawString(connected,0,0);\r
+ LCD.refresh();\r
+ }\r
+ }\r
+\r
+ public void print(String i){\r
+ LCD.clear();\r
+ LCD.drawString(connected,0,0);\r
+ LCD.drawString(i,0,1);\r
+ LCD.refresh();\r
+ }\r
+\r
+ public void closeStream() throws IOException{\r
+ ins.close();\r
+ outs.close();\r
+ try{\r
+ Thread.sleep(1000);\r
+ }catch(InterruptedException e){\r
+ }\r
+ }\r
+\r
+ public static void main(String [] args) throws Exception\r
+ {\r
+ new SocketTest();\r
+ }\r
+}\r
+\r
+\r
+\r
--- /dev/null
+<project name="samples" default="uploadandrun">
+ <description>
+ Sample build file
+ </description>
+
+ <!-- set properties for this build -->
+ <property environment = "env"/>
+ <property file="../samples.properties"/>
+ <property name="src" location="."/>
+ <basename property="program" file="."/>
+ <property name="binary" value="${program}.nxj" />
+
+ <!-- deletes class files -->
+ <target name="clean" description="clean up all generated files">
+ <delete>
+ <fileset dir=".">
+ <include name="**/*.class"/>
+ </fileset>
+ </delete>
+ </target>
+
+ <target name="compile" depends="clean"
+ description="compile the source " >
+ <!-- Compile the java code from ${src} -->
+ <javac source="1.3" target="1.1" srcdir="${src}" destdir="${src}">
+ <bootclasspath>
+ <pathelement location="${nxj.classes.home}/lib/classes.jar"/>
+ </bootclasspath>
+ </javac>
+ </target>
+
+ <target name="link" depends="compile"
+ description="link the binary " >
+ <!-- Link the binary and create a signature file -->
+ <java classname="js.tinyvm.TinyVM">
+ <arg value="--classpath"/>
+ <arg path="${nxj.classes.home}/lib/classes.jar:." />
+ <arg value="--writeorder" />
+ <arg value="LE" />
+ <arg value="${program}"/>
+ <arg value="-o"/>
+ <arg value="${binary}"/>
+ <arg value="-v"/>
+ <classpath>
+ <pathelement location="${nxj.jtools.home}/lib/jtools.jar"/>
+ <pathelement location="${nxj.jtools.home}/3rdparty/lib/commons-cli-1.0.jar"/>
+ <pathelement location="${nxj.jtools.home}/3rdparty/lib/bcel-5.1.jar"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="upload" depends="link"
+ description="upload the binary " >
+ <java classname="lejos.pc.tools.NXJUpload" fork="true">
+ <jvmarg value="-Djava.library.path=${nxj.library.path}"/>
+ <arg value="${binary}"/>
+ <classpath>
+ <pathelement location="${nxj.jtools.home}/lib/jtools.jar"/>
+ <pathelement location="${nxj.pctools.home}/lib/pctools.jar"/>
+ <pathelement location="${nxj.pccomm.home}/lib/pccomm.jar"/>
+ <pathelement location="${nxj.jtools.home}/3rdparty/lib/commons-cli-1.0.jar"/>
+ <pathelement location="${nxj.jtools.home}/3rdparty/lib/bcel-5.1.jar"/>
+ <pathelement location="${nxj.pccomm.home}/3rdparty/lib/bluecove.jar"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="uploadandrun" depends="link"
+ description="upload and run the binary " >
+ <java classname="lejos.pc.tools.NXJUpload" fork="true">
+ <jvmarg value="-Djava.library.path=${nxj.library.path}"/>
+ <arg value="${binary}"/>
+ <arg value="-r"/>
+ <classpath>
+ <pathelement location="${nxj.jtools.home}/lib/jtools.jar"/>
+ <pathelement location="${nxj.pctools.home}/lib/pctools.jar"/>
+ <pathelement location="${nxj.pccomm.home}/lib/pccomm.jar"/>
+ <pathelement location="${nxj.jtools.home}/3rdparty/lib/commons-cli-1.0.jar"/>
+ <pathelement location="${nxj.jtools.home}/3rdparty/lib/bcel-5.1.jar"/>
+ <pathelement location="${nxj.pccomm.home}/3rdparty/lib/bluecove.jar"/>
+ </classpath>
+ </java>
+ </target>
+</project>
<property name="src" location="."/>
<basename property="program" file="."/>
<property name="binary" value="${program}.nxj" />
+
+ <!-- deletes class files -->
+ <target name="clean" description="clean up all generated files">
+ <delete>
+ <fileset dir=".">
+ <include name="**/*.class"/>
+ </fileset>
+ </delete>
+ </target>
- <target name="compile"
+ <target name="compile" depends="clean"
description="compile the source " >
<!-- Compile the java code from ${src} -->
<javac source="1.3" target="1.1" srcdir="${src}" destdir="${src}">
--- /dev/null
+import lejos.nxt.*;
+import java.io.*;
+
+
+public class SoundSample {
+ public static void main(String [] options) throws Exception {
+ File f = new File("ringin.wav");
+ Sound.playSample(f,1500,1000);
+ Thread.sleep(2000);
+ }
+
+}
--- /dev/null
+<project name="samples" default="uploadandrun">
+ <description>
+ Sample build file
+ </description>
+
+ <!-- set properties for this build -->
+ <property environment = "env"/>
+ <property file="../samples.properties"/>
+ <property name="src" location="."/>
+ <basename property="program" file="."/>
+ <property name="binary" value="${program}.nxj" />
+
+ <!-- deletes class files -->
+ <target name="clean" description="clean up all generated files">
+ <delete>
+ <fileset dir=".">
+ <include name="**/*.class"/>
+ </fileset>
+ </delete>
+ </target>
+
+ <target name="compile" depends="clean"
+ description="compile the source " >
+ <!-- Compile the java code from ${src} -->
+ <javac source="1.3" target="1.1" srcdir="${src}" destdir="${src}">
+ <bootclasspath>
+ <pathelement location="${nxj.classes.home}/lib/classes.jar"/>
+ </bootclasspath>
+ </javac>
+ </target>
+
+ <target name="link" depends="compile"
+ description="link the binary " >
+ <!-- Link the binary and create a signature file -->
+ <java classname="js.tinyvm.TinyVM">
+ <arg value="--classpath"/>
+ <arg path="${nxj.classes.home}/lib/classes.jar:." />
+ <arg value="--writeorder" />
+ <arg value="LE" />
+ <arg value="${program}"/>
+ <arg value="-o"/>
+ <arg value="${binary}"/>
+ <arg value="-v"/>
+ <classpath>
+ <pathelement location="${nxj.jtools.home}/lib/jtools.jar"/>
+ <pathelement location="${nxj.jtools.home}/3rdparty/lib/commons-cli-1.0.jar"/>
+ <pathelement location="${nxj.jtools.home}/3rdparty/lib/bcel-5.1.jar"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="upload" depends="link"
+ description="upload the binary " >
+ <java classname="lejos.pc.tools.NXJUpload" fork="true">
+ <jvmarg value="-Djava.library.path=${nxj.library.path}"/>
+ <arg value="${binary}"/>
+ <classpath>
+ <pathelement location="${nxj.jtools.home}/lib/jtools.jar"/>
+ <pathelement location="${nxj.pctools.home}/lib/pctools.jar"/>
+ <pathelement location="${nxj.pccomm.home}/lib/pccomm.jar"/>
+ <pathelement location="${nxj.jtools.home}/3rdparty/lib/commons-cli-1.0.jar"/>
+ <pathelement location="${nxj.jtools.home}/3rdparty/lib/bcel-5.1.jar"/>
+ <pathelement location="${nxj.pccomm.home}/3rdparty/lib/bluecove.jar"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="uploadandrun" depends="link"
+ description="upload and run the binary " >
+ <java classname="lejos.pc.tools.NXJUpload" fork="true">
+ <jvmarg value="-Djava.library.path=${nxj.library.path}"/>
+ <arg value="${binary}"/>
+ <arg value="-r"/>
+ <classpath>
+ <pathelement location="${nxj.jtools.home}/lib/jtools.jar"/>
+ <pathelement location="${nxj.pctools.home}/lib/pctools.jar"/>
+ <pathelement location="${nxj.pccomm.home}/lib/pccomm.jar"/>
+ <pathelement location="${nxj.jtools.home}/3rdparty/lib/commons-cli-1.0.jar"/>
+ <pathelement location="${nxj.jtools.home}/3rdparty/lib/bcel-5.1.jar"/>
+ <pathelement location="${nxj.pccomm.home}/3rdparty/lib/bluecove.jar"/>
+ </classpath>
+ </java>
+ </target>
+</project>
<property name="src" location="."/>
<basename property="program" file="."/>
<property name="binary" value="${program}.nxj" />
+
+ <!-- deletes class files -->
+ <target name="clean" description="clean up all generated files">
+ <delete>
+ <fileset dir=".">
+ <include name="**/*.class"/>
+ </fileset>
+ </delete>
+ </target>
- <target name="compile"
+ <target name="compile" depends="clean"
description="compile the source " >
<!-- Compile the java code from ${src} -->
<javac source="1.3" target="1.1" srcdir="${src}" destdir="${src}">
<property name="program" value="Main"/>
<property name="binary" value="${program}.nxj" />
- <target name="compile"
+ <!-- deletes class files -->
+ <target name="clean" description="clean up all generated files">
+ <delete>
+ <fileset dir=".">
+ <include name="**/*.class"/>
+ </fileset>
+ </delete>
+ </target>
+
+ <target name="compile" depends="clean"
description="compile the source " >
<!-- Compile the java code from ${src} -->
<javac source="1.3" target="1.1" srcdir="${src}" destdir="${src}">
<property name="program" value="Main"/>
<property name="binary" value="${program}.nxj" />
- <target name="compile"
+ <!-- deletes class files -->
+ <target name="clean" description="clean up all generated files">
+ <delete>
+ <fileset dir=".">
+ <include name="**/*.class"/>
+ </fileset>
+ </delete>
+ </target>
+
+ <target name="compile" depends="clean"
description="compile the source " >
<!-- Compile the java code from ${src} -->
<javac source="1.3" target="1.1" srcdir="${src}" destdir="${src}">
<property name="src" location="."/>
<basename property="program" file="."/>
<property name="binary" value="${program}.nxj" />
+
+ <!-- deletes class files -->
+ <target name="clean" description="clean up all generated files">
+ <delete>
+ <fileset dir=".">
+ <include name="**/*.class"/>
+ </fileset>
+ </delete>
+ </target>
- <target name="compile"
+ <target name="compile" depends="clean"
description="compile the source " >
<!-- Compile the java code from ${src} -->
<javac source="1.3" target="1.1" srcdir="${src}" destdir="${src}">
--- /dev/null
+import lejos.nxt.*;\r
+import lejos.nxt.comm.*;\r
+import java.io.*;\r
+\r
+/**\r
+* Gets the time from a time server\r
+* @author Lawrie Griffiths\r
+*\r
+*/\r
+public class TimeTest {\r
+ \r
+ private String host = "time.nist.gov";\r
+ private int port = 13;\r
+ private DataInputStream ins;\r
+ private DataOutputStream outs;\r
+ private BTConnection btc = null;\r
+ private NXTSocket sock = null;\r
+ private String connected = "connected";\r
+ private String waiting = "waiting";\r
+ boolean con = false;\r
+\r
+ public TimeTest() throws Exception{\r
+ while(true){\r
+ connect();\r
+ ins = sock.getDataInputStream();\r
+ outs = sock.getDataOutputStream();\r
+ for(int i=0;i<23;i++) {\r
+ try{\r
+ char[] c = new char[1];\r
+ c[0] = (char) ins.read();\r
+ if (i >= 7) {\r
+ String s = new String(c,0,1);\r
+ print(s,i-7);\r
+ }\r
+ }catch(IOException e){\r
+ LCD.drawString("ERROR",0,1);\r
+ LCD.refresh();\r
+ } \r
+ }\r
+ ins.close();\r
+ outs.close();\r
+ }\r
+ }\r
+\r
+ public void connect()throws IOException{\r
+ if(!con){\r
+ LCD.clear();\r
+ LCD.drawString(waiting,0,0);\r
+ LCD.refresh();\r
+ btc = Bluetooth.waitForConnection();\r
+ LCD.clear();\r
+ sock = new NXTSocket(host,port,btc);\r
+ con = true;\r
+ LCD.drawString(connected,0,0);\r
+ LCD.refresh();\r
+ }\r
+ }\r
+\r
+ public void print(String i, int n){\r
+ LCD.drawString("Received", 0, 0);\r
+ LCD.drawString(i,n,1);\r
+ LCD.refresh();\r
+ }\r
+\r
+ public static void main(String [] args) throws Exception\r
+ {\r
+ new TimeTest();\r
+ }\r
+}\r
+\r
+\r
+\r
--- /dev/null
+<project name="samples" default="uploadandrun">
+ <description>
+ Sample build file
+ </description>
+
+ <!-- set properties for this build -->
+ <property environment = "env"/>
+ <property file="../samples.properties"/>
+ <property name="src" location="."/>
+ <basename property="program" file="."/>
+ <property name="binary" value="${program}.nxj" />
+
+ <!-- deletes class files -->
+ <target name="clean" description="clean up all generated files">
+ <delete>
+ <fileset dir=".">
+ <include name="**/*.class"/>
+ </fileset>
+ </delete>
+ </target>
+
+ <target name="compile" depends="clean"
+ description="compile the source " >
+ <!-- Compile the java code from ${src} -->
+ <javac source="1.3" target="1.1" srcdir="${src}" destdir="${src}">
+ <bootclasspath>
+ <pathelement location="${nxj.classes.home}/lib/classes.jar"/>
+ </bootclasspath>
+ </javac>
+ </target>
+
+ <target name="link" depends="compile"
+ description="link the binary " >
+ <!-- Link the binary and create a signature file -->
+ <java classname="js.tinyvm.TinyVM">
+ <arg value="--classpath"/>
+ <arg path="${nxj.classes.home}/lib/classes.jar:." />
+ <arg value="--writeorder" />
+ <arg value="LE" />
+ <arg value="${program}"/>
+ <arg value="-o"/>
+ <arg value="${binary}"/>
+ <arg value="-v"/>
+ <classpath>
+ <pathelement location="${nxj.jtools.home}/lib/jtools.jar"/>
+ <pathelement location="${nxj.jtools.home}/3rdparty/lib/commons-cli-1.0.jar"/>
+ <pathelement location="${nxj.jtools.home}/3rdparty/lib/bcel-5.1.jar"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="upload" depends="link"
+ description="upload the binary " >
+ <java classname="lejos.pc.tools.NXJUpload" fork="true">
+ <jvmarg value="-Djava.library.path=${nxj.library.path}"/>
+ <arg value="${binary}"/>
+ <classpath>
+ <pathelement location="${nxj.jtools.home}/lib/jtools.jar"/>
+ <pathelement location="${nxj.pctools.home}/lib/pctools.jar"/>
+ <pathelement location="${nxj.pccomm.home}/lib/pccomm.jar"/>
+ <pathelement location="${nxj.jtools.home}/3rdparty/lib/commons-cli-1.0.jar"/>
+ <pathelement location="${nxj.jtools.home}/3rdparty/lib/bcel-5.1.jar"/>
+ <pathelement location="${nxj.pccomm.home}/3rdparty/lib/bluecove.jar"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="uploadandrun" depends="link"
+ description="upload and run the binary " >
+ <java classname="lejos.pc.tools.NXJUpload" fork="true">
+ <jvmarg value="-Djava.library.path=${nxj.library.path}"/>
+ <arg value="${binary}"/>
+ <arg value="-r"/>
+ <classpath>
+ <pathelement location="${nxj.jtools.home}/lib/jtools.jar"/>
+ <pathelement location="${nxj.pctools.home}/lib/pctools.jar"/>
+ <pathelement location="${nxj.pccomm.home}/lib/pccomm.jar"/>
+ <pathelement location="${nxj.jtools.home}/3rdparty/lib/commons-cli-1.0.jar"/>
+ <pathelement location="${nxj.jtools.home}/3rdparty/lib/bcel-5.1.jar"/>
+ <pathelement location="${nxj.pccomm.home}/3rdparty/lib/bluecove.jar"/>
+ </classpath>
+ </java>
+ </target>
+</project>
<property name="src" location="."/>
<basename property="program" file="."/>
<property name="binary" value="${program}.nxj" />
+
+ <!-- deletes class files -->
+ <target name="clean" description="clean up all generated files">
+ <delete>
+ <fileset dir=".">
+ <include name="**/*.class"/>
+ </fileset>
+ </delete>
+ </target>
- <target name="compile"
+ <target name="compile" depends="clean"
description="compile the source " >
<!-- Compile the java code from ${src} -->
<javac source="1.3" target="1.1" srcdir="${src}" destdir="${src}">
<property name="src" location="."/>
<basename property="program" file="."/>
<property name="binary" value="${program}.nxj" />
+
+ <!-- deletes class files -->
+ <target name="clean" description="clean up all generated files">
+ <delete>
+ <fileset dir=".">
+ <include name="**/*.class"/>
+ </fileset>
+ </delete>
+ </target>
- <target name="compile"
+ <target name="compile" depends="clean"
description="compile the source " >
<!-- Compile the java code from ${src} -->
<javac source="1.3" target="1.1" srcdir="${src}" destdir="${src}">
<property name="src" location="."/>
<basename property="program" file="."/>
<property name="binary" value="${program}.nxj" />
+
+ <!-- deletes class files -->
+ <target name="clean" description="clean up all generated files">
+ <delete>
+ <fileset dir=".">
+ <include name="**/*.class"/>
+ </fileset>
+ </delete>
+ </target>
- <target name="compile"
+ <target name="compile" depends="clean"
description="compile the source " >
<!-- Compile the java code from ${src} -->
<javac source="1.3" target="1.1" srcdir="${src}" destdir="${src}">
-nxj.classes.home=${env.NXJ_HOME}
-nxj.jtools.home=${env.NXJ_HOME}
-nxj.pctools.home=${env.NXJ_HOME}
-nxj.pccomm.home=${env.NXJ_HOME}
+nxj.classes.home=../../classes
+nxj.jtools.home=../../jtools
+nxj.pctools.home=../../pctools
+nxj.pccomm.home=../../pccomms
nxj.library.path=${env.NXJ_HOME}/bin
public DataInputStream(InputStream in)
{
- this.in = in;
+ this.in = in;
}
public final double readDouble() throws IOException {
return Double.longBitsToDouble(readLong());
}*/
+
+ public String readLine() throws IOException{
+ StringBuffer strb = new StringBuffer();
+ boolean endOfLine = false;
+ while(!endOfLine){
+ char c = readChar();
+ if(c=='\n'){endOfLine = true;}
+ else if(c==(char)-1){endOfLine = true;}
+ else{strb.append(c);}
+ }
+ return strb.toString();
+ }
+
+ public void close() throws IOException {
+ in.close();
+ }
}
\ No newline at end of file
public final int size() {
return written;
}
+
+ public final void writeChars (String value) throws IOException
+ {
+ int len = value.length();
+ for (int i = 0; i < len; ++i)
+ writeChar (value.charAt(i));
+ }
}
package java.io;\r
\r
-import lejos.nxt.Flash;\r
-\r
+import lejos.nxt.*;\r
\r
public class File {\r
static int count;\r
\r
public static int freeMemory() {\r
int last_page;\r
+ \r
+ if(files == null) {\r
+ files = new File[MAX_FILES];\r
+ File.readTable(files); // Update file data\r
+ }\r
+ \r
if (totalFiles <= 0) {\r
last_page = -1;\r
} else {\r
}\r
writeTable(files); // update the file data in flash memory \r
}\r
+ \r
public int getPage() {\r
return page_location;\r
}\r
+ \r
+ public void play(int freq, int vol) {\r
+ Sound.playSample(page_location, file_length, freq, vol);\r
+ }\r
}
\ No newline at end of file
--- /dev/null
+package java.util;\r
+\r
+/**\r
+ * \r
+ * @author Andre Nijholt\r
+ */\r
+public class ArrayList {\r
+ private static final int INITIAL_CAPACITY = 7;\r
+ private static final int CAPACITY_INCREMENT = 3;\r
+ \r
+ protected Object[] elementData;\r
+ protected int capacityIncrement;\r
+ protected int elementCount;\r
+\r
+ public ArrayList(int initialCapacity) {\r
+ if (initialCapacity < 0) initialCapacity = 0;\r
+ elementData = new Object[initialCapacity];\r
+ capacityIncrement = CAPACITY_INCREMENT;\r
+ elementCount = 0;\r
+ }\r
+ \r
+ public ArrayList(Object[] elements) {\r
+ // Set initial capacity to 130% (normally specified 110%)\r
+ this((elements.length * 13) / 10);\r
+ addAll(elements);\r
+ }\r
+\r
+ public ArrayList() {\r
+ this(INITIAL_CAPACITY);\r
+ }\r
+\r
+ public void add(int index, Object element) {\r
+ if (index > elementCount) {\r
+ throw new ArrayIndexOutOfBoundsException();\r
+ }\r
+\r
+ ensureCapacity(elementCount + 1);\r
+ for (int i = elementCount; i > index; i--) {\r
+ elementData[i] = elementData[i - 1];\r
+ }\r
+ elementData[index] = element;\r
+ elementCount++;\r
+ }\r
+ \r
+\r
+ public void add(Object o) {\r
+ ensureCapacity(elementCount + 1);\r
+ elementData[elementCount++] = o;\r
+ }\r
+ \r
+ public void addAll(Object [] elements) {\r
+ if (elements == null) return;\r
+ ensureCapacity(elementCount + elements.length);\r
+ \r
+ for (int i = 0; i < elements.length; i++) {\r
+ elementData[elementCount++] = elements[i];\r
+ }\r
+ }\r
+ \r
+ public void addAll(int index, Object [] elements) {\r
+ if (elements == null) return;\r
+ if (index > elementCount) {\r
+ throw new ArrayIndexOutOfBoundsException();\r
+ }\r
+\r
+ ensureCapacity(elementCount + elements.length);\r
+ for (int i = elementCount + elements.length - 1; i > index; i--) {\r
+ elementData[i] = elementData[i - elements.length];\r
+ }\r
+ for (int i = 0; i < elements.length; i++) {\r
+ elementData[i + index] = elements[i];\r
+ elementCount++;\r
+ }\r
+ }\r
+ \r
+ public void clear() {\r
+ for (int i = 0; i < elementCount; i++) {\r
+ elementData[i] = null;\r
+ }\r
+ }\r
+ \r
+ public boolean contains(Object o) {\r
+ for (int i = 0; i < elementCount; i++) {\r
+ if (elementData[i].equals(o)) return true;\r
+ }\r
+ \r
+ return false;\r
+ }\r
+ \r
+ public Object get(int index) {\r
+ if (index > elementCount) {\r
+ throw new ArrayIndexOutOfBoundsException();\r
+ }\r
+\r
+ return elementData[index];\r
+ }\r
+ \r
+ public int indexOf(Object o) {\r
+ for (int i = 0; i < elementCount; i++) {\r
+ if (elementData[i].equals(o)) return i;\r
+ }\r
+ \r
+ return -1;\r
+ }\r
+\r
+ public int lastIndexOf(Object o) {\r
+ for (int i = elementCount - 1; i >= 0; i--) {\r
+ if (elementData[i].equals(o)) return i;\r
+ }\r
+ \r
+ return -1;\r
+ }\r
+ \r
+ public boolean isEmpty() {\r
+ return (elementCount == 0);\r
+ }\r
+\r
+ public Object remove(int index) {\r
+ if (index > elementCount) {\r
+ throw new ArrayIndexOutOfBoundsException();\r
+ }\r
+\r
+ Object o = elementData[index];\r
+ for (int i = index; i < elementCount; i++) {\r
+ elementData[i] = elementData[i + 1];\r
+ }\r
+ elementCount--;\r
+ return o;\r
+ }\r
+ \r
+ public Object set(int index, Object element) {\r
+ if (index > elementCount) {\r
+ throw new ArrayIndexOutOfBoundsException();\r
+ }\r
+\r
+ Object o = elementData[index];\r
+ elementData[index] = element;\r
+ return o;\r
+ }\r
+ \r
+ public int size() {\r
+ return elementCount;\r
+ }\r
+\r
+ private void ensureCapacity(int minCapacity) {\r
+ if (elementData.length < minCapacity) {\r
+ int newCapacity = (capacityIncrement > 0)\r
+ ? (elementData.length + capacityIncrement)\r
+ : (elementData.length * 2);\r
+ if (newCapacity < minCapacity) {\r
+ newCapacity = minCapacity;\r
+ }\r
+\r
+ Object oldData[] = elementData;\r
+ elementData = new Object[newCapacity];\r
+ arraycopy(oldData, 0, elementData, 0, elementCount);\r
+ }\r
+ }\r
+ \r
+ private void arraycopy(Object[] src, int srcOffset, Object[] dst, int dstOffset, int length) {\r
+ for (int i = 0; i < length; i++)\r
+ dst[i + dstOffset] = src[i + srcOffset];\r
+ }\r
+\r
+\r
+}\r
--- /dev/null
+package javax.microedition.lcdui;\r
+\r
+import lejos.nxt.Sound;\r
+\r
+/**\r
+ * \r
+ * @author Andre Nijholt\r
+ */\r
+public class Alert extends Screen {\r
+ /** Default command for alert */\r
+ private final Command DISMISS_COMMAND = new Command(0, Command.SCREEN, 0);\r
+\r
+ public static final int FOREVER = -2;\r
+\r
+ public static final int ALERT_TYPE_INFO = 0;\r
+ public static final int ALERT_TYPE_WARNING = 1;\r
+ public static final int ALERT_TYPE_ERROR = 2;\r
+ public static final int ALERT_TYPE_ALARM = 3;\r
+ public static final int ALERT_TYPE_CONFIRMATION = 4;\r
+ \r
+ public static final String STR_CONFIRM = "Yes";\r
+ public static final String STR_DENY = "No";\r
+ \r
+ public static final Image IMG_INFO = new Image(16, 16, new byte[] {\r
+ (byte) 0xe0, (byte) 0x10, (byte) 0x0c, (byte) 0x04, (byte) 0x02, (byte) 0x01, (byte) 0x49, (byte) 0xdd,\r
+ (byte) 0xdd, (byte) 0x49, (byte) 0x01, (byte) 0x02, (byte) 0x04, (byte) 0x0c, (byte) 0x10, (byte) 0xe0, \r
+ (byte) 0x07, (byte) 0x08, (byte) 0x30, (byte) 0x20, (byte) 0x40, (byte) 0x80, (byte) 0xa0, (byte) 0xbf,\r
+ (byte) 0xbf, (byte) 0xa0, (byte) 0x80, (byte) 0x40, (byte) 0x20, (byte) 0x30, (byte) 0x08, (byte) 0x07\r
+ });\r
+ \r
+ public static final Image IMG_WARNING = new Image(16, 16, new byte[] {\r
+ (byte) 0xe0, (byte) 0x10, (byte) 0x0c, (byte) 0x04, (byte) 0x02, (byte) 0x01, (byte) 0x7d, (byte) 0xfd,\r
+ (byte) 0xfd, (byte) 0x7d, (byte) 0x01, (byte) 0x02, (byte) 0x04, (byte) 0x0c, (byte) 0x10, (byte) 0xe0,\r
+ (byte) 0x07, (byte) 0x08, (byte) 0x30, (byte) 0x20, (byte) 0x40, (byte) 0x80, (byte) 0x90, (byte) 0xbb,\r
+ (byte) 0xbb, (byte) 0x90, (byte) 0x80, (byte) 0x40, (byte) 0x20, (byte) 0x30, (byte) 0x08, (byte) 0x07\r
+ });\r
+\r
+ public static final Image IMG_ERROR = new Image(16, 16, new byte[] {\r
+ (byte) 0xe0, (byte) 0x10, (byte) 0x0c, (byte) 0x04, (byte) 0x12, (byte) 0x39, (byte) 0x61, (byte) 0xc1,\r
+ (byte) 0xc1, (byte) 0x61, (byte) 0x39, (byte) 0x12, (byte) 0x04, (byte) 0x0c, (byte) 0x10, (byte) 0xe0,\r
+ (byte) 0x07, (byte) 0x08, (byte) 0x30, (byte) 0x20, (byte) 0x48, (byte) 0x9c, (byte) 0x86, (byte) 0x83,\r
+ (byte) 0x83, (byte) 0x86, (byte) 0x9c, (byte) 0x48, (byte) 0x20, (byte) 0x30, (byte) 0x08, (byte) 0x07\r
+ });\r
+ \r
+ public static final Image IMG_ALARM = new Image(16, 16, new byte[] {\r
+ (byte) 0xe0, (byte) 0x10, (byte) 0x0c, (byte) 0x04, (byte) 0xf2, (byte) 0xf9, (byte) 0xfd, (byte) 0xfd,\r
+ (byte) 0xfd, (byte) 0xfd, (byte) 0xf9, (byte) 0xf2, (byte) 0x04, (byte) 0x0c, (byte) 0x10, (byte) 0xe0, \r
+ (byte) 0x07, (byte) 0x08, (byte) 0x30, (byte) 0x24, (byte) 0x47, (byte) 0x87, (byte) 0x8f, (byte) 0x9f,\r
+ (byte) 0x9f, (byte) 0x8f, (byte) 0x87, (byte) 0x47, (byte) 0x24, (byte) 0x30, (byte) 0x08, (byte) 0x07\r
+ });\r
+\r
+ public static final Image IMG_CONFIRM = new Image(16, 16, new byte[] {\r
+ (byte) 0xe0, (byte) 0x10, (byte) 0x0c, (byte) 0x04, (byte) 0x12, (byte) 0x39, (byte) 0x0d, (byte) 0x0d,\r
+ (byte) 0x8d, (byte) 0xcd, (byte) 0x79, (byte) 0x32, (byte) 0x04, (byte) 0x0c, (byte) 0x10, (byte) 0xe0,\r
+ (byte) 0x07, (byte) 0x08, (byte) 0x30, (byte) 0x20, (byte) 0x40, (byte) 0x80, (byte) 0x90, (byte) 0xbb,\r
+ (byte) 0xbb, (byte) 0x90, (byte) 0x80, (byte) 0x40, (byte) 0x20, (byte) 0x30, (byte) 0x08, (byte) 0x07\r
+ });\r
+\r
+ String text;\r
+ Image image;\r
+ Gauge gauge;\r
+ int type;\r
+ int time;\r
+ boolean confirm = false;\r
+ \r
+ public Alert(String title) {\r
+ this.title = title;\r
+ this.time = FOREVER;\r
+ commands.add(DISMISS_COMMAND);\r
+ }\r
+\r
+ public Alert(String title, String alertText, Image alertImage, int alertType) {\r
+ this.title = title;\r
+ this.text = alertText;\r
+ this.image = alertImage;\r
+ this.type = alertType;\r
+ this.time = FOREVER;\r
+ commands.add(DISMISS_COMMAND);\r
+ }\r
+ \r
+ public void setType(int alertType) {\r
+ this.type = alertType;\r
+ }\r
+ \r
+ public void setString(String alertText) {\r
+ this.text = alertText;\r
+ }\r
+\r
+ public void setTimeout(int time) {\r
+ this.time = time;\r
+ }\r
+ \r
+ public int getTimeout() {\r
+ return time;\r
+ }\r
+ \r
+ public boolean getConfirmation() {\r
+ return confirm;\r
+ }\r
+ \r
+ public void setIndicator(Gauge indicator) {\r
+ // Check conditions for use of indicator\r
+ if (indicator.isInteractive() || (indicator.label != null)) {\r
+ throw new IllegalArgumentException();\r
+ }\r
+ this.gauge = indicator;\r
+ }\r
+ \r
+ public Gauge getIndicator() {\r
+ return gauge;\r
+ }\r
+ \r
+ protected void keyPressed(int keyCode) {\r
+ if ((keyCode == KEY_ENTER) && (cmdListener != null)) {\r
+ cmdListener.commandAction(DISMISS_COMMAND, this);\r
+ } else if (type == ALERT_TYPE_CONFIRMATION) {\r
+ if (keyCode == KEY_LEFT) {\r
+ confirm = false;\r
+ } else if (keyCode == KEY_RIGHT) {\r
+ confirm = true;\r
+ }\r
+ repaint();\r
+ }\r
+ }\r
+\r
+ protected void showNotify() {\r
+ // Play notification sound\r
+ new Thread() {\r
+ public void run() {\r
+ for (int i = 4; i < 8; i++) {\r
+ Sound.playTone((1056 * i) / 4, 100);\r
+ Sound.pause(100);\r
+ }\r
+\r
+ }\r
+ }.start();\r
+ \r
+ // Start painting alert screen\r
+ repaint();\r
+ }\r
+\r
+ public void paint(Graphics g) {\r
+ // Draw frame with title (roundrect is very slow)\r
+// g.drawRoundRect(0, 0, 98, 63, 45, 45);\r
+// g.fillArc(0, 0, 34, 34, 90, 90);\r
+// g.fillArc(64, 0, 34, 34, 0, 90);\r
+// g.fillRect(16, 0, 66, 18);\r
+ g.fillRect(0, 0, 100, 16);\r
+ g.drawString(title, g.getCenteredX(title), 1, true);\r
+\r
+ if (this.image != null) {\r
+ // Draw user defined image\r
+ g.drawImage(image, 0, 16, false);\r
+ } else if (this.type == ALERT_TYPE_INFO) {\r
+ g.drawImage(IMG_INFO, 0, 16, false);\r
+ } else if (this.type == ALERT_TYPE_WARNING) {\r
+ g.drawImage(IMG_WARNING, 0, 16, false);\r
+ } else if (this.type == ALERT_TYPE_ERROR) {\r
+ g.drawImage(IMG_ERROR, 0, 16, false);\r
+ } else if (this.type == ALERT_TYPE_ALARM) {\r
+ g.drawImage(IMG_ALARM, 0, 16, false);\r
+ } else if (this.type == ALERT_TYPE_CONFIRMATION) {\r
+ g.drawImage(IMG_CONFIRM, 0, 16, false);\r
+ }\r
+ \r
+ \r
+ // Draw centered text\r
+ g.drawString(text, 3, 3);\r
+ if (type == ALERT_TYPE_CONFIRMATION) {\r
+ g.drawString(confirm ? STR_CONFIRM : STR_DENY, g.getCenteredX(STR_CONFIRM), 4, true);\r
+ } else if (gauge != null) {\r
+ gauge.paint(g, 0, 32, 100, 32, false);\r
+ }\r
+ }\r
+}\r
--- /dev/null
+package javax.microedition.lcdui;\r
+\r
+/**\r
+ * \r
+ * @author Andre Nijholt\r
+ */\r
+public interface Choice {\r
+ public static final int EXCLUSIVE = 1;\r
+ public static final int MULTIPLE = 2;\r
+ public static final int IMPLICIT = 3;\r
+ public static final int POPUP = 4;\r
+ \r
+ public static final int TEXT_WRAP_DEFAULT = 0;\r
+ public static final int TEXT_WRAP_ON = 1;\r
+ public static final int TEXT_WRAP_OFF = 2;\r
+ \r
+ public int append(String stringPart, Image imagePart);\r
+ public void delete(int elementNum);\r
+ public void deleteAll();\r
+// public int getFitPolicy();\r
+// public Font getFont(int elementNum);\r
+ public Image getImage(int elementNum);\r
+ public int getSelectedFlags(boolean[] selectedArray_return); \r
+ public int getSelectedIndex(); \r
+ public String getString(int elementNum); \r
+ public void insert(int elementNum, String stringPart, Image imagePart); \r
+ public boolean isSelected(int elementNum); \r
+ public void set(int elementNum, String stringPart, Image imagePart); \r
+// public void setFitPolicy(int fitPolicy); \r
+// public void setFont(int elementNum, Font font); \r
+ public void setSelectedFlags(boolean[] selectedArray); \r
+ public void setSelectedIndex(int elementNum, boolean selected); \r
+ public int size() ;\r
+}\r
--- /dev/null
+package javax.microedition.lcdui;\r
+\r
+import java.util.ArrayList;\r
+\r
+/**\r
+ * \r
+ * @author Andre Nijholt\r
+ */\r
+public class ChoiceGroup extends Item implements Choice { \r
+ protected int choiceType;\r
+ protected ArrayList choiceItems;\r
+// private int fitPolicy;\r
+ \r
+ /** Scrolling administration */\r
+ private int scrollFirst = 0;\r
+ private int scrollCurr = 0;\r
+ private int scrollLast = 0;\r
+ private boolean scrollWrap = true;\r
+ \r
+ public ChoiceGroup(String label, int choiceType) {\r
+ if (choiceType == Choice.IMPLICIT) {\r
+ // Type IMPLICIT not allowed\r
+ throw new IllegalArgumentException();\r
+ }\r
+\r
+ this.label = label;\r
+ this.choiceType = choiceType;\r
+ choiceItems = new ArrayList();\r
+ interactive = true;\r
+ \r
+ if (label != null) {\r
+ // Only show label or first item when POPUP list is used\r
+ minWidth = (label.length() * Display.CHAR_WIDTH);\r
+ minHeight = ((choiceType == Choice.POPUP) ? 1 : 2) * Display.CHAR_HEIGHT;\r
+ } else {\r
+ minWidth = Display.CHAR_WIDTH;\r
+ minHeight = Display.CHAR_HEIGHT;\r
+ }\r
+ }\r
+ \r
+ public ChoiceGroup(String label, int choiceType, String[] stringElements, Image[] imageElements) {\r
+ if (choiceType == Choice.IMPLICIT) {\r
+ // Type IMPLICIT not allowed\r
+ throw new IllegalArgumentException();\r
+ }\r
+ this.label = label;\r
+ this.choiceType = choiceType;\r
+ interactive = true;\r
+\r
+ if (label != null) {\r
+ minWidth = (label.length() * Display.CHAR_WIDTH);\r
+ minHeight = 2 * Display.CHAR_HEIGHT;\r
+ } else {\r
+ minWidth = Display.CHAR_WIDTH;\r
+ minHeight = Display.CHAR_HEIGHT;\r
+ }\r
+\r
+ choiceItems = new ArrayList(stringElements.length);\r
+ for (int i = 0; i < stringElements.length; i++) {\r
+ choiceItems.add(new ChoiceItem(\r
+ ((stringElements != null) && (stringElements.length < i))\r
+ ? stringElements[i] : null, \r
+ ((imageElements != null) && (imageElements.length < i))\r
+ ? imageElements[i] : null));\r
+ \r
+ // Update minimum width\r
+ int itemWidth = (((stringElements != null) && (stringElements.length < i))\r
+ ? stringElements[i].length() * Display.CHAR_WIDTH : 0) \r
+ + (((imageElements != null) && (imageElements.length < i))\r
+ ? imageElements[i].getWidth() : 0);\r
+ if (itemWidth > minWidth) {\r
+ minWidth = itemWidth;\r
+ }\r
+ scrollLast++;\r
+ }\r
+ }\r
+\r
+ public int append(String stringPart, Image imagePart) {\r
+ // Add item and update minimum size\r
+ choiceItems.add(new ChoiceItem(stringPart, imagePart));\r
+ int itemWidth = ((stringPart != null) ? stringPart.length() * Display.CHAR_WIDTH : 0)\r
+ + ((imagePart != null) ? imagePart.getWidth() : 0);\r
+ if (itemWidth > minWidth) {\r
+ minWidth = itemWidth;\r
+ }\r
+ \r
+ scrollLast++;\r
+ return choiceItems.size();\r
+ }\r
+ \r
+ public void delete(int elementNum) {\r
+ scrollLast--;\r
+ choiceItems.remove(elementNum);\r
+ }\r
+ \r
+ public void deleteAll() {\r
+ scrollLast = 0;\r
+ choiceItems.clear();\r
+ }\r
+\r
+// TODO: FitPolicy currently not supported: no wrapping allowed\r
+// public int getFitPolicy() {\r
+// return fitPolicy;\r
+// }\r
+//\r
+// public void setFitPolicy(int fitPolicy) {\r
+// this.fitPolicy = fitPolicy;\r
+// }\r
+ \r
+// TODO: Multiple fonts currently not supported \r
+// public Font getFont(int elementNum) {\r
+// return ((ListItem) listItems.get(elementNum)).font;\r
+// }\r
+// \r
+// public void setFont(int elementNum, Font font) {\r
+// ((ListItem) listItems.get(elementNum)).font = font;\r
+// } \r
+ \r
+ public Image getImage(int elementNum) {\r
+ return ((ChoiceItem) choiceItems.get(elementNum)).img;\r
+ }\r
+\r
+ public int getSelectedFlags(boolean[] selectedArray_return) {\r
+ selectedArray_return = new boolean[choiceItems.size()];\r
+ for (int i = 0; i < selectedArray_return.length; i++) {\r
+ selectedArray_return[i] = ((ChoiceItem) choiceItems.get(i)).selected;\r
+ }\r
+ \r
+ return selectedArray_return.length;\r
+ }\r
+\r
+ public int getSelectedIndex() {\r
+ for (int i = 0; i < choiceItems.size(); i++) {\r
+ if (((ChoiceItem) choiceItems.get(i)).selected) {\r
+ return i;\r
+ }\r
+ }\r
+\r
+ return -1;\r
+ }\r
+\r
+ public String getString(int elementNum) {\r
+ return ((ChoiceItem) choiceItems.get(elementNum)).str;\r
+ } \r
+ \r
+ public void insert(int elementNum, String stringPart, Image imagePart) {\r
+ choiceItems.add(elementNum, new ChoiceItem(stringPart, imagePart));\r
+ }\r
+ \r
+ public boolean isSelected(int elementNum) {\r
+ return ((ChoiceItem) choiceItems.get(elementNum)).selected;\r
+ }\r
+\r
+ public void set(int elementNum, String stringPart, Image imagePart) {\r
+ choiceItems.set(elementNum, new ChoiceItem(stringPart, imagePart));\r
+ }\r
+\r
+ public void setScrollWrap(boolean scrollWrap) {\r
+ this.scrollWrap = scrollWrap;\r
+ }\r
+ \r
+ public void setSelectedFlags(boolean[] selectedArray) {\r
+ for (int i = 0; i < choiceItems.size(); i++) {\r
+ ((ChoiceItem) choiceItems.get(i)).selected = selectedArray[i];\r
+ }\r
+ } \r
+\r
+ public void setSelectedIndex(int elementNum, boolean selected) {\r
+ if ((choiceType == Choice.MULTIPLE) || !selected) {\r
+ // Just set/clear selection\r
+ ((ChoiceItem) choiceItems.get(elementNum)).selected = selected; \r
+ } else {\r
+ // Set single selection for these types\r
+ for (int i = 0; i < choiceItems.size(); i++) {\r
+ ChoiceItem li = ((ChoiceItem) choiceItems.get(i));\r
+ li.selected = (i == elementNum);\r
+ }\r
+ } \r
+ }\r
+ \r
+ public int size() {\r
+ return choiceItems.size();\r
+ }\r
+ \r
+ protected void keyPressed(int keyCode) {\r
+ if (keyCode == Screen.KEY_RIGHT) {\r
+ if (scrollWrap) {\r
+ scrollCurr = (scrollCurr + 1) % choiceItems.size();\r
+ } else if (scrollCurr < (choiceItems.size() - 1)) {\r
+ scrollCurr++;\r
+ }\r
+ repaint();\r
+ } else if (keyCode == Screen.KEY_LEFT) {\r
+ if (scrollWrap) {\r
+ scrollCurr = (scrollCurr == 0) \r
+ ? (choiceItems.size() - 1) : (scrollCurr - 1);\r
+ } else if (scrollCurr > 0) {\r
+ scrollCurr--;\r
+ }\r
+ repaint();\r
+ } else if (keyCode == Screen.KEY_BACK) {\r
+ // BACK key has no function\r
+ } else if (keyCode == Screen.KEY_ENTER) {\r
+ ChoiceItem li = ((ChoiceItem) choiceItems.get(scrollCurr));\r
+ setSelectedIndex(scrollCurr, !li.selected);\r
+\r
+ notifyStateChanged();\r
+ }\r
+ }\r
+ \r
+ protected void paint(Graphics g, int x, int y, int w, int h, boolean selected) {\r
+ if (label != null) {\r
+ g.drawString(label, x / Display.CHAR_WIDTH, y / Display.CHAR_HEIGHT, \r
+ (selected && (choiceType == Choice.POPUP)));\r
+ y += Display.CHAR_HEIGHT;\r
+ h -= Display.CHAR_HEIGHT;\r
+ }\r
+\r
+ if (h <= 0) {\r
+ // No items allowed to draw (especially for POPUP)\r
+ return;\r
+ }\r
+\r
+ // Update scrolling administration\r
+ int scrollLines = h / Display.CHAR_HEIGHT;\r
+ if (scrollCurr == 0) {\r
+ // Init top item\r
+ scrollFirst = 0;\r
+ scrollLast = scrollLines;\r
+ } else if ((choiceItems.size() >= scrollLines)\r
+ && (scrollCurr >= (choiceItems.size() - 1))) {\r
+ // Init bottom item\r
+ scrollFirst = choiceItems.size() - scrollLines;\r
+ scrollLast = choiceItems.size() - 1;\r
+ } else if (scrollCurr >= scrollLast) {\r
+ scrollFirst++;\r
+ scrollLast++;\r
+ } else if (scrollCurr < scrollFirst) {\r
+ scrollFirst--;\r
+ scrollLast--;\r
+ }\r
+ \r
+// TODO: Drawing a rectangle around menu would be nice, but is very slow \r
+// if (choiceType == Choice.POPUP) {\r
+// g.drawRect(x, y, w, h);\r
+// }\r
+ \r
+ // Display list items with current highlighted\r
+ int xOffset = (choiceType == Choice.POPUP) ? x : (x + 2 * Display.CHAR_WIDTH);\r
+ for (int i = scrollFirst; (i < choiceItems.size()) && (i <= scrollLast); i++) {\r
+ ChoiceItem li = ((ChoiceItem) choiceItems.get(i));\r
+ g.drawString(li.str, xOffset / Display.CHAR_WIDTH, y / Display.CHAR_HEIGHT, \r
+ (selected && (i == scrollCurr)));\r
+ \r
+ if ((choiceType == Choice.EXCLUSIVE) || (choiceType == Choice.MULTIPLE)) {\r
+ // Draw selection state\r
+ if (li.selected) {\r
+ g.fillArc(x, y, 8, 8, 0, 360);\r
+ } else {\r
+ g.drawArc(x, y, 8, 8, 0, 360);\r
+ }\r
+// } else if (choiceType == Choice.POPUP) {\r
+// TODO Filling remaing text withing rectangle is even slower...\r
+// for (int j = li.str.length(); j < (w * Display.CHAR_WIDTH); j++) {\r
+// g.drawChar(' ', xOffset + li.str.length() * Display.CHAR_WIDTH, \r
+// y / Display.CHAR_HEIGHT, (i == scrollCurr));\r
+// }\r
+ }\r
+ \r
+ y += Display.CHAR_HEIGHT;\r
+ h -= Display.CHAR_HEIGHT;\r
+ if (h <= 0) {\r
+ // No more items allowed\r
+ break;\r
+ }\r
+ }\r
+ }\r
+ \r
+ private class ChoiceItem {\r
+ String str;\r
+ Image img;\r
+ boolean selected;\r
+// Font font;\r
+\r
+ ChoiceItem(String stringPart, Image imagePart) {\r
+ this.str = stringPart;\r
+ this.img = imagePart;\r
+ this.selected = false;\r
+// this.font = null;\r
+ } \r
+ }\r
+}\r
--- /dev/null
+package javax.microedition.lcdui;\r
+\r
+/**\r
+ * \r
+ * @author Andre Nijholt\r
+ */\r
+public class Command {\r
+ public static final int SCREEN = 1;\r
+ public static final int BACK = 2;\r
+ public static final int CANCEL = 3;\r
+ public static final int OK = 4;\r
+ public static final int HELP = 5;\r
+ public static final int STOP = 6;\r
+ public static final int EXIT = 7;\r
+ public static final int ITEM = 8;\r
+\r
+ private int commandId;\r
+ private String longLabel;\r
+ private int commandType;\r
+ private int priority;\r
+ \r
+ public Command(int commandId, int commandType, int priority) {\r
+ this.commandId = commandId;\r
+ this.commandType = commandType;\r
+ this.priority = priority;\r
+ }\r
+ \r
+ public Command(int commandId, String longLabel, int commandType, int priority) {\r
+ this.commandId = commandId;\r
+ this.longLabel = longLabel;\r
+ this.commandType = commandType;\r
+ this.priority = priority;\r
+ }\r
+ \r
+ public int getCommandType() {\r
+ return commandType;\r
+ }\r
+ \r
+ public int getCommandId() {\r
+ return commandId;\r
+ }\r
+ \r
+ public String getLongLabel() {\r
+ return longLabel;\r
+ }\r
+ \r
+ public int getPriority() {\r
+ return priority;\r
+ }\r
+}\r
--- /dev/null
+package javax.microedition.lcdui;\r
+\r
+/**\r
+ * \r
+ * @author Andre Nijholt\r
+ */\r
+public interface CommandListener {\r
+ public void commandAction(Command c, Displayable d);\r
+}\r
--- /dev/null
+package javax.microedition.lcdui;\r
+\r
+import lejos.nxt.Button;\r
+import lejos.nxt.ButtonListener;\r
+import lejos.util.Timer;\r
+import lejos.util.TimerListener;\r
+\r
+/**\r
+ * \r
+ * @author Andre Nijholt\r
+ */\r
+public class Display {\r
+ private static final int TICKER_INTERVAL_MSEC = 500;\r
+\r
+ public static final int SCREEN_WIDTH = 100;\r
+ public static final int SCREEN_HEIGHT = 64;\r
+\r
+ public static final int CHAR_WIDTH = 6;\r
+ public static final int CHAR_HEIGHT = 8;\r
+\r
+ public static final int SCREEN_CHAR_WIDTH = SCREEN_WIDTH / CHAR_WIDTH;\r
+ public static final int SCREEN_CHAR_DEPTH = CHAR_HEIGHT;\r
+\r
+ private static Display display;\r
+ \r
+ private Screen current;\r
+ private Screen alertBackup;\r
+ private int alertTimeout;\r
+ \r
+ private Timer tickerTimer;\r
+ private int tickerOffset = SCREEN_CHAR_WIDTH;\r
+ \r
+ protected Graphics graphics;\r
+ private boolean quit;\r
+ \r
+ private Display() {\r
+ graphics = new Graphics();\r
+ }\r
+ \r
+ public static Display getDisplay() {\r
+ if (display == null) {\r
+ display = new Display();\r
+ }\r
+ \r
+ return display;\r
+ }\r
+ \r
+ public void setCurrent(Screen nextDisplayable) {\r
+ if (nextDisplayable != null) {\r
+ if (nextDisplayable instanceof Alert) {\r
+ alertBackup = current; \r
+ alertTimeout = (((Alert) nextDisplayable).getTimeout() == Alert.FOREVER) ? Alert.FOREVER\r
+ : ((int) System.currentTimeMillis()) + ((Alert) nextDisplayable).getTimeout();\r
+ }\r
+ if (current != null) {\r
+ current.hideNotify();\r
+ }\r
+ \r
+ tickerOffset = SCREEN_CHAR_WIDTH;\r
+ current = nextDisplayable;\r
+ current.showNotify();\r
+ current.repaint();\r
+ }\r
+ }\r
+ \r
+ public void setCurrent(Alert alert, Screen nextDisplayable) {\r
+ if ((alert != null) && (nextDisplayable != null)) {\r
+ alertBackup = nextDisplayable;\r
+ if (current != null) {\r
+ current.hideNotify();\r
+ }\r
+\r
+ // Store timeout for alert screen\r
+ alertTimeout = (alert.getTimeout() == Alert.FOREVER) ? Alert.FOREVER\r
+ : ((int) System.currentTimeMillis()) + alert.getTimeout();\r
+ \r
+ tickerOffset = SCREEN_CHAR_WIDTH;\r
+ current = alert;\r
+ current.showNotify();\r
+ current.repaint();\r
+ }\r
+ }\r
+ \r
+ public Displayable getCurrent() {\r
+ return current;\r
+ }\r
+ \r
+ /**\r
+ * Start displaying the installed menus\r
+ * \r
+ * @param polling true to poll for button updates (recommended)\r
+ */\r
+ public void show(boolean polling) {\r
+ if (!polling) {\r
+ // Use non-polling implementation\r
+ showUsingListeners();\r
+ return;\r
+ }\r
+\r
+ int btnPressed;\r
+ int tsTickerUpdate = (int) System.currentTimeMillis();\r
+ while (!quit) {\r
+ // Wait for button release\r
+ while (!quit && (Button.readButtons() > 0)) {\r
+ Thread.yield();\r
+ }\r
+ // Wait for button pressed and handle main timer checks\r
+ while (!quit && (Button.readButtons() == 0)) {\r
+ if (msecPassed(tsTickerUpdate)) {\r
+ int tickerLen = updateTicker(tickerOffset);\r
+ if (tickerLen > 0) {\r
+ tickerOffset--;\r
+ if (tickerOffset < -tickerLen) {\r
+ tickerOffset = SCREEN_CHAR_WIDTH;\r
+ }\r
+ }\r
+ tsTickerUpdate = (int) System.currentTimeMillis() + TICKER_INTERVAL_MSEC;\r
+ }\r
+ \r
+ if ((current != null) && (current instanceof Alert)\r
+ && (alertTimeout != Alert.FOREVER) && msecPassed(alertTimeout)) {\r
+ // Hide alert screen and replace backup without notify\r
+ current.hideNotify();\r
+ current = alertBackup;\r
+ }\r
+\r
+ // Handle repaint requests from outside\r
+ update();\r
+ Thread.yield();\r
+ }\r
+ // Check if menu to handle\r
+ if (current == null) {\r
+ continue;\r
+ }\r
+ \r
+ // Debounce button press\r
+ try {\r
+ Thread.sleep(20);\r
+ } catch (InterruptedException e) {}\r
+ \r
+ // Handle debounced button press\r
+ btnPressed = Button.readButtons();\r
+ if (btnPressed == 1) {\r
+ // ENTER button pressed\r
+ if (current instanceof Alert) {\r
+ // Hide alert screen and replace backup without notify\r
+ current.keyPressed(Displayable.KEY_ENTER);\r
+ current.hideNotify();\r
+ current = alertBackup;\r
+ } else {\r
+ current.keyPressed(Displayable.KEY_ENTER);\r
+ }\r
+ update();\r
+ } else if (btnPressed == 2) {\r
+ // LEFT button pressed\r
+ current.keyPressed(Displayable.KEY_LEFT);\r
+ update();\r
+ } else if (btnPressed == 4) {\r
+ // RIGHT button pressed\r
+ current.keyPressed(Displayable.KEY_RIGHT);\r
+ update();\r
+ } else if (btnPressed == 8) {\r
+ // ESCAPE button pressed\r
+ current.keyPressed(Displayable.KEY_BACK);\r
+ update();\r
+ }\r
+ }\r
+ \r
+ // End application\r
+ System.exit(0);\r
+ }\r
+ \r
+ public void quit() {\r
+ quit = true;\r
+ }\r
+ \r
+ private void showUsingListeners() {\r
+ Button.ENTER.addButtonListener(new ButtonListener() {\r
+ public void buttonReleased (Button b) {}\r
+ public void buttonPressed (Button b) {\r
+ if (current != null) {\r
+ if (current instanceof Alert) {\r
+ // Hide alert screen and replace backup without notify\r
+ current.keyPressed(Displayable.KEY_ENTER);\r
+ current.hideNotify();\r
+ current = alertBackup;\r
+ } else {\r
+ current.keyPressed(Displayable.KEY_ENTER);\r
+ }\r
+ update();\r
+ }\r
+ }\r
+ });\r
+ Button.ESCAPE.addButtonListener(new ButtonListener() {\r
+ public void buttonReleased (Button b) {}\r
+ public void buttonPressed (Button b) {\r
+ if (current != null) {\r
+ current.keyPressed(Displayable.KEY_BACK);\r
+ update();\r
+ }\r
+ }\r
+ });\r
+ Button.LEFT.addButtonListener(new ButtonListener() {\r
+ public void buttonReleased (Button b) {}\r
+ public void buttonPressed (Button b) {\r
+ if (current != null) {\r
+ current.keyPressed(Displayable.KEY_LEFT);\r
+ update();\r
+ }\r
+ }\r
+ });\r
+ Button.RIGHT.addButtonListener(new ButtonListener() {\r
+ public void buttonReleased (Button b) {}\r
+ public void buttonPressed (Button b) {\r
+ if (current != null) {\r
+ current.keyPressed(Displayable.KEY_RIGHT);\r
+ update();\r
+ }\r
+ }\r
+ });\r
+\r
+ tickerTimer = new Timer(500, new TimerListener() {\r
+ public void timedOut() {\r
+ int tickerLen = updateTicker(tickerOffset);\r
+ if (tickerLen > 0) {\r
+ tickerOffset--;\r
+ if (tickerOffset < -tickerLen) {\r
+ tickerOffset = SCREEN_CHAR_WIDTH;\r
+ }\r
+ }\r
+ }\r
+ });\r
+ tickerTimer.start();\r
+ \r
+ // Start update timer task\r
+ new Timer(50, new TimerListener() {\r
+ public void timedOut() {\r
+ if ((current != null) && (current instanceof Alert)\r
+ && (alertTimeout != Alert.FOREVER) && msecPassed(alertTimeout)) {\r
+ // Hide alert screen and replace backup without notify\r
+ current.hideNotify();\r
+ current = alertBackup;\r
+ }\r
+ \r
+ if (quit) {\r
+ System.exit(0);\r
+ }\r
+\r
+ update();\r
+ }\r
+ }).start();\r
+ }\r
+ \r
+ private void update() {\r
+ if (current.getPaintRequest()) {\r
+ graphics.clear();\r
+ updateTicker(tickerOffset);\r
+ \r
+ current.paint(graphics);\r
+ current.clearPaintRequest();\r
+ graphics.refresh();\r
+ }\r
+ }\r
+ \r
+ private int updateTicker(int offset) {\r
+ Ticker ticker = current.getTicker();\r
+ if (ticker != null) {\r
+ int tickerLen = ticker.getString().length();\r
+ for (int i = 0; i < SCREEN_CHAR_WIDTH; i++) {\r
+ if ((i >= offset) && ((i - offset) < tickerLen)) {\r
+ graphics.drawChar(ticker.getString().charAt(i - offset), \r
+ i * Display.CHAR_WIDTH, 0, false);\r
+ } else {\r
+ graphics.drawChar(' ', i * Display.CHAR_WIDTH, 0, false);\r
+ }\r
+ }\r
+ graphics.refresh();\r
+ return tickerLen;\r
+ }\r
+ \r
+ return 0;\r
+ }\r
+ \r
+ /**\r
+ * Returns true if the given timestamp passed\r
+ * \r
+ * @param ts Timestamp in milliseconds\r
+ * @return true if ts already passed, otherwise false\r
+ */\r
+ private boolean msecPassed(int ts) {\r
+ return (((int) System.currentTimeMillis() - ts) > 0);\r
+ }\r
+}\r
--- /dev/null
+package javax.microedition.lcdui;\r
+\r
+import java.util.ArrayList;\r
+\r
+/**\r
+ * \r
+ * @author Andre Nijholt\r
+ */\r
+public class Displayable {\r
+ public static final int KEY_LEFT = 37; // Left key\r
+ public static final int KEY_ENTER = 38; // Up key\r
+ public static final int KEY_RIGHT = 39; // Right key\r
+ public static final int KEY_BACK = 40; // Down key\r
+\r
+ private boolean paintRequest;\r
+\r
+ protected ArrayList commands = new ArrayList();\r
+ protected CommandListener cmdListener;\r
+\r
+ protected Ticker ticker;\r
+ protected String title;\r
+ protected int height;\r
+ protected int width;\r
+ protected boolean shown;\r
+ \r
+ public int getHeight() {\r
+ return height;\r
+ }\r
+ \r
+ public void setTicker(Ticker ticker) {\r
+ this.ticker = ticker;\r
+ }\r
+\r
+ public Ticker getTicker() {\r
+ return ticker;\r
+ }\r
+ \r
+ public String getTitle() {\r
+ return title;\r
+ }\r
+ \r
+ public int getWidth() {\r
+ return width;\r
+ }\r
+ \r
+ public boolean isShown() {\r
+ return shown;\r
+ }\r
+ \r
+ public void addCommand(Command cmd) {\r
+ commands.add(cmd);\r
+ }\r
+\r
+ public void removeCommand(Command cmd) {\r
+ commands.remove(commands.indexOf(cmd));\r
+ }\r
+ \r
+ public void setCommandListener(CommandListener l) {\r
+ cmdListener = l;\r
+ }\r
+ \r
+ protected void callCommandListener() {\r
+ for (int i = 0; (i < commands.size()) && (cmdListener != null); i++) {\r
+ cmdListener.commandAction((Command) commands.get(i), this);\r
+ }\r
+ }\r
+ \r
+ public void setTicker(int ticker) {\r
+ \r
+ }\r
+ \r
+ public void setTitle(String s) {\r
+ this.title = s;\r
+ }\r
+ \r
+ protected void sizeChanged(int w, int h) {\r
+ width = w;\r
+ height = h;\r
+ }\r
+ \r
+ public boolean getPaintRequest() {\r
+ return paintRequest;\r
+ }\r
+ \r
+ public void clearPaintRequest() {\r
+ paintRequest = false;\r
+ }\r
+ \r
+ public void repaint() {\r
+ paintRequest = true;\r
+ }\r
+}\r
--- /dev/null
+package javax.microedition.lcdui;\r
+\r
+/**\r
+ * \r
+ * @author Andre Nijholt\r
+ */\r
+public class Font {\r
+\r
+}\r
--- /dev/null
+package javax.microedition.lcdui;\r
+\r
+import java.util.ArrayList;\r
+\r
+/**\r
+ * \r
+ * @author Andre Nijholt\r
+ */\r
+public class Form extends Screen implements CommandListener {\r
+ private static final Command EDIT_COMMAND = new Command(1, Command.SCREEN, 0);\r
+ private ItemStateListener itemStateListener;\r
+ \r
+ private ArrayList items = new ArrayList();\r
+ private int curItemIdx = 0;\r
+ private boolean selectedItem;\r
+ private int height;\r
+ private int width;\r
+ \r
+ private TextBox editBox;\r
+ \r
+ public Form(String title) {\r
+ this.title = title;\r
+ editBox = new TextBox(null, null, 0, TextField.ANY);\r
+ editBox.setCommandListener(this);\r
+ editBox.addCommand(EDIT_COMMAND);\r
+ }\r
+ \r
+ public Form(String title, Item[] items) {\r
+ this.title = title;\r
+ for (int i = 0; (items != null) && (i < items.length); i++) {\r
+ this.items.add(items[i]);\r
+ }\r
+ }\r
+ \r
+ public int append(Image img) {\r
+ items.add(img);\r
+ return (items.size() - 1);\r
+ }\r
+\r
+ public int append(Item item) {\r
+ items.add(item);\r
+ return (items.size() - 1);\r
+ }\r
+\r
+ public int append(String str) {\r
+ items.add(str);\r
+ return (items.size() - 1);\r
+ }\r
+ \r
+ public void delete(int itemNum) {\r
+ items.remove(itemNum);\r
+ }\r
+ \r
+ public void deleteAll() {\r
+ items.clear();\r
+ }\r
+ \r
+ public Object get(int itemNum) {\r
+ return items.get(itemNum);\r
+ }\r
+ \r
+ public void set(int itemNum, Item item) {\r
+ items.set(itemNum, item);\r
+ }\r
+ \r
+ public void insert(int itemNum, Item item) {\r
+ items.add(itemNum, item);\r
+ }\r
+ \r
+ public int getHeight() {\r
+ return height;\r
+ }\r
+ \r
+ public int getWidth() {\r
+ return width;\r
+ }\r
+ \r
+ public int size() {\r
+ return items.size();\r
+ }\r
+\r
+ public void setItemStateListener(ItemStateListener i) {\r
+ this.itemStateListener = i;\r
+ }\r
+\r
+ protected void callItemStateListener() {\r
+ Object o = items.get(curItemIdx);\r
+ if ((itemStateListener != null) && (o instanceof Item)) {\r
+ itemStateListener.itemStateChanged((Item) o);\r
+ }\r
+ }\r
+\r
+ protected void keyPressed(int keyCode) {\r
+ if (selectedItem && curItemIdx >= 0) {\r
+ if ((keyCode == Screen.KEY_RIGHT) \r
+ || (keyCode == Screen.KEY_LEFT) \r
+ || (keyCode == Screen.KEY_ENTER)) {\r
+ // Update currently selected item\r
+ ((Item) items.get(curItemIdx)).keyPressed(keyCode);\r
+ } else if (keyCode == Screen.KEY_BACK) { \r
+ Object o = items.get(curItemIdx);\r
+ if (o instanceof TextField) {\r
+ // Update currently selected TextField until keyboard enter pressed\r
+ editBox.keyPressed(keyCode);\r
+ } else {\r
+ // Notify item changed and leave current selection\r
+ callItemStateListener();\r
+ selectedItem = false;\r
+ }\r
+ } \r
+ } else {\r
+ // Select new item\r
+ if (keyCode == Screen.KEY_RIGHT) {\r
+ for (int i = curItemIdx + 1; i != curItemIdx; i++) {\r
+ // Wrap when last item checked\r
+ if (i >= items.size()) {\r
+ i = 0;\r
+ }\r
+ \r
+ Object o = items.get(i);\r
+ if ((o instanceof Item) && (((Item) o).isInteractive())) {\r
+ curItemIdx = i;\r
+ break;\r
+ }\r
+ }\r
+ } else if (keyCode == Screen.KEY_LEFT) {\r
+ for (int i = curItemIdx - 1; i != curItemIdx; i--) {\r
+ // Wrap when first item checked\r
+ if (i < 0) {\r
+ i = (items.size() - 1);\r
+ }\r
+ \r
+ Object o = items.get(i);\r
+ if ((o instanceof Item) && (((Item) o).isInteractive())) {\r
+ curItemIdx = i;\r
+ break;\r
+ }\r
+ }\r
+ } else if (keyCode == Screen.KEY_BACK) {\r
+ for (int i = 0; i < commands.size(); i++) {\r
+ callCommandListener();\r
+ }\r
+ } else if (keyCode == Screen.KEY_ENTER) {\r
+ Object o = items.get(curItemIdx);\r
+ if (o instanceof TextField) {\r
+ // Show text box for editing\r
+ editBox.setTitle(((TextField) o).getLabel());\r
+ editBox.setText(((TextField) o).getText());\r
+ editBox.setMaxSize(((TextField) o).getMaxSize());\r
+ editBox.setConstraints(((TextField) o).getConstraints());\r
+ Display.getDisplay().setCurrent(editBox);\r
+ } else {\r
+ // Set current selection\r
+ selectedItem = true;\r
+ }\r
+ }\r
+ }\r
+ repaint();\r
+ }\r
+\r
+ public void commandAction(Command c, Displayable d) {\r
+ if ((c == EDIT_COMMAND) && (d == editBox)) {\r
+ // Update textfield and return to form display\r
+ TextField tf = (TextField) items.get(curItemIdx);\r
+ tf.setText(editBox.getText());\r
+ callItemStateListener();\r
+ Display.getDisplay().setCurrent(this);\r
+ }\r
+ }\r
+\r
+ public void paint(Graphics g) {\r
+ int curX = 0;\r
+ int curY = 0;\r
+ int curWidth;\r
+ int curHeight;\r
+\r
+ ChoiceGroup activePopup = null;\r
+ int popupX = 0;\r
+ int popupY = 0;\r
+\r
+ // Draw title on entire line\r
+ if (title != null) {\r
+ g.drawString(title, 0, 0);\r
+ curY += Display.CHAR_HEIGHT;\r
+ }\r
+ \r
+ // Draw all items\r
+ for (int i = 0; i < items.size(); i++) {\r
+ // Calculate position and size for current item\r
+ curWidth = getItemWidth(i);\r
+ curHeight = getItemHeight(i);\r
+ if (((curX + curWidth) < Display.SCREEN_WIDTH)\r
+ && ((curX + curWidth + getItemWidth(i + 1)) > Display.SCREEN_WIDTH)) {\r
+ // Next item doesn't fit on current line: allow entire line for current item\r
+ curWidth = Display.SCREEN_WIDTH - curX;\r
+ }\r
+\r
+ // Draw current item\r
+ Object o = items.get(i);\r
+ if (o instanceof Image) {\r
+ g.drawImage((Image) o, curX, curY, false);\r
+ } else if (o instanceof String) {\r
+ g.drawString(((String) o), curX / Display.CHAR_WIDTH, curY / Display.CHAR_HEIGHT);\r
+ } else if (o instanceof Item) {\r
+ ((Item) o).paint(g, curX, curY, curWidth, curHeight, (i == curItemIdx));\r
+ \r
+ if (selectedItem && (i == curItemIdx) && (o instanceof ChoiceGroup)\r
+ && (((ChoiceGroup) o).choiceType == Choice.POPUP)) {\r
+ // Draw popup window again after all items drawn\r
+ activePopup = (ChoiceGroup) o;\r
+ popupX = curX;\r
+ popupY = curY;\r
+ }\r
+ }\r
+ \r
+ if ((curX + curWidth) < Display.SCREEN_WIDTH) {\r
+ // Draw next item on current line\r
+ curX += curWidth;\r
+ if (curHeight > Display.CHAR_HEIGHT) {\r
+ curY += (curHeight - Display.CHAR_HEIGHT);\r
+ }\r
+ } else {\r
+ // Start new line and draw item\r
+ curX = 0;\r
+ curY += curHeight;\r
+ }\r
+ }\r
+ \r
+ // Draw popup menu above currently drawn items\r
+ if (activePopup != null) {\r
+ int popupHeight = ((activePopup.label != null) ? Display.CHAR_HEIGHT : 0)\r
+ + (activePopup.size() * Display.CHAR_HEIGHT);\r
+ if ((popupY + popupHeight) > Display.SCREEN_HEIGHT) {\r
+ popupHeight = Display.SCREEN_HEIGHT - popupY;\r
+ }\r
+ activePopup.paint(g, popupX, popupY, activePopup.getMinimumWidth(), \r
+ popupHeight, true);\r
+ }\r
+ }\r
+ \r
+ private int getItemWidth(int itemIdx) {\r
+ if (itemIdx >= items.size()) {\r
+ return 0;\r
+ }\r
+ \r
+ Object o = items.get(itemIdx);\r
+ if (o instanceof Image) {\r
+ return ((Image) o).getWidth();\r
+ } else if (o instanceof String) {\r
+ return ((String) o).length() * Display.CHAR_WIDTH;\r
+ } else if (o instanceof Item) {\r
+ return Math.max(((Item) o).getMinimumWidth(), ((Item) o).getPreferredWidth());\r
+ }\r
+\r
+ return 0;\r
+ }\r
+\r
+ private int getItemHeight(int itemIdx) {\r
+ if (itemIdx >= items.size()) {\r
+ return 0;\r
+ }\r
+ \r
+ Object o = items.get(itemIdx);\r
+ int height = 0;\r
+ if (o instanceof Image) {\r
+ height = ((Image) o).getHeight();\r
+ } else if (o instanceof String) {\r
+ // Always single line string\r
+ height = Display.CHAR_HEIGHT;\r
+ } else if (o instanceof Item) {\r
+ height = Math.max(((Item) o).getMinimumHeight(), ((Item) o).getPreferredHeight());\r
+ }\r
+\r
+ // Round to multiple of line height\r
+ height = (((height + Display.CHAR_HEIGHT - 1) / Display.CHAR_HEIGHT)) * Display.CHAR_HEIGHT;\r
+ return height;\r
+ }\r
+}\r
--- /dev/null
+package javax.microedition.lcdui;\r
+\r
+/**\r
+ * \r
+ * @author Andre Nijholt\r
+ */\r
+public class Gauge extends Item {\r
+ private int maxValue;\r
+ private int curValue;\r
+ \r
+ public Gauge(String label, boolean interactive, int maxValue, int initialValue) {\r
+ this.label = label;\r
+ this.interactive = interactive;\r
+ this.maxValue = maxValue;\r
+ this.curValue = initialValue;\r
+ \r
+ if (label != null) {\r
+ minWidth = (label.length() * Display.CHAR_WIDTH) + (2 * maxValue);\r
+ minHeight = ((minWidth < Display.SCREEN_WIDTH) && (maxValue <= Display.CHAR_HEIGHT))\r
+ ? Display.CHAR_HEIGHT : (Display.CHAR_HEIGHT + maxValue);\r
+ } else {\r
+ minWidth = 2 * maxValue;\r
+ minHeight = maxValue;\r
+ }\r
+ }\r
+ \r
+ public int getMaxValue() {\r
+ return maxValue;\r
+ }\r
+ \r
+ public void setMaxValue(int maxValue) {\r
+ this.maxValue = maxValue;\r
+ }\r
+ \r
+ public int getValue() {\r
+ return curValue;\r
+ }\r
+ \r
+ public void setValue(int value) {\r
+ this.curValue = value;\r
+ \r
+ // Check value bounds\r
+ if (curValue < 0) {\r
+ curValue = 0;\r
+ } else if (curValue > maxValue) {\r
+ curValue = maxValue;\r
+ }\r
+ \r
+ repaint();\r
+ }\r
+ \r
+ protected void keyPressed(int keyCode) {\r
+ if (keyCode == Screen.KEY_RIGHT) {\r
+ if (interactive && (curValue < maxValue)) {\r
+ curValue++;\r
+ }\r
+ repaint();\r
+ } else if (keyCode == Screen.KEY_LEFT) {\r
+ if (interactive && (curValue > 0)) {\r
+ curValue--;\r
+ }\r
+ repaint();\r
+ } else if ((keyCode == Screen.KEY_BACK) || (keyCode == Screen.KEY_ENTER)) {\r
+ notifyStateChanged();\r
+ }\r
+ }\r
+\r
+ public void paint(Graphics g, int x, int y, int w, int h, boolean selected) {\r
+ int barWidth = w / maxValue;\r
+ int barIncr = h / maxValue;\r
+ int barOffset = 0;\r
+ \r
+ if (label != null) {\r
+ g.drawString(label, x / Display.CHAR_WIDTH, y / Display.CHAR_HEIGHT, selected);\r
+ \r
+ if (h > Display.CHAR_HEIGHT) {\r
+ barIncr = (h - Display.CHAR_HEIGHT) / maxValue;\r
+ } else {\r
+ barOffset = (label.length() * Display.CHAR_WIDTH);\r
+ barWidth = (w - barOffset) / maxValue;\r
+ }\r
+ }\r
+\r
+ for (int i = 0; i < curValue; i++) {\r
+ int barHeight = (i + 1) * barIncr;\r
+ g.fillRect(barOffset + (i * barWidth), y + h - barHeight, (barWidth >> 1), barHeight);\r
+ }\r
+ }\r
+}\r
\r
import lejos.nxt.LCD;\r
\r
+\r
/**\r
* Preliminary Graphics class for LCD Screen\r
* @author Brian Bagnall\r
/** drawArc and fillArc accuracy parameter */\r
private static final int ARC_ACC = 5;\r
\r
- private static final byte HEIGHT = 64; // Pixels\r
- private static final byte WIDTH = 100; // Pixels\r
-\r
/* Public color definitions */\r
public static final int BLACK = 1;\r
public static final int WHITE = 0;\r
public static final int SOLID = 0;\r
public static final int DOTTED = 2;\r
\r
- private int [] buff;\r
private int rgbColor = BLACK;\r
private int strokeStyle = SOLID;\r
\r
- public Graphics() {\r
- buff = new int[HEIGHT*WIDTH/32];\r
+ public Graphics() {}\r
+ \r
+ public int getWidth() {\r
+ return LCD.DISPLAY_WIDTH;\r
+ }\r
+ \r
+ public int getHeight() {\r
+ return 2 * LCD.DISPLAY_DEPTH;\r
+ }\r
+ \r
+ public int getCenteredX(String str) {\r
+ return (LCD.DISPLAY_CHAR_WIDTH - str.length()) / 2;\r
}\r
\r
/**\r
* setPixel() method is used later it will need color argument\r
*/\r
public void setPixel(int rgbColor, int x, int y) {\r
- if(x<0||x>=WIDTH||y<0||y>=HEIGHT) return; // Test-Modify for speed\r
- int xChar = x / 4;\r
- int yChar = y / 8;\r
- int index = yChar * 25 + xChar;\r
- int specificBit = (y % 8) + ((x % 4) * 8);\r
- buff[index] = buff[index] | (rgbColor << specificBit);\r
+ LCD.setPixel(rgbColor, x, y);\r
}\r
\r
public void drawLine(int x0, int y0, int x1, int y1) {\r
private void drawArc(int x, int y, int width, int height, int startAngle, int arcAngle, \r
int style, boolean fill) {\r
// Scale up width and height to create more accurate ellipse form\r
- int xscale = (width < height) ? ARC_ACC : ((ARC_ACC * width + (width >> 1)) / \r
-\r
-height);\r
- int yscale = (width < height) ? ((ARC_ACC * height + (height >> 1)) / width) : \r
-\r
-ARC_ACC;\r
+ int xscale = (width < height) ? ARC_ACC : ((ARC_ACC * width + (width >> 1)) / height);\r
+ int yscale = (width < height) ? ((ARC_ACC * height + (height >> 1)) / width) : ARC_ACC;\r
\r
// Calculate x, y center and radius from upper left corner\r
int x0 = x + (width >> 1);\r
\r
// Calculate angle for partly circles / ellipses\r
// NOTE: Below, (float) should not be needed. Not sure why Math.round() only accepts float.\r
- int tp = (int) Math.round((float)Math.toDegrees(Math.atan2(yc, xc)));\r
+ int tp = (int) Math.round((float) Math.toDegrees(Math.atan2(yc, xc)));\r
if (fill) {\r
/* TODO: Optimize more by drawing horizontal lines */\r
if (((90 - tp) >= startAngle) && ((90 - tp) <= endAngle))\r
}\r
}\r
\r
- public void drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) \r
-\r
-{\r
+ public void drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) {\r
\r
int xc = x + (width/2);\r
int yc = y + (height/2);\r
//setPixel(rgbColor, j, i);\r
}\r
\r
- \r
public void drawString(String str, int x, int y) {\r
- LCD.drawString(str, x, y);\r
+ drawString(str, x, y, false);\r
+ }\r
+ \r
+ public void drawString(String str, int x, int y, boolean invert) {\r
+ LCD.drawString(str, x, y, invert);\r
+ }\r
+ \r
+ public void drawChar(char c, int x, int y, boolean invert) {\r
+ LCD.drawChar(c, x, y, invert);\r
+ }\r
+ \r
+ public void drawImage(Image img, int x, int y, boolean invert) {\r
+ if (img == null) {\r
+ return;\r
+ }\r
+ \r
+ byte[] imgData = img.getData();\r
+ for (int iy = y; iy < (y + img.getHeight()); iy += 8) {\r
+ int yOffset = ((iy - y) / 8) * img.getWidth();\r
+ for (int ix = x; ix < (x + img.getWidth()); ix++) {\r
+ LCD.drawPixels(imgData[yOffset + (ix - x)], ix, iy, invert);\r
+ }\r
+ }\r
}\r
\r
public int getStrokeStyle() {\r
\r
// Temp for testing purposes until Canvas made.\r
public void refresh() {\r
- LCD.setDisplay(buff);\r
- LCD.refresh(); // Unsure if needed\r
+ LCD.setDisplay();\r
+ LCD.refresh();\r
}\r
\r
// Temp method for testing. Clears out graphics buffer\r
// and refreshes screen.\r
public void clear() {\r
- for(int i=0;i<buff.length;i++)\r
- buff[i] = 0;\r
- refresh();\r
+ LCD.clearDisplay();\r
}\r
}\r
+\r
+/*\r
+class LCD extends JPanel {\r
+ public static final int SCREEN_WIDTH = 100;\r
+ public static final int SCREEN_HEIGHT = 64;\r
+ public static final int SCREEN_SCALE = 4;\r
+\r
+ public static int [] screenBuf;\r
+ public Graphics nxjGraphics;\r
+ \r
+ // drawArc and fillArc parameters\r
+ int x = 10;\r
+ int y = 10;\r
+ int width = 80;\r
+ int height = 50;\r
+ int start = 0;\r
+ int angle = -135;\r
+ \r
+ public LCD() {\r
+ setBackground(Color.WHITE);\r
+ setPreferredSize(new Dimension(SCREEN_SCALE * SCREEN_WIDTH, \r
+ SCREEN_SCALE * SCREEN_HEIGHT));\r
+\r
+ nxjGraphics = new Graphics();\r
+ nxjGraphics.setStrokeStyle(Graphics.DOTTED);\r
+ nxjGraphics.drawLine(0, 0, 100, 64);\r
+ nxjGraphics.fillArc(x, y, width, height, start, angle);\r
+ nxjGraphics.drawArc(10, 10, 20, 40, 0, 360);\r
+// nxjGraphics.drawRoundRect(75, 5, 20, 10, 45, 45);\r
+ nxjGraphics.refresh();\r
+ repaint();\r
+ }\r
+\r
+ public static void drawString(String str, int x, int y) {}\r
+ public static void setDisplay(int [] buff) {\r
+ screenBuf = buff;\r
+ }\r
+ public static void refresh() {}\r
+ \r
+ public synchronized void paint(java.awt.Graphics g) {\r
+ int w = getSize().width;\r
+ int h = getSize().height;\r
+\r
+ java.awt.Graphics2D g2 = (java.awt.Graphics2D) g;\r
+ g2.setBackground(getBackground());\r
+ g2.clearRect(0, 0, w, h); \r
+ \r
+ // Draw example image for verification\r
+ g2.setColor(Color.RED);\r
+ g2.fillArc(SCREEN_SCALE * x, SCREEN_SCALE * y, SCREEN_SCALE * width, \r
+ SCREEN_SCALE * height, start, angle);\r
+ g2.drawRect(300, 20, 80, 40);\r
+ g2.drawRoundRect(300, 20, 80, 40, 45, 30);\r
+\r
+ // Draw NXJ image\r
+ g2.setColor(Color.BLACK);\r
+ for (int xp = 0; xp < 100; xp++) {\r
+ for (int yp = 0; yp < 64; yp++) {\r
+ if (xp < 0 || xp >= 100 || yp < 0 || yp >= 64) continue;\r
+ int xChar = xp / 4;\r
+ int yChar = yp / 8;\r
+ int index = yChar * 25 + xChar;\r
+ int specificBit = (yp % 8) + ((xp % 4) * 8);\r
+ if ((screenBuf[index] & (1 << specificBit)) != 0) {\r
+ g2.drawRect(SCREEN_SCALE * xp, SCREEN_SCALE * yp, \r
+ SCREEN_SCALE, SCREEN_SCALE);\r
+ }\r
+ }\r
+ } \r
+ }\r
+}\r
+\r
+class TestApp extends JFrame {\r
+ public TestApp() {\r
+ // End application when window is closed\r
+ addWindowListener(new WindowAdapter() {\r
+ public void windowClosing(WindowEvent e) {\r
+ System.exit(0);\r
+ }\r
+ });\r
+\r
+ setTitle("NXJ Grapics test app");\r
+ getContentPane().add(new LCD());\r
+ pack();\r
+ show();\r
+ }\r
+\r
+ public static void main(String[] args) {\r
+ new TestApp();\r
+ }\r
+}\r
+\r
+*/
\ No newline at end of file
--- /dev/null
+package javax.microedition.lcdui;\r
+\r
+/**\r
+ * \r
+ * @author Andre Nijholt\r
+ */\r
+public class Image {\r
+ private int width;\r
+ private int height;\r
+ private byte[] data;\r
+ \r
+ public Image(int width, int height, byte[] data) {\r
+ this.width = width;\r
+ this.height = height;\r
+ this.data = data;\r
+ }\r
+ \r
+ public int getWidth() {\r
+ return width;\r
+ }\r
+ \r
+ public int getHeight() {\r
+ return height;\r
+ }\r
+ \r
+ public byte[] getData() {\r
+ return data;\r
+ }\r
+}\r
--- /dev/null
+package javax.microedition.lcdui;\r
+\r
+import java.util.ArrayList;\r
+\r
+/**\r
+ * \r
+ * @author Andre Nijholt\r
+ */\r
+public abstract class Item {\r
+ protected String label;\r
+ protected int minWidth;\r
+ protected int minHeight;\r
+ protected int prefWidth;\r
+ protected int prefHeight;\r
+ \r
+ protected boolean interactive = false;\r
+ \r
+ protected ItemCommandListener cmdListener;\r
+ protected ArrayList commands = new ArrayList();\r
+\r
+ private boolean paintRequest;\r
+\r
+ void setLabel(String label) {\r
+ this.label = label;\r
+ }\r
+ \r
+ public String getLabel() {\r
+ return label;\r
+ }\r
+ \r
+ public int getMinimumHeight() {\r
+ return minHeight;\r
+ }\r
+ \r
+ public int getMinimumWidth() {\r
+ return minWidth;\r
+ }\r
+ \r
+ public int getPreferredHeight() {\r
+ return prefHeight;\r
+ }\r
+ \r
+ public int getPreferredWidth() {\r
+ return prefWidth;\r
+ }\r
+ \r
+ public void setPreferredSize(int width, int height) {\r
+ this.prefWidth = width;\r
+ this.prefHeight = height;\r
+ }\r
+ \r
+ public boolean isInteractive() {\r
+ return interactive;\r
+ }\r
+ \r
+ public void notifyStateChanged() {\r
+ // Notify ItemStateListener\r
+ for (int i = 0; (i < commands.size()) && (cmdListener != null); i++) {\r
+ cmdListener.commandAction((Command) commands.get(i), this);\r
+ }\r
+ }\r
+\r
+ public void addCommand(Command cmd) {\r
+ commands.add(cmd);\r
+ }\r
+\r
+ public void removeCommand(Command cmd) {\r
+ commands.remove(commands.indexOf(cmd));\r
+ }\r
+ \r
+ public void setItemCommandListener(ItemCommandListener l) {\r
+ cmdListener = l;\r
+ }\r
+ \r
+// protected void callItemCommandListener() {\r
+// for (int i = 0; (i < commands.size()) && (cmdListener != null); i++) {\r
+// cmdListener.commandAction((Command) commands.get(i), this);\r
+// }\r
+// }\r
+ \r
+ public boolean getPaintRequest() {\r
+ return paintRequest;\r
+ }\r
+\r
+ protected void repaint() {\r
+ paintRequest = true;\r
+ }\r
+\r
+ protected void keyPressed(int keyCode) {}\r
+ protected void keyReleased(int keyCode) {}\r
+ \r
+ protected void showNotify() {}\r
+ protected void hideNotify() {}\r
+ \r
+ protected abstract void paint(Graphics g, int x, int y, int w, int h, boolean selected);\r
+}\r
--- /dev/null
+package javax.microedition.lcdui;\r
+\r
+/**\r
+ * \r
+ * @author Andre Nijholt\r
+ */\r
+public interface ItemCommandListener {\r
+ public void commandAction(Command c, Item d);\r
+}\r
--- /dev/null
+package javax.microedition.lcdui;\r
+\r
+/**\r
+ * \r
+ * @author Andre Nijholt\r
+ */\r
+public interface ItemStateListener {\r
+ public void itemStateChanged(Item item) ;\r
+}\r
--- /dev/null
+package javax.microedition.lcdui;\r
+\r
+import java.util.ArrayList;\r
+\r
+/**\r
+ * \r
+ * @author Andre Nijholt\r
+ */\r
+public class List extends Screen implements Choice {\r
+ /** Default command for implicit lists */\r
+ private final Command SELECT_COMMAND = new Command(0, Command.SCREEN, 0);\r
+\r
+ protected int listType;\r
+ protected ArrayList listItems;\r
+// private int fitPolicy;\r
+ \r
+ /** Scrolling administration */\r
+ private int scrollFirst = 0;\r
+ private int scrollCurr = 0;\r
+ private int scrollLast = 0;\r
+ private boolean scrollWrap = true;\r
+ \r
+ public List(String title, int listType) {\r
+ if (listType == Choice.POPUP) {\r
+ // Type POPUP not allowed\r
+ throw new IllegalArgumentException();\r
+ }\r
+ this.title = title;\r
+ this.listType = listType;\r
+ listItems = new ArrayList();\r
+ }\r
+ \r
+ public List(String title, int listType, String[] stringElements, Image[] imageElements) {\r
+ if (listType == Choice.POPUP) {\r
+ // Type POPUP not allowed\r
+ throw new IllegalArgumentException();\r
+ }\r
+ this.title = title;\r
+ this.listType = listType;\r
+\r
+ listItems = new ArrayList(stringElements.length);\r
+ for (int i = 0; i < stringElements.length; i++) {\r
+ listItems.add(new ListItem(stringElements[i], imageElements[i]));\r
+ scrollLast++;\r
+ }\r
+ }\r
+\r
+ public int append(String stringPart, Image imagePart) {\r
+ listItems.add(new ListItem(stringPart, imagePart));\r
+ scrollLast++;\r
+ return listItems.size();\r
+ }\r
+ \r
+ public void delete(int elementNum) {\r
+ scrollLast--;\r
+ listItems.remove(elementNum);\r
+ }\r
+ \r
+ public void deleteAll() {\r
+ scrollLast = 0;\r
+ listItems.clear();\r
+ }\r
+\r
+// TODO: FitPolicy currently not supported: no wrapping allowed\r
+// public int getFitPolicy() {\r
+// return fitPolicy;\r
+// }\r
+// \r
+// public void setFitPolicy(int fitPolicy) {\r
+// this.fitPolicy = fitPolicy;\r
+// }\r
+\r
+// TODO: Multiple fonts currently not supported \r
+// public Font getFont(int elementNum) {\r
+// return ((ListItem) listItems.get(elementNum)).font;\r
+// }\r
+// \r
+// public void setFont(int elementNum, Font font) {\r
+// ((ListItem) listItems.get(elementNum)).font = font;\r
+// } \r
+\r
+ public Image getImage(int elementNum) {\r
+ return ((ListItem) listItems.get(elementNum)).img;\r
+ }\r
+\r
+ public int getSelectedFlags(boolean[] selectedArray_return) {\r
+ selectedArray_return = new boolean[listItems.size()];\r
+ for (int i = 0; i < selectedArray_return.length; i++) {\r
+ selectedArray_return[i] = ((ListItem) listItems.get(i)).selected;\r
+ }\r
+ \r
+ return selectedArray_return.length;\r
+ }\r
+\r
+ public int getSelectedIndex() {\r
+ for (int i = 0; i < listItems.size(); i++) {\r
+ if (((ListItem) listItems.get(i)).selected) {\r
+ return i;\r
+ }\r
+ }\r
+\r
+ return -1;\r
+ }\r
+ public String getString(int elementNum) {\r
+ return ((ListItem) listItems.get(elementNum)).str;\r
+ } \r
+ \r
+ public void insert(int elementNum, String stringPart, Image imagePart) {\r
+ listItems.add(elementNum, new ListItem(stringPart, imagePart));\r
+ }\r
+ \r
+ public boolean isSelected(int elementNum) {\r
+ return ((ListItem) listItems.get(elementNum)).selected;\r
+ }\r
+\r
+ public void set(int elementNum, String stringPart, Image imagePart) {\r
+ listItems.set(elementNum, new ListItem(stringPart, imagePart));\r
+ }\r
+ \r
+ public void setScrollWrap(boolean scrollWrap) {\r
+ this.scrollWrap = scrollWrap;\r
+ }\r
+\r
+ public void setSelectedFlags(boolean[] selectedArray) {\r
+ for (int i = 0; i < listItems.size(); i++) {\r
+ ((ListItem) listItems.get(i)).selected = selectedArray[i];\r
+ }\r
+ } \r
+\r
+ public void setSelectedIndex(int elementNum, boolean selected) {\r
+ if ((listType == Choice.MULTIPLE) || !selected) {\r
+ // Just set/clear selection\r
+ ((ListItem) listItems.get(elementNum)).selected = selected; \r
+ } else {\r
+ // Set single selection for these types\r
+ for (int i = 0; i < listItems.size(); i++) {\r
+ ListItem li = ((ListItem) listItems.get(i));\r
+ li.selected = (i == elementNum);\r
+ }\r
+ } \r
+ }\r
+ \r
+ public int size() {\r
+ return listItems.size();\r
+ }\r
+ \r
+ protected void keyPressed(int keyCode) {\r
+ if (keyCode == KEY_RIGHT) {\r
+ if (scrollWrap) {\r
+ scrollCurr = (scrollCurr + 1) % listItems.size();\r
+ } else if (scrollCurr < (listItems.size() - 1)) {\r
+ scrollCurr++;\r
+ }\r
+ repaint();\r
+ } else if (keyCode == KEY_LEFT) {\r
+ if (scrollWrap) {\r
+ scrollCurr = (scrollCurr == 0) \r
+ ? (listItems.size() - 1) : (scrollCurr - 1);\r
+ } else if (scrollCurr > 0) {\r
+ scrollCurr--;\r
+ }\r
+ repaint();\r
+ } else if (keyCode == KEY_BACK) {\r
+ callCommandListener();\r
+ } else if (keyCode == KEY_ENTER) {\r
+ ListItem li = ((ListItem) listItems.get(scrollCurr));\r
+ setSelectedIndex(scrollCurr, !li.selected);\r
+\r
+// if ((listType == Choice.IMPLICIT) || (listType == Choice.EXCLUSIVE)) {\r
+// // Set single selection for these types\r
+// for (int i = 0; i < listItems.size(); i++) {\r
+// if ((scrollCurr == i)) {\r
+// // Toggle selection (discard current state when IMPLICIT)\r
+// ListItem li = ((ListItem) listItems.get(scrollCurr));\r
+// setSelectedIndex(scrollCurr, (listType == Choice.IMPLICIT)\r
+// ? true : !li.selected); \r
+// } else {\r
+// // Multiple items cannot be selected for this listType\r
+// setSelectedIndex(i, false);\r
+// }\r
+// }\r
+// } else {\r
+// // Toggle selection\r
+// ListItem li = ((ListItem) listItems.get(scrollCurr));\r
+// setSelectedIndex(scrollCurr, !li.selected);\r
+// }\r
+ \r
+ // Send selection command for implicit list only\r
+ if ((listType == Choice.IMPLICIT) && (cmdListener != null)) {\r
+ cmdListener.commandAction(SELECT_COMMAND, this);\r
+ } \r
+ repaint();\r
+ }\r
+ }\r
+ \r
+ protected void paint(Graphics g) {\r
+ int lineIdx = 0;\r
+\r
+ if (ticker != null) {\r
+ lineIdx++;\r
+ }\r
+ if (title != null) {\r
+ g.drawString(title, 0, lineIdx++);\r
+ }\r
+\r
+ // Update scrolling administration\r
+ int scrollLines = Display.SCREEN_CHAR_DEPTH - lineIdx;\r
+ if (scrollCurr == 0) {\r
+ scrollFirst = 0;\r
+ scrollLast = scrollLines;\r
+ } else if ((listItems.size() >= scrollLines) \r
+ && (scrollCurr >= (listItems.size() - 1))) {\r
+ scrollFirst = listItems.size() - scrollLines;\r
+ scrollLast = listItems.size() - 1;\r
+ } else if (scrollCurr >= scrollLast) {\r
+ scrollFirst++;\r
+ scrollLast++;\r
+ } else if (scrollCurr < scrollFirst) {\r
+ scrollFirst--;\r
+ scrollLast--;\r
+ }\r
+\r
+ // Display list items with current highlighted\r
+ for (int i = scrollFirst; (i < listItems.size()) && (i <= scrollLast); i++) {\r
+ ListItem li = ((ListItem) listItems.get(i));\r
+ g.drawString(li.str, 2, lineIdx, (i == scrollCurr));\r
+ \r
+ // Draw selection state\r
+ if ((listType == Choice.EXCLUSIVE) || (listType == Choice.MULTIPLE)) {\r
+ if (li.selected) {\r
+ g.fillArc(2, lineIdx * 8, 8, 8, 0, 360);\r
+ } else {\r
+ g.drawArc(2, lineIdx * 8, 8, 8, 0, 360);\r
+ }\r
+ }\r
+ \r
+ lineIdx++;\r
+ }\r
+ }\r
+ \r
+ private class ListItem {\r
+ String str;\r
+ Image img;\r
+ boolean selected;\r
+// Font font;\r
+\r
+ ListItem(String stringPart, Image imagePart) {\r
+ this.str = stringPart;\r
+ this.img = imagePart;\r
+ this.selected = false;\r
+// this.font = null;\r
+ } \r
+ }\r
+}\r
--- /dev/null
+package javax.microedition.lcdui;\r
+\r
+/**\r
+ * \r
+ * @author Andre Nijholt\r
+ */\r
+public abstract class Screen extends Displayable {\r
+ protected void keyPressed(int keyCode) {}\r
+ protected void keyReleased(int keyCode) {}\r
+ \r
+ protected void showNotify() {\r
+ repaint();\r
+ }\r
+ protected void hideNotify() {\r
+ repaint();\r
+ }\r
+ \r
+ protected abstract void paint(Graphics g);\r
+}\r
--- /dev/null
+package javax.microedition.lcdui;\r
+\r
+/**\r
+ * \r
+ * @author Andre Nijholt\r
+ */\r
+public class Spacer extends Item {\r
+ public Spacer(int minWidth, int minHeight) {\r
+ this.minWidth = minWidth;\r
+ this.minHeight = minHeight;\r
+ }\r
+\r
+ public void addCommand(Command cmd) {\r
+ throw new IllegalStateException();\r
+ }\r
+ \r
+ public void setDefaultCommand(Command cmd) {\r
+ throw new IllegalStateException();\r
+ }\r
+ \r
+ public void setLabel(String label) {\r
+ throw new IllegalStateException();\r
+ }\r
+ \r
+ public void setMinimumSize(int minWidth, int minHeight){\r
+ this.minWidth = minWidth;\r
+ this.minHeight = minHeight;\r
+ }\r
+ \r
+ public void paint(Graphics g, int x, int y, int w, int h, boolean selected) {}\r
+}\r
--- /dev/null
+package javax.microedition.lcdui;\r
+\r
+/**\r
+ * \r
+ * @author Andre Nijholt\r
+ */\r
+public class StringItem extends Item {\r
+ private String text;\r
+ \r
+ public StringItem(String label, String text) {\r
+ this.label = label;\r
+ this.text = text;\r
+\r
+ if (label != null) {\r
+ minWidth = (label.length() * Display.CHAR_WIDTH);\r
+ minHeight = Display.CHAR_HEIGHT;\r
+ }\r
+ \r
+ if (text != null) {\r
+ if ((minWidth + text.length() * Display.CHAR_WIDTH) < Display.SCREEN_WIDTH) {\r
+ // Append to current line\r
+ minWidth += (text.length() * Display.CHAR_WIDTH);\r
+ } else {\r
+ minWidth = Math.max(minWidth, text.length() * Display.CHAR_WIDTH);\r
+ minHeight += Display.CHAR_HEIGHT;\r
+ }\r
+ }\r
+ }\r
+ \r
+ public String getText() {\r
+ return text;\r
+ }\r
+ \r
+ public void setText(String text) {\r
+ this.text = text;\r
+ }\r
+ \r
+ public void paint(Graphics g, int x, int y, int w, int h, boolean selected) {\r
+ if (label != null) {\r
+ g.drawString(label, x / Display.CHAR_WIDTH, y / Display.CHAR_HEIGHT);\r
+ if (h <= Display.CHAR_HEIGHT) {\r
+ x += label.length() * Display.CHAR_WIDTH;\r
+ } else {\r
+ y += Display.CHAR_HEIGHT;\r
+ }\r
+ }\r
+\r
+ g.drawString(text, x / Display.CHAR_WIDTH, y / Display.CHAR_HEIGHT, selected);\r
+ }\r
+}\r
--- /dev/null
+package javax.microedition.lcdui;\r
+\r
+/**\r
+ * \r
+ * @author Andre Nijholt\r
+ */\r
+public class TextBox extends Screen { \r
+ private final char[][] keyboard = {\r
+ {'q', 'w', 'e', 'r', 't', 'y', 'u', 'i', 'o', 'p'},\r
+ {'a', 's', 'd', 'f', 'g', 'h', 'j', 'k', 'l', 8},\r
+ {5, 'z', 'x', 'c', 'v', 'b', 'n', 'm', ',', 13},\r
+ {' ', ' ', ' ', ' ', ' ', ' ', '-', '!', '.', ' '},\r
+ {'Q', 'W', 'E', 'R', 'T', 'Y', 'U', 'I', 'O', 'P'},\r
+ {'A', 'S', 'D', 'F', 'G', 'H', 'J', 'K', 'L', 8},\r
+ {5, 'Z', 'X', 'C', 'V', 'B', 'N', 'M', ';', 13},\r
+ {' ', ' ', ' ', ' ', ' ', ' ', '-', '!', '.', ' '},\r
+ {'(', ')', '"', '+', '*', '1', '2', '3', '@', '_'},\r
+ {'<', '>', '\'', '-', '/', '4', '5', '6', '#', 8},\r
+ {'[', ']', '^', '|', '=', '7', '8', '9', '~', 13},\r
+ {' ', ' ', ' ', ' ', ' ', ' ', '0', '%', '&', '$'},\r
+ };\r
+\r
+ private final Image digits = new Image(8, 8, new byte[] {\r
+ (byte) 0x02, (byte) 0x1f, (byte) 0x64, (byte) 0x52, \r
+ (byte) 0x4c, (byte) 0xa8, (byte) 0xa8, (byte) 0x50});\r
+ private final Image chars = new Image(8, 8, new byte[] {\r
+ (byte) 0x0e, (byte) 0x05, (byte) 0x0e, (byte) 0x7c, \r
+ (byte) 0x54, (byte) 0x68, (byte) 0x90, (byte) 0x90});\r
+\r
+ private String text;\r
+ private int maxSize;\r
+ private int constraints;\r
+ \r
+ private char[] inputText = new char[16];\r
+ private int inputIdx = 0;\r
+ private int kSel;\r
+ private int xSel;\r
+ private int ySel;\r
+ \r
+ public TextBox(String title, String text, int maxSize, int constraints) {\r
+ this.title = title;\r
+ this.text = text;\r
+ this.maxSize = maxSize;\r
+ this.constraints = constraints;\r
+ }\r
+ \r
+ public void setText(String text) {\r
+ this.text = text;\r
+\r
+ char[] caText = text.toCharArray();\r
+ for (int i = 0; (i < caText.length) && (i < inputText.length); i++) {\r
+ inputText[i] = caText[i];\r
+ }\r
+ inputIdx = caText.length;\r
+ }\r
+ \r
+ public String getText() {\r
+ return text;\r
+ }\r
+ \r
+ public void setMaxSize(int maxSize) {\r
+ this.maxSize = maxSize;\r
+ }\r
+ \r
+ public void setConstraints(int constraints) {\r
+ this.constraints = constraints;\r
+ }\r
+\r
+ protected void keyPressed(int keyCode) {\r
+ if (keyCode == KEY_RIGHT) {\r
+ xSel = (xSel + 1) % 10;\r
+ repaint();\r
+ } else if (keyCode == KEY_LEFT) {\r
+ xSel = (xSel == 0) ? 9 : (xSel - 1);\r
+ repaint();\r
+ } else if (keyCode == KEY_BACK) {\r
+ ySel = (ySel + 1) % 4;\r
+ repaint();\r
+ } else if (keyCode == KEY_ENTER) {\r
+ if ((xSel == 0) && (ySel == 2) && ((kSel == 0) || (kSel == 4))) {\r
+ kSel = (kSel == 4) ? 0 : 4;\r
+ } else if ((xSel == 0) && (ySel == 3)) {\r
+ kSel = (kSel == 8) ? 0 : 8;\r
+ } else if ((xSel == 9) && (ySel == 1)) {\r
+ // Backspace pressed\r
+ if (inputIdx > 0) {\r
+ inputText[--inputIdx] = '\0';\r
+ }\r
+ } else if ((xSel == 9) && (ySel == 2)) {\r
+ // Enter pressed: store string and return\r
+ text = new String(inputText, 0, inputIdx);\r
+ \r
+ // Reset input text\r
+ for (int i = 0; i < inputText.length; i++) {\r
+ inputText[i] = '\0';\r
+ }\r
+ inputIdx = 0;\r
+ \r
+ for (int i = 0; i < commands.size(); i++) {\r
+ callCommandListener();\r
+ }\r
+ } else if (inputIdx < maxSize) {\r
+ inputText[inputIdx++] = keyboard[kSel + ySel][xSel];\r
+ if (!checkConstraints()) {\r
+ // Text does not match constraints: remove new char\r
+ inputText[--inputIdx] = '\0';\r
+ }\r
+ }\r
+ repaint(); \r
+ }\r
+ }\r
+ \r
+ public void paint(Graphics g) {\r
+ if (title != null) {\r
+ g.drawString(title, 0, 1);\r
+ }\r
+ \r
+ // Draw input string per character\r
+ for (int i = 0; (i < inputIdx) && (inputText[i] > '\0'); i++) {\r
+ g.drawChar(inputText[i], (i * Display.CHAR_WIDTH), 2, false);\r
+ }\r
+ \r
+ // Draw keyboard frame\r
+ g.drawRect(0, 31, 99, 32);\r
+ g.drawLine(0, 39, 100, 39);\r
+ g.drawLine(0, 47, 100, 47);\r
+ g.drawLine(0, 55, 100, 55);\r
+ g.drawLine(9, 32, 10, 99);\r
+ g.drawLine(20, 32, 20, 99);\r
+ g.drawLine(30, 32, 30, 99);\r
+ g.drawLine(40, 32, 40, 99);\r
+ g.drawLine(50, 32, 50, 99);\r
+ g.drawLine(60, 32, 60, 99);\r
+ g.drawLine(70, 32, 70, 99);\r
+ g.drawLine(80, 32, 80, 99);\r
+ g.drawLine(90, 32, 90, 99);\r
+\r
+ // Draw keyboard selection\r
+ for (int x = 0; x < 10; x++) {\r
+ for (int y = 0; y < 4; y++) {\r
+ g.drawChar(keyboard[kSel + y][x], (x * 10) + 2, y + 4, ((x == xSel) && (y == ySel)));\r
+ }\r
+ }\r
+ \r
+ // Draw character / digit switch image\r
+ g.drawImage((kSel == 8) ? chars : digits, 0, 56, (xSel == 0) && (ySel == 3));\r
+ }\r
+ \r
+ private boolean checkConstraints() {\r
+ // TODO: Check constraints of current input\r
+ if (constraints == TextField.ANY) {\r
+ return true;\r
+ }\r
+ \r
+ return false;\r
+ }\r
+}\r
--- /dev/null
+package javax.microedition.lcdui;\r
+\r
+/**\r
+ * \r
+ * @author Andre Nijholt\r
+ */\r
+public class TextField extends Item {\r
+ public static final int ANY = 0x0001;\r
+ public static final int EMAILADDR = 0x0002;\r
+ public static final int NUMERIC = 0x0003;\r
+ public static final int PHONENUMBER = 0x0004;\r
+ public static final int URL = 0x0005;\r
+ public static final int DECIMAL = 0x0006;\r
+ \r
+ public static final int PASSWORD = 0x0100;\r
+ public static final int UNEDITABLE = 0x0200;\r
+ public static final int SENSITIVE = 0x0300;\r
+ public static final int NON_PREDICTIVE = 0x0400;\r
+ public static final int INITIAL_CAPS_WORD = 0x0500;\r
+ public static final int INITIAL_CAPS_SENTENCE = 0x0600;\r
+\r
+ private String text;\r
+ private int maxSize;\r
+ private int constraints;\r
+\r
+ public TextField(String label, String text, int maxSize, int constraints) {\r
+ this.label = label;\r
+ this.text = text;\r
+ this.maxSize = maxSize;\r
+ this.constraints = constraints;\r
+ this.interactive = true;\r
+ \r
+ if (label != null) {\r
+ minWidth = (label.length() * Display.CHAR_WIDTH);\r
+ minHeight = Display.CHAR_HEIGHT;\r
+ }\r
+ \r
+ if (text != null) {\r
+ if ((minWidth + text.length() * Display.CHAR_WIDTH) < Display.SCREEN_WIDTH) {\r
+ // Append to current line\r
+ minWidth += (text.length() * Display.CHAR_WIDTH);\r
+ } else {\r
+ minWidth = Math.max(minWidth, text.length() * Display.CHAR_WIDTH);\r
+ minHeight += Display.CHAR_HEIGHT;\r
+ }\r
+ }\r
+ }\r
+\r
+ public void setText(String text) {\r
+ this.text = text;\r
+ }\r
+\r
+ public String getText() {\r
+ return text;\r
+ }\r
+ \r
+ public int getMaxSize() {\r
+ return maxSize;\r
+ }\r
+ \r
+ public int getConstraints() {\r
+ return constraints;\r
+ }\r
+\r
+ public void paint(Graphics g, int x, int y, int w, int h, boolean selected) {\r
+ if (label != null) {\r
+ g.drawString(label, x / Display.CHAR_WIDTH, y / Display.CHAR_HEIGHT);\r
+ if (h <= Display.CHAR_HEIGHT) {\r
+ x += label.length() * Display.CHAR_WIDTH;\r
+ } else {\r
+ y += Display.CHAR_HEIGHT;\r
+ }\r
+ }\r
+\r
+ g.drawString(text, x / Display.CHAR_WIDTH, y / Display.CHAR_HEIGHT, selected);\r
+ }\r
+}\r
--- /dev/null
+package javax.microedition.lcdui;\r
+\r
+public class Ticker {\r
+ private String str;\r
+ \r
+ public Ticker(String str) {\r
+ this.str = str;\r
+ }\r
+ \r
+ public String getString() {\r
+ return str;\r
+ }\r
+ \r
+ public void setString(String str) {\r
+ this.str = str;\r
+ }\r
+}\r
public class CompassNavigator extends TachoNavigator
{
- public CompassPilot compassPilot; //
+ private CompassPilot compassPilot; //
/**
* Allocates a CompassNavigator objects and its CompassPilot object and initializes it with the proper motors and dimensions.
{
this(compassPort, wheelDiameter,trackWidth,leftMotor, rightMotor, false);
}
-
+
public CompassNavigator(SensorPort compassPort, float wheelDiameter, float trackWidth, Motor leftMotor, Motor rightMotor, boolean reverse)
{
- super(new CompassPilot( compassPort, wheelDiameter,trackWidth,leftMotor, rightMotor,reverse));
- this.compassPilot = (CompassPilot) pilot;
+ this(new CompassSensor(compassPort), wheelDiameter,trackWidth,leftMotor, rightMotor,reverse);
+ }
+
+ public CompassNavigator(CompassSensor compass, float wheelDiameter, float trackWidth, Motor leftMotor, Motor rightMotor, boolean reverse)
+ {
+ super(new CompassPilot(compass, wheelDiameter,trackWidth,leftMotor, rightMotor,reverse));
+ this.compassPilot = (CompassPilot) _pilot;
_heading = getAngle();
}
public CompassNavigator(CompassPilot compassPilot)
{
super(compassPilot);
- this.compassPilot = (CompassPilot) pilot;
+ compassPilot = (CompassPilot) _pilot;
_heading = getAngle();
}
+
+ /**
+ * returns the pilot of this navigator
+ * @return compass pilot
+ */
+ CompassPilot getCompassPilot(){return compassPilot;}
+
/**
* Robot rotates 360 degrees while calibrating the compass sensor
*/
-
-
-
-
package lejos.navigation;
//import lejos.navigation.*;
import lejos.nxt.CompassSensor;
import lejos.nxt.SensorPort;
import lejos.nxt.Motor;
-
-
public class CompassPilot extends Pilot {
- public CompassSensor compass;
+ protected CompassSensor compass;
private Regulator regulator = new Regulator(); // inner regulator for thread
private int _heading; // Heading to point robot
public CompassPilot(SensorPort compassPort, float wheelDiameter,float trackWidth,Motor leftMotor, Motor rightMotor) {
this(compassPort, wheelDiameter, trackWidth, leftMotor, rightMotor, false);
}
+
/**
* Allocates a CompasPilot object, and sets the physical parameters of the NXT robot. <br>
* Assumes Motor.forward() causes the robot to move forward);
* @param reverse if true of motor.forward() drives the robot backwards
*/
public CompassPilot(SensorPort compassPort, float wheelDiameter,float trackWidth,Motor leftMotor, Motor rightMotor, boolean reverse)
- {
+ {
+ this(new CompassSensor(compassPort), wheelDiameter, trackWidth, leftMotor, rightMotor, reverse);
+ }
+
+ /**
+ * Allocates a CompasPilot object, and sets the physical parameters of the NXT robot. <br>
+ * Assumes Motor.forward() causes the robot to move forward);
+ * Parameters
+ * @param compass : a compass sensor;
+ * @param wheelDiameter Diameter of the tire, in any convenient units. (The diameter in mm is usually printed on the tire).
+ * @param trackWidth Distance between center of right tire and center of left tire, in same units as wheelDiameter
+ * @param leftMotor
+ * @param rightMotor
+ */
+ public CompassPilot(CompassSensor compass, float wheelDiameter,float trackWidth,Motor leftMotor, Motor rightMotor) {
+ this(compass, wheelDiameter, trackWidth, leftMotor, rightMotor, false);
+ }
+
+ /**
+ * Allocates a CompasPilot object, and sets the physical parameters of the NXT robot. <br>
+ * Assumes Motor.forward() causes the robot to move forward);
+ * Parameters
+ * @param compass : a compass sensor;
+ * @param wheelDiameter Diameter of the tire, in any convenient units. (The diameter in mm is usually printed on the tire).
+ * @param trackWidth Distance between center of right tire and center of left tire, in same units as wheelDiameter
+ * @param leftMotor
+ * @param rightMotor
+ * @param reverse if true of motor.forward() drives the robot backwards
+ */
+ public CompassPilot(CompassSensor compass, float wheelDiameter,float trackWidth,Motor leftMotor, Motor rightMotor, boolean reverse) {
super(wheelDiameter, trackWidth, leftMotor, rightMotor, reverse);
- this.compass = new CompassSensor(compassPort);
+ this.compass = compass;
_heading = (int)compass.getDegreesCartesian(); // Current compass direction = heading target
- regulator.start();
regulator.setDaemon(true);
+ regulator.start();
}
-
+
+ /**
+ * return the compass
+ * @return the compass
+ */
+ public CompassSensor getCompass(){ return compass;}
/**
* Returns the compass angle in degrees, Cartesian (increasing counter clockwise)
*/
package lejos.navigation;
-//import lejos.navigation.*;
+
import lejos.nxt.Motor;
* Uses the smoothAcceleration property of Motors to improve motor symchronication
* Example:<p>
* <code><pre>
-* Pilot sc = new Pilot(2.1f,4.4f,Motor.A, Motor.C,true);
-* sc.setSpeed(720);// 2 RPM
-* sc.travel(12);
-* sc.rotate(-90);
-* sc.travel(-12,true);
-* while(sc.isMoving())Thread.yield();
-* sc.rotate(-90);
-* sc.rotateTo(270);
-* sc.steer(-50,180,true);
-* while(sc.isMoving())Thread.yield();
-* sc.steer(100);
+* Pilot pilot = new Pilot(2.1f,4.4f,Motor.A, Motor.C,true);
+* pilot.setSpeed(720);// 2 RPM
+* pilot.travel(12);
+* pilot.rotate(-90);
+* pilot.travel(-12,true);
+* while(pilot.isMoving())Thread.yield();
+* pilot.rotate(-90);
+* pilot.rotateTo(270);
+* pilot.steer(-50,180,true);
+* while(pilot.isMoving())Thread.yield();
+* pilot.steer(100);
* try{Thread.sleep(1000);}
* catch(InterruptedException e){}
-* sc.stop();
+* pilot.stop();
* </pre></code>
**/
/**
*left motor
*/
- public Motor _left;
+ protected Motor _left;
/**
* right motor
*/
- public Motor _right;
+ protected Motor _right;
/**
* motor degrees per unit of travel
else _parity = 1;
}
- /**
- * returns tachoCount of left motor; Positive value means motor has moved the robot forward;
- */
+ /**
+ * returns left motor
+ * @return left motor
+ */
+ public Motor getLeft() { return _left;}
+
+ /**
+ * returns right motor
+ * @return right motor
+ */
+ public Motor getRight() {return _right;}
+
+ /**
+ * returns tachoCount of left motor; Positive value means motor has moved the robot forward;
+ */
public int getLeftCount(){ return _parity*_left.getTachoCount();}
/**
*/
public float getTurnRatio(){ return _turnRatio;}
+ /**
+ * return current speed setting
+ * @return current speed
+ */
+ public int getSpeed(){return _speed;}
+
/**
* Sets speed of both motors, degrees/sec; also sets retulate speed true
*/
import lejos.nxt.Motor;
/**
-* The TachoNavigator class can keep track of the robot position and the direction angle it faces; It uses a pilot object to control NXT robot movements.<br>
+* The TachoNavigator class can keep track of the robot position and the direction angle it faces; It uses a _pilot object to control NXT robot movements.<br>
* The position and direction angle values are updated automatically when the movement command returns after the movement is complete and and after stop() command is issued.
* However, some commands optionally return immediately, to permit sensor monitoring in the main thread. It is then the programmers responsibility to
* call updatePosition() when the robot motion is completed. All angles are in degrees, distances in the units used to specify robot dimensions.
* As with pilot, the robot must be have two independently controlled drive wheels.
+* The assumed initial position of the robot is at (0,0) and initial angle 0 i.e. pointing in the +X direction.
*/
public class TachoNavigator implements Navigator
private float _x = 0;
private float _y = 0;
// The essential component
- public Pilot pilot;
+ protected Pilot _pilot;
/**
* set false whenever the robot moves, set to true by updatePosition();
*/
public TachoNavigator(float wheelDiameter, float trackWidth, Motor leftMotor, Motor rightMotor, boolean reverse)
{
- pilot = new Pilot(wheelDiameter,trackWidth,leftMotor, rightMotor,reverse);
+ _pilot = new Pilot(wheelDiameter,trackWidth,leftMotor, rightMotor,reverse);
}
public TachoNavigator(float wheelDiameter, float trackWidth, Motor leftMotor, Motor rightMotor)
{
- pilot = new Pilot(wheelDiameter,trackWidth,leftMotor, rightMotor);
+ _pilot = new Pilot(wheelDiameter,trackWidth,leftMotor, rightMotor);
}
public TachoNavigator(Pilot pilot) {
- this.pilot = pilot;
+ _pilot = pilot;
}
/**
this(wheelDiameter, driveLength, Motor.A, Motor.C);
}
+ public Pilot getPilot(){ return _pilot;}
/**
* Returns the current x coordinate of the NXT.
* @return float Present x coordinate.
* Note: At present it will only give an updated reading when the NXT is stopped.
* @return float Present y coordinate.
*/
- public float getY() {
- return _y;
- }
-
+ public float getY() { return _y;}
+
/**
- * Returns the current angle the NXT robot is facing.
+ * Returns the current angle the NXT robot is facing, relative to the +X axis direction; the +Y direction is 90 degrees.
* Note: At present it will only give an updated reading when the NXT is stopped.
* @return float Angle in degrees.
*/
- public float getAngle()
- {
- return _heading;
- }
+ public float getAngle() { return _heading;}
+
/**
*sets robot location (x,y) and direction angle
*@param x the x coordinate of the robot
*@param y the y coordinate of the robot
-*@param directionAngle the angle the robot is heading, measured from the x axis
+*@param directionAngle the angle the robot is heading, measured from the x axis. 90 degrees is the +Y direction
*/
public void setPosition(float x, float y, float directionAngle)
{
*/
public void setSpeed(int speed)
{
- pilot.setSpeed(speed);
+ _pilot.setSpeed(speed);
}
/**
public void forward()
{
_updated = false;
- pilot.resetTachoCount();
- pilot.forward();
+ _pilot.resetTachoCount();
+ _pilot.forward();
}
/**
public void backward()
{
_updated = false;
- pilot.resetTachoCount();
- pilot.backward();
+ _pilot.resetTachoCount();
+ _pilot.backward();
}
/**
*/
public void stop()
{
- pilot.stop();
+ _pilot.stop();
updatePosition();
}
*/
public boolean isMoving()
{
- return pilot.isMoving();
+ return _pilot.isMoving();
}
/**
public void travel(float distance,boolean immediateReturn)
{
_updated = false;
- pilot.resetTachoCount();
- pilot.travel(distance,immediateReturn);
+ _pilot.resetTachoCount();
+ _pilot.travel(distance,immediateReturn);
if(!immediateReturn) updatePosition();
}
public void rotateLeft()
{
_updated = false;
- pilot.resetTachoCount();
- pilot.steer(200);
+ _pilot.resetTachoCount();
+ _pilot.steer(200);
}
/**
public void rotateRight()
{
_updated = false;
- pilot.resetTachoCount();
- pilot.steer(-200);
+ _pilot.resetTachoCount();
+ _pilot.steer(-200);
}
/**
{
_updated = false;
int turnAngle = Math.round(normalize(angle));
- pilot.resetTachoCount();
- pilot.rotate(turnAngle,immediateReturn);
+ _pilot.resetTachoCount();
+ _pilot.rotate(turnAngle,immediateReturn);
if(!immediateReturn) updatePosition();
}
if(_updated)return;// don't do it again
try{Thread.sleep(70);}
catch(InterruptedException e){}
- int left = pilot.getLeftCount();//left wheel rotation angle
- int right = pilot.getRightCount();
+ int left = _pilot.getLeftCount();//left wheel rotation angle
+ int right = _pilot.getRightCount();
if(left == 0 && right == 0)return; // no movement
int outsideRotation = 0;
int insideRotation = 0;
insideRotation = right;
direction = -1; // turn to right
}
- float turnAngle = direction*(outsideRotation-insideRotation)*pilot._wheelDiameter/(2*pilot._trackWidth);
+ float turnAngle = direction*(outsideRotation-insideRotation)*_pilot._wheelDiameter/(2*_pilot._trackWidth);
float ratio = 1.0f*insideRotation/outsideRotation;
float moveAngle = 0; // angle of displacement in robot coordinates, degrees
float projection = 0; //angle to project displacement to world coordinates, in radians
if(ratio>.95) // probably movement was intended to be straight
{
float avg = (insideRotation+outsideRotation)/2.0f;
- distance = avg/pilot._degPerDistance;
+ distance = avg/_pilot._degPerDistance;
projection = (float)Math.toRadians(_heading+turnAngle/2);
approx = true;
}
else
{
- float turnRadius =pilot._trackWidth/(1 - ratio) - pilot._trackWidth/2 ; //
+ float turnRadius =_pilot._trackWidth/(1 - ratio) - _pilot._trackWidth/2 ; //
float radians = (float) Math.toRadians(turnAngle); // turnAngle in radians
float dx0 = turnRadius*(float)Math.sin(radians); //displacement in robot coordinates
float dy0 = turnRadius*(1 -(float) Math.cos(radians));
public void turn(float radius)
{
_updated = false;
- pilot.resetTachoCount();
- pilot.steer(turnRate(radius));
+ _pilot.resetTachoCount();
+ _pilot.steer(turnRate(radius));
}
/**
public void turn(float radius, int angle, boolean immediateReturn)
{
_updated = false;
- pilot.resetTachoCount();
- pilot.steer(turnRate(radius),angle,immediateReturn);
+ _pilot.resetTachoCount();
+ _pilot.steer(turnRate(radius),angle,immediateReturn);
if(!immediateReturn) updatePosition();
}
direction = -1;
radius = -radius;
}
- float ratio = (2*radius - pilot._trackWidth)/(2*radius+pilot._trackWidth);
+ float ratio = (2*radius - _pilot._trackWidth)/(2*radius+_pilot._trackWidth);
return Math.round(direction * 100*(1 - ratio));
}
}
--- /dev/null
+ \r
+package lejos.nxt;\r
+import javax.microedition.io.StreamConnection;\r
+import lejos.nxt.comm.*;\r
+\r
+import java.io.*;\r
+/**\r
+ * Datalogger class; stores float values then then transmits via bluetooth or usb<br>\r
+ * works with DataViewer in pctools.\r
+ * A maximum of 2000 data values can be stored. \r
+ */\r
+public class Datalogger \r
+{\r
+ // overcome limitation of array size; created as needed\r
+ private float [] log0; \r
+ private float [] log1;\r
+ private float [] log2;\r
+ private float [] log3;\r
+ private int _indx = 0; //where the data will be witten\r
+\r
+ private final int BLOCK = 510; // block size\r
+ private int _blocks = 1; \r
+\r
+\r
+\r
+ public Datalogger()\r
+ {\r
+ log0 = new float[BLOCK];\r
+ \r
+ }\r
+/**\r
+ * write a float value to the log\r
+ * @param v\r
+ */\r
+ public void writeLog(float v)\r
+ { \r
+ if(_indx>=_blocks * BLOCK)\r
+ {\r
+ if(_blocks == 1 && log1 == null)log1 = new float[BLOCK];\r
+ else if(_blocks == 2 && log2 == null)log2 = new float[BLOCK];\r
+ else if(_blocks == 3 && log3 == null)log3 = new float [BLOCK];\r
+ else if (_blocks == 4) return;\r
+ _blocks ++;\r
+ }\r
+ if(_blocks == 1) log0[_indx]= v;\r
+ else if(_blocks == 2)log1[_indx %BLOCK]= v;\r
+ else if(_blocks == 3)log2[_indx %BLOCK]= v;\r
+ else if(_blocks == 4)log3[_indx %BLOCK]= v;\r
+ else return;\r
+ _indx++;\r
+ }\r
+ \r
+ /**\r
+ * Clears the log; next write is at the beginning;\r
+ *\r
+ */\r
+ public void reset()\r
+ {\r
+ _indx = 0;\r
+ _blocks = 1;\r
+ }\r
+ \r
+ /**\r
+ * transmit the stored values to the PC via USB or bluetooth;<br>\r
+ * Displays "waiting" , so then start the DataViewer. \r
+ * When finished, displays the number values sent, and asks "Resend?". \r
+ * Press ENTER for yes, ESC to exit the program.\r
+ * @param useUSB if false, uses Bluetooth\r
+ *\r
+ */\r
+ public void transmit(boolean useUSB)\r
+ {\r
+ StreamConnection connection= null;\r
+ DataOutputStream dataOut = null;\r
+ InputStream is = null;\r
+ boolean more = true;\r
+ while(more)\r
+ {\r
+ LCD.clear();\r
+ LCD.drawInt(_indx, 0, 0);\r
+ LCD.drawString("waiting",8,0);\r
+ LCD.refresh(); \r
+ if(useUSB)\r
+ {\r
+ connection = new USBConnection();\r
+ }\r
+ else \r
+ {\r
+ connection = Bluetooth.waitForConnection();\r
+ }\r
+ try \r
+ { \r
+ dataOut= connection.openDataOutputStream(); \r
+ is = connection.openInputStream(); \r
+ LCD.drawString("connected", 0, 1);\r
+ LCD.refresh();\r
+ int b = 0; \r
+ b = is.read();\r
+ LCD.drawInt(b, 8, 1);\r
+ LCD.refresh();\r
+ }\r
+ catch(IOException ie){LCD.drawString("no connection",0,0); LCD.refresh();}\r
+ LCD.clear();\r
+ LCD.drawString("sending",0,0);\r
+ LCD.drawInt(_indx, 12, 0);\r
+ LCD.refresh();\r
+ try\r
+ {\r
+ dataOut.writeFloat(_indx);\r
+ dataOut.flush();\r
+ for (int i = 0; i<_indx ; i++) \r
+ { \r
+ if(i<BLOCK)dataOut.writeFloat(log0[i]); \r
+ else if(i<2*BLOCK)dataOut.writeFloat(log1[i%BLOCK]);\r
+ else if(i<3*BLOCK)dataOut.writeFloat(log2[i%BLOCK]);\r
+ else if(i<3*BLOCK)dataOut.writeFloat(log3[i%BLOCK]);\r
+ try{Thread.sleep(4);} catch (InterruptedException e ){}\r
+ }\r
+ dataOut.flush();\r
+ dataOut.close();\r
+ }\r
+ catch(IOException e) {LCD.drawString("write error",0,0); LCD.refresh();}\r
+ Sound.beepSequence();\r
+ LCD.clear();\r
+ LCD.drawString("sent",0,0);\r
+ LCD.drawInt(_indx, 8, 0);\r
+ LCD.drawString("Resend?", 0, 1);\r
+ LCD.refresh();\r
+ more = Button.waitForPress()==1;\r
+ }\r
+ try{dataOut.close();}catch(IOException e){}\r
+ }\r
+\r
+ \r
+ \r
+ \r
+ /**\r
+ * to test the DL object\r
+ */ \r
+ public static void main(String[] args)\r
+ {\r
+ int size =600;\r
+ Datalogger dl = new Datalogger();\r
+ boolean more = true;\r
+ while(more)\r
+ {\r
+ for(int i = 0 ; i<size; i++)\r
+ {\r
+ float x = i*0.5f;\r
+ dl.writeLog(x);\r
+ }\r
+ dl.transmit(true); \r
+ dl.reset();\r
+ LCD.clear();\r
+ LCD.drawString("more?",0,2);\r
+ LCD.refresh();\r
+ more = 1 == Button.waitForPress();\r
+ }\r
+ }\r
+}\r
-package lejos.nxt;
-
-/**
- * LCD routines.
- */
-public class LCD
-{
- private LCD()
- {
- }
-
- /**
- * Display a string on the LCD at specified x,y co-ordinate.
- */
- public static native void drawString(String str, int x, int y);
-
- /**
- * Display an int on the LCD at specified x,y co-ordinate.
- */
- public static native void drawInt(int i, int x, int y);
-
- /**
- * Display an in on the LCD at x,y with leading spaces to occupy at least the number
- * of characters specified by the places parameter.
- */
- public static native void drawInt(int i, int places, int x, int y);
- /**
- * Update the display.
- */
- public static native void refresh();
-
- /**
- * Clear the display.
- */
- public static native void clear();
-
- /**
- * Write graphics from a Java buffer to the display.
- */
- public static native void setDisplay(int[] buff);
-
-}
-
+package lejos.nxt;\r
+\r
+/**\r
+ * \r
+ * @author Andre Nijholt\r
+ */\r
+public class LCD {\r
+ public static final int SCREEN_SCALE = 4;\r
+ public static final int SCREEN_WIDTH = 100;\r
+ public static final int SCREEN_HEIGHT = 64;\r
+ \r
+ public static final int DISPLAY_WIDTH = 100;\r
+ public static final int DISPLAY_DEPTH = 8; // 8 * 8 bits = 64 pixels\r
+ \r
+ public static final int NOOF_CHARS = 128;\r
+ public static final int FONT_WIDTH = 5;\r
+ public static final int CELL_WIDTH = FONT_WIDTH + 1;\r
+ \r
+ public static final int DISPLAY_CHAR_WIDTH = DISPLAY_WIDTH / CELL_WIDTH;\r
+ public static final int DISPLAY_CHAR_DEPTH = DISPLAY_DEPTH;\r
+\r
+ private static final byte font[][] = {\r
+ /* 0x00 */ {0x3E, 0x36, 0x2A, 0x36, 0x3E},\r
+ /* 0x01 */ {0x3E, 0x55, 0x61, 0x55, 0x3E},\r
+ /* 0x02 */ {0x3E, 0x6B, 0x5F, 0x6B, 0x3E},\r
+ /* 0x03 */ {0x0C, 0x1E, 0x3C, 0x1E, 0x0C},\r
+ /* 0x04 */ {0x08, 0x1C, 0x3E, 0x1C, 0x08},\r
+ /* 0x05 */ {0x08, 0x7c, 0x0e, 0x7c, 0x08}, /* SHIFT char */\r
+ /* 0x06 */ {0x18, 0x5C, 0x7E, 0x5C, 0x18},\r
+ /* 0x07 */ {0x3E, 0x36, 0x2A, 0x36, 0x3E},\r
+ /* 0x08 */ {0x08, 0x1c, 0x3e, 0x08, 0x08}, /* BACKSPACE char */\r
+ /* 0x09 */ {0x3E, 0x36, 0x2A, 0x36, 0x3E},\r
+ /* 0x0A */ {0x3E, 0x36, 0x2A, 0x36, 0x3E},\r
+ /* 0x0B */ {0x3E, 0x36, 0x2A, 0x36, 0x3E},\r
+ /* 0x0C */ {0x3E, 0x36, 0x2A, 0x36, 0x3E},\r
+ /* 0x0D */ {0x10, 0x38, 0x7c, 0x10, 0x1e}, /* ENTER char */\r
+ /* 0x0E */ {0x3E, 0x36, 0x2A, 0x36, 0x3E},\r
+ /* 0x0F */ {0x3E, 0x36, 0x2A, 0x36, 0x3E},\r
+ /* 0x10 */ {0x3E, 0x36, 0x2A, 0x36, 0x3E},\r
+ /* 0x11 */ {0x3E, 0x36, 0x2A, 0x36, 0x3E},\r
+ /* 0x12 */ {0x3E, 0x36, 0x2A, 0x36, 0x3E},\r
+ /* 0x13 */ {0x3E, 0x36, 0x2A, 0x36, 0x3E},\r
+ /* 0x14 */ {0x3E, 0x36, 0x2A, 0x36, 0x3E},\r
+ /* 0x15 */ {0x3E, 0x36, 0x2A, 0x36, 0x3E},\r
+ /* 0x16 */ {0x3E, 0x36, 0x2A, 0x36, 0x3E},\r
+ /* 0x17 */ {0x3E, 0x36, 0x2A, 0x36, 0x3E},\r
+ /* 0x18 */ {0x3E, 0x36, 0x2A, 0x36, 0x3E},\r
+ /* 0x19 */ {0x3E, 0x36, 0x2A, 0x36, 0x3E},\r
+ /* 0x1A */ {0x3E, 0x36, 0x2A, 0x36, 0x3E},\r
+ /* 0x1B */ {0x3E, 0x36, 0x2A, 0x36, 0x3E},\r
+ /* 0x1C */ {0x3E, 0x36, 0x2A, 0x36, 0x3E},\r
+ /* 0x1D */ {0x3E, 0x36, 0x2A, 0x36, 0x3E},\r
+ /* 0x1E */ {0x3E, 0x36, 0x2A, 0x36, 0x3E},\r
+ /* 0x1F */ {0x3E, 0x36, 0x2A, 0x36, 0x3E},\r
+ /* 0x20 */ {0x00, 0x00, 0x00, 0x00, 0x00},\r
+ /* 0x21 */ {0x00, 0x00, 0x5F, 0x00, 0x00},\r
+ /* 0x22 */ {0x00, 0x07, 0x00, 0x07, 0x00},\r
+ /* 0x23 */ {0x14, 0x3E, 0x14, 0x3E, 0x14},\r
+ /* 0x24 */ {0x04, 0x2A, 0x7F, 0x2A, 0x10},\r
+ /* 0x25 */ {0x26, 0x16, 0x08, 0x34, 0x32},\r
+ /* 0x26 */ {0x36, 0x49, 0x59, 0x26, 0x50},\r
+ /* 0x27 */ {0x00, 0x00, 0x07, 0x00, 0x00},\r
+ /* 0x28 */ {0x00, 0x1C, 0x22, 0x41, 0x00},\r
+ /* 0x29 */ {0x00, 0x41, 0x22, 0x1C, 0x00},\r
+ /* 0x2A */ {0x2A, 0x1C, 0x7F, 0x1C, 0x2A},\r
+ /* 0x2B */ {0x08, 0x08, 0x3E, 0x08, 0x08},\r
+ /* 0x2C */ {0x00, 0x50, 0x30, 0x00, 0x00},\r
+ /* 0x2D */ {0x08, 0x08, 0x08, 0x08, 0x08},\r
+ /* 0x2E */ {0x00, 0x60, 0x60, 0x00, 0x00},\r
+ /* 0x2F */ {0x20, 0x10, 0x08, 0x04, 0x02},\r
+ /* 0x30 */ {0x3E, 0x51, 0x49, 0x45, 0x3E},\r
+ /* 0x31 */ {0x00, 0x42, 0x7F, 0x40, 0x00},\r
+ /* 0x32 */ {0x42, 0x61, 0x51, 0x49, 0x46},\r
+ /* 0x33 */ {0x21, 0x41, 0x45, 0x4B, 0x31},\r
+ /* 0x34 */ {0x18, 0x14, 0x12, 0x7F, 0x10},\r
+ /* 0x35 */ {0x27, 0x45, 0x45, 0x45, 0x39},\r
+ /* 0x36 */ {0x3C, 0x4A, 0x49, 0x49, 0x30},\r
+ /* 0x37 */ {0x01, 0x01, 0x79, 0x05, 0x03},\r
+ /* 0x38 */ {0x36, 0x49, 0x49, 0x49, 0x36},\r
+ /* 0x39 */ {0x06, 0x49, 0x49, 0x29, 0x1E},\r
+ /* 0x3A */ {0x00, 0x36, 0x36, 0x00, 0x00},\r
+ /* 0x3B */ {0x00, 0x56, 0x36, 0x00, 0x00},\r
+ /* 0x3C */ {0x08, 0x14, 0x22, 0x41, 0x00},\r
+ /* 0x3D */ {0x14, 0x14, 0x14, 0x14, 0x14},\r
+ /* 0x3E */ {0x41, 0x22, 0x14, 0x08, 0x00},\r
+ /* 0x3F */ {0x02, 0x01, 0x59, 0x05, 0x02},\r
+ /* 0x40 */ {0x1C, 0x2A, 0x36, 0x3E, 0x0C},\r
+ /* 0x41 */ {0x7E, 0x09, 0x09, 0x09, 0x7E},\r
+ /* 0x42 */ {0x7F, 0x49, 0x49, 0x49, 0x3E},\r
+ /* 0x43 */ {0x3E, 0x41, 0x41, 0x41, 0x22},\r
+ /* 0x44 */ {0x7F, 0x41, 0x41, 0x22, 0x1C},\r
+ /* 0x45 */ {0x7F, 0x49, 0x49, 0x49, 0x41},\r
+ /* 0x46 */ {0x7F, 0x09, 0x09, 0x09, 0x01},\r
+ /* 0x47 */ {0x3E, 0x41, 0x41, 0x49, 0x3A},\r
+ /* 0x48 */ {0x7F, 0x08, 0x08, 0x08, 0x7F},\r
+ /* 0x49 */ {0x00, 0x41, 0x7F, 0x41, 0x00},\r
+ /* 0x4A */ {0x20, 0x40, 0x41, 0x3F, 0x01},\r
+ /* 0x4B */ {0x7F, 0x08, 0x14, 0x22, 0x41},\r
+ /* 0x4C */ {0x7F, 0x40, 0x40, 0x40, 0x40},\r
+ /* 0x4D */ {0x7F, 0x02, 0x04, 0x02, 0x7F},\r
+ /* 0x4E */ {0x7F, 0x04, 0x08, 0x10, 0x7F},\r
+ /* 0x4F */ {0x3E, 0x41, 0x41, 0x41, 0x3E},\r
+ /* 0x50 */ {0x7F, 0x09, 0x09, 0x09, 0x06},\r
+ /* 0x51 */ {0x3E, 0x41, 0x51, 0x21, 0x5E},\r
+ /* 0x52 */ {0x7F, 0x09, 0x19, 0x29, 0x46},\r
+ /* 0x53 */ {0x26, 0x49, 0x49, 0x49, 0x32},\r
+ /* 0x54 */ {0x01, 0x01, 0x7F, 0x01, 0x01},\r
+ /* 0x55 */ {0x3F, 0x40, 0x40, 0x40, 0x3F},\r
+ /* 0x56 */ {0x1F, 0x20, 0x40, 0x20, 0x1F},\r
+ /* 0x57 */ {0x7F, 0x20, 0x18, 0x20, 0x7F},\r
+ /* 0x58 */ {0x63, 0x14, 0x08, 0x14, 0x63},\r
+ /* 0x59 */ {0x03, 0x04, 0x78, 0x04, 0x03},\r
+ /* 0x5A */ {0x61, 0x51, 0x49, 0x45, 0x43},\r
+ /* 0x5B */ {0x00, 0x7F, 0x41, 0x41, 0x00},\r
+ /* 0x5C */ {0x02, 0x04, 0x08, 0x10, 0x20},\r
+ /* 0x5D */ {0x00, 0x41, 0x41, 0x7F, 0x00},\r
+ /* 0x5E */ {0x04, 0x02, 0x01, 0x02, 0x04},\r
+ /* 0x5F */ {0x40, 0x40, 0x40, 0x40, 0x40},\r
+ /* 0x60 */ {0x00, 0x00, 0x07, 0x00, 0x00},\r
+ /* 0x61 */ {0x20, 0x54, 0x54, 0x54, 0x78},\r
+ /* 0x62 */ {0x7f, 0x48, 0x44, 0x44, 0x38},\r
+ /* 0x63 */ {0x30, 0x48, 0x48, 0x48, 0x20},\r
+ /* 0x64 */ {0x38, 0x44, 0x44, 0x48, 0x7f},\r
+ /* 0x65 */ {0x38, 0x54, 0x54, 0x54, 0x18},\r
+ /* 0x66 */ {0x08, 0x7e, 0x09, 0x09, 0x02},\r
+ /* 0x67 */ {0x0c, 0x52, 0x52, 0x52, 0x3e},\r
+ /* 0x68 */ {0x7f, 0x08, 0x04, 0x04, 0x78},\r
+ /* 0x69 */ {0x00, 0x44, 0x7d, 0x40, 0x00},\r
+ /* 0x6A */ {0x20, 0x40, 0x40, 0x3d, 0x00},\r
+ /* 0x6B */ {0x7f, 0x10, 0x28, 0x44, 0x00},\r
+ /* 0x6C */ {0x00, 0x41, 0x7f, 0x40, 0x00},\r
+ /* 0x6D */ {0x7c, 0x04, 0x18, 0x04, 0x78},\r
+ /* 0x6E */ {0x7c, 0x08, 0x04, 0x04, 0x78},\r
+ /* 0x6F */ {0x38, 0x44, 0x44, 0x44, 0x38},\r
+ /* 0x70 */ {(byte) 0xfc, 0x14, 0x14, 0x14, 0x08},\r
+ /* 0x71 */ {0x08, 0x14, 0x14, 0x18, 0x7c},\r
+ /* 0x72 */ {0x7c, 0x08, 0x04, 0x04, 0x08},\r
+ /* 0x73 */ {0x48, 0x54, 0x54, 0x54, 0x20},\r
+ /* 0x74 */ {0x04, 0x3f, 0x44, 0x40, 0x20},\r
+ /* 0x75 */ {0x3c, 0x40, 0x40, 0x20, 0x7c},\r
+ /* 0x76 */ {0x1c, 0x20, 0x40, 0x20, 0x1c},\r
+ /* 0x77 */ {0x3c, 0x40, 0x38, 0x40, 0x3c},\r
+ /* 0x78 */ {0x44, 0x28, 0x10, 0x28, 0x44},\r
+ /* 0x79 */ {0x0c, 0x50, 0x50, 0x50, 0x3c},\r
+ /* 0x7A */ {0x44, 0x64, 0x54, 0x4c, 0x44},\r
+ /* 0x7B */ {0x00, 0x08, 0x36, 0x41, 0x00},\r
+ /* 0x7C */ {0x00, 0x00, 0x7F, 0x00, 0x00},\r
+ /* 0x7D */ {0x00, 0x41, 0x36, 0x08, 0x00},\r
+ /* 0x7E */ {0x00, 0x07, 0x00, 0x07, 0x00},\r
+ /* 0x7F */ {0x3E, 0x36, 0x2A, 0x36, 0x3E},\r
+ };\r
+\r
+ private static int [] displayBuf = new int[200];\r
+\r
+ public static void setPixel(int rgbColor, int x, int y) {\r
+ if (x < 0 || x >= SCREEN_WIDTH || y < 0 || y >= SCREEN_HEIGHT) return; // Test-Modify for speed\r
+ int xChar = x / 4;\r
+ int yChar = y / 8;\r
+ int index = yChar * 25 + xChar;\r
+ int specificBit = (y % 8) + ((x % 4) * 8);\r
+ displayBuf[index] = displayBuf[index] | (rgbColor << specificBit);\r
+ }\r
+\r
+ public static void drawString(String str, int x, int y, boolean invert) {\r
+ char [] strData = str.toCharArray();\r
+ for (int i = 0; (i < strData.length) && (x < DISPLAY_CHAR_WIDTH) \r
+ && (y < DISPLAY_CHAR_DEPTH); i++) {\r
+ drawChar(strData[i], (x + i) * CELL_WIDTH, y, invert);\r
+ }\r
+ }\r
+\r
+ public static void drawChar(char c, int x, int y, boolean invert) {\r
+ for (int i = 0; i <= FONT_WIDTH; i++) {\r
+ int xChar = (x + i) / 4;\r
+ int index = y * 25 + xChar;\r
+ \r
+ if (i < FONT_WIDTH) {\r
+ // Clear buffer before writing chars\r
+ displayBuf[index] &= ~(0xFF << (((x + i) % 4) * 8));\r
+ displayBuf[index] |= ((invert ? (font[c][i] ^0xFF) : font[c][i]) << (((x + i) % 4) * 8));\r
+ } else if (invert) {\r
+ displayBuf[index] &= ~(0xFF << (((x + i) % 4) * 8));\r
+ displayBuf[index] |= (0xFF << (((x + i) % 4) * 8));\r
+ }\r
+ }\r
+ }\r
+ \r
+ public static void drawPixels(byte b, int x, int y, boolean invert) {\r
+ int index = ((y / 8) * 25) + (x / 4);\r
+ displayBuf[index] |= (((invert ? (b ^ 0xFF) : b) & 0xFF) << ((x % 4) * 8));\r
+ }\r
+\r
+ public static void clearDisplay() {\r
+ for (int i = 0; i < displayBuf.length; i++) {\r
+ displayBuf[i] = 0;\r
+ }\r
+ clear();\r
+ }\r
+ \r
+ public static void setDisplay() {\r
+ setDisplay(displayBuf);\r
+ }\r
+\r
+ /**\r
+ * Display a string on the LCD at specified x,y co-ordinate.\r
+ */\r
+ public static native void drawString(String str, int x, int y);\r
+\r
+ /**\r
+ * Display an int on the LCD at specified x,y co-ordinate.\r
+ */\r
+ public static native void drawInt(int i, int x, int y);\r
+\r
+ /**\r
+ * Display an in on the LCD at x,y with leading spaces to occupy at least the number\r
+ * of characters specified by the places parameter.\r
+ */\r
+ public static native void drawInt(int i, int places, int x, int y);\r
+\r
+ /**\r
+ * Update the display.\r
+ */\r
+ public static native void refresh();\r
+ \r
+ /**\r
+ * Clear the display.\r
+ */\r
+ public static native void clear();\r
+ \r
+ /**\r
+ * Write graphics from a Java buffer to the display.\r
+ */\r
+ public static native void setDisplay(int[] buff);\r
+}\r
* Example:<p>\r
* <code><pre>\r
* Motor.A.setSpeed(720);// 2 RPM\r
- * Motor.C.setSpeed(7200);\r
+ * Motor.C.setSpeed(720);\r
* Motor.A.forward();\r
* Motor.C.forward();\r
* Thread.sleep (1000);\r
private boolean _rampUp = true;\r
private int _lastTacho = 0;\r
private int _actualSpeed;\r
+ private float _voltage;\r
\r
\r
/** initialized to be false(ramping enabled); changed only by smoothAcceleration\r
public Motor (MotorPort port)\r
{\r
_port = port;\r
- regulator.start();\r
regulator.setDaemon(true);\r
+ regulator.start();\r
timer.start();\r
}\r
public int getStopAngle() { return (int)_stopAngle;}\r
* time regulating started\r
*/\r
int time0 = 0;\r
-\r
+ float error = 0;\r
/**\r
* helper method - used by reset and setSpeed()\r
*/\r
int calcPower(int speed)\r
{ \r
- float pwr = 100 - 7.4f*Battery.getVoltage()+0.065f*speed;// no-load motor\r
+// float pwr = 100 - 7.4f*Battery.getVoltage()+0.065f*speed;// no-load motor\r
+ float pwr = 100 - 7.4f*_voltage+0.065f*speed;\r
if(pwr<0) return 0;\r
if(pwr>100)return 100;\r
else return (int)pwr;\r
*/\r
public void run()\r
{\r
- int limit = 0;\r
- float error = 0;\r
+// int limit = 0;\r
+\r
float e0 = 0;\r
- float accel = 1.5f;// deg/sec/ms was 1.5\r
- int td = 100;\r
- float ts = 0; //time to stabilize\r
+ float accel =5f;// deg/sec/ms was 1.5\r
+ float power = 0;\r
+ int ts = 0;//time to reach speed\r
while(_keepGoing)\r
{ synchronized(this)\r
{ \r
{\r
int elapsed = (int)System.currentTimeMillis()-time0;\r
int angle = getTachoCount()-angle0;\r
+// basePower = calcPower(_speed);\r
if(_rampUp)\r
{ \r
- ts = _speed/accel;\r
- if (elapsed +td<ts)// not yet up to speed\r
+\r
+ ts = (int)(_speed/accel);\r
+// ts = 100;\r
+ if(elapsed<ts)// not at speed yet\r
{\r
- elapsed +=td;\r
+ \r
// target distance = a * t * t/ 2 - maintain constant acceleration\r
error = accel*elapsed * elapsed/2000 - (float)Math.abs(angle);\r
- basePower = calcPower((int)Math.max(elapsed*accel,400));\r
}\r
else // adjust elapsed time for acceleration time - don't try to catch up\r
{\r
- error = ((elapsed + td-ts/2)* _speed)/1000f - (float)Math.abs(angle);\r
+ error = ((elapsed - ts/2)* _speed)/1000f - (float)Math.abs(angle);\r
}\r
}\r
else \r
error = (elapsed*_speed/1000f)- (float)Math.abs(angle);\r
- float power = basePower + 2 * error -1 * e0;// magic numbers from experiment\r
+ power = basePower + 0.75f * error;// -0.1f * e0;// magic numbers from experiment\r
if(power<0) power = 0;\r
e0 = error;\r
- float smooth = 0.0015f;// another magic number from experiment\r
+ float smooth = 0.0025f;// another magic number from experiment\r
basePower = basePower + smooth*(power-basePower); \r
setPower((int)power);\r
}\r
_wasRegulating = _regulate;\r
_regulate = true;\r
_speed0 = _speed;\r
- setSpeed(150);\r
+ setSpeed(300);//was 150\r
_wasRotating = true;\r
- limit = _limitAngle;\r
+// limit = _limitAngle;\r
}\r
nudge(remaining,a); //another try\r
}\r
int angle = getTachoCount();\r
_actualSpeed = 10*(angle - _lastTacho);\r
_lastTacho = angle;\r
+ _voltage = Battery.getVoltage();\r
}\r
\r
/** \r
*returns actualSpeed degrees per second, calculated every 100 ms; negative value means motor is rotating backward\r
*/\r
- public int getActualSpeed() { return _actualSpeed;}\r
- \r
+ public int getActualSpeed() { return _actualSpeed;} \r
/**\r
* Returns the tachometer count.\r
* \r
{\r
_port.resetTachoCount();\r
}\r
+\r
+ public float getError() {return regulator.error;}\r
+ public float getBasePower() {return regulator.basePower;}\r
}\r
\r
\r
package lejos.nxt;
-//import lejos.nxt.*;
+
+import java.io.*;
/**
* NXT sound routines.
* </TABLE>
*/
- public static int C2 = 1056;
+ public static int C2 = 1056;
+
public static void systemSound (boolean aQueued, int aCode)
{
if(aCode==0)
{
systemSound (true, 4);
}
- public static void pause(int t)
+
+ public static void pause(int t)
{
try { Thread.sleep(t); }
catch(InterruptedException e){}
}
+
/**
* Plays a tone, given its frequency and duration. Frequency is audible from about 31 to 2100 Hertz. The
* duration argument is in hundreds of a seconds (centiseconds, not milliseconds) and is truncated
* @param aDuration The duration of the tone, in centiseconds. Value is truncated at 256 centiseconds.
*/
public static native void playTone (int aFrequency, int aDuration);
+
+ /**
+ * Internal method used to play sound sample from a file
+ * @param page the start page of the file
+ * @param len the length of the file
+ * @param freq the frequency
+ * @param vol the volume
+ */
+ public static native void playSample(int page, int len, int freq, int vol);
+
+ /**
+ *
+ * @param file the 8-bit PWM (WAV) sample file
+ * @param freq the average frequency to play the sample at
+ * @param vol the sound volume
+ */
+ public static void playSample(File file, int freq, int vol) {
+ playSample(file.getPage(), file.length(), freq, vol);
+ }
+
}
import java.io.*;
+import java.util.Vector;
+
import lejos.nxt.comm.*;
import lejos.nxt.*;
static boolean update = true;
public static void main(String[] args) throws Exception {
-
Indicators ind = new Indicators();
USBRespond usb = new USBRespond();
BTRespond bt = new BTRespond();
String title = " leJOS NXJ";
- TextMenu menu = new TextMenu(null,1);
+ String devices = "Devices";
+ String found = "Found";
+ String status = "Status ";
+ String on = "on ";
+ String off = "off";
+ String visible = "vis ";
+ String invisible = "invis";
+ String bluetooth = "Bluetooth";
+ String system = "System";
+ String freeFlash = "Free flash";
+ TextMenu filesMenu = new TextMenu(null,1);
+ String[] topMenuData = {"Files", "Bluetooth", "System"};
+ TextMenu topMenu = new TextMenu(topMenuData,1);
String[] fileMenuData = {"Execute program", "Delete file"};
TextMenu fileMenu = new TextMenu(fileMenuData,2);
String[] fileNames = new String[File.MAX_FILES];
+ TextMenu menu = topMenu;
+ String[] blueMenuData = {"Devices", "Search", "On/Off","Visibility"};
+ TextMenu blueMenu = new TextMenu(blueMenuData,3);
+ String[] systemMenuData = {"Defrag"};
+ TextMenu systemMenu = new TextMenu(systemMenuData,3);
+ File[] files = null;
boolean quit = false;
+ int blueStatus = 0, visibility = 0;
+
ind.setDaemon(true);
ind.start();
usb.setDaemon(true);
while (!quit)
{
LCD.drawInt( (int)(Runtime.getRuntime().freeMemory()),0,0);
- File[] files = File.listFiles();
- int len = 0;
- for(int i=0;i<files.length && files[i] != null;i++) len++;
- for(int i=0;i<len;i++) fileNames[i] = files[i].getName();
- for(int i = len; fileNames[i] != null && i<files.length;i++)fileNames[i] = null;
- menu.setItems(fileNames);
usb.setMenu(menu);
bt.setMenu(menu);
LCD.clear();
LCD.drawString(title,6,0);
LCD.drawInt( (int)(Runtime.getRuntime().freeMemory()),0,0);
LCD.refresh();
+
+ if (menu == filesMenu) {
+ files = File.listFiles();
+ int len = 0;
+ for(int i=0;i<files.length && files[i] != null;i++) len++;
+ for(int i=0;i<len;i++) fileNames[i] = files[i].getName();
+ for(int i = len; fileNames[i] != null && i<files.length;i++)fileNames[i] = null;
+ filesMenu.setItems(fileNames);
+ } else if (menu == blueMenu) {
+ LCD.drawString(bluetooth, 3, 1);
+ LCD.drawString(status,0,2);
+ blueStatus = Bluetooth.getStatus();
+ visibility = Bluetooth.getVisibility();
+ LCD.drawString(blueStatus == 0 ? on : off, 7, 2);
+ LCD.drawString(visibility == 1 ? visible : invisible, 11, 2);
+ LCD.refresh();
+ } else if (menu == systemMenu) {
+ LCD.drawString(system, 4, 1);
+ LCD.drawString(freeFlash, 0, 2);
+ LCD.drawInt(File.freeMemory(),5, 11, 2);
+ LCD.refresh();
+ }
int selection = menu.select();
- if (selection >= 0) {
- LCD.clear();
- LCD.drawString(title,6,0);
- LCD.drawInt( (int)(Runtime.getRuntime().freeMemory()),0,0);
- LCD.refresh();
- fileMenu.setTitle(fileNames[selection]);
- int subSelection = fileMenu.select();
- if (subSelection == 0)
- {
- Bluetooth.btSetCmdMode(1);
- files[selection].exec();
- } else if (subSelection == 1)
- {
- files[selection].delete();
+ if (menu == topMenu) {
+ if (selection == 0) {
+ menu = filesMenu;
+ } else if (selection ==1) {
+ menu = blueMenu;
+ } else if (selection == 2) {
+ menu = systemMenu;
+ } else if (selection == -1) {
+ quit = true;
+ }
+ } else if (menu == filesMenu) {
+ if (selection >= 0) {
+ LCD.clear();
+ LCD.drawString(title,6,0);
+ LCD.drawInt( (int)(Runtime.getRuntime().freeMemory()),0,0);
+ LCD.refresh();
+ fileMenu.setTitle(fileNames[selection]);
+ int subSelection = fileMenu.select();
+ if (subSelection == 0)
+ {
+ Bluetooth.btSetCmdMode(1);
+ files[selection].exec();
+ } else if (subSelection == 1)
+ {
+ files[selection].delete();
+ LCD.clear();
+ LCD.refresh();
+ }
+ } if (selection == -1) {
+ menu = topMenu;
+ }
+ } else if (menu == blueMenu) {
+ if (selection == 0) { //Devices
+ Vector devList = Bluetooth.getKnownDevicesList();
+ if (devList.size() > 0) {
+ String[] names = new String[devList.size()];
+ for (int i = 0; i < devList.size(); i++) {
+ BTRemoteDevice btrd = ((BTRemoteDevice) devList.elementAt(i));
+ names[i] = btrd.getFriendlyName();
+ }
+
+ TextMenu deviceMenu = new TextMenu(names,1);
+ String[] subItems = {"Remove"};
+ TextMenu subMenu = new TextMenu(subItems,5);
+
+ int selected;
+ do {
+ LCD.clear();
+ LCD.drawString(devices,5,0);
+ LCD.refresh();
+ selected = deviceMenu.select();
+ if (selected >=0) {
+ BTRemoteDevice btrd = ((BTRemoteDevice) devList.elementAt(selected));
+ LCD.clear();
+ LCD.drawString(devices,5,0);
+ LCD.drawString(names[selected],0,1);
+ LCD.drawString(btrd.getAddressString(), 0, 2);
+ for(int i=0;i<4;i++) LCD.drawInt(btrd.getDeviceClass()[i], 3, i*4, 3);
+ int subSelection = subMenu.select();
+ if (subSelection == 0) {
+ Bluetooth.removeDevice(btrd);
+ selected = -1;
+ }
+ }
+ } while (selected >= 0);
+
+ } else {
+ LCD.clear();
+ LCD.drawString("no known devices", 0, 0);
+ LCD.refresh();
+ try {
+ Thread.sleep(2000);
+ } catch (InterruptedException e) {}
+ }
+ } else if (selection == 1) { // Search
+ byte[] cod = {0,0,8,4}; // Toy, Robot
LCD.clear();
+ LCD.drawString("Searching ...", 0, 0);
LCD.refresh();
+ Vector devList = Bluetooth.inquire(5, 10,cod);
+
+ if (devList.size() > 0) {
+ String[] names = new String[devList.size()];
+ for (int i = 0; i < devList.size(); i++) {
+ BTRemoteDevice btrd = ((BTRemoteDevice) devList.elementAt(i));
+ names[i] = btrd.getFriendlyName();
+ }
+
+ TextMenu searchMenu = new TextMenu(names,1);
+ String[] subItems = {"Add"};
+ TextMenu subMenu = new TextMenu(subItems,4);
+
+ int selected;
+ do {
+ LCD.clear();
+ LCD.drawString(found,6,0);
+ LCD.refresh();
+ selected = searchMenu.select();
+ if (selected >=0) {
+ BTRemoteDevice btrd = ((BTRemoteDevice) devList.elementAt(selected));
+ LCD.clear();
+ LCD.drawString(found,6,0);
+ LCD.drawString(names[selected],0,1);
+ LCD.drawString(btrd.getAddressString(), 0, 2);
+ int subSelection = subMenu.select();
+ if (subSelection == 0) Bluetooth.addDevice(btrd);
+ }
+ } while (selected >= 0);
+
+ } else {
+ LCD.clear();
+ LCD.drawString("no devices", 0, 0);
+ LCD.refresh();
+ try {
+ Thread.sleep(2000);
+ } catch (InterruptedException e) {}
+ }
+ } else if (selection == 2) // On/Off
+ {
+ //LCD.clear();
+ //LCD.refresh();
+ Bluetooth.setStatus((byte) (blueStatus == 0 ? 1 : 0));
+ }else if (selection == 3) // Visibility
+ {
+ Bluetooth.setVisibility((byte) (visibility == 1 ? 0 : 1));
+ } else if (selection == -1) {
+ menu = topMenu;
+ }
+
+ } else if (menu == systemMenu) {
+ if (selection == 0) {
+ File.defrag();
+ } else if (selection == -1) {
+ menu = topMenu;
}
- } else if (selection == -1) quit = true;
+ }
}
}
}
Sound.beepSequenceUp();
menu.quit();
}
- }
+ }
+ Thread.yield();
}
}
}
{
if (cmdMode) {
btc = Bluetooth.waitForConnection();
+ if (btc == null) {
+ try {
+ Thread.sleep(2000);
+ } catch (InterruptedException e) {}
+ continue;
+ }
//LCD.clear();
//LCD.drawString(connected,0,0);
//LCD.refresh();
Bluetooth.btSetCmdMode(1); // set Command mode
cmdMode = true;
}
- }
+ }
+ Thread.yield();
}
}
}
// if (_length<_size) _size = _length;
int button = 0;
_selectedIndex = 0;
+ _quit = false;
// LCD.clear();
display();
while(!_quit)
if(_selectedIndex < 0) _selectedIndex += _length;
int diff = _selectedIndex - _topIndex;
if(diff > _length) diff -= _length;
- if(diff < 0 || diff > _size)_topIndex = _selectedIndex;
+ if(diff < 0 || diff >= _size)_topIndex = _selectedIndex;
}
display();
}
import java.io.*;
public class BTOutputStream extends OutputStream {
- byte[] bb = new byte[1];
+ byte[] bb = new byte[3];
public void write(int b) {
- bb[0] = (byte) b;
- Bluetooth.btSend(bb, 1);
+ bb[0] = 1;
+ bb[1] = 0;
+ bb[2] = (byte) b;
+ Bluetooth.btSend(bb,3);
}
}
--- /dev/null
+package lejos.nxt.comm;\r
+\r
+public class BTRemoteDevice {\r
+\r
+ private byte[] addr = new byte[7];\r
+ private char[] friendlyNameCAr = new char[16];\r
+ private int friendlyNameLen = 0;\r
+ private byte[] deviceClass = new byte[4];\r
+ private static final char[] cs = {'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'};\r
+ \r
+ public BTRemoteDevice(char[] friendlyNameCharArray, int len, byte[] deviceAddr, byte [] devclass) {\r
+ setFriendlyName(friendlyNameCharArray, len);\r
+ setDeviceAddr(deviceAddr);\r
+ setDeviceClass(devclass);\r
+ }\r
+\r
+ public void setDeviceAddr(byte[] deviceAddr) {\r
+ for(int i=0;i<7;i++) addr[i] = deviceAddr[i]; \r
+ }\r
+ \r
+ public byte[] getDeviceAddr() {\r
+ return addr;\r
+ }\r
+ \r
+ public void setFriendlyName(char[] friendlyNameCharArray, int len) {\r
+ for(int i=0; i<len; i++) this.friendlyNameCAr[i] = friendlyNameCharArray[i];\r
+ this.friendlyNameLen = len;\r
+\r
+ }\r
+ \r
+ public String getFriendlyName() {\r
+ return new String(this.friendlyNameCAr, 0 ,this.friendlyNameLen);\r
+ }\r
+ \r
+ /*\r
+ * Get the FriendlyName of the BTRemoteDevice as Char-Array \r
+ * @params: \r
+ */\r
+ public int getFriendlyName(char[] friendlyNameCharArray) {\r
+ for(int i=0; i<friendlyNameLen; i++) friendlyNameCharArray[i] = this.friendlyNameCAr[i];\r
+ return friendlyNameLen;\r
+ }\r
+ \r
+ public void setDeviceClass(byte[] devclass) {\r
+ for(int i=0;i<4;i++) deviceClass[i] = devclass[i];\r
+ }\r
+ \r
+ public String getAddressString() {\r
+ char[] caddr = new char[12];\r
+ \r
+ int ci = 0;\r
+ int nr = 0;\r
+ int addri = 0;\r
+ \r
+ for(int i=0; i<6; i++) {\r
+ addri = (int)addr[i];\r
+ nr = (addri>=0) ? addri : (256 + addri); \r
+ caddr[ci++] = cs[nr / 16];\r
+ caddr[ci++] = cs[nr % 16];\r
+ }\r
+ return new String(caddr, 0, 12);\r
+ }\r
+ \r
+ public byte[] getDeviceClass() {\r
+ return deviceClass;\r
+ }\r
+}
\ No newline at end of file
package lejos.nxt.comm;
-
+import java.util.*;
+import lejos.nxt.*;
/**
* Support for Bluetooth communications.
public static final int MSG_CLOSE_PORT = 29;
public static final int MSG_CLOSE_PORT_RESULT = 30;
public static final int MSG_PIN_CODE_ACK = 31;
- public static final int MSG_DISCOVERABLE_ACK = 32;
+ public static final int MSG_SET_DISCOVERABLE_ACK = 32;
public static final int MSG_SET_FRIENDLY_NAME = 33;
public static final int MSG_SET_FRIENDLY_NAME_ACK = 34;
public static final int MSG_GET_LINK_QUALITY = 35;
private static byte[] receiveBuf = new byte[128];
private static byte[] friendlyName = retrieveFriendlyName();
private static byte[] localAddr = retrieveLocalAddress();
+ private static boolean supressWait = false;
private Bluetooth()
{
Bluetooth.btSetCmdMode(1);
Bluetooth.btStartADConverter();
- while (cmdMode)
+ while (cmdMode & !supressWait)
{
receiveReply(reply,32);
if (reply[0] != 0) {
+ //LCD.drawInt(reply[1],0, 2);
+ //LCD.refresh();
if (reply[1] == MSG_REQUEST_PIN_CODE) {
for(int i=0;i<7;i++) device[i] = reply[i+2];
msg[0] = Bluetooth.MSG_PIN_CODE;
}
}
}
+ Thread.yield();
}
return btc;
}
+ /**
+ * Called when Bluetooth starts up to get the friendly namr
+ * of this device, as this cannot be done when a stream is open.
+ */
private static byte[] retrieveFriendlyName() {
byte[] reply = new byte[32];
byte[] msg = new byte[1];
return name;
}
+ /**
+ * Get the friendly name of the local device
+ * @return the friendly name
+ */
public static byte [] getFriendlyName() {
return friendlyName;
}
+ /**
+ * Set the name of the local device
+ * @param name the friendly name for the device
+ */
public static void setFriendlyName(byte[] name) {
byte[] reply = new byte[32];
byte[] msg = new byte[32];
}
}
+ /**
+ * get the Bluetooth address of the local device
+ * @return the local address
+ */
public static byte[] getLocalAddress() {
return localAddr;
}
+ /**
+ * get the local address when Bluetooth starts up
+ * as it cannot be retrivedwhen a stream is open.
+ */
private static byte[] retrieveLocalAddress() {
byte[] reply = new byte[32];
byte[] msg = new byte[1];
return address;
}
-}
+
+ /**
+ * Connects to a remote device
+ *
+ * @param remoteDevice remote device
+ * @return BTConnection Object or null
+ */
+ public static BTConnection connect(BTRemoteDevice remoteDevice) {
+ return connect(remoteDevice.getDeviceAddr());
+ }
+
+ /**
+ * Connects to a Device by it's Byte-Device-Address Array
+ *
+ * @param device_addr byte-Array with device-Address
+ * @return BTConnection Object or null
+ */
+ public static BTConnection connect(byte[] device_addr) {
+
+ boolean cmdMode = true;
+ byte[] msg = new byte[32];
+ byte[] reply = new byte[32];
+ byte[] dummy = new byte[32];
+ BTConnection btc = null;
+ byte[] device = new byte[7]; // remote device
+
+ Bluetooth.btSetCmdMode(1);
+ Bluetooth.btStartADConverter();
+
+ // invoke BC4 Chip to connect
+ msg[0] = MSG_CONNECT;
+ for (int i = 0; i < 7; i++) {
+ msg[i + 1] = device_addr[i];
+ }
+ sendCommand(msg, 8);
+ // receive connection-result
+ while (cmdMode) {
+ receiveReply(reply, 32);
+
+ if (reply[0] != 0) {
+ //LCD.drawInt(reply[1], 0, 2);
+ //LCD.refresh();
+ if (reply[1] == MSG_REQUEST_PIN_CODE) {
+ for(int i=0;i<7;i++) device[i] = reply[i+2];
+ msg[0] = Bluetooth.MSG_PIN_CODE;
+ for(int i=0;i<7;i++) msg[i+1] = device[i];
+ msg[8] = '1';
+ msg[9] = '2';
+ msg[10] = '3';
+ msg[11] = '4';
+ for(int i=0;i<12;i++) msg[i+12] = 0;
+ sendCommand(msg, 24);
+ } else if (reply[1] == MSG_CONNECT_RESULT) {
+ try {
+ Thread.sleep(300);
+ } catch (InterruptedException ie) {
+ }
+
+ receiveReply(dummy, 32);
+ if (dummy[0] == 0) {
+ btc = new BTConnection(reply[3]);
+ msg[0] = MSG_OPEN_STREAM;
+ msg[1] = reply[3];
+ sendCommand(msg, 2);
+ try {
+ Thread.sleep(100);
+ } catch (InterruptedException ie) {
+ }
+ btSetCmdMode(0);
+ cmdMode = false;
+ }
+ }
+ }
+ Thread.yield();
+ }
+ return btc;
+ }
+
+ /**
+ * The internal Chip has a list of already paired Devices. This Method returns a
+ * Vector-List which contains all the known Devices on the List. These need not be reachable.
+ * To connect to a "not-known"-Device, you should use the Inquiry-Prozess.
+ * The pairing-Process can also be done with the original Lego-Firmware. The List of known
+ * devices will not get lost, when installing the LeJOS Firmware.
+ * @return Vector with List of known Devices
+ */
+ public static Vector getKnownDevicesList() {
+
+ boolean cmdMode = true;
+ byte[] msg = new byte[2];
+ byte[] reply = new byte[32];
+ byte[] device = new byte[7];
+ byte[] devclass = new byte[4];
+ Vector retVec = new Vector(1);
+ BTRemoteDevice curDevice;
+
+ Bluetooth.btSetCmdMode(1);
+ Bluetooth.btStartADConverter();
+
+ supressWait = true;
+ Thread.yield();
+
+ // invoke BC4 Chip to send the DumpList
+ msg[0] = MSG_DUMP_LIST;
+ sendCommand(msg, 1);
+
+ // receive DeviceList one by one
+ while (cmdMode) {
+ receiveReply(reply, 32);
+
+ if (reply[0] != 0) {
+
+ if (reply[1] == MSG_LIST_ITEM) {
+
+ // Get MAC-Address
+ for (int i = 0; i < 7; i++)
+ device[i] = reply[i + 2];
+
+ // Get the friendly Name, it is terminated by Zero
+ char[] c_ar = new char[16];
+ int ci = 0;
+ for (; (ci < 16 && reply[ci + 9] != 0); ci++)
+ c_ar[ci] = (char) reply[ci + 9];
+
+ // Get Device-Class
+ for (int i = 0; i < 4; i++)
+ devclass[i] = reply[i + 25];
+
+ // create BTRemoteDevice
+
+ curDevice = new BTRemoteDevice(c_ar, ci, device, devclass);
+
+ // add the Element to the Vector List
+ retVec.addElement(curDevice);
+ }
+
+ if (reply[1] == MSG_LIST_DUMP_STOPPED) {
+ break;
+ }
+ }
+
+ Thread.yield();
+ }
+ supressWait = false;
+ return retVec;
+ }
+
+ /**
+ * Gets a Device of the BC4-Chips internal list of known Devices
+ * (those who have been paired before) into the BTDevice Object.
+ * @param fName Friendly-Name of the device
+ * @return BTDevice Object or null, if not found.
+ */
+ public static BTRemoteDevice getKnownDevice(String fName) {
+ BTRemoteDevice btd = null;
+ //look the name up in List of Known Devices
+ Vector devList = getKnownDevicesList();
+ if (devList.size() > 0) {
+ for (int i = 0; i < devList.size(); i++) {
+ btd = (BTRemoteDevice) devList.elementAt(i);
+ if (btd.getFriendlyName().equals(fName)) {
+ return btd;
+ }
+ }
+ }
+ return btd;
+ }
+
+ /**
+ * Add device to known devices
+ * @param d Remote Device
+ * @return true iff add was successful
+ */
+ public static boolean addDevice(BTRemoteDevice d) {
+ byte [] msg = new byte[28];
+ byte [] reply = new byte[32];
+ byte [] addr = d.getDeviceAddr();
+ String name = d.getFriendlyName();
+ byte[] cod = d.getDeviceClass();
+
+ supressWait = true;
+ Thread.yield();
+
+ msg[0] = MSG_ADD_DEVICE;
+ for(int i=0;i<7;i++) msg[i+1] = addr[i];
+ for(int i=0;i<name.length();i++) msg[i+8] = (byte) name.charAt(i);
+ for(int i=0;i<4;i++) msg[i+24] = cod[i];
+
+ sendCommand(msg,28);
+
+ boolean added = false;
+
+ while(!added) {
+ receiveReply(reply,32);
+
+ if (reply[0] != 0 && reply[1] == MSG_LIST_RESULT) {
+ added = true;
+ }
+ }
+
+ supressWait = false;
+ return reply[2] == 0x50;
+ }
+
+ /**
+ * Add device to known devices
+ * @param d Remote Device
+ * @return true iff remove was successful
+ */
+ public static boolean removeDevice(BTRemoteDevice d) {
+ byte [] msg = new byte[28];
+ byte [] reply = new byte[32];
+ byte [] addr = d.getDeviceAddr();
+
+ supressWait = true;
+ Thread.yield();
+
+ msg[0] = MSG_REMOVE_DEVICE;
+ for(int i=0;i<7;i++) msg[i+1] = addr[i];
+
+ sendCommand(msg,8);
+
+ boolean removed = false;
+
+ while(!removed) {
+ receiveReply(reply,32);
+
+ if (reply[0] != 0 && reply[1] == MSG_LIST_RESULT) {
+ removed = true;
+ }
+ }
+
+ supressWait = false;
+ return reply[2] == 0x50;
+ }
+
+ public static Vector inquire(int maxDevices, int timeout, byte[] cod) {
+ Vector retVec = new Vector();
+ byte[] msg = new byte[8];
+ byte[] reply = new byte[32];
+ byte[] device = new byte[7];
+ char[] name = new char[16];
+ int nameLen;
+
+ supressWait = true;
+ Thread.yield();
+
+ msg[0] = MSG_BEGIN_INQUIRY;
+ msg[1] = (byte) maxDevices;
+ msg[2] = 0;
+ msg[3] = (byte) timeout;
+ for(int i=0;i<4;i++) msg[4+i] = cod[i];
+
+ sendCommand(msg, 8);
+
+ boolean stopped = false;
+
+ while(!stopped) {
+ receiveReply(reply,32);
+
+ if (reply[0] != 0) {
+ if (reply[1] == MSG_INQUIRY_STOPPED) stopped = true;
+ else if (reply[1] == MSG_INQUIRY_RESULT) {
+ for(int i=0;i<7;i++) device[i] = reply[2+i];
+ nameLen = 0;
+ for(int i=0;i<16 && reply[9+i] != 0;i++) {
+ name[i] = (char) reply[9+i];
+ nameLen++;
+ }
+ for(int i=0;i<4;i++) cod[i] = reply[25+i];
+
+ // add the Element to the Vector List
+ retVec.addElement(new BTRemoteDevice(name, nameLen, device, cod));
+ }
+ }
+ Thread.yield();
+ }
+
+ // Fill in the names
+
+ for (int i = 0; i < retVec.size(); i++) {
+ BTRemoteDevice btrd = ((BTRemoteDevice) retVec.elementAt(i));
+ String s = btrd.getFriendlyName();
+ if (s.length() == 0) {
+ String nm = lookupName(btrd.getDeviceAddr());
+ btrd.setFriendlyName(nm.toCharArray(),nm.length());
+ }
+ }
+
+ supressWait = false;
+
+ return retVec;
+ }
+
+ /**
+ * Look up the name of a device using its address
+ *
+ * @param deviceAddr
+ * @return friendly name of device
+ */
+ public static String lookupName(byte [] deviceAddr) {
+ byte [] msg = new byte[8];
+ byte[] reply = new byte[32];
+ char[] name = new char[16];
+
+ msg[0] = MSG_LOOKUP_NAME;
+ for(int i=0;i<7;i++) msg[i+1] = deviceAddr[i];
+
+ sendCommand(msg,8);
+
+ while(true) {
+ receiveReply(reply,32);
+ if (reply[0] != 0) {
+ if (reply[1] == MSG_LOOKUP_NAME_RESULT) {
+ int nameLen = 0;
+ for(int i=0;i<16 && reply[9+i] != 0;i++) {
+ nameLen++;
+ name[i] = (char) reply[9+i];
+ }
+ return new String(name,0,nameLen);
+
+ } else if (reply[1] == MSG_LOOKUP_NAME_FAILURE)
+ break;
+ }
+ }
+
+ return "";
+ }
+
+ public static int getStatus() {
+ byte [] msg = new byte[8];
+ byte[] reply = new byte[32];
+
+ supressWait = true;
+ Thread.yield();
+
+ msg[0] = MSG_GET_BRICK_STATUSBYTE;
+
+ sendCommand(msg,1);
+
+ while(true) {
+ receiveReply(reply,32);
+ if (reply[0] != 0) {
+ if (reply[1] == MSG_GET_BRICK_STATUSBYTE_RESULT) {
+ supressWait = false;
+ return (int) reply[2];
+ }
+ }
+ }
+ }
+
+ public static void setStatus(byte status) {
+ byte [] msg = new byte[8];
+ byte[] reply = new byte[32];
+
+ supressWait = true;
+ Thread.yield();
+
+ msg[0] = MSG_SET_BRICK_STATUSBYTE;
+ msg[1] = status;
+ msg[2] = 0;
+
+ sendCommand(msg,3);
+
+ while(true) {
+ receiveReply(reply,32);
+ if (reply[0] != 0) {
+ //LCD.drawInt(reply[1],3,0,0);
+ //LCD.refresh();
+ if (reply[1] == MSG_SET_BRICK_STATUSBYTE_RESULT) {
+ supressWait = false;
+ return;
+ }
+ }
+ }
+ }
+
+ public static int getVisibility() {
+ byte [] msg = new byte[8];
+ byte[] reply = new byte[32];
+
+ supressWait = true;
+ Thread.yield();
+
+ msg[0] = MSG_GET_DISCOVERABLE;
+
+ sendCommand(msg,1);
+
+ while(true) {
+ receiveReply(reply,32);
+ if (reply[0] != 0) {
+ if (reply[1] == MSG_GET_DISCOVERABLE_RESULT) {
+ supressWait = false;
+ return (int) reply[2];
+ }
+ }
+ }
+ }
+
+ public static void setVisibility(byte visible) {
+ byte [] msg = new byte[8];
+ byte[] reply = new byte[32];
+
+ supressWait = true;
+ Thread.yield();
+
+ msg[0] = MSG_SET_DISCOVERABLE;
+ msg[1] = visible;
+
+ sendCommand(msg,2);
+
+ while(true) {
+ receiveReply(reply,32);
+ if (reply[0] != 0) {
+ //LCD.drawInt(reply[1],3,0,0);
+ //LCD.refresh();
+ if (reply[1] == MSG_SET_DISCOVERABLE_ACK) {
+ supressWait = false;
+ return;
+ }
+ }
+ }
+ }
+}
else m = Motor.C;
int tacho = m.getTachoCount();
- byte mode = 0;
- if (m.isMoving()) mode = 0x01;
-
reply[3] = port;
reply[4] = (byte)(m.getSpeed() * 100 / 900); // Power
- reply[5] = mode; // Only contains isMoving at moment
+ // MODE CALCULATION:
+ byte mode = 0;
+ if (m.isMoving()) mode = 0x01; // 0x01 = MOTORON
+ reply[5] = mode; // Only contains isMoving (MOTORON) at moment
+ // REGULATION_MODE CALCULATION:
+ byte regulation_mode = 0; // 0 = idle
+ if (m.isMoving()) mode = 0x01; // 0x01 = MOTOR_SPEED
+ // !! This returns same as run state (below). Whats the diff?
+ reply[6] = regulation_mode; // Regulation mode
+ // TURN RATIO CALC (ignored):
+ byte turn_ratio = 0; // NXJ uses Pilot. Omitting.
+ reply[7] = turn_ratio; // Turn ratio
+ // RUN_STATE CALCULATION:
+ byte run_state = 0;
+ if (m.isMoving()) run_state = 0x20; // 0x20 = RUNNING
+ reply[8] = run_state; // Run state
+ // 9 - 12 = Tacho Limit. Ignored?
reply[13] = (byte) (tacho & 0xFF);
reply[14] = (byte) ((tacho >> 8) & 0xFF);
reply[15] = (byte) ((tacho >> 16) & 0xFF);
--- /dev/null
+import java.io.DataInputStream;\r
+import java.io.DataOutputStream;\r
+import java.io.IOException;\r
+\r
+import lejos.nxt.comm.BTConnection;\r
+import lejos.nxt.comm.NXTSocket;\r
+import lejos.nxt.comm.USBConnection;\r
+\r
+public class NXTServerSocket {\r
+\r
+ private int port;\r
+ private BTConnection btc;\r
+ private USBConnection usbc;\r
+ private boolean isBluetooth;\r
+ private final boolean isServer = true;\r
+ \r
+ \r
+ \r
+ /**\r
+ * Constructor. Creates a new Server Socket over an open bluetooth connection\r
+ * @param port The port to listen on\r
+ * @param btc The bluetooth connection to open\r
+ * @throws IOException \r
+ */\r
+ public NXTServerSocket(int port, BTConnection btc) throws IOException{\r
+ this.port = port;\r
+ this.btc = btc;\r
+ isBluetooth = true;\r
+ negotiateConnection();\r
+ }\r
+ \r
+ /**\r
+ * Constructor. Creates a new Server Socket over an open usb connection\r
+ * @param port The port to listen on\r
+ * @param usbc The usb connection to open\r
+ * @throws IOException \r
+ */\r
+ public NXTServerSocket(int port, USBConnection usbc) throws IOException{\r
+ this.port = port;\r
+ this.usbc = usbc;\r
+ isBluetooth = false;\r
+ negotiateConnection();\r
+ }\r
+ \r
+ private void negotiateConnection() throws IOException{\r
+ DataOutputStream dos = openDataOutputStream();\r
+ dos.writeBoolean(isServer);\r
+ dos.writeInt(port);\r
+ dos.flush();\r
+ dos.close();\r
+ \r
+ }\r
+ \r
+ private DataOutputStream openDataOutputStream() throws IOException{\r
+ DataOutputStream dos;\r
+ if(isBluetooth){dos = new DataOutputStream(btc.openOutputStream());}\r
+ else{dos = new DataOutputStream(usbc.openOutputStream());}\r
+ return dos;\r
+ }\r
+ \r
+ private DataInputStream openDataInputStream() throws IOException{\r
+ DataInputStream dis;\r
+ if(isBluetooth){dis = new DataInputStream(btc.openInputStream());}\r
+ else{dis = new DataInputStream(usbc.openInputStream());}\r
+ return dis;\r
+ }\r
+ \r
+ /**\r
+ * Waits untill there is a socket connection available. When this becomes true\r
+ * a new NXTSocket is returned\r
+ * @return NXTSocket\r
+ * @throws IOException \r
+ */\r
+ public NXTSocket accept() throws IOException{\r
+ DataOutputStream dos = openDataOutputStream();\r
+ DataInputStream dis = openDataInputStream();\r
+ // inform the proxy of the command\r
+ dos.writeByte(1);\r
+ dos.flush();\r
+ dis.readBoolean();\r
+ dos.close();\r
+ dis.close();\r
+ if(isBluetooth){return new NXTSocket(btc);}\r
+ else{return new NXTSocket(usbc);}\r
+ \r
+ }\r
+\r
+}\r
--- /dev/null
+package lejos.nxt.comm;\r
+\r
+import java.io.*;\r
+\r
+/**\r
+* NXTSocket. Allows a NXT to establish a connection with a remote Socket\r
+* server via a proxy server.\r
+*\r
+* @author Ranulf Green\r
+* @version 1.0\r
+*/\r
+\r
+public class NXTSocket{\r
+\r
+ private DataOutputStream outToProxy;\r
+ private DataInputStream inFromProxy;\r
+ private BTConnection btc;\r
+ private USBConnection usbc;\r
+ private String host;\r
+ private int port;\r
+ private boolean isBluetooth;\r
+ private boolean isServer = false;\r
+\r
+ /**\r
+ * Constructor: Pass an open bluetooth connection and socket details.\r
+ * @param host The name of the host with which the socket will be opened\r
+ * @param port The port to connect to\r
+ * @param btc The bluetooth connection\r
+ * @throws IOException If the bluetooth does not respond or the proxy is\r
+ * not running\r
+ */\r
+ public NXTSocket(String host, int port, BTConnection btc) throws IOException{\r
+ this.host = host;\r
+ this.port = port;\r
+ this.btc = btc;\r
+ inFromProxy = new DataInputStream(btc.openInputStream());\r
+ outToProxy = new DataOutputStream(btc.openOutputStream());\r
+ isBluetooth = true;\r
+ negotiateConnection();\r
+ outToProxy.close();\r
+ inFromProxy.close();\r
+ \r
+ }\r
+ \r
+ /**\r
+ * Constructor: Pass an open USB connection and socket details.\r
+ * @param host The name of the host with which the socket will be opened\r
+ * @param port The port to connect to\r
+ * @param usbc The USB connection\r
+ * @throws IOException If the bluetooth does not respond or the proxy is\r
+ * not running\r
+ */\r
+ public NXTSocket(String host, int port, USBConnection usbc) throws IOException{\r
+ this.host = host;\r
+ this.port = port;\r
+ this.usbc = usbc;\r
+ inFromProxy = new DataInputStream(btc.openInputStream());\r
+ outToProxy = new DataOutputStream(btc.openOutputStream());\r
+ isBluetooth = false;\r
+ negotiateConnection();\r
+ outToProxy.close();\r
+ inFromProxy.close();\r
+ }\r
+ \r
+ /**\r
+ * Constructor. Use if the socket is intended not to connect to a host\r
+ * @param btc the connection the socket is made over\r
+ */\r
+ public NXTSocket(BTConnection btc){\r
+ this.btc = btc;\r
+ isBluetooth = true;\r
+ }\r
+ \r
+ /**\r
+ * Constructor for usb connnection. Does not connect to a host\r
+ * @param usbc The USB connection to use;\r
+ */\r
+ public NXTSocket(USBConnection usbc){\r
+ this.usbc = usbc;\r
+ isBluetooth = false;\r
+ }\r
+ \r
+ /**\r
+ * \r
+ * Negotiates a connection between NXT and socket proxy\r
+ * @throws IOException if host name is invalid or connection fails\r
+ */\r
+ private void negotiateConnection() throws IOException{\r
+ if(host.length()==0) throw new IOException ();\r
+ else{\r
+ outToProxy = new DataOutputStream(btc.openOutputStream());\r
+ outToProxy.writeBoolean(isServer);\r
+ outToProxy.writeByte(host.length());\r
+ outToProxy.writeChars(host);\r
+ outToProxy.writeInt(port);\r
+ outToProxy.flush();\r
+ }\r
+ if(!inFromProxy.readBoolean()){\r
+ throw new IOException();\r
+ }\r
+ }\r
+\r
+ /**\r
+ * Returns the data input stream of the socket\r
+ * @return The data input stream of the socket\r
+ * @throws IOException\r
+ */\r
+ public DataInputStream getDataInputStream() throws IOException{\r
+ if(isBluetooth){return new DataInputStream(btc.openInputStream());}\r
+ else{return new DataInputStream(usbc.openInputStream());}\r
+ }\r
+\r
+ /**\r
+ * Returns the data output stream of the socket\r
+ * @return The data output stream of the socket\r
+ * @throws IOException\r
+ */\r
+ public DataOutputStream getDataOutputStream() throws IOException{\r
+ if(isBluetooth){return new DataOutputStream(btc.openOutputStream());}\r
+ else{return new DataOutputStream(usbc.openOutputStream());}\r
+ }\r
+ \r
+ /**\r
+ * Returns the output stream associated with this socket\r
+ * @return The output stream\r
+ * @throws IOException\r
+ */\r
+ public OutputStream getOutputStream() throws IOException{\r
+ if(isBluetooth){return btc.openOutputStream();}\r
+ else {return usbc.openOutputStream();}\r
+ }\r
+ \r
+ /**\r
+ * Returns the input stream associated with this socket\r
+ * @return The input stream\r
+ * @throws IOException\r
+ */\r
+ public InputStream getInputStream() throws IOException{\r
+ if(isBluetooth){return btc.openInputStream();}\r
+ else{return usbc.openInputStream();}\r
+ }\r
+ \r
+}\r
+\r
+\r
"usbReset()V",
"writePage([BI)V",
"readPage([BI)V",
- "exec(II)V"
+ "exec(II)V",
+ "playSample(IIII)V"
};
}
--- /dev/null
+package lejos.pc.comm;\r
+\r
+import java.io.*;\r
+\r
+public class NXTCommBTInputStream extends InputStream {\r
+ private NXTComm nxtComm;\r
+ private byte buf[];\r
+ private int bufIdx = 0, bufSize = 0;\r
+ \r
+ public NXTCommBTInputStream(NXTComm nxtComm) {\r
+ this.nxtComm = nxtComm;\r
+ }\r
+ \r
+ /**\r
+ * Returns one byte as an integer between 0 and 255. \r
+ * Returns -1 if the end of the stream is reached.\r
+ * Does not return till some bytes are available.\r
+ */\r
+ public int read() throws IOException\r
+ {\r
+ if (bufIdx >= bufSize) bufSize = 0;\r
+ while(bufSize == 0) bufSize = available();\r
+ \r
+ return buf[bufIdx++] & 0xFF;\r
+ }\r
+ \r
+ /**\r
+ * returns the number of bytes in the input buffer - can be read without blocking\r
+ */\r
+ public int available() throws IOException\r
+ {\r
+ if (bufIdx >= bufSize) bufSize = 0;\r
+ if (bufSize == 0) {\r
+ bufIdx = 0;\r
+ buf = nxtComm.read();\r
+ bufSize = buf.length;\r
+ }\r
+ return bufSize - bufIdx;\r
+ }\r
+ \r
+ /**\r
+ * Close the stream\r
+ */\r
+ public void close() throws IOException\r
+ { \r
+ nxtComm.close();\r
+ }\r
+}\r
import java.io.*;
public class NXTCommBTOutputStream extends OutputStream {
- ByteArrayOutputStream baos;
- NXTComm nxtComm;
+ private ByteArrayOutputStream baos;
+ private NXTComm nxtComm;
public NXTCommBTOutputStream(NXTComm nxtComm) {
this.nxtComm = nxtComm;
if (nxt.btResourceString == null ||
nxt.btResourceString.length() < 5 ||
!(nxt.btResourceString.substring(0,5).equals("btspp"))) {
- nxt.btResourceString = "btspp://" + stripColons(nxt.btDeviceAddress) + ":1;authenticate=false;encncrypt=false";
+ nxt.btResourceString = "btspp://" + stripColons(nxt.btDeviceAddress) + ":1;authenticate=false;encrypt=false";
}
try {
}
public byte [] read() throws IOException {
- return new byte[0];
+
+ int lsb = is.read();
+ int msb = is.read();
+ if (lsb != 1 || msb != 0) throw new IOException("Packet more than 1 byte");
+ byte[] bb = new byte[1];
+ bb[0] = (byte) is.read();
+
+ return bb;
}
public void write(byte [] data) throws IOException {
}
public InputStream getInputStream() {
- return is;
+ return new NXTCommBTInputStream(this);
}
public String stripColons(String s) {
}
public byte [] read () throws IOException {
- return rcSocketRecv(sk);
+ // Currently all packets are 1-byte
+ byte [] packet = rcSocketRecv(sk);
+ byte [] data = new byte [packet.length/3];
+ for(int i=0;i<packet.length/3;i++) data[i] = packet[i*3+2];
+ return data;
}
public void write(byte[] data) throws IOException {
}
public InputStream getInputStream() {
- return new NXTCommInputStream(this);
+ return new NXTCommBTInputStream(this);
}
native private String[] search(String name) throws BlueZException;
return new NXTInfo[0];
}
+
+ public void setNXTCommBlueTooth() {
+ if (nxtComm == null) {
+ nxtComm = NXTCommFactory.createNXTComm(NXTCommFactory.BLUETOOTH);
+ }
+ }
public boolean open(NXTInfo nxt) {
return open = nxtComm.open(nxt);
--- /dev/null
+import java.io.*;\r
+ \r
+import lejos.pc.comm.*;\r
+\r
+ /**\r
+ * conneccts to a NXT using either Bluetooth or USB and builds input and output data streams.\r
+ *@author Roger Glassey 22/08/2007\r
+ */\r
+ \r
+public class Connector\r
+{\r
+ private boolean _usb = false;\r
+ DataInputStream dataIn;\r
+ DataOutputStream dataOut;\r
+ InputStream is;\r
+ OutputStream os;\r
+ NXTComm nxtComm;\r
+ /**\r
+ * \r
+ * @param NXT can be the friendly name of the NXT or a 16 character address\r
+ * @param useUSB\r
+ * @return true if connection was made\r
+ */ \r
+ public boolean startConnector(String NXT, boolean useUSB) \r
+ {\r
+ NXTInfo[] nxtInfo ;\r
+ _usb = useUSB;\r
+ if(_usb)\r
+ { \r
+ nxtComm = new NXTCommLibnxt();\r
+ System.out.println("searching");\r
+ nxtInfo = nxtComm.search(null, NXTCommFactory.USB); \r
+ if (nxtInfo.length == 0) \r
+ {\r
+ System.out.println("No NXT Found");\r
+ return false;\r
+ }\r
+ nxtComm.open(nxtInfo[0]);\r
+ System.out.println(" Opened "+nxtInfo[0].name);\r
+ }\r
+ else\r
+ {\r
+ nxtComm = NXTCommFactory.createNXTComm(NXTCommFactory.BLUETOOTH);\r
+ if(NXT == null || NXT == " ")\r
+ {\r
+ System.out.println("search for all");\r
+ nxtInfo = nxtComm.search(NXT, NXTCommFactory.BLUETOOTH); \r
+ }\r
+ else if(NXT.length()<8)\r
+ {\r
+ System.out.println("search for " +NXT);\r
+ nxtInfo = nxtComm.search(NXT, NXTCommFactory.BLUETOOTH);\r
+\r
+ }\r
+ else\r
+ { \r
+ nxtInfo = new NXTInfo[1];\r
+ nxtInfo[0] = new NXTInfo("unknown ",NXT);// NXT is actually address\r
+ }\r
+ if (nxtInfo.length == 0) \r
+ {\r
+ System.out.println("No NXT Found: is BT adatper on? is NXT on? ");\r
+ System.exit(1);\r
+ }\r
+ System.out.println("Connecting to " + nxtInfo[0].name+" "+nxtInfo[0].btDeviceAddress);\r
+ boolean opened = nxtComm.open(nxtInfo[0]); \r
+ if (!opened) {\r
+ System.out.println("Failed to open " + nxtInfo[0].name+" "+nxtInfo[0].btDeviceAddress);\r
+ System.exit(1);\r
+ } \r
+ System.out.println("Connected to " + nxtInfo[0].name);\r
+ }\r
+ is = nxtComm.getInputStream();\r
+ dataIn = new DataInputStream( nxtComm.getInputStream()); \r
+ os = nxtComm.getOutputStream();\r
+ dataOut = new DataOutputStream(os);\r
+ return true;\r
+ }\r
+ /**\r
+ * @return the InputStream for this connection;\r
+ */\r
+ public InputStream getInputStream(){return is;}\r
+ \r
+ /**\r
+ * @return the DataInputStream for this connection;\r
+ */\r
+ public DataInputStream getDataIn(){return dataIn;}\r
+ \r
+ /**\r
+ * @return the OutputSteram for this connection;\r
+ */\r
+ public OutputStream getOutputStream(){return os;}\r
+ \r
+ /**\r
+ * @return the DataOutputStream for this connection\r
+ */\r
+ public DataOutputStream getDataOut() {return dataOut;} \r
+\r
+\r
+ public static void main(String[] args)\r
+ {\r
+ Connector con = new Connector();\r
+ con.startConnector("NXT",false);\r
+// DataInputStream din= btm.getDataIn();\r
+// while(true)\r
+// {\r
+// try{ System.out.println(din.readFloat());} catch(IOException e){}\r
+// }\r
+ \r
+ }\r
+ \r
+ }\r
+\r
+\r
--- /dev/null
+\r
+import java.awt.BorderLayout;\r
+import java.awt.GridLayout;\r
+import java.awt.TextArea;\r
+import java.awt.TextField;\r
+import java.awt.event.*;\r
+import javax.swing.JButton;\r
+import javax.swing.JToggleButton;\r
+import javax.swing.JFrame;\r
+import javax.swing.JPanel;\r
+import javax.swing.JLabel;\r
+import java.io.*;\r
+\r
+\r
+/**\r
+* Downloads data from the DataLogger running on a MXT <br>\r
+* Uses Bluetooth\r
+* The data can be copied and pasted into a spread sheet for analysis & graphing <br>\r
+* status field shows messages \r
+* @author Roger Glassey revised 07.11.2007\r
+*\r
+* \r
+*/\r
+ public class DataViewer extends JFrame implements ActionListener\r
+ {\r
+\r
+\r
+ private JButton startButton = new JButton("Start download");\r
+ private JToggleButton usbButton = new JToggleButton("USE USB");\r
+ private TextField statusField = new TextField(20);\r
+ private TextField lengthField = new TextField(5);\r
+ private TextField nameField = new TextField(12);\r
+ private int _recordCount = 0;\r
+ private int _rowLength = 4;\r
+ private String _nxt = "NXT"; \r
+ private boolean _useUSB = false;\r
+ private DataInputStream dataIn = null;\r
+ private OutputStream os = null;\r
+ private Connector con;\r
+ \r
+ \r
+/**\r
+* screen area to hold the downloaded data\r
+*/\r
+ private TextArea theLog;\r
+\r
+\r
+/**\r
+* Constructor builds GUI\r
+*/\r
+ public DataViewer() \r
+ { \r
+ setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r
+ setTitle("View Data from NXT Datalogger");\r
+ setSize(500,600);\r
+ JPanel p1 = new JPanel(); //holds button and text field\r
+ p1.add(new JLabel("Row Length:"));\r
+ p1.add(lengthField);\r
+ lengthField.setText("2");\r
+ p1.add(new JLabel("name or address"));\r
+ p1.add(nameField);\r
+ startButton.addActionListener(this);\r
+ JPanel p2 = new JPanel();// holds label and text field\r
+ p2.add(usbButton);\r
+ usbButton.addActionListener(this);\r
+ p2.add(startButton);\r
+ p2.add(new JLabel(" Status:"));\r
+ p2.add(statusField);\r
+\r
+ JPanel panel = new JPanel(); // North area of the frame\r
+ panel.setLayout(new GridLayout(2,1));\r
+ panel.add(p1);\r
+ panel.add(p2);;\r
+ add(panel,BorderLayout.NORTH);\r
+ theLog = new TextArea(40,40); // Center area of the frame\r
+ getContentPane().add(theLog,BorderLayout.CENTER);\r
+ statusField.setText("using BlueTooth");\r
+\r
+ }\r
+/**\r
+* Required by action listener; only action is generated by the get Length button\r
+*/ \r
+ public void actionPerformed(ActionEvent e)\r
+ {\r
+ if(e.getSource()== startButton)\r
+ {\r
+ _rowLength = Integer.parseInt(lengthField.getText());\r
+ _nxt = nameField.getText();\r
+ System.out.println(_rowLength + " "+ _nxt); \r
+ _recordCount = 0;\r
+ startDownload();\r
+ }\r
+ if(e.getSource()==usbButton)\r
+ {\r
+ \r
+ _useUSB = !_useUSB;\r
+ if(_useUSB){\r
+ setMessage("using USB");\r
+ }\r
+ else setMessage("using Bluetooth"); \r
+ }\r
+ }\r
+/**\r
+ * Initialize the display Frame <br>\r
+ */ \r
+ public static void main(String[] args)\r
+ {\r
+ DataViewer frame = new DataViewer();\r
+ frame.setVisible(true);\r
+\r
+ }\r
+\r
+ private void startDownload()\r
+ { \r
+ float length = 0;\r
+ _nxt = nameField.getText(); \r
+ setMessage("startDL");\r
+ System.out.println("startDL");\r
+ con = new Connector();\r
+ con.startConnector(_nxt,_useUSB);\r
+ dataIn = con.getDataIn();\r
+ os = con.getOutputStream();\r
+ // the NXT is waiting for an incoming byte before it starts transmitting\r
+ int b = 15; \r
+ try \r
+ { \r
+ os.write(b);\r
+ os.flush();\r
+ } catch(IOException e) {System.out.println(e+" write "); }\r
+ setMessage("write "+b);\r
+ setMessage("reading");\r
+ try { length = dataIn.readFloat(); }\r
+ catch(IOException e) {System.out.println(e+" read dataIn "); }\r
+ setMessage("length "+ length);\r
+ float x = 0;\r
+ try\r
+ { \r
+ for (int i = 0; i<length;i++)\r
+ {\r
+ if(0 == _recordCount%_rowLength)theLog.append("\n"); \r
+ x = dataIn.readFloat();\r
+ theLog.append(x+ "\t ");\r
+ _recordCount++;\r
+ System.out.println(""+_recordCount+" "+x);\r
+ } \r
+ dataIn.close();\r
+ } catch(IOException e) {System.out.println(e); }\r
+ }\r
+\r
+\r
+/**\r
+ *messages generated by PCcomSerial show in the status Field\r
+ */\r
+ public void setMessage(String s){ statusField.setText(s);}\r
+} \r
nameOption.setArgName("name");
options.addOption(nameOption);
+ Option addressOption = new Option("d", "address", true,
+ "look for name with given address");
+ addressOption.setArgName("address");
+ options.addOption(addressOption);
+
CommandLine result;
try
{
boolean blueTooth = commandLine.hasOption("b");
boolean usb = commandLine.hasOption("u");
String name = commandLine.getOptionValue("n");
+ String address = commandLine.getOptionValue("d");
String tinyVMArgs[];
String firstArg = commandLine.getArgs()[0];
if (args[i].equals("--usb")) continue;
if (args[i].equals("-n")) {i++; continue;}
if (args[i].equals("--name")) {i++; continue;}
+ if (args[i].equals("-d")) {i++; continue;}
+ if (args[i].equals("--address")) {i++; continue;}
if (args[i].equals("-r")) continue;
if (args[i].equals("--run")) continue;
argCount++;
if (args[i].equals("--usb")) continue;
if (args[i].equals("-n")) {i++; continue;}
if (args[i].equals("--name")) {i++; continue;}
+ if (args[i].equals("-d")) {i++; continue;}
+ if (args[i].equals("--address")) {i++; continue;}
if (args[i].equals("-r")) continue;
if (args[i].equals("--run")) continue;
tinyVMArgs[index++] = args[i];
if (blueTooth) protocols |= NXTCommFactory.BLUETOOTH;
if (usb) protocols |= NXTCommFactory.USB;
- Upload.upload(name, protocols, binName, run);
+ Upload.upload(name, address, protocols, binName, run);
}
}
boolean blueTooth = commandLine.hasOption("b");
boolean usb = commandLine.hasOption("u");
String name = commandLine.getOptionValue("n");
+ String address = commandLine.getOptionValue("d");
String fileName = commandLine.getArgs()[0];
if (blueTooth) protocols |= NXTCommFactory.BLUETOOTH;
if (usb) protocols |= NXTCommFactory.USB;
- Upload.upload(name, protocols, fileName, run);
+ Upload.upload(name, address, protocols, fileName, run);
}
}
nameOption.setArgName("name");
options.addOption(nameOption);
+ Option addressOption = new Option("d", "address", true,
+ "look for name with given address");
+ addressOption.setArgName("address");
+ options.addOption(addressOption);
+
CommandLine result;
try
{
--- /dev/null
+package lejos.pc.tools;\r
+\r
+import java.io.*;\r
+import java.net.*;\r
+import lejos.pc.comm.*;\r
+\r
+/**\r
+* Socket Proxy for NXT\r
+* Has two main functions. The first is to connect to an existing\r
+* server socket on the specified port. The second function is to\r
+* create a socket server. In this case the proxy assumes that the\r
+* NXT will then send a command to inform the proxy of the next action\r
+* to take\r
+*\r
+* Currently only supports TCP connections\r
+*\r
+* @author Ranulf Green\r
+* @version 1.0\r
+*/\r
+public class SocketProxy {\r
+\r
+ private String host;\r
+ private int port;\r
+ private DataInputStream inFromNXT;\r
+ private DataOutputStream outToNXT;\r
+ private ServerSocket serverSocket;\r
+ private Socket sock;\r
+\r
+ /**\r
+ * Constructor\r
+ * An instance of Socket proxy will allow for transparent forwarding\r
+ * of messages between server and NXT using a socket connection\r
+ * @param NXTName The name of the NXT to connect to\r
+ * @param NXTaddress The physical address of the NXT\r
+ */\r
+ public SocketProxy(String NXTName, String NXTaddress){\r
+ try {\r
+ // create a Bluetooth connection with the NXT\r
+ NXTComm nxtComm = NXTCommFactory.createNXTComm(NXTCommFactory.BLUETOOTH);\r
+ NXTInfo[] nxtInfo = new NXTInfo[1];\r
+\r
+ nxtInfo[0] = new NXTInfo(NXTName,NXTaddress);\r
+\r
+ System.out.println("Connecting to " + nxtInfo[0].btResourceString);\r
+\r
+ // check to see if NXT really exists, if not exit\r
+ if (!nxtComm.open(nxtInfo[0])) {\r
+ System.out.println("Failed to open " + nxtInfo[0].name);\r
+ System.exit(1);\r
+ }\r
+\r
+ inFromNXT = new DataInputStream(nxtComm.getInputStream());\r
+ outToNXT = new DataOutputStream(nxtComm.getOutputStream());\r
+ \r
+ // check to see if socket is a server or a client\r
+ boolean isServer = inFromNXT.readBoolean();\r
+ if(isServer){\r
+ newSocketServer();\r
+ }else{\r
+ newSocketConnection();\r
+ }\r
+ }\r
+ catch (UnknownHostException e) {e.printStackTrace();}\r
+ catch (IOException e) {e.printStackTrace();}\r
+ }\r
+\r
+ /**\r
+ * Creates a new socket server if instructed by the NXT\r
+ * @throws IOException\r
+ */\r
+ private void newSocketServer() throws IOException{\r
+ int port = inFromNXT.readInt();\r
+ serverSocket = new ServerSocket(port);\r
+ boolean cmdMode = true;\r
+ while(cmdMode){\r
+ // wait for command from NXT\r
+ byte command = inFromNXT.readByte();\r
+ if(command == 1){\r
+ waitForConnection();\r
+ cmdMode = false;\r
+ }\r
+ // TODO support for other socket server functions\r
+ }\r
+ }\r
+\r
+ /**\r
+ * Allows negotiation of the accept() method of Socket server\r
+ * @throws IOException\r
+ */\r
+ private void waitForConnection()throws IOException{\r
+ while(true){\r
+ sock = serverSocket.accept();\r
+\r
+ // inform the NXT of the new Connection\r
+ outToNXT.writeBoolean(true);\r
+ outToNXT.flush();\r
+\r
+ DataInputStream inFromSocket = new DataInputStream(sock.getInputStream());\r
+ DataOutputStream outToSocket = new DataOutputStream(sock.getOutputStream());\r
+\r
+ // listen for incoming data from socket\r
+ new forward(sock, inFromSocket, outToNXT);\r
+\r
+ // listen for incoming data from NXT\r
+ new forwardNXT(sock, inFromNXT, outToSocket);\r
+ }\r
+ }\r
+\r
+ /**\r
+ * Allows for a connection to be made using the details supplied from the NXT\r
+ * @throws UnknownHostException\r
+ * @throws IOException\r
+ */\r
+ private void newSocketConnection() throws UnknownHostException, IOException \r
+ {\r
+ // the first byte from the NXT contains the length of the host name in chars\r
+ int len = inFromNXT.readByte();\r
+ char[] hostChars = new char[len];\r
+\r
+ // following the first byte the host name is transmitted\r
+ for(int i=0;i<len;i++){\r
+ hostChars[i] = inFromNXT.readChar();\r
+ }\r
+ // following the host name an int containing the port number of the socket to connect to\r
+ // is transmitted\r
+ port = inFromNXT.readInt();\r
+ host = new String(hostChars);\r
+\r
+ System.out.println("Host: " + host + " port: " + port);\r
+ // create a socket connection with the specified host using the specified port\r
+\r
+ sock = new Socket(host, port);\r
+ outToNXT.writeBoolean(true);\r
+ outToNXT.flush();\r
+\r
+ DataInputStream inFromSocket = new DataInputStream(sock.getInputStream());\r
+\r
+ DataOutputStream outToSocket = new \r
+ DataOutputStream(sock.getOutputStream());\r
+\r
+ // listen for incoming data from socket\r
+ new forward(sock, inFromSocket, outToNXT);\r
+\r
+ // listen for incoming data from NXT\r
+ new forwardNXT(sock, inFromNXT, outToSocket);\r
+ }\r
+\r
+ /**\r
+ * Allows for the forwarding of messages from Socket to NXT\r
+ * @author Ranulf Green\r
+ */\r
+ private class forward extends Thread{\r
+ private DataOutputStream dout;\r
+ private DataInputStream din;\r
+\r
+ private Socket sock;\r
+\r
+ /**\r
+ * Constructor.\r
+ * @param sock the socket with which the connection is made\r
+ * @param dis the input stream to read\r
+ * @param dos the output stream to forward to\r
+ */\r
+ public forward(Socket sock, DataInputStream dis, DataOutputStream dos){\r
+ super();\r
+ din=dis;\r
+ dout=dos;\r
+ this.sock = sock;\r
+ start();\r
+ }\r
+ /**\r
+ * Causes a new thread to be invoked\r
+ */\r
+ public void run(){\r
+ try{\r
+ boolean flushed = true;\r
+ while(true){\r
+ int a = din.available();\r
+ if(a>0){\r
+ //System.out.println("Reading!" + a);\r
+ flushed = false;\r
+ int in = din.readUnsignedByte();\r
+ if(in<0){\r
+ //System.out.println("In Thread: Socket closed:" + in);\r
+ sock.close();\r
+ return;\r
+ }\r
+ //System.out.println("Sending " + in);\r
+ dout.writeByte(in);\r
+ }else if(!flushed){\r
+ //System.out.println("Flushing");\r
+ dout.flush();\r
+ flushed = true;\r
+ }\r
+ try {\r
+ Thread.sleep(100);\r
+ Thread.yield();\r
+ } catch (InterruptedException e) {}\r
+ }\r
+ }catch(IOException ioe){ioe.printStackTrace();};\r
+ }\r
+ }\r
+\r
+ /**\r
+ * Class to forward messages from NXT to socket\r
+ * @author Ranulf Green\r
+ *\r
+ */\r
+ private class forwardNXT extends Thread{\r
+ private DataOutputStream dout;\r
+ private DataInputStream din;\r
+\r
+ private Socket sock;\r
+\r
+ /**\r
+ * Constructor.\r
+ * @param sock\r
+ * @param dis input stream from NXT\r
+ * @param dos output stream to socket\r
+ */\r
+ public forwardNXT(Socket sock, DataInputStream dis, DataOutputStream dos){\r
+ super();\r
+ din=dis;\r
+ dout=dos;\r
+ this.sock = sock;\r
+ start();\r
+ }\r
+\r
+ /**\r
+ * causes a new thread to be invoked\r
+ */\r
+ public void run(){\r
+ try{\r
+ while(true){\r
+ int in = din.readUnsignedByte();\r
+ if(in<0){\r
+ System.out.println("In Thread: Socket closed:" + in);\r
+ sock.close();\r
+ return;\r
+ }\r
+ if(in!=0){\r
+ dout.writeByte(in);\r
+ dout.flush();\r
+ }\r
+ try {\r
+ Thread.sleep(10);\r
+ Thread.yield();\r
+ } catch (InterruptedException e) {}\r
+ }\r
+ }catch(IOException ioe){ioe.printStackTrace();};\r
+ }\r
+ }\r
+\r
+ public static void main(String[] args) {\r
+ if(args.length!=2){\r
+ System.out.println("USAGE: java SocketProxy <NXTName> <NXTAddress>");\r
+ System.exit(0);\r
+ }\r
+ new SocketProxy(args[0],args[1]);\r
+ }\r
+}\r
+\r
+\r
+\r
public class Upload {
- public static void upload(String name, int protocols, String fileName, boolean run) {
+ public static void upload(String name, String address, int protocols, String fileName, boolean run) {
NXTCommand nxtCommand = NXTCommand.getSingleton();
if (protocols == 0) protocols = NXTCommFactory.USB | NXTCommFactory.BLUETOOTH;
- NXTInfo[] nxtInfo = nxtCommand.search(name, protocols);
+ NXTInfo[] nxtInfo;
+
+ if (address != null) {
+ nxtCommand.setNXTCommBlueTooth();
+ nxtInfo = new NXTInfo[1];
+ nxtInfo[0] = new NXTInfo((name == null ? "Unknown" : name),address);
+ //System.out.println("Address: " + address);
+ } else {
+ nxtInfo = nxtCommand.search(name, protocols);
+ }
//System.out.println("Found " + nxtInfo.length + " NXTs");
try {
for(int i=0;i<nxtInfo.length;i++) {
-
connected = nxtCommand.open(nxtInfo[i]);
if (!connected) continue;
SendFile.sendFile(nxtCommand, f);
readPage([BI)V
exec(II)V
+#lejos.nxt.Sound
+playSample(IIII)V
+
+
#define writePage_4_1BI_5V 59
#define readPage_4_1BI_5V 60
#define exec_4II_5V 61
+#define playSample_4IIII_5V 62
#endif // _SPECIALSIGNATURES_H
gNextProgramSize = paramBase[1];
schedule_request(REQUEST_EXIT);
break;
- case usbReset_4_5V :
+ case usbReset_4_5V:
udp_reset();
+ break;
+ case playSample_4IIII_5V:
+ sound_play_sample((unsigned char *) &FLASH_BASE[(paramBase[0]*64)],paramBase[1],paramBase[2],paramBase[3]);
break;
default:
throw_exception(noSuchMethodError);
#include "sound.h"
#include "AT91SAM7.h"
#include "aic.h"
+#include "nxt_avr.h"
+#include <string.h>
+
+#define PWM_BUFFER_LENGTH 16 /* Must be a multiple of 8 and at most 64 */
extern void sound_isr_entry(void);
+enum {
+ SOUND_MODE_NONE,
+ SOUND_MODE_TONE,
+ SOUND_MODE_PCM
+};
+
+#if 0 /* Introduced with leJOS 0.3 but not used so far */
const U32 load_tone_pattern[16] =
{
0xF0F0F0F0,0xF0F0F0F0,
0x8080C0C0,0xC0C0C0C0
};
- const U32 medium_tone_pattern[16] =
+const U32 medium_tone_pattern[16] =
{
0xF0F0F0F0,0xF0F0F0F0,
0xF8F8F8F8,0xF8F8FCFC,
0xE0E0C0C0,0xC0C0C0C0,
0xC0C0E0E0,0xE0E0E0E0
};
-
-const U32 tone_pattern[16] =
+#endif /*0*/
+
+/*
+ This pattern is only useful from frequencies higher than ca. 120 Hz,
+ because PWM volume control enters the audible range below that,
+ adding a rather irritating high-pitched component.
+
+ The problem can be solved by using a higher sample rate for lower
+ frequencies, and a longer waveform, of course.
+
+ It would be probably a good idea to calculate the samples on the fly
+ so as to allow volume control and better frequency control as well.
+*/
+const U32 tone_pattern_low[32] =
{
- 0xF0F0F0F0,0xF0F0F0F0,
- 0xF0F0F0F0,0xF0F8F8F8,
- 0xF0F0F8F8,0xF8F8F0F0,
- 0xF8F8F8F0,0xF0F0F0F0,
- 0xF0F0F0F0,0xF0F0F0F0,
- 0xF0F0F0F0,0xF0E0E0E0,
- 0xF0F0E0E0,0xE0E0F0F0,
- 0xE0E0E0F0,0xF0F0F0F0
+ 0xAAAAAAAA,0xAAAAAAAA,0xAAAAAAAA,0xAAAAAAAA,
+ 0xAAAAAAAA,0xAAAAAAAA,0xAAAAB6B6,0xB6B6B6B6,
+ 0xAAAAAAAA,0xB6B6B6B6,0xB6B6B6B6,0xAAAAAAAA,
+ 0xB6B6B6B6,0xB6B6AAAA,0xAAAAAAAA,0xAAAAAAAA,
+ 0xAAAAAAAA,0xAAAAAAAA,0xAAAAAAAA,0xAAAAAAAA,
+ 0xAAAAAAAA,0xAAAAAAAA,0xAAAA9292,0x92929292,
+ 0xAAAAAAAA,0x92929292,0x92929292,0xAAAAAAAA,
+ 0x92929292,0x9292AAAA,0xAAAAAAAA,0xAAAAAAAA
+ };
+
+/*
+ Pattern for higher frequencies to prevent halving the maximum
+ frequency. Very noisy below 250 Hz.
+ */
+const U32 tone_pattern_high[16] =
+ {
+ 0xAAAAAAAA,0xAAAAAAAA,
+ 0xAAAAAAAA,0xAAB6B6B6,
+ 0xAAAAB6B6,0xB6B6AAAA,
+ 0xB6B6B6AA,0xAAAAAAAA,
+ 0xAAAAAAAA,0xAAAAAAAA,
+ 0xAAAAAAAA,0xAA929292,
+ 0xAAAA9292,0x9292AAAA,
+ 0x929292AA,0xAAAAAAAA
};
-
+
+/* Numbers with 0-32 evenly spaced bits set */
+const U32 sample_pattern[33] =
+ {
+ 0x00000000, 0x80000000, 0x80008000, 0x80200400,
+ 0x80808080, 0x82081040, 0x84208420, 0x88442210,
+ 0x88888888, 0x91224488, 0x92489248, 0xa4924924,
+ 0xa4a4a4a4, 0xa94a5294, 0xaa54aa54, 0xaaaa5554,
+ 0xaaaaaaaa, 0xd555aaaa, 0xd5aad5aa, 0xd6b5ad6a,
+ 0xdadadada, 0xdb6db6da, 0xedb6edb6, 0xeeddbb76,
+ 0xeeeeeeee, 0xf7bbddee, 0xfbdefbde, 0xfdf7efbe,
+ 0xfefefefe, 0xffdffbfe, 0xfffefffe, 0xfffffffe,
+ 0xffffffff
+ };
+
U32 tone_cycles;
+U32 *tone_pattern;
+U8 tone_length;
+U8 sound_mode = SOUND_MODE_NONE;
+
+struct {
+ // The number of samples ahead
+ S32 count;
+ // 0 or 1, identifies the current buffer
+ U8 buf_id;
+ // Pointer to the next sample
+ U8* ptr;
+ // Double buffer
+ U32 buf1[PWM_BUFFER_LENGTH], buf2[PWM_BUFFER_LENGTH];
+ // Amplification LUT
+ U8 amp[256];
+} sample;
void sound_init()
{
aic_mask_on(AT91C_PERIPHERAL_ID_SSC);
aic_clear(AT91C_PERIPHERAL_ID_SSC);
aic_set_vector(AT91C_PERIPHERAL_ID_SSC, AT91C_AIC_PRIOR_LOWEST | AT91C_AIC_SRCTYPE_INT_EDGE_TRIGGERED,
- sound_isr_entry);
+ (U32)sound_isr_entry); /*PG*/
}
void sound_freq(U32 freq, U32 ms)
{
- *AT91C_SSC_CMR = ((96109714 / 1024) / freq) + 1;
+ if (freq < 500) {
+ *AT91C_SSC_CMR = ((96109714 / 1024) / (freq << 1)) + 1;
+ tone_pattern = (U32*)tone_pattern_low;
+ tone_length = 32;
+ } else {
+ *AT91C_SSC_CMR = ((96109714 / 1024) / freq) + 1;
+ tone_pattern = (U32*)tone_pattern_high;
+ tone_length = 16;
+ }
*AT91C_SSC_PTCR = AT91C_PDC_TXTEN;
tone_cycles = (freq * ms) / 2000 - 1;
+
+ sound_mode = SOUND_MODE_TONE;
sound_interrupt_enable();
}
*AT91C_PIOA_PER = AT91C_PA17_TD;
}
-void sound_isr_C()
-{
- if (tone_cycles--)
- {
- *AT91C_SSC_TNPR = (unsigned int) tone_pattern;
- *AT91C_SSC_TNCR = 16;
- sound_enable();
+void sound_fill_sample_buffer() {
+ U32 *sbuf = sample.buf_id ? sample.buf1 : sample.buf2;
+ U8 i;
+ /* Each 8-bit sample is turned into 8 32-bit numbers, i.e. 256 bits altogether */
+ for (i = 0; i < PWM_BUFFER_LENGTH >> 3; i++) {
+ U8 smp = sample.amp[*sample.ptr];
+ U8 msk = "\x00\x10\x22\x4a\x55\x6d\x77\x7f"[smp & 7];
+ U8 s3 = smp >> 3;
+ *sbuf++ = sample_pattern[s3 + (msk & 1)]; msk >>= 1;
+ *sbuf++ = sample_pattern[s3 + (msk & 1)]; msk >>= 1;
+ *sbuf++ = sample_pattern[s3 + (msk & 1)]; msk >>= 1;
+ *sbuf++ = sample_pattern[s3 + (msk & 1)]; msk >>= 1;
+ *sbuf++ = sample_pattern[s3 + (msk & 1)]; msk >>= 1;
+ *sbuf++ = sample_pattern[s3 + (msk & 1)]; msk >>= 1;
+ *sbuf++ = sample_pattern[s3 + (msk & 1)];
+ *sbuf++ = sample_pattern[s3];
+
+ /*
+ An alternative that doesn't need a sample_pattern array:
+
+ U32 msb = 0xffffffff << (32 - (smp >> 3));
+ *sbuf++ = msb | (msk & 1); msk >>= 1;
+ *sbuf++ = msb | (msk & 1); msk >>= 1;
+ *sbuf++ = msb | (msk & 1); msk >>= 1;
+ *sbuf++ = msb | (msk & 1); msk >>= 1;
+ *sbuf++ = msb | (msk & 1); msk >>= 1;
+ *sbuf++ = msb | (msk & 1); msk >>= 1;
+ *sbuf++ = msb | (msk & 1);
+ *sbuf++ = msb;
+ */
+
+ /*
+ Good old Bresenham would help here to produce arbitrary sample
+ rates:
+
+ for (fcnt += chosen_freq; fcnt > base_freq; fcnt -= base_freq) {
+ sample.ptr++;
+ sample.count--;
+ }
+
+ Where chosen_freq is the one we'd like to hear, base_freq is the
+ one set in hardware (could be an eternal constant) and fcnt is
+ an S32 fraction counter that's initialised with zero when the
+ sample starts playing.
+ */
+ sample.ptr++;
+ sample.count--;
}
- else
- {
- sound_disable();
- sound_interrupt_disable();
+}
+
+void sound_play_sample(U8 *data, U32 length, U32 freq, U32 amp)
+{
+ S16 i;
+
+ /*
+ Note: instead of setting the frequency this way, it should be the
+ highest possible constant, and sound_fill_sample_buffer() should
+ take care of the scaling, because hardware fine tuning is not
+ possible (the high frequency range allows only very crude steps).
+ */
+ *AT91C_SSC_CMR = ((96109714 / 1024) / (freq << 2)) + 1;
+ *AT91C_SSC_PTCR = AT91C_PDC_TXTEN;
+ sample.count = length;
+ sample.buf_id = 0;
+ sample.ptr = data;
+
+ /* Simple linear amplification */
+ for (i = 0; i < 256; i++) {
+ S32 a = (i - 128) * (S32)amp / 1000 + 128;
+ if (a < 0) a = 0;
+ if (a > 255) a = 255;
+ sample.amp[i] = a;
}
+
+ sound_fill_sample_buffer();
+
+ sound_mode = SOUND_MODE_PCM;
+ sound_interrupt_enable();
}
+
+void sound_isr_C()
+{
+ switch (sound_mode) {
+ case SOUND_MODE_TONE:
+ if (tone_cycles--) {
+ *AT91C_SSC_TNPR = (unsigned int)tone_pattern;
+ *AT91C_SSC_TNCR = tone_length;
+ sound_enable();
+ } else {
+ sound_disable();
+ sound_interrupt_disable();
+ sound_mode = SOUND_MODE_NONE;
+ }
+ break;
+ case SOUND_MODE_PCM:
+ if (sample.count > -(PWM_BUFFER_LENGTH >> 3)) {
+ *AT91C_SSC_TNPR = (unsigned int)(sample.buf_id ? sample.buf1 : sample.buf2);
+ *AT91C_SSC_TNCR = PWM_BUFFER_LENGTH;
+ sample.buf_id ^= 1;
+ sound_fill_sample_buffer();
+ sound_enable();
+ } else {
+ sound_disable();
+ sound_interrupt_disable();
+ sound_mode = SOUND_MODE_NONE;
+ }
+ break;
+ default:
+ sound_disable();
+ sound_interrupt_disable();
+ sound_mode = SOUND_MODE_NONE;
+ }
+}
\ No newline at end of file
void sound_isr_C();
void sound_freq(U32 freq, U32 ms);
+void sound_play_sample(U8 *data, U32 length, U32 freq, U32 amp);
#endif /*SOUND_H_*/
printf("udpReset called\n");
}
break;
+ case playSample_4IIII_5V:
+ if (verbose)
+ printf("> ");
+ else
+ printf("& ");
+ printf("Playing sound sample\n");
+ break;
default:
#ifdef DEBUG_METHODS
printf("Received bad native method code: %d\n", signature);