A B C D E F G H I K L M N O P Q R S T U V W X Y _

A

A - Static variable in class ch.aplu.nxt.MotorPort
Declaration used by a motor connected to port A.
ABOUT - Static variable in interface ch.aplu.nxt.SharedConstants
 
acos(double) - Static method in class ch.aplu.gidlet.Float11
Arcuscosinus in the range of [0, Pi].
activate(boolean) - Method in class ch.aplu.nxt.LightSensor
Turns on/off the LED used for reflecting light back into the sensor.
add(Complex) - Method in class ch.aplu.gidlet.Complex
Defines a complex add method.
add(Complex, Complex) - Static method in class ch.aplu.gidlet.Complex
Defines a static add method that creates a a new Complex object with the sum.
addInputField(String, String, int) - Method in class ch.aplu.gidlet.MForm
Adds a input text field to the MForm with given prompt, given initial value and given validation type.
addInputField(String, String) - Method in class ch.aplu.gidlet.MForm
Adds a input text field to the MForm with given prompt, given initial value with no validation.
addKeyListener(KeyListener) - Method in class ch.aplu.gidlet.MPanel
Registers an KeyListener to get a notification when a button is clicked.
addKeyListener(KeyListener) - Method in class ch.aplu.gidlet.Playground
Registers an KeyListener to get a notification when a button is clicked.
addKeyListener(KeyListener) - Method in class ch.aplu.gidlet.Turtle
Registers an KeyListener to get a notification when a button is clicked.
addLabel(String, int, int, int, int) - Method in class ch.aplu.gidlet.Playground
Shows the given text with given color left adjusted at given x, y pixel coordinate.
addLightListener(LightListener, int) - Method in class ch.aplu.nxt.LightSensor
Registers the given light listener for the given trigger level.
addMotionListener(MotionListener) - Method in class ch.aplu.nxt.Gear
Register the given motion listener.
addMotionListener(MotionListener) - Method in class ch.aplu.nxt.Motor
Registers the given motion listener.
addOkButton() - Method in class ch.aplu.gidlet.MConsole
Adds an OK soft button with label "OK".
addOkButton(String) - Method in class ch.aplu.gidlet.MConsole
Adds an OK soft button with given label.
addOkButton() - Method in class ch.aplu.gidlet.MForm
Adds an OK soft button with label "OK".
addOkButton(String) - Method in class ch.aplu.gidlet.MForm
Adds an OK soft button with given label.
addOkButton() - Method in class ch.aplu.gidlet.MList
Adds an OK soft button with label "OK".
addOkButton(String) - Method in class ch.aplu.gidlet.MList
Adds an OK soft button with given label.
addOkButton() - Method in class ch.aplu.gidlet.MPanel
Adds an OK soft button with label "OK".
addOkButton(String) - Method in class ch.aplu.gidlet.MPanel
Adds an OK soft button with given label.
addOkButton() - Method in class ch.aplu.gidlet.MTextBox
Adds an OK soft button with label "OK".
addOkButton(String) - Method in class ch.aplu.gidlet.MTextBox
Adds an OK soft button with given label.
addOkButton() - Method in class ch.aplu.gidlet.Playground
Adds an OK soft button with label "OK".
addOkButton(String) - Method in class ch.aplu.gidlet.Playground
Adds an OK soft button with given label.
addOutputField() - Method in class ch.aplu.gidlet.MForm
Adds a empty output text field to the MForm.
addPart(Part) - Method in class ch.aplu.nxt.NxtRobot
Assembles the given part into the robot.
addPrototypeListener(PrototypeListener) - Method in class ch.aplu.nxt.PrototypeSensor
Registers the given prototype listener.
addSoundListener(SoundListener, int) - Method in class ch.aplu.nxt.SoundSensor
Registers the given sound listener for the given trigger level.
addTouchListener(TouchListener) - Method in class ch.aplu.nxt.TouchSensor
Registers the given touch listener.
addUltrasonicListener(UltrasonicListener, int) - Method in class ch.aplu.nxt.UltrasonicSensor
Registers the given ultrasonic listener for the given trigger level.
ainChanged(SensorPort, int[]) - Method in class ch.aplu.nxt.PrototypeAdapter
Empty method called when at least one of the 5 analog inputs changed its value.
ainChanged(SensorPort, int[]) - Method in interface ch.aplu.nxt.PrototypeListener
Called when at least one of the 5 analog inputs changed its value.
ANGLE - Static variable in interface ch.aplu.nxt.SharedConstants
 
ANGLESTEPSMODE - Static variable in interface ch.aplu.nxt.SharedConstants
 
append(String) - Method in class ch.aplu.gidlet.MFile
Appends string data to the end of the text file.
append(String) - Method in class ch.aplu.gidlet.StringStore
Appends string data to the end of the record store.
append(String) - Method in class ch.aplu.gidlet.TextArea
Appends a new line at the bottom of existing lines.
appendText(String) - Method in class ch.aplu.gidlet.MTextBox
Appends given text to current content.
arc(double, double, int, int) - Method in class ch.aplu.gidlet.MPanel
Draws an elliptical arc inside bounding rectangle centered at current graph position with given width and height in window coordinates.
asin(double) - Static method in class ch.aplu.gidlet.Float11
Arcussinus in the range of [-Pi/2, Pi/2].
askBtName() - Static method in class ch.aplu.nxt.platform.ConnectPanel
Shows a form with a input field and asks for Bluetooth friendly name.
atan(double) - Static method in class ch.aplu.gidlet.Float11
Arcustangens in the range of [-Pi/2, Pi/2].
atan2(double, double) - Static method in class ch.aplu.gidlet.Float11
Arcustangent of y/x in the range of [-Pi, Pi].
AudioPlayer - Class in ch.aplu.gidlet
Class that wraps the J2ME MMAPI class javax.microedition.media.Player in order to start/resume, pause and stop playing audio files in a separate thread.
AudioPlayer(String, String) - Constructor for class ch.aplu.gidlet.AudioPlayer
Creates a Player in a separate thread from given resource file and mime type.
AudioPlayer(InputStream, String) - Constructor for class ch.aplu.gidlet.AudioPlayer
Creates a Player in a separate thread from given input stream and mime type.
AudioPlayer(String) - Constructor for class ch.aplu.gidlet.AudioPlayer
Creates a Player in a separate thread from given HTTP uri.

B

B - Static variable in class ch.aplu.nxt.MotorPort
Declaration used by a motor connected to port B.
back(double) - Method in class ch.aplu.gidlet.Turtle
Moves turtle the given distance backward.
backward() - Method in class ch.aplu.nxt.Gear
Same as forward(), but move in reverse direction.
backward(int) - Method in class ch.aplu.nxt.Gear
Same as forward(int duration), but move in reverse direction.
backward() - Method in class ch.aplu.nxt.Motor
Starts the backward rotation with preset speed.
backward(boolean) - Method in class ch.aplu.nxt.Motor
 
backward(int) - Method in class ch.aplu.nxt.TurtleRobot
Moves the turtle backward the given number of steps.
beep(int) - Static method in class ch.aplu.gidlet.Gidlet
Plays a system sound of given type.
beep() - Method in class ch.aplu.gidlet.Turtle
Emits a beep.
bgColor(int) - Method in class ch.aplu.gidlet.MPanel
Sets the background color.
bk(double) - Method in class ch.aplu.gidlet.Turtle
Short for back().
BLACK - Static variable in class ch.aplu.gidlet.Gidlet
The color black.
BLUE - Static variable in class ch.aplu.gidlet.Gidlet
The color blue.
BluetoothFinder - Class in ch.aplu.bluetooth
Class to perform an inquiry for Bluetooth devices and their services.
BluetoothFinder(String, int[], boolean, BluetoothResponder) - Constructor for class ch.aplu.bluetooth.BluetoothFinder
Same as Bluetoothfinder(int[] uuids, boolean isVerbose), but search only for the given deviceName.
BluetoothFinder(int[], int[], boolean, BluetoothResponder) - Constructor for class ch.aplu.bluetooth.BluetoothFinder
Initiates extensive device and service inquiry with given UUIP integer values.
BluetoothFinder(int[], boolean, BluetoothResponder) - Constructor for class ch.aplu.bluetooth.BluetoothFinder
Initiates device and service search with given UUIP integer values.
BluetoothFinder(String, int[], int[], boolean, BluetoothResponder) - Constructor for class ch.aplu.bluetooth.BluetoothFinder
Same as Bluetoothfinder(int[] uuids, int[] attrSet, boolean isVerbose), but search only for the given deviceName.
BOOLEANMODE - Static variable in interface ch.aplu.nxt.SharedConstants
 
BOOT - Static variable in interface ch.aplu.nxt.SharedConstants
 
border - Variable in class ch.aplu.gidlet.Turtle.PointD
 
BRAKE - Static variable in interface ch.aplu.nxt.SharedConstants
 
bright(SensorPort, int) - Method in class ch.aplu.nxt.LightAdapter
Empty method called when the light becomes brighter than the trigger level.
bright(SensorPort, int) - Method in interface ch.aplu.nxt.LightListener
Called when the light becomes brighter than the trigger level.

C

C - Static variable in class ch.aplu.nxt.MotorPort
Declaration used by a motor connected to port C.
calibrate(byte, byte, byte) - Method in class ch.aplu.nxt.UltrasonicSensor
Calibrates the sensor.
canRead() - Method in class ch.aplu.gidlet.MFile
Checks if the file/directory is readable.
canWrite() - Method in class ch.aplu.gidlet.MFile
Checks if the file/directory is writable.
CELSIUSMODE - Static variable in interface ch.aplu.nxt.SharedConstants
 
ch.aplu.gidlet - package ch.aplu.gidlet
Package to simplify Java ME applications with a focus on education.
ch.aplu.nxt - package ch.aplu.nxt
Package to use the Lego NXT robot in direct mode in Java ME applications.
circle(double) - Method in class ch.aplu.gidlet.MPanel
Draws a circle with center at the current graph position and given radius in horizontal window coordinates.
clean() - Method in class ch.aplu.gidlet.Turtle
Erases traces and text, but let turtle where it is.
cleanup() - Method in class ch.aplu.nxt.Gear
 
cleanup() - Method in class ch.aplu.nxt.I2CSensor
 
cleanup() - Method in class ch.aplu.nxt.LightSensor
 
cleanup() - Method in class ch.aplu.nxt.Motor
 
cleanup() - Method in class ch.aplu.nxt.Part
 
cleanup() - Method in class ch.aplu.nxt.PrototypeSensor
 
cleanup() - Method in class ch.aplu.nxt.SoundSensor
 
cleanup() - Method in class ch.aplu.nxt.TouchSensor
 
cleanup() - Method in class ch.aplu.nxt.UltrasonicSensor
 
clear() - Method in class ch.aplu.gidlet.MConsole
Erases all text and show empty console.
clear(int, int) - Method in class ch.aplu.gidlet.MConsole
Erases all text and show empty console and sets background and text colors.
clear() - Method in class ch.aplu.gidlet.MFile
Clears all data.
clear() - Method in class ch.aplu.gidlet.MPanel
Clears the graphics window (fully paint with background color) (and the offscreen buffer used by the window).
clear(boolean) - Method in class ch.aplu.gidlet.Playground
Clears the graphics buffers (fully paint with background color) and draws a surrounding white rectangle.
clear() - Method in class ch.aplu.gidlet.Turtle
Clears the entire playground.
clip() - Method in class ch.aplu.gidlet.Turtle
Causes turtle not to wrap around playground borders, e.g. when it leaves the playground it disappaers.
clone(String) - Method in class ch.aplu.gidlet.Turtle
Creates a new turtle that has exactly the same properties and traces, but the given playground title.
clone() - Method in class ch.aplu.gidlet.Turtle
Creates a new turtle that has exactly the same properties, playground title and traces.
close() - Method in class ch.aplu.gidlet.AudioPlayer
Releases all connections and resources.
CLOSE - Static variable in interface ch.aplu.nxt.SharedConstants
 
closeTimedMessage() - Method in class ch.aplu.gidlet.Gidlet
Closes a timed message box before timeout expires.
color(int) - Method in class ch.aplu.gidlet.MConsole
Changes default text color to given color.
color(int) - Method in class ch.aplu.gidlet.MPanel
Sets the current color of the drawing pen.
color(int, int, int) - Method in class ch.aplu.gidlet.MPanel
Sets the current color of the drawing pen in RGB-format.
Complex - Class in ch.aplu.gidlet
This is a complex number class with the essential features needed for computations.
Complex(double, double) - Constructor for class ch.aplu.gidlet.Complex
Constructor that initializes the values.
connect() - Method in class ch.aplu.nxt.NxtRobot
Connects the host to the robot via Bluetooth.
connect(boolean) - Method in class ch.aplu.nxt.NxtRobot
Connects the host to the robot via Bluetooth.
connect(boolean, boolean) - Method in class ch.aplu.nxt.NxtRobot
Connects the host to the robot via Bluetooth.
ConnectPane - Class in ch.aplu.nxt
Class to display a text in a modeless dialog (J2SE) or a form (J2ME).
ConnectPanel - Class in ch.aplu.nxt.platform
Message forms with standard title.
continueTo(int) - Method in class ch.aplu.nxt.Motor
Same as rotateTo(int count), but the rotation counter is not set to zero.
continueTo(int, boolean) - Method in class ch.aplu.nxt.Motor
Same as rotateTo(int count, boolean blocking), but the rotation counter is not set to zero.
CONTINUOUS_MEASUREMENT - Static variable in class ch.aplu.nxt.UltrasonicSensor
Sensor making continuous readings at set intervals.
createDir() - Method in class ch.aplu.gidlet.MFile
Creates a directory corresponding to the MFile's path.
createFile() - Method in class ch.aplu.gidlet.MFile
Creates a file with zero length.
CUSTOM - Static variable in interface ch.aplu.nxt.SharedConstants
 
CYAN - Static variable in class ch.aplu.gidlet.Gidlet
The color cyan.

D

dark(SensorPort, int) - Method in class ch.aplu.nxt.LightAdapter
Empty method called when the light becomes darker than the trigger level.
dark(SensorPort, int) - Method in interface ch.aplu.nxt.LightListener
Called when the light becomes darker than the trigger level.
DARKGRAY - Static variable in class ch.aplu.gidlet.Gidlet
The color darkgray.
DEBUG_LEVEL_HIGH - Static variable in interface ch.aplu.nxt.SharedConstants
 
DEBUG_LEVEL_LOW - Static variable in interface ch.aplu.nxt.SharedConstants
 
DEBUG_LEVEL_MEDIUM - Static variable in interface ch.aplu.nxt.SharedConstants
 
DEBUG_LEVEL_OFF - Static variable in interface ch.aplu.nxt.SharedConstants
 
delay(int) - Static method in class ch.aplu.gidlet.Gidlet
Delays execution for the given amount of time (in ms).
delay(long) - Static method in class ch.aplu.nxt.Tools
Suspends execution of the current thread for the given amount of time.
delete() - Method in class ch.aplu.gidlet.StringStore
Deletes record store.
DELETE - Static variable in interface ch.aplu.nxt.SharedConstants
 
DELETE_USER_FLASH - Static variable in interface ch.aplu.nxt.SharedConstants
 
destroyApp(boolean) - Method in class ch.aplu.gidlet.Gidlet
Called when the platform requests to terminate the program.
deviceDiscovered(RemoteDevice, DeviceClass) - Method in class ch.aplu.bluetooth.BluetoothFinder
For internal use only.
dinChanged(SensorPort, int[]) - Method in class ch.aplu.nxt.PrototypeAdapter
Empty method called when at least one of the digital inputs changed its value.
dinChanged(SensorPort, int[]) - Method in interface ch.aplu.nxt.PrototypeListener
Called when at least one of the digital inputs changed its value.
DIRECT_COMMAND_NOREPLY - Static variable in interface ch.aplu.nxt.SharedConstants
 
DIRECT_COMMAND_REPLY - Static variable in interface ch.aplu.nxt.SharedConstants
 
disconnect() - Method in class ch.aplu.nxt.NxtRobot
Cuts the Bluetooth communication.
display - Static variable in class ch.aplu.gidlet.Gidlet
The current MIDlet's display.
displayHeight() - Method in class ch.aplu.gidlet.MPanel
Returns height of display in window coordinates.
displayResolutionX() - Method in class ch.aplu.gidlet.MPanel
Return numbers of pixels in horizontal direction.
displayResolutionY() - Method in class ch.aplu.gidlet.MPanel
Returns number of pixels in vertical direction.
displays - Variable in class ch.aplu.gidlet.Gidlet
List of all displays created before main() is called.
displayWidth() - Method in class ch.aplu.gidlet.MPanel
Returns width of display in window coordinates.
distance(double, double) - Method in class ch.aplu.gidlet.Turtle
Returns the distance from the current position to the given position.
divide(Complex) - Method in class ch.aplu.gidlet.Complex
Divides this complex object by the complex argument.
divide(Complex, Complex) - Static method in class ch.aplu.gidlet.Complex
Defines a static divide method that creates a a new Complex object with the result of cvalue1/cvalue2.
doExit() - Method in class ch.aplu.gidlet.Gidlet
Terminates the application by calling wakeUp() and notifyDestroyed().
doOk() - Method in class ch.aplu.gidlet.Gidlet
Empty.
doPause() - Method in class ch.aplu.gidlet.Gidlet
Empty.
DOUBLE_VALIDATE - Static variable in class ch.aplu.gidlet.Gidlet
Validation type "Garantee to be a double"
DOWN_PRESSED - Static variable in class ch.aplu.gidlet.Gidlet
Same as GameCanvas.DOWN_PRESSED.
draw(double, double) - Method in class ch.aplu.gidlet.MPanel
Draws a line from current graph position to given window coordinates and sets the graph position to the endpoint.
draw(double, double) - Method in class ch.aplu.gidlet.Playground
Draws a line into trace buffer from current graph position to given window coordinates and sets the graph position to the endpoint.
drawImage(String, double, double) - Method in class ch.aplu.gidlet.MPanel
Shows the PNG image from given file url at given window coordinates (upper left corner of image).
drawLabel(int, String) - Method in class ch.aplu.gidlet.Turtle
Draws the given text using the current pen color and text font at the current turtle position.
drawLabels() - Method in class ch.aplu.gidlet.Playground
 
drawSprite(Sprite, double, double) - Method in class ch.aplu.gidlet.MPanel
Draws the given sprite at given window coordinates (upper left corner of image).

E

enableFlush(boolean) - Method in class ch.aplu.gidlet.MPanel
Enables or disables the automatic flush in graphics methods.
enableRepaint(boolean) - Method in class ch.aplu.gidlet.Turtle
Enables/disables automatic updating the window after each turtle movement.
equals(Complex) - Method in class ch.aplu.gidlet.Complex
Checks for the equality of this object with that of the argument.
erase() - Method in class ch.aplu.gidlet.MPanel
Same as clear() but let the current graph position unchanged.
eraseLabel(int) - Method in class ch.aplu.gidlet.Turtle
Erases the text with given index.
EVENT_CAPTURE - Static variable in class ch.aplu.nxt.UltrasonicSensor
Puts the sensor in passive mode to record pings that might come from other sonar sensors.
exists() - Method in class ch.aplu.gidlet.MFile
Checks if the path corresponds to an existing file or directory.
exists() - Method in class ch.aplu.gidlet.StringStore
Checks if the record store exists.
exit() - Method in class ch.aplu.nxt.NxtRobot
Cuts the Bluetooth communication and terminates the program.
exit() - Static method in class ch.aplu.nxt.platform.PlatformTools
Calls notifyDestroyed().
exp(double) - Static method in class ch.aplu.gidlet.Float11
Exponential (base e).

F

FAHRENHEITMODE - Static variable in interface ch.aplu.nxt.SharedConstants
 
far(SensorPort, int) - Method in class ch.aplu.nxt.UltrasonicAdapter
Empty method called when the distance exceeds the trigger level.
far(SensorPort, int) - Method in interface ch.aplu.nxt.UltrasonicListener
Called when the distance exceeds the trigger level.
fd(double) - Method in class ch.aplu.gidlet.Turtle
Short for forward().
fetchString(byte, int) - Method in class ch.aplu.nxt.I2CSensor
 
fileExists(String) - Method in class ch.aplu.nxt.NxtRobot
Searches for given file in the brick's file system.
fileHandle - Variable in class ch.aplu.nxt.FileInfo
The handle for accessing the file.
FileInfo - Class in ch.aplu.nxt
Structure that gives information about a leJOS NXJ file.
FileInfo(String) - Constructor for class ch.aplu.nxt.FileInfo
Constructs a FileInfo instance with given file name.
fileName - Variable in class ch.aplu.nxt.FileInfo
The name of the file - up to 20 characters.
fileSize - Variable in class ch.aplu.nxt.FileInfo
The size of the file in bytes.
fillArc(double, double, int, int) - Method in class ch.aplu.gidlet.MPanel
Draws a filled elliptical arc inside bounding rectangle centered at current graph position with given width and height in window coordinates.
fillCircle(double) - Method in class ch.aplu.gidlet.MPanel
Draws a filled circle with center at the current graph position and given radius in horizonal window coordinates.
fillOff() - Method in class ch.aplu.gidlet.Turtle
Stops the filling started by calling fillToPoint(), fillToHorizontal() or fillToVertical().
fillRectangle(double, double) - Method in class ch.aplu.gidlet.MPanel
Draws a filled rectangle with center at the current graph position and given width and height in window coordinates using the current color.
fillRectangle(double, double, double, double) - Method in class ch.aplu.gidlet.MPanel
Draws a filled rectangle with given opposite corners in window coordinates.
fillRectangle(double, double, double, double, int) - Method in class ch.aplu.gidlet.Playground
Draws a filled rectangle with given opposite corners in window coordinates using the given color.
fillToHorizontal(double) - Method in class ch.aplu.gidlet.Turtle
Draws a imaginary horizonatal line at given y-coordinate, when the turtle subsequently moves around, the trapezoidal area that is covered by this line and the turtle position is filled using the current fill color.
fillToPoint(double, double) - Method in class ch.aplu.gidlet.Turtle
Attachs a imaginary rubber band at the given position, when the turtle subsequently moves around, the area that is covered by the rubber band is filled using the current fill color.
fillToVertical(double) - Method in class ch.aplu.gidlet.Turtle
Draws a imaginary vertical line at given x-coordinate, when the turtle subsequently moves around, the trapezoidal area that is covered by this line and the turtle position is filled using the current fill color.
fillTriangle(double, double, double, double, double, double) - Method in class ch.aplu.gidlet.MPanel
Draws a filled triangle with given corners in window coordintates using the current color.
fillTriangle(double, double, double, double, double, double, int) - Method in class ch.aplu.gidlet.Playground
Draws a filled triangle with given corners in window coordintates using the given color.
FIND_FIRST - Static variable in interface ch.aplu.nxt.SharedConstants
 
FIND_NEXT - Static variable in interface ch.aplu.nxt.SharedConstants
 
findFirst() - Method in class ch.aplu.gidlet.MFile
Starts enumerating the files in the given directory.
findFirst() - Method in class ch.aplu.nxt.NxtRobot
Start file enumeration in the brick's file system.
findFirstRoot() - Method in class ch.aplu.gidlet.MFile
Starts enumerating the file system roots.
findNext() - Method in class ch.aplu.gidlet.MFile
Continues enumerating the files after calling findFirst() Be aware of the side effect, that the path is changed, if any file or subdirectory is found.
findNext(byte) - Method in class ch.aplu.nxt.NxtRobot
Searches the next file in a file enumeration.
findNextRoot() - Method in class ch.aplu.gidlet.MFile
Continues enumerating the roots after calling findFirstRoot() Be aware of the side effect, that the path is changed, if a root is found.
FIRE_PRESSED - Static variable in class ch.aplu.gidlet.Gidlet
Same as GameCanvas.FIRE_PRESSED.
Float11 - Class in ch.aplu.gidlet
Class for floating-point calculations in J2ME applications CLDC 1.1.
Float11() - Constructor for class ch.aplu.gidlet.Float11
 
flush() - Method in class ch.aplu.gidlet.MPanel
Shortcut for flushGraphics()
forward(double) - Method in class ch.aplu.gidlet.Turtle
Moves turtle the given distance forward.
forward() - Method in class ch.aplu.nxt.Gear
Starts the forward movement with preset speed.
forward(int) - Method in class ch.aplu.nxt.Gear
Starts the forward movement for the given duration (in ms) with preset speed.
forward() - Method in class ch.aplu.nxt.Motor
Starts the forward rotation with preset speed.
forward(boolean) - Method in class ch.aplu.nxt.Motor
 
forward(int) - Method in class ch.aplu.nxt.TurtleRobot
Moves the turtle forward the given number of steps.

G

GAME_A_PRESSED - Static variable in class ch.aplu.gidlet.Gidlet
Same as GameCanvas.GAME_A_PRESSED.
GAME_B_PRESSED - Static variable in class ch.aplu.gidlet.Gidlet
Same as GameCanvas.GAME_B_PRESSED.
GAME_C_PRESSED - Static variable in class ch.aplu.gidlet.Gidlet
Same as GameCanvas.GAME_C_PRESSED.
GAME_D_PRESSED - Static variable in class ch.aplu.gidlet.Gidlet
Same as GameCanvas.GAME_D_PRESSED.
Gear - Class in ch.aplu.nxt
Combines two motors on an axis to perform a car-like movement.
Gear(MotorPort, MotorPort) - Constructor for class ch.aplu.nxt.Gear
Creates a gear instance with left motor plugged into port1, right motor plugged into port2.
Gear() - Constructor for class ch.aplu.nxt.Gear
Creates a gear instance with left motor plugged into port A, right motor plugged into port B.
GET_BATTERY_LEVEL - Static variable in interface ch.aplu.nxt.SharedConstants
 
GET_CURRENT_PROGRAM_NAME - Static variable in interface ch.aplu.nxt.SharedConstants
 
GET_DEVICE_INFO - Static variable in interface ch.aplu.nxt.SharedConstants
 
GET_FIRMWARE_VERSION - Static variable in interface ch.aplu.nxt.SharedConstants
 
GET_INPUT_VALUES - Static variable in interface ch.aplu.nxt.SharedConstants
 
GET_OUTPUT_STATE - Static variable in interface ch.aplu.nxt.SharedConstants
 
getAbout() - Static method in class ch.aplu.nxt.NxtRobot
Returns copywrite information.
getAspectRatio() - Method in class ch.aplu.gidlet.MPanel
Returns the ratio of canvas height to width.
getAspectRatio() - Method in class ch.aplu.gidlet.Playground
Returns the ratio of canvas height to width.
getAvailableSpace() - Method in class ch.aplu.gidlet.MFile
Determines the free space on the file system, where the MFile's path resides on.
getAvailableSpace() - Method in class ch.aplu.gidlet.StringStore
Returns amount of additional room available for record store to grow.
getBatteryLevel() - Method in class ch.aplu.nxt.NxtRobot
Returns the battery level.
getBgColor() - Method in class ch.aplu.gidlet.MPanel
Returns the current background color.
getBtAddress() - Method in class ch.aplu.nxt.NxtRobot
Returns the Bluetooth address (hex).
getBtAddressLong() - Method in class ch.aplu.nxt.NxtRobot
Returns the Bluetooth address (long).
getBtName() - Method in class ch.aplu.nxt.NxtRobot
Returns the Bluetooth name
getColor() - Method in class ch.aplu.gidlet.MPanel
Returns the current drawing color.
getColor() - Method in class ch.aplu.gidlet.Turtle
Returns the turtle color.
getData(byte, int) - Method in class ch.aplu.nxt.I2CSensor
Retrieves data from the sensor.
getDataInputStream() - Method in class ch.aplu.gidlet.MFile
Opens a DataInputStream used to read primitive data types from a file.
getDataOutputStream() - Method in class ch.aplu.gidlet.MFile
Opens a DataOutputStream used to write primitive data types to a file.
getDebug() - Static method in class ch.aplu.gidlet.Gidlet
Returns true if debug information is turned on.
getDebugLevel() - Static method in class ch.aplu.nxt.NxtRobot
Returns the current debug level.
getDeviceName(RemoteDevice) - Static method in class ch.aplu.bluetooth.BluetoothFinder
Returns device name from given device using RemoteDevice.getFriendlyName().
getDiscoveryAgent() - Static method in class ch.aplu.bluetooth.BluetoothFinder
Returns the local discovery agent.
getDistance() - Method in class ch.aplu.nxt.UltrasonicSensor
Polls the sensor.
getDistances() - Method in class ch.aplu.nxt.UltrasonicSensor
The ultrasonic sensor is capable of sending a ping and recording up to 8 echoes.
getDoubleValue(String) - Method in class ch.aplu.nxt.platform.NxtProperties
Gets the property value with the given key as double.
getFactoryScaleDivisor() - Method in class ch.aplu.nxt.UltrasonicSensor
Gets the default scale divisor, which produces either cm's, inches, or some other unit.
getFactoryScaleFactor() - Method in class ch.aplu.nxt.UltrasonicSensor
Gets the default scale factor, which produces either cm's, inches, or some other unit.
getFactoryZero() - Method in class ch.aplu.nxt.UltrasonicSensor
Gets the default "zero" point, which should be 0.
getFileSize() - Method in class ch.aplu.gidlet.MFile
Gets the size of the file.
getFriendlyName() - Method in class ch.aplu.nxt.NxtRobot
Sends a request to the brick to get the Bluetooth friendly name.
getG() - Method in class ch.aplu.gidlet.MPanel
Returns the graphics context.
getGear() - Method in class ch.aplu.nxt.TurtleRobot
Returns the gear used as component of the turtle.
getGidlet() - Static method in class ch.aplu.gidlet.Gidlet
Returns a reference to the current gidlet instance.
getId() - Method in class ch.aplu.nxt.MotorPort
 
getId() - Method in class ch.aplu.nxt.SensorPort
 
getImage(String) - Static method in class ch.aplu.gidlet.Gidlet
Loads image from given resource and returns it's Image reference.
getImage(String) - Method in class ch.aplu.gidlet.MPanel
Loads image from given resource and returns it's Image reference.
getImageHttp(String, int) - Method in class ch.aplu.gidlet.Gidlet
Loads image from given HTTP uri and returns it's Image reference.
getImg() - Method in class ch.aplu.gidlet.Complex
Gets method for imaginary part.
getInputStream() - Method in class ch.aplu.gidlet.MFile
Opens a InputStream used to read data from a file.
getInputStream() - Method in class ch.aplu.nxt.NxtRobot
Returns the InputStream reference of the Bluetooth connection.
getInputValues(int) - Method in class ch.aplu.nxt.NxtRobot
Reads the values from given a sensor port.
getIntValue(String) - Method in class ch.aplu.nxt.platform.NxtProperties
Gets the property value with the given key as int.
getLabel() - Method in class ch.aplu.nxt.MotorPort
 
getLabel() - Method in class ch.aplu.nxt.SensorPort
 
getMeasurementInterval() - Method in class ch.aplu.nxt.UltrasonicSensor
Returns the time interval between measurements in continuous mode.
getMotLeft() - Method in class ch.aplu.nxt.Gear
Returns left motor of the gear.
getMotRight() - Method in class ch.aplu.nxt.Gear
Returns right motor of the gear.
getName() - Method in class ch.aplu.gidlet.MFile
Gets file name part of the path.
getOutputState(int) - Method in class ch.aplu.nxt.NxtRobot
Retrieves the current output state of a specific port.
getOutputStream() - Method in class ch.aplu.gidlet.MFile
Opens an OutputStream used to write data to a file.
getOutputStream() - Method in class ch.aplu.nxt.NxtRobot
Returns the OutputStream reference of the Bluetooth connection.
getPath() - Method in class ch.aplu.gidlet.MFile
Gets fully qualified path of file.
getPlayer() - Method in class ch.aplu.gidlet.AudioPlayer
Gets a reference to the Player instance.
getPlayground() - Method in class ch.aplu.gidlet.Turtle
Returns the turtle's playground, which is an instance of javax.microedition.lcdui.Canvas.
getPort() - Method in class ch.aplu.nxt.Sensor
 
getPortId() - Method in class ch.aplu.nxt.Motor
Returns the port number.
getPortId() - Method in class ch.aplu.nxt.Sensor
 
getPortLabel() - Method in class ch.aplu.nxt.Motor
Returns the port label.
getPortLabel() - Method in class ch.aplu.nxt.Sensor
 
getPosX() - Method in class ch.aplu.gidlet.MPanel
Returns window coordinate x of current graph position.
getPosX() - Method in class ch.aplu.gidlet.Playground
Returns window coordinate x of current graph position.
getPosY() - Method in class ch.aplu.gidlet.MPanel
Returns window coordinate y of current graph position.
getPosY() - Method in class ch.aplu.gidlet.Playground
Returns window coordinate y of current graph position.
getProperties() - Static method in class ch.aplu.nxt.NxtRobot
Returns the properties from the NxtJLib property file.
getReal() - Method in class ch.aplu.gidlet.Complex
Gets method for real part.
getResource(String) - Static method in class ch.aplu.gidlet.Gidlet
Loads resource into byte array.
getResourceInfo() - Method in class ch.aplu.nxt.platform.NxtProperties
Returns empty string.
getScaleFactor() - Method in class ch.aplu.nxt.UltrasonicSensor
Gets the scale factor, which produces either cm's, inches, or some other unit.
getServiceName(ServiceRecord) - Static method in class ch.aplu.bluetooth.BluetoothFinder
Returns service name from given service record.
getSpeed() - Method in class ch.aplu.nxt.Gear
Returns the current speed (arbitrary units).
getSpeed() - Method in class ch.aplu.nxt.Motor
Returns the current speed (arbitrary units).
getSprite(String) - Static method in class ch.aplu.gidlet.Gidlet
Loads image from given resource and returns it's Sprite reference.
getSprite(String, int, int) - Static method in class ch.aplu.gidlet.Gidlet
Loads image from given resource with given frameWidth, frameHeight and returns it's Sprite reference.
getSprite(String) - Method in class ch.aplu.gidlet.MPanel
Loads image from given resource and returns it's Sprite reference.
getSprite(String, int, int) - Method in class ch.aplu.gidlet.MPanel
Loads image from given resource with given frameWidth, frameHeight and returns it's Sprite reference.
getStreamConnection() - Method in class ch.aplu.nxt.NxtRobot
Returns the StreamConnection reference of the Bluetooth connection.
getStringValue(String) - Method in class ch.aplu.nxt.platform.NxtProperties
Gets the property value with the given key as string.
getText(Item) - Method in class ch.aplu.gidlet.MForm
Returns current text from the given TextField or StringItem, null if not one of these.
getText() - Method in class ch.aplu.gidlet.MTextBox
Returns current content.
getThread() - Static method in class ch.aplu.gidlet.Gidlet
Returns the main thread.
getTime() - Static method in class ch.aplu.gidlet.Gidlet
Gets timer's time (in ms).
getTime() - Static method in class ch.aplu.nxt.Tools
Gets the timer's time.
getTraceBuffer() - Method in class ch.aplu.gidlet.Playground
Returns the graphics turtle buffer.
getTraceImage() - Method in class ch.aplu.gidlet.Playground
Returns the trace image.
getTurtleBuffer() - Method in class ch.aplu.gidlet.Playground
Returns the graphics turtle buffer.
getTurtleImage() - Method in class ch.aplu.gidlet.Playground
Returns the turtle image.
getTurtleSpeed() - Method in class ch.aplu.nxt.TurtleRobot
Returns the current turtle speed.
getURL() - Method in class ch.aplu.gidlet.MFile
Gets fully qualified URL path of file.
getUsedSpace(boolean) - Method in class ch.aplu.gidlet.MFile
Determines the amount of space used by all files on the file system, where the MFile's path resides on.
getUsedSpace() - Method in class ch.aplu.gidlet.StringStore
Returns amount of space, that the record store occupies.
getValue() - Method in class ch.aplu.nxt.LightSensor
Polls the sensor.
getValue() - Method in class ch.aplu.nxt.SoundSensor
Polls the sensor.
getVelocity() - Method in class ch.aplu.nxt.Gear
Returns the current velocity.
getVelocity() - Method in class ch.aplu.nxt.Motor
Returns the current velocity.
getVersion() - Static method in class ch.aplu.gidlet.Gidlet
Returns version information of Gidlet framework.
getVersion() - Static method in class ch.aplu.nxt.NxtRobot
Returns library version information.
getX() - Method in class ch.aplu.gidlet.Turtle
Returns the x-coordinate.
getY() - Method in class ch.aplu.gidlet.Turtle
Returns the y-coordinate.
Gidlet - Class in ch.aplu.gidlet
Abstract helper class derived from MIDlet to provide functionalities for starting and stopping the application.
Gidlet() - Constructor for class ch.aplu.gidlet.Gidlet
Constructs a Gidlet instance and perform a few initializations.
Gidlet.HttpGetter - Class in ch.aplu.gidlet
Class that creates a thread to transfer data using the HTTP GET command.
Gidlet.HttpGetter(String) - Constructor for class ch.aplu.gidlet.Gidlet.HttpGetter
Creates a thread that transfers data from the given uri using the HTTP GET command.
Gidlet.HttpGetter(String, boolean) - Constructor for class ch.aplu.gidlet.Gidlet.HttpGetter
 
Gidlet.MMSReader - Class in ch.aplu.gidlet
Class that creates a MMS server thread based on the Wireless Messaging API (WMA).
Gidlet.MMSReader(String) - Constructor for class ch.aplu.gidlet.Gidlet.MMSReader
Creates a server thread based on the Wireless Messaging API (WMA) that looks for incoming MMS.
Gidlet.SMSReader - Class in ch.aplu.gidlet
Class that creates a SMS server thread based on the Wireless Messaging API (WMA).
Gidlet.SMSReader(int) - Constructor for class ch.aplu.gidlet.Gidlet.SMSReader
Creates a server thread based on the Wireless Messaging API (WMA) that looks for incoming SMS.
GRAY - Static variable in class ch.aplu.gidlet.Gidlet
The color gray.
GREEN - Static variable in class ch.aplu.gidlet.Gidlet
The color green.

H

heading() - Method in class ch.aplu.gidlet.Turtle
Returns the angle of vision (angle in respect to north, positive clockwise).
hide() - Static method in class ch.aplu.nxt.platform.ConnectPanel
 
hideTurtle() - Method in class ch.aplu.gidlet.Turtle
Makes turtle invisible.
HIGH_SPEED_BUFFER - Static variable in interface ch.aplu.nxt.SharedConstants
 
home() - Method in class ch.aplu.gidlet.Turtle
Moves the turtle to the initial position at (0, 0) looking north.
ht() - Method in class ch.aplu.gidlet.Turtle
Short for hideTurtle().

I

I2CSensor - Class in ch.aplu.nxt
A sensor wrapper to allow easy access to I2C sensors, like the ultrasonic sensor.
I2CSensor(SensorPort, byte) - Constructor for class ch.aplu.nxt.I2CSensor
Creates a sensor instance of given type connected to the given port.
image(String, double, double) - Method in class ch.aplu.gidlet.Playground
Puts the PNG image into turtle buffer from given file url at given window coordinates (specifies upper left corner of image).
imageHeight(String) - Method in class ch.aplu.gidlet.MPanel
Returns the height (vertical size) of the PNG image from the given url (in window coordinates).
imageHeight(String) - Method in class ch.aplu.gidlet.Playground
Returns the height (vertical size) of the PNG image from the given url (in window coordinates).
imageWidth(String) - Method in class ch.aplu.gidlet.MPanel
Returns the width (horizontal size) of the PNG image from the given url (in window coordinates).
imageWidth(String) - Method in class ch.aplu.gidlet.Playground
Returns the width (horizontal size) of the PNG image from the given url (in window coordinates).
img - Variable in class ch.aplu.gidlet.Complex
 
init() - Method in class ch.aplu.gidlet.MConsole
Initialize MConsole.
init() - Method in class ch.aplu.gidlet.MPanel
Initializes MPanel.
init() - Method in class ch.aplu.gidlet.Playground
Initializes Playground.
init() - Method in class ch.aplu.gidlet.Turtle
Initializes Turtle.
init() - Method in class ch.aplu.nxt.Gear
 
init() - Method in class ch.aplu.nxt.I2CSensor
 
init() - Method in class ch.aplu.nxt.LightSensor
 
init() - Method in class ch.aplu.nxt.Motor
 
init() - Method in class ch.aplu.nxt.Part
 
init() - Method in class ch.aplu.nxt.PrototypeSensor
 
init() - Method in class ch.aplu.nxt.SoundSensor
 
init() - Method in class ch.aplu.nxt.TouchSensor
 
inquiryCompleted(int) - Method in class ch.aplu.bluetooth.BluetoothFinder
For internal use only.
INT_VALIDATE - Static variable in class ch.aplu.gidlet.Gidlet
Validation type "Garantee to be an integer"
internalNotifyHttpResponse(byte[], int) - Method in class ch.aplu.gidlet.Gidlet
 
isActuated() - Method in class ch.aplu.nxt.TouchSensor
 
isConnected() - Method in class ch.aplu.nxt.NxtRobot
Returns the connection state.
isDirectory() - Method in class ch.aplu.gidlet.MFile
Checks if the path corresponds to an existing directory.
isEmulator() - Static method in class ch.aplu.gidlet.Gidlet
Returns true, if the application runs in the emulator, otherwise false.
isExiting() - Static method in class ch.aplu.gidlet.Gidlet
Returns true, if the Exit soft button is hit in a readXXX(), showMessage() or showTimeMessage() method.
isFile() - Method in class ch.aplu.gidlet.MFile
Checks if the path corresponds to an existing file (not a directory).
isFileConnectionSupported() - Static method in class ch.aplu.gidlet.MFile
Checks if FileConnection (JSR 75) is supported.
isHidden() - Method in class ch.aplu.gidlet.MFile
Checks if the file/directory is hidden.
isHidden() - Method in class ch.aplu.gidlet.Turtle
Returns true if turtle is invisible (hidden), otherwise false.
isMoving() - Method in class ch.aplu.nxt.Motor
Checks if the motor is rotating.
isPenUp() - Method in class ch.aplu.gidlet.Turtle
Returns true if turtle's pen is up, otherwise false.
isPressed() - Method in class ch.aplu.nxt.TouchSensor
Polls the sensor.
isSleeping() - Static method in class ch.aplu.gidlet.Gidlet
Returns true, if putSleep() was called and still waiting for wakeUp() or timeout.
isWrap() - Method in class ch.aplu.gidlet.Turtle
Returns true, if turtle is in wrap mode, otherwise false.
itemStateChanged(Item) - Method in class ch.aplu.gidlet.MForm
Calls the internal ItemStateListener which is used to verify integer and double values entered with addInputField().

K

KEEP_ALIVE - Static variable in interface ch.aplu.nxt.SharedConstants
 
keepAlive() - Method in class ch.aplu.nxt.NxtRobot
Sends a keep alive command to prevent the automatic shutdown of the brick.
KeyListener - Interface in ch.aplu.gidlet
Interface for key event callback methods.
keyPressed(int) - Method in class ch.aplu.gidlet.Gidlet
Empty implementation of KeyListener.keyPressed().
keyPressed(int) - Method in interface ch.aplu.gidlet.KeyListener
Called when a key is pressed.
keyPressed(int) - Method in class ch.aplu.gidlet.MConsole
Notificaton of key pressed.
keyPressed(int) - Method in class ch.aplu.gidlet.MPanel
Used to get key events.
keyPressed(int) - Method in class ch.aplu.gidlet.Playground
Used to get key events.
keyReleased(int) - Method in class ch.aplu.gidlet.Gidlet
Empty implementation of KeyListener.keyReleased().
keyReleased(int) - Method in interface ch.aplu.gidlet.KeyListener
Called when a key is released.
keyReleased(int) - Method in class ch.aplu.gidlet.MConsole
Notification of key release.
keyReleased(int) - Method in class ch.aplu.gidlet.MPanel
Used to get key events.
keyReleased(int) - Method in class ch.aplu.gidlet.Playground
Used to get key events.
keyRepeated(int) - Method in class ch.aplu.gidlet.Gidlet
Empty implementation of KeyListener.keyRepeated().
keyRepeated(int) - Method in interface ch.aplu.gidlet.KeyListener
Called when a key is repeated (held down).
keyRepeated(int) - Method in class ch.aplu.gidlet.MConsole
Notification of key repeated.
keyRepeated(int) - Method in class ch.aplu.gidlet.MPanel
Used to get key events.
keyRepeated(int) - Method in class ch.aplu.gidlet.Playground
Used to get key events.

L

label(String, double) - Method in class ch.aplu.gidlet.MPanel
Draws the given text with current drawing color and font left adjusted at given window y coordinate.
left(double) - Method in class ch.aplu.gidlet.Turtle
Turns turtle the given angle (in degrees) to the left.
left() - Method in class ch.aplu.nxt.Gear
Starts turning left with left motor stopped and right motor at preset speed.
left(int) - Method in class ch.aplu.nxt.Gear
Starts turning left for the given duration (in ms) with preset speed.
left(int) - Method in class ch.aplu.nxt.TurtleRobot
Turns the turtle to the left for the given angle.
LEFT_PRESSED - Static variable in class ch.aplu.gidlet.Gidlet
Same as GameCanvas.LEFT_PRESSED.
leftArc(double) - Method in class ch.aplu.nxt.Gear
Starts turning to the left on an arc with given radius (in m).
leftArc(double, int) - Method in class ch.aplu.nxt.Gear
Starts turning to the left on an arc with given radius (in m) for the given duration (in ms) with preset speed.
LIGHT_ACTIVE - Static variable in interface ch.aplu.nxt.SharedConstants
 
LIGHT_INACTIVE - Static variable in interface ch.aplu.nxt.SharedConstants
 
LightAdapter - Class in ch.aplu.nxt
Class with empty callback methods for the light sensor.
LightAdapter() - Constructor for class ch.aplu.nxt.LightAdapter
 
LIGHTGRAY - Static variable in class ch.aplu.gidlet.Gidlet
The color lightgray.
LightListener - Interface in ch.aplu.nxt
Interface with declarations of callback methods for the light sensor.
LightSensor - Class in ch.aplu.nxt
Class that represents a light sensor.
LightSensor(SensorPort) - Constructor for class ch.aplu.nxt.LightSensor
Creates a sensor instance connected to the given port.
LightSensor() - Constructor for class ch.aplu.nxt.LightSensor
Creates a sensor instance connected to port S1.
line(double, double, double, double) - Method in class ch.aplu.gidlet.MPanel
Draws a line with given window coordinates and sets the graph position to the endpoint.
line(double, double, double, double) - Method in class ch.aplu.gidlet.Playground
Draws a line into trace buffer with given window coordinates into given buffer and sets the graph position to the endpoint.
log(double) - Static method in class ch.aplu.gidlet.Float11
Logarithmus (base e).
LOG10 - Static variable in class ch.aplu.gidlet.Float11
Log10 constant
log10(double) - Static method in class ch.aplu.gidlet.Float11
Logarithmus (base 10).
LOGdiv2 - Static variable in class ch.aplu.gidlet.Float11
ln(0.5) constant
LONG_VALIDATE - Static variable in class ch.aplu.gidlet.Gidlet
Validation type "Garantee to be a long"
loud(SensorPort, int) - Method in class ch.aplu.nxt.SoundAdapter
Empty method called when the sound becomes louder than the trigger level.
loud(SensorPort, int) - Method in interface ch.aplu.nxt.SoundListener
Called when the sound becomes louder than the trigger level.
LOWSPEED - Static variable in interface ch.aplu.nxt.SharedConstants
 
LOWSPEED_9V - Static variable in interface ch.aplu.nxt.SharedConstants
 
LS_GET_STATUS - Static variable in interface ch.aplu.nxt.SharedConstants
 
LS_READ - Static variable in interface ch.aplu.nxt.SharedConstants
 
LS_WRITE - Static variable in interface ch.aplu.nxt.SharedConstants
 
LSRead(byte) - Method in class ch.aplu.nxt.Sensor
 
LSWrite(byte, byte[], byte) - Method in class ch.aplu.nxt.Sensor
 
lt(double) - Method in class ch.aplu.gidlet.Turtle
Short for left().

M

MAGENTA - Static variable in class ch.aplu.gidlet.Gidlet
The color magenta.
main() - Method in class ch.aplu.gidlet.Gidlet
Abstract declaration, must be overridden by derived class.
MConsole - Class in ch.aplu.gidlet
Full screen text window containing lines of text, simulating Java's System.out.println.
MConsole(int, int, int, int, boolean) - Constructor for class ch.aplu.gidlet.MConsole
Constructs a MConsole with given maximal number of lines in text buffer, the background color, the default text color and the size of the font (1: small, 2: medium, 3: large)
If nbLines <= 0, the number of lines is unlimited.
MConsole(int, int, int, int) - Constructor for class ch.aplu.gidlet.MConsole
Constructs a MConsole with given maximal number of lines in text buffer, the background color, the default text color and the size of the font (1: small, 2: medium, 3: large)
If nbLines <= 0, the number of lines is unlimited.
MConsole(boolean) - Constructor for class ch.aplu.gidlet.MConsole
Contructs a MConsole with unlimited number of lines, black background, white default text color and large size of font.
MConsole() - Constructor for class ch.aplu.gidlet.MConsole
Contructs a MConsole with unlimited number of lines, black background, white default text color and large size of font.
MESSAGE_READ - Static variable in interface ch.aplu.nxt.SharedConstants
 
MESSAGE_WRITE - Static variable in interface ch.aplu.nxt.SharedConstants
 
messageTimeout() - Method in class ch.aplu.gidlet.Gidlet
Will be called when the timeout of the timed message expires.
MFile - Class in ch.aplu.gidlet
Class to access files or directories that are located on removable media and/or file systems on a device.
MFile() - Constructor for class ch.aplu.gidlet.MFile
Create a MFile instance with empty path.
MFile(String) - Constructor for class ch.aplu.gidlet.MFile
Creates a MFile instance with given path.
MForm - Class in ch.aplu.gidlet
Form display with simple input and output items.
MForm(String) - Constructor for class ch.aplu.gidlet.MForm
Constructs a MForm with given title.
MForm() - Constructor for class ch.aplu.gidlet.MForm
Constructs a MForm with no title.
MList - Class in ch.aplu.gidlet
List display with simple input and output items.
MList(String) - Constructor for class ch.aplu.gidlet.MList
Constructs a MList with given title and list type IMPLICIT.
MList() - Constructor for class ch.aplu.gidlet.MList
Constructs a MList with no title and list type IMPLICIT.
MODEMASK - Static variable in interface ch.aplu.nxt.SharedConstants
 
modulus() - Method in class ch.aplu.gidlet.Complex
Provides the magnitude of the complex value.
MotionAdapter - Class in ch.aplu.nxt
Class with an empty declaration of a callback method when the movement stops.
MotionAdapter() - Constructor for class ch.aplu.nxt.MotionAdapter
 
MotionListener - Interface in ch.aplu.nxt
Class with a declaration of a callback method when the movement stops.
motionStopped() - Method in class ch.aplu.nxt.MotionAdapter
Empty method called when the movement stops.
motionStopped() - Method in interface ch.aplu.nxt.MotionListener
Called when the movement stops.
Motor - Class in ch.aplu.nxt
Class that represents one of the NXT motors.
Motor(MotorPort) - Constructor for class ch.aplu.nxt.Motor
Creates a motor instance that is plugged into given port.
MOTOR_RUN_STATE_IDLE - Static variable in interface ch.aplu.nxt.SharedConstants
 
MOTOR_RUN_STATE_RAMPDOWN - Static variable in interface ch.aplu.nxt.SharedConstants
 
MOTOR_RUN_STATE_RAMPUP - Static variable in interface ch.aplu.nxt.SharedConstants
 
MOTOR_RUN_STATE_RUNNING - Static variable in interface ch.aplu.nxt.SharedConstants
 
MOTORON - Static variable in interface ch.aplu.nxt.SharedConstants
 
MotorPort - Class in ch.aplu.nxt
Useful declarations for port connections.
move(double, double) - Method in class ch.aplu.gidlet.MPanel
Sets the current graph position to given window coordinates (without drawing anything).
move(double, double) - Method in class ch.aplu.gidlet.Playground
Sets the current graph position in trace buffer to given window coordinates (without drawing anything).
moveTo(int, boolean) - Method in class ch.aplu.nxt.Gear
Sets the rotation counter to zero and rotate both motors until the given count is reached.
moveTo(int) - Method in class ch.aplu.nxt.Gear
Same as moveTo(int count, boolean blocking) with blocking = true.
MPanel - Class in ch.aplu.gidlet
Simple graphics window of full display width and height (client drawing area) using a coordinate system with x-axis from left to right, y-axis from bottom to top (called window coordinates, default range 0..1, 0..1).
MPanel(String, double, double, double, double, boolean) - Constructor for class ch.aplu.gidlet.MPanel
Constructs a MPanel and show the display with given title and given window coordinates, (0, 0) is at lower left corner which is the current graph cursor position.
MPanel(String, double, double, double, double) - Constructor for class ch.aplu.gidlet.MPanel
Same as MPanel(title, xmin, xmax, ymin, ymax, visible) with visible = true.
MPanel(double, double, double, double, boolean) - Constructor for class ch.aplu.gidlet.MPanel
Constructs a MPanel and show the display with no title.
MPanel(double, double, double, double) - Constructor for class ch.aplu.gidlet.MPanel
Same as MPanel(xmin, xmax, ymin, ymax, visible) with visible = true.
MPanel(String, boolean) - Constructor for class ch.aplu.gidlet.MPanel
Constructs a MPanel and show the display with given title.
MPanel(String) - Constructor for class ch.aplu.gidlet.MPanel
Same as MPanel(title, visible) with visible = true.
MPanel(boolean) - Constructor for class ch.aplu.gidlet.MPanel
Constructs a MPanel and show the window with no title.
MPanel() - Constructor for class ch.aplu.gidlet.MPanel
Same as MPanel(visible) with visible = true.
MTextBox - Class in ch.aplu.gidlet
TextBox display for full screen input and output.
MTextBox(String, String) - Constructor for class ch.aplu.gidlet.MTextBox
Constructs a MTextBox with given title and given initial text.
MTextBox(String) - Constructor for class ch.aplu.gidlet.MTextBox
Constructs a MTextBox with given title and no initial text.
multiply(Complex) - Method in class ch.aplu.gidlet.Complex
Multiplies this complex object by the complex argument.
multiply(Complex, Complex) - Static method in class ch.aplu.gidlet.Complex
Defines a static multiply method that creates a a new Complex object with the product.
myGidlet - Static variable in class ch.aplu.gidlet.Gidlet
A reference to the current gidlet.

N

near(SensorPort, int) - Method in class ch.aplu.nxt.UltrasonicAdapter
Empty method called when the distance falls below the trigger level.
near(SensorPort, int) - Method in interface ch.aplu.nxt.UltrasonicListener
Called when the distance falls below the trigger level.
NO_OF_SENSOR_TYPES - Static variable in interface ch.aplu.nxt.SharedConstants
 
NO_SENSOR - Static variable in interface ch.aplu.nxt.SharedConstants
 
NONE_VALIDATE - Static variable in class ch.aplu.gidlet.Gidlet
Validation type "No validation"
notifyHttpResponse(byte[], int) - Method in class ch.aplu.gidlet.Gidlet
Empty callback method triggered by HttpReader when the transfer due to the HTTP GET command issued by the HttpGetter constructor terminates or when an error occured.
notifyHttpResponse(String, int) - Method in class ch.aplu.gidlet.Gidlet
Empty callback method triggered by HttpReader when the transfer due to the HTTP GET command issued by the HttpGetter constructor terminates or when an error occured.
notifyIncomingMessage(MessageConnection) - Method in class ch.aplu.gidlet.Gidlet.MMSReader
For internal use only.
notifyIncomingMessage(MessageConnection) - Method in class ch.aplu.gidlet.Gidlet.SMSReader
For internal use only.
notifyIncomingMMS(MultipartMessage) - Method in class ch.aplu.gidlet.Gidlet
Empty callback method triggered by the MMSReader thread when a MMS is received.
notifyIncomingSMS(TextMessage) - Method in class ch.aplu.gidlet.Gidlet
Empty callback method triggered by the SMSReader thread when a SMS is received.
notifyOutgoingMMS(int) - Method in class ch.aplu.gidlet.Gidlet
Empty callback method triggered by the sendMMS() and sendMMSMail() thread when it terminates.
notifyPlayerUpdate(String, Object) - Method in class ch.aplu.gidlet.Gidlet
Empty callback method triggered by the PlayerListener when the state of the Player is updated.
NXJ_FIND_FIRST - Static variable in interface ch.aplu.nxt.SharedConstants
 
NXJ_FIND_NEXT - Static variable in interface ch.aplu.nxt.SharedConstants
 
NxtProperties - Class in ch.aplu.nxt.platform
Class to read properties from the NxtJLib property file.
NxtProperties() - Constructor for class ch.aplu.nxt.platform.NxtProperties
Searches the property file 'nxtjlib.properties' in subdirectory 'res' and, if not found, in subdirectory 'ch/aplu/nxt/properties' of the jar file.
NxtRobot - Class in ch.aplu.nxt
Class that represents a NXT robot brick.
NxtRobot(String, boolean) - Constructor for class ch.aplu.nxt.NxtRobot
Creates a NxtRobot instance with given Bluetooth name.
NxtRobot(String) - Constructor for class ch.aplu.nxt.NxtRobot
Creates a NxtRobot instance with given Bluetooth name.
NxtRobot(long, boolean) - Constructor for class ch.aplu.nxt.NxtRobot
Creates a NxtRobot instance with given Bluetooth address.
NxtRobot(long) - Constructor for class ch.aplu.nxt.NxtRobot
Creates a NxtRobot instance with given Bluetooth address.
NxtRobot() - Constructor for class ch.aplu.nxt.NxtRobot
Asks for the Bluetooth name and creates a NxtRobot instance.

O

OFF - Static variable in class ch.aplu.nxt.UltrasonicSensor
Turn off sensor.
OPEN_APPEND_DATA - Static variable in interface ch.aplu.nxt.SharedConstants
 
OPEN_READ - Static variable in interface ch.aplu.nxt.SharedConstants
 
OPEN_READ_LINEAR - Static variable in interface ch.aplu.nxt.SharedConstants
 
OPEN_WRITE - Static variable in interface ch.aplu.nxt.SharedConstants
 
OPEN_WRITE_DATA - Static variable in interface ch.aplu.nxt.SharedConstants
 
OPEN_WRITE_LINEAR - Static variable in interface ch.aplu.nxt.SharedConstants
 
openConnection() - Method in class ch.aplu.gidlet.MFile
Closes an eventually opened connection and open a new one.
ORANGE - Static variable in class ch.aplu.gidlet.Gidlet
The color orange.

P

paint(Graphics) - Method in class ch.aplu.gidlet.MConsole
Used for rendering canvas.
paint(Graphics) - Method in class ch.aplu.gidlet.Playground
Used for rendering canvas.
Part - Class in ch.aplu.nxt
Abstract class as ancestor of all parts.
Part() - Constructor for class ch.aplu.nxt.Part
 
pause() - Method in class ch.aplu.gidlet.AudioPlayer
Pauses playing. start() will resume at current media time.
pauseApp() - Method in class ch.aplu.gidlet.Gidlet
Called when the platform requests to pause the program.
PCTFULLSCALEMODE - Static variable in interface ch.aplu.nxt.SharedConstants
 
pd() - Method in class ch.aplu.gidlet.Turtle
Short for penDown().
pe() - Method in class ch.aplu.gidlet.Turtle
Short for penErase().
penDown() - Method in class ch.aplu.gidlet.Turtle
Lower pen, so that the trace is drawn.
penErase() - Method in class ch.aplu.gidlet.Turtle
Changes pen color to the background color.
penUp() - Method in class ch.aplu.gidlet.Turtle
Lifts pen, so that the trace is not drawn.
PERIODCOUNTERMODE - Static variable in interface ch.aplu.nxt.SharedConstants
 
PINK - Static variable in class ch.aplu.gidlet.Gidlet
The color pink.
PlatformTools - Class in ch.aplu.nxt.platform
Some platform specific helper methods.
PlatformTools() - Constructor for class ch.aplu.nxt.platform.PlatformTools
 
PLAY_SOUND_FILE - Static variable in interface ch.aplu.nxt.SharedConstants
 
PLAY_TONE - Static variable in interface ch.aplu.nxt.SharedConstants
 
playConnectMelody() - Method in class ch.aplu.nxt.NxtRobot
Plays a standard connect melody.
playDisconnectMelody() - Method in class ch.aplu.nxt.NxtRobot
Plays a standard disconnect melody.
playerUpdate(Player, String, Object) - Method in class ch.aplu.gidlet.AudioPlayer
For internal use only.
Playground - Class in ch.aplu.gidlet
Graphics window of full screen width and height (client drawing area), exclusively used as canvas for the class Turtle.
Playground(Turtle, String, double, int, int, int, int, boolean, boolean) - Constructor for class ch.aplu.gidlet.Playground
 
playTone(int, int) - Method in class ch.aplu.nxt.NxtRobot
Plays a tone with given frequency (in Hertz) and duration (in seconds).
point(double, double) - Method in class ch.aplu.gidlet.MPanel
Draws a single point at the given window coordinates.
POLL - Static variable in interface ch.aplu.nxt.SharedConstants
 
POLL_BUFFER - Static variable in interface ch.aplu.nxt.SharedConstants
 
POLL_LENGTH - Static variable in interface ch.aplu.nxt.SharedConstants
 
pow(double, double) - Static method in class ch.aplu.gidlet.Float11
x to the power of y.
pressed(SensorPort) - Method in class ch.aplu.nxt.TouchAdapter
Empty method called when the touch sensor is pressed.
pressed(SensorPort) - Method in interface ch.aplu.nxt.TouchListener
Called when the touch sensor is pressed.
print(String) - Method in class ch.aplu.gidlet.MConsole
Appends given text to last line, if print() was previously called or start a new line, if no print-method or println() was previously called.
print(boolean) - Method in class ch.aplu.gidlet.MConsole
Prints a boolean.
print(char) - Method in class ch.aplu.gidlet.MConsole
Prints a character.
print(char[]) - Method in class ch.aplu.gidlet.MConsole
Prints a array of characters.
print(double) - Method in class ch.aplu.gidlet.MConsole
Prints a double-precision floating-point number.
print(float) - Method in class ch.aplu.gidlet.MConsole
Prints a floating-point number.
print(int) - Method in class ch.aplu.gidlet.MConsole
Prints an integer.
print(long) - Method in class ch.aplu.gidlet.MConsole
Prints a long integer.
println(String) - Method in class ch.aplu.gidlet.MConsole
Appends given text to last line, if print() was previously called or start a new line, if no print-method or println() was previously called.
println() - Method in class ch.aplu.gidlet.MConsole
Starts a new line.
println(boolean) - Method in class ch.aplu.gidlet.MConsole
Prints a boolean and advances on next line.
println(char) - Method in class ch.aplu.gidlet.MConsole
Prints a character and advances on next line.
println(char[]) - Method in class ch.aplu.gidlet.MConsole
Prints an array of characters and advances on next line.
println(double) - Method in class ch.aplu.gidlet.MConsole
Prints a double-precision floating-point number and advances on next line.
println(float) - Method in class ch.aplu.gidlet.MConsole
Prints a floating-point number and advances on next line.
println(int) - Method in class ch.aplu.gidlet.MConsole
Prints an integer and advances on next line.
println(long) - Method in class ch.aplu.gidlet.MConsole
Prints a long integer and advances on next line.
PrototypeAdapter - Class in ch.aplu.nxt
Class with empty callback methods for the prototype sensor.
PrototypeAdapter() - Constructor for class ch.aplu.nxt.PrototypeAdapter
 
PrototypeListener - Interface in ch.aplu.nxt
Class with declarations of callback methods for the prototype sensor.
PrototypeSensor - Class in ch.aplu.nxt
Class that represents a prototype sensor (HiTechnic NXT Prototyping Board).
PrototypeSensor(SensorPort) - Constructor for class ch.aplu.nxt.PrototypeSensor
Creates a sensor instance connected to the given port.
PrototypeSensor() - Constructor for class ch.aplu.nxt.PrototypeSensor
Creates a sensor instance connected to port S1.
pu() - Method in class ch.aplu.gidlet.Turtle
Short for penUp().
putSleep(int) - Static method in class ch.aplu.gidlet.Gidlet
Puts the current thread in a wait state until wakeUp() is called or timeout (in ms) expires.
putSleep() - Static method in class ch.aplu.gidlet.Gidlet
Same as putSleep(int timeout) with timeout = 0 (timeout disalbed).
putSleep() - Static method in class ch.aplu.nxt.platform.PlatformTools
Calls Gidlet.putSleep().

Q

quiet(SensorPort, int) - Method in class ch.aplu.nxt.SoundAdapter
Empty method called when the sound becomes lower than the trigger level.
quiet(SensorPort, int) - Method in interface ch.aplu.nxt.SoundListener
Called when the sound becomes lower than the trigger level.

R

RAWMODE - Static variable in interface ch.aplu.nxt.SharedConstants
 
read() - Method in class ch.aplu.gidlet.MFile
Reads content of a text file.
read() - Method in class ch.aplu.gidlet.StringStore
Returns content of the StringStore.
read(int[], int[]) - Method in class ch.aplu.nxt.PrototypeSensor
Reads the sensor.
READ - Static variable in interface ch.aplu.nxt.SharedConstants
 
readAnalog(int[]) - Method in class ch.aplu.nxt.PrototypeSensor
Reads the sensor.
readBooleanValue() - Method in class ch.aplu.nxt.Sensor
 
readData() - Method in class ch.aplu.nxt.NxtRobot
Reads the data returned as a reply from the brick.
readDigital(int[]) - Method in class ch.aplu.nxt.PrototypeSensor
Reads the sensor.
readDouble(String, double) - Static method in class ch.aplu.gidlet.Gidlet
Shows a simple form with an input field with the given prompt message, and given initial value.
readDouble(String) - Static method in class ch.aplu.gidlet.Gidlet
Shows a simple form with an input field with the given prompt message and no initial value.
readFile(String) - Method in class ch.aplu.gidlet.Gidlet
Reads content of a text file from a given url.
readInt(String, int) - Static method in class ch.aplu.gidlet.Gidlet
Shows a simple form with an input field with the given prompt message and given initial value.
readInt(String) - Static method in class ch.aplu.gidlet.Gidlet
Shows a simple form with an input field with the given prompt message and no initial value.
readLong(String, long) - Static method in class ch.aplu.gidlet.Gidlet
Shows a simple form with an input field with the given prompt message and given initial value.
readLong(String) - Static method in class ch.aplu.gidlet.Gidlet
Shows a simple form with an input field with the given prompt message and no initial value.
readNormalizedValue() - Method in class ch.aplu.nxt.Sensor
 
readRawValue() - Method in class ch.aplu.nxt.Sensor
 
readScaledValue() - Method in class ch.aplu.nxt.Sensor
 
readString(String, String) - Static method in class ch.aplu.gidlet.Gidlet
Shows a simple form with an input field with the given prompt message, and given initial value.
readString(String) - Static method in class ch.aplu.gidlet.Gidlet
Shows a simple form with an input field with the given prompt message and no initial value.
readTextResource(String) - Static method in class ch.aplu.gidlet.Gidlet
Reads and returns text from a textfile with given URL.
real - Variable in class ch.aplu.gidlet.Complex
 
rectangle(double, double) - Method in class ch.aplu.gidlet.MPanel
Draws a rectangle with center at the current graph position and given width and height in window coordinates.
rectangle(double, double, double, double) - Method in class ch.aplu.gidlet.MPanel
Draws a rectangle with given opposite corners in window coordinates.
rectangle(double, double, double, double) - Method in class ch.aplu.gidlet.Playground
Draws a rectangle with given opposite corners in window coordinates.
RED - Static variable in class ch.aplu.gidlet.Gidlet
The color red.
REFLECTION - Static variable in interface ch.aplu.nxt.SharedConstants
 
REGULATED - Static variable in interface ch.aplu.nxt.SharedConstants
 
REGULATION_MODE_IDLE - Static variable in interface ch.aplu.nxt.SharedConstants
 
REGULATION_MODE_MOTOR_SPEED - Static variable in interface ch.aplu.nxt.SharedConstants
 
REGULATION_MODE_MOTOR_SYNC - Static variable in interface ch.aplu.nxt.SharedConstants
 
releaseConnection() - Method in class ch.aplu.gidlet.MFile
Releases all allocated resources (FileConnection, DataInputStream, DataOutputStream).
released(SensorPort) - Method in class ch.aplu.nxt.TouchAdapter
Empty method called when the touch sensor is released.
released(SensorPort) - Method in interface ch.aplu.nxt.TouchListener
Called when the touch sensor is released.
remove() - Method in class ch.aplu.gidlet.MFile
Removes file or directory.
removeExitButton() - Method in class ch.aplu.gidlet.MConsole
Removes Exit soft button.
removeExitButton() - Method in class ch.aplu.gidlet.MForm
Removes Exit soft button.
removeExitButton() - Method in class ch.aplu.gidlet.MList
Removes Exit soft button.
removeExitButton() - Method in class ch.aplu.gidlet.MPanel
Removes Exit soft button.
removeExitButton() - Method in class ch.aplu.gidlet.MTextBox
Removes Exit soft button.
removeExitButton() - Method in class ch.aplu.gidlet.Playground
Removes Exit soft button.
removeKeyListener() - Method in class ch.aplu.gidlet.MPanel
Removes a registered KeyListener.
removeKeyListener() - Method in class ch.aplu.gidlet.Playground
Removes a registered KeyListener.
removeKeyListener() - Method in class ch.aplu.gidlet.Turtle
Removes a registered KeyListener.
removeLabel(int) - Method in class ch.aplu.gidlet.Playground
Removes text with given index.
removeOkButton() - Method in class ch.aplu.gidlet.MConsole
Removes Ok soft button.
removeOkButton() - Method in class ch.aplu.gidlet.MForm
Removes Ok soft button.
removeOkButton() - Method in class ch.aplu.gidlet.MList
Removes Ok soft button.
removeOkButton() - Method in class ch.aplu.gidlet.MPanel
Removes Ok soft button.
removeOkButton() - Method in class ch.aplu.gidlet.MTextBox
Removes Ok soft button.
removeOkButton() - Method in class ch.aplu.gidlet.Playground
Removes OK soft button.
rename(String) - Method in class ch.aplu.gidlet.MFile
Renames file or directory.
repaint() - Method in class ch.aplu.gidlet.Turtle
Performs manual repainting when automatic repainting is disabled.
REPLY_COMMAND - Static variable in interface ch.aplu.nxt.SharedConstants
 
REQUEST_WARM_RESET - Static variable in class ch.aplu.nxt.UltrasonicSensor
Resets the sensor.
requestData(byte[]) - Method in class ch.aplu.nxt.NxtRobot
Combines sendData() and readData() in synchronized block.
RESET_MOTOR_POSITION - Static variable in interface ch.aplu.nxt.SharedConstants
 
RESET_SCALED_INPUT_VALUE - Static variable in interface ch.aplu.nxt.SharedConstants
 
resetMotorCount() - Method in class ch.aplu.nxt.Motor
Resets the rotation counter to zero.
restorePanel() - Method in class ch.aplu.gidlet.MPanel
Renders the content of the internal offscreen buffer.
right(double) - Method in class ch.aplu.gidlet.Turtle
Turns turtle the given angle (in degrees) to the right.
right() - Method in class ch.aplu.nxt.Gear
Same as left(), but turning in the opposite direction.
right(int) - Method in class ch.aplu.nxt.Gear
Same as left(int duration), but turning in the opposite direction.
right(int) - Method in class ch.aplu.nxt.TurtleRobot
Turns the turtle to the right for the given angle.
RIGHT_PRESSED - Static variable in class ch.aplu.gidlet.Gidlet
Same as GameCanvas.RIGHT_PRESSED.
rightArc(double) - Method in class ch.aplu.nxt.Gear
Same as leftArc(double radius), but turns in the right.
rightArc(double, int) - Method in class ch.aplu.nxt.Gear
Same as leftArc(double radius, int duration), but turns to the right.
robot - Variable in class ch.aplu.nxt.Part
 
rotateTo(int) - Method in class ch.aplu.nxt.Motor
Sets the rotation counter to zero and rotates the motor until the given count is reached.
rotateTo(int, boolean) - Method in class ch.aplu.nxt.Motor
Sets the rotation counter to zero and rotates the motor until the given count is reached.
round(double) - Static method in class ch.aplu.nxt.Tools
 
rt(double) - Method in class ch.aplu.gidlet.Turtle
Short for right().
run() - Method in class ch.aplu.gidlet.AudioPlayer
For internal use only.
run() - Method in class ch.aplu.gidlet.Gidlet.HttpGetter
For internal use only.
run() - Method in class ch.aplu.gidlet.Gidlet.MMSReader
For internal use only.
run() - Method in class ch.aplu.gidlet.Gidlet
Gidlet's run-method implementation.
run() - Method in class ch.aplu.gidlet.Gidlet.SMSReader
For internal use only.

S

S1 - Static variable in class ch.aplu.nxt.SensorPort
Declaration used by a motor connected to port S1.
S2 - Static variable in class ch.aplu.nxt.SensorPort
Declaration used by a motor connected to port S2.
S3 - Static variable in class ch.aplu.nxt.SensorPort
Declaration used by a motor connected to port S3.
S4 - Static variable in class ch.aplu.nxt.SensorPort
Declaration used by a motor connected to port S4.
savePanel() - Method in class ch.aplu.gidlet.MPanel
Saves the current graphics content to an internal offscreen buffer.
screenHeight() - Method in class ch.aplu.gidlet.Playground
Returns height of screen in window coordinates.
screenResolutionX() - Method in class ch.aplu.gidlet.Playground
Returns number of pixels in horizontal direction.
screenResolutionY() - Method in class ch.aplu.gidlet.Playground
Returns number of pixels in vertical direction.
screenWidth() - Method in class ch.aplu.gidlet.Playground
Returns width of screen in window coordinates.
searchCachedDevice(String) - Static method in class ch.aplu.bluetooth.BluetoothFinder
Searches for device with given name in the 'cached' database, and return it.
searchPreknownDevice(String) - Static method in class ch.aplu.bluetooth.BluetoothFinder
Searches for device with given name in the 'preknown' database, and return it.
sendData(byte, byte) - Method in class ch.aplu.nxt.I2CSensor
Sets a single byte in the I2C sensor.
sendData(byte, byte, byte) - Method in class ch.aplu.nxt.I2CSensor
Sets two bytes in the I2C sensor.
sendData(byte[]) - Method in class ch.aplu.nxt.NxtRobot
Sends a direct command to the brick.
sendFile(NxtRobot, MFile) - Static method in class ch.aplu.nxt.platform.PlatformTools
Sends the given file to the NXT brick via Bluetooth.
sendMMS(String, String, String, MessagePart[], String) - Static method in class ch.aplu.gidlet.Gidlet
Sends a MMS to given phone number with given application identifier, subject, message parts and startContentId.
sendMMS(String, String, String, MessagePart[]) - Static method in class ch.aplu.gidlet.Gidlet
Sends a MMS to given phone number with given application identifier, subject, and message parts.
sendMMSMail(String, String, String) - Static method in class ch.aplu.gidlet.Gidlet
Sends an e-mail via MMS with given recipient's e-mail address, subject and message.
sendSMS(String, int, String) - Static method in class ch.aplu.gidlet.Gidlet
Sends a SMS with given text to given phone and SMS port number.
sendSMS(String, String) - Static method in class ch.aplu.gidlet.Gidlet
Sends a SMS with given text to given phone number (and no SMS port number).
Sensor - Class in ch.aplu.nxt
Abstract class as ancestor of all sensors.
Sensor(SensorPort) - Constructor for class ch.aplu.nxt.Sensor
 
SensorPort - Class in ch.aplu.nxt
Useful declarations for port connections.
servicesDiscovered(int, ServiceRecord[]) - Method in class ch.aplu.bluetooth.BluetoothFinder
For internal use only.
serviceSearchCompleted(int, int) - Method in class ch.aplu.bluetooth.BluetoothFinder
For internal use only.
SET_BRICK_NAME - Static variable in interface ch.aplu.nxt.SharedConstants
 
SET_INPUT_MODE - Static variable in interface ch.aplu.nxt.SharedConstants
 
SET_OUTPUT_STATE - Static variable in interface ch.aplu.nxt.SharedConstants
 
setChannel(int) - Method in class ch.aplu.nxt.NxtRobot
Sets the Bluetooth channel (default: 1).
setColor(int) - Method in class ch.aplu.gidlet.Turtle
Sets turtle's color to the given color.
setColor(int, int, int) - Method in class ch.aplu.gidlet.Turtle
Sets turtle's color to the given color in RGB-format.
setDebug(boolean) - Static method in class ch.aplu.gidlet.Gidlet
Turns on/off debug information on System.out (default: off).
setDelay(int) - Method in class ch.aplu.gidlet.Turtle
Sets the given time delay in ms after each turtle movement.
setDIO(int[]) - Method in class ch.aplu.nxt.PrototypeSensor
Sets the direction of the 6 digital input/output channels.
setFillColor(int) - Method in class ch.aplu.gidlet.Turtle
Sets the color for subsequent filling.
setFillColor(int, int, int) - Method in class ch.aplu.gidlet.Turtle
Sets the color in RGB-format for subsequent filling.
setFont(int, int, int) - Method in class ch.aplu.gidlet.MPanel
Sets the current text font for drawing labels.
setFont(int, int, int) - Method in class ch.aplu.gidlet.Turtle
Sets the current text font for drawing labels.
setH(double) - Method in class ch.aplu.gidlet.Turtle
Short for setHeading().
setHeading(double) - Method in class ch.aplu.gidlet.Turtle
Sets the angle of vision (angle in respect to north, positive clockwise) to the given value (in degrees).
setHidden(boolean) - Method in class ch.aplu.gidlet.MFile
Sets the hidden attribute of file or directory to the given value.
setInputMode(int, int, int) - Method in class ch.aplu.nxt.NxtRobot
 
setMeasurementInterval(byte) - Method in class ch.aplu.nxt.UltrasonicSensor
Sets the time interval between measurements in continuous mode.
setOutputState(int, byte, int, int, int, int, int) - Method in class ch.aplu.nxt.NxtRobot
Sets the output state of a specific sensor port.
setPath(String) - Method in class ch.aplu.gidlet.MFile
Sets fully qualified path of file.
setPenColor(int) - Method in class ch.aplu.gidlet.Turtle
Sets turtle's pen color to the given color.
setPenColor(int, int, int) - Method in class ch.aplu.gidlet.Turtle
Sets turtle's pen color to the given color in RGB-format.
setPos(double, double) - Method in class ch.aplu.gidlet.Turtle
Sets turtle to the given coordinates, without drawing a trace.
setPosX(double) - Method in class ch.aplu.gidlet.Turtle
Sets turtle to the given x-position without drawing a trace while the y-coordinate remains unchanged.
setPosY(double) - Method in class ch.aplu.gidlet.Turtle
Sets turtle to the given y-position, without drawing a trace while the x-coordinate remains unchanged.
setReadable(boolean) - Method in class ch.aplu.gidlet.MFile
Sets the read attribute of file or directory to the given value.
setRobot(NxtRobot) - Method in class ch.aplu.nxt.Part
 
setSamplingPeriod(int) - Method in class ch.aplu.nxt.PrototypeSensor
Sets the sampling period of the ADC (4..100 ms, default 4 ms).
setScaleFactor(byte) - Method in class ch.aplu.nxt.UltrasonicSensor
Sets the scale factor, producing either cm's, inches, or some other unit.
setSensorMode(byte) - Method in class ch.aplu.nxt.UltrasonicSensor
Sets the state for the sensor. e.g. off, single pulse, continuous, passive, warm reset.
setSpeed(int) - Method in class ch.aplu.nxt.Gear
Sets the speed to the given value (arbitrary units).
setSpeed(int) - Method in class ch.aplu.nxt.Motor
Sets the speed to the given value (arbitrary units).
setSpeedFactor(double) - Method in class ch.aplu.nxt.Motor
Sets the motor speed factor to given value.
setText(StringItem, String) - Method in class ch.aplu.gidlet.MForm
Writes given text to the given StringItem (subclass of Item).
setText(Item, String) - Method in class ch.aplu.gidlet.MForm
Writes given text to the given Item (must be a StringItem).
setText(String) - Method in class ch.aplu.gidlet.MTextBox
Writes given text replacing the previous content.
setTracePenColor(int) - Method in class ch.aplu.gidlet.Playground
Sets color of drawing pen in trace buffer.
setTurtleSpeed(int) - Method in class ch.aplu.nxt.TurtleRobot
Sets the turtle speed to the given value.
setTypeAndMode(int, int) - Method in class ch.aplu.nxt.Sensor
 
setVelocity(double) - Method in class ch.aplu.nxt.Gear
Sets the velocity to the given value.
setVelocity(double) - Method in class ch.aplu.nxt.Motor
Sets the velocity to the given value.
setWritable(boolean) - Method in class ch.aplu.gidlet.MFile
Sets the write attribute of file or directory to the given value.
setX(double) - Method in class ch.aplu.gidlet.Turtle
Sets turtle to the given x-position, while the y-coordinate remains the same; if pen is down, a trace from the last to the given position is drawn.
setXY(double, double) - Method in class ch.aplu.gidlet.Turtle
Sets turtle to the given coordinates; if pen is down, a trace from the last to the given position is drawn.
setY(double) - Method in class ch.aplu.gidlet.Turtle
Sets turtle to the given y-position, while the x-coordinate remains the same; if pen is down, a trace from the last to the given position is drawn.
shape - Variable in class ch.aplu.gidlet.Turtle
 
SharedConstants - Interface in ch.aplu.nxt
 
show() - Method in class ch.aplu.gidlet.MConsole
Shows the form display if it is not yet visible or it was previously hidden by another display.
show(boolean) - Method in class ch.aplu.gidlet.MConsole
Shows the console display if it was previously hidden by another display or not yet displayed.
show() - Method in class ch.aplu.gidlet.MForm
Shows the form display if it is not yet visible or it was previously hidden by another display.
show(boolean) - Method in class ch.aplu.gidlet.MForm
Shows the form display if it is not yet visible or it was previously hidden by another display.
show() - Method in class ch.aplu.gidlet.MList
Shows the form display if it is not yet visible or it was previously hidden by another display.
show(boolean) - Method in class ch.aplu.gidlet.MList
Shows the list display if it is not yet visible or it was previously hidden by another display.
show() - Method in class ch.aplu.gidlet.MPanel
Shows the form display if it is not yet visible or it was previously hidden by another display.
show(boolean) - Method in class ch.aplu.gidlet.MPanel
Shows the graphics display if it was previously hidden by another display or not yet displayed.
show() - Method in class ch.aplu.gidlet.MTextBox
Shows the form display if it is not yet visible or it was previously hidden by another display.
show(boolean) - Method in class ch.aplu.gidlet.MTextBox
Shows the form display if it is not yet visible or it was previously hidden by another display.
show() - Method in class ch.aplu.gidlet.Playground
Shows the form display if it is not yet visible or it was previously hidden by another display.
show(boolean) - Method in class ch.aplu.gidlet.Playground
Shows the graphics display if it was previously hidden by another display or not yet displayed.
show() - Method in class ch.aplu.nxt.FileInfo
Show all file information in the debug console.
show(String) - Static method in class ch.aplu.nxt.platform.ConnectPanel
Creates a form with an output field and shows the given text.
showDebug(String) - Method in class ch.aplu.gidlet.Gidlet
Displays given debug message on System.out, when debugging is enabled by setDebug(true).
showMessage(String, boolean) - Static method in class ch.aplu.gidlet.Gidlet
Shows a simple form with an output field that contains the given message.
showMessage(String) - Static method in class ch.aplu.gidlet.Gidlet
Shows a simple form with an output field that contains the given message.
showPlayground() - Method in class ch.aplu.gidlet.Turtle
Shows the playground if it's hidden by another window.
showText(String) - Static method in class ch.aplu.nxt.ConnectPane
Show the dialog (J2SE) or the form (J2ME) and display the given text.
showTimedMessage(String, int) - Method in class ch.aplu.gidlet.Gidlet
Shows a simple form during the given duration (in ms) with an output field that contains the given message.
showTurtle() - Method in class ch.aplu.gidlet.Turtle
Makes turtle visible.
SINGLE_SHOT - Static variable in class ch.aplu.nxt.UltrasonicSensor
Sensor sends out one ping and records result.
SLOPEMASK - Static variable in interface ch.aplu.nxt.SharedConstants
 
SOUND_DB - Static variable in interface ch.aplu.nxt.SharedConstants
 
SOUND_DBA - Static variable in interface ch.aplu.nxt.SharedConstants
 
SoundAdapter - Class in ch.aplu.nxt
Class with empty callback methods for the sound sensor.
SoundAdapter() - Constructor for class ch.aplu.nxt.SoundAdapter
 
SoundListener - Interface in ch.aplu.nxt
Class with declaration of callback methods for the sound sensor.
SoundSensor - Class in ch.aplu.nxt
Class that represents a sound sensor.
SoundSensor(SensorPort) - Constructor for class ch.aplu.nxt.SoundSensor
Creates a sensor instance connected to the given port.
SoundSensor() - Constructor for class ch.aplu.nxt.SoundSensor
Creates a sensor instance connected to port S1.
speedToVelocity(int) - Method in class ch.aplu.nxt.Motor
Conversion from speed to velocity.
split(String, String) - Static method in class ch.aplu.gidlet.Gidlet
Splits given string with given separator string into multiple strings.
SQRT3 - Static variable in class ch.aplu.gidlet.Float11
Square root from 3
st() - Method in class ch.aplu.gidlet.Turtle
Short for showTurtle().
stampTurtle() - Method in class ch.aplu.gidlet.Turtle
Draws a turtle shape of same color at the current position.
start() - Method in class ch.aplu.gidlet.AudioPlayer
Starts or resumes playing at current media time.
START_PROGRAM - Static variable in interface ch.aplu.nxt.SharedConstants
 
startApp() - Method in class ch.aplu.gidlet.Gidlet
Implementation of MIDlet.startApp().
startLightThread() - Method in class ch.aplu.nxt.LightSensor
 
startMotionDetector() - Method in class ch.aplu.nxt.Motor
 
startPage - Variable in class ch.aplu.nxt.FileInfo
The start page of the file in flash memory.
startProgram(String) - Method in class ch.aplu.nxt.NxtRobot
 
startPrototypeThread() - Method in class ch.aplu.nxt.PrototypeSensor
 
startSoundThread() - Method in class ch.aplu.nxt.SoundSensor
 
startTimer() - Static method in class ch.aplu.gidlet.Gidlet
Starts a timer or restart it by setting its time to zero.
startTimer() - Static method in class ch.aplu.nxt.Tools
Starts a timer or restart it by setting its time to zero.
startTouchThread() - Method in class ch.aplu.nxt.TouchSensor
 
startUltrasonicThread() - Method in class ch.aplu.nxt.UltrasonicSensor
 
status - Variable in class ch.aplu.nxt.FileInfo
The status of the file - not used.
stop() - Method in class ch.aplu.gidlet.AudioPlayer
Stops playing and set media time to zero.
stop() - Method in class ch.aplu.gidlet.Gidlet.HttpGetter
Stops the HttpGetter thread while transfering data.
stop() - Method in class ch.aplu.gidlet.Gidlet.MMSReader
Stops the MMSReader thread.
stop() - Method in class ch.aplu.gidlet.Gidlet.SMSReader
Stops the SMSReader thread.
stop() - Method in class ch.aplu.nxt.Gear
Stops the gear.
stop() - Method in class ch.aplu.nxt.Motor
Stops the motor.
STOP_PROGRAM - Static variable in interface ch.aplu.nxt.SharedConstants
 
STOP_SOUND_PLAYBACK - Static variable in interface ch.aplu.nxt.SharedConstants
 
stopLightThread() - Method in class ch.aplu.nxt.LightSensor
 
stopMotionDetector() - Method in class ch.aplu.nxt.Motor
 
stopPrototypeThread() - Method in class ch.aplu.nxt.PrototypeSensor
 
stopSoundThread() - Method in class ch.aplu.nxt.SoundSensor
 
stopTouchThread() - Method in class ch.aplu.nxt.TouchSensor
 
stopUltrasonicThread() - Method in class ch.aplu.nxt.UltrasonicSensor
 
StringStore - Class in ch.aplu.gidlet
Wrapper class for MIDlet's RMS (record managing system) based on class RecordStore for storing strings exclusively.
StringStore(String) - Constructor for class ch.aplu.gidlet.StringStore
Creates a StringStore instance with given record store name.
subtract(Complex) - Method in class ch.aplu.gidlet.Complex
Defines a complex subtract method.
subtract(Complex, Complex) - Static method in class ch.aplu.gidlet.Complex
Defines a static subtract method that creates a a new Complex object equal to cvalue1 - cvalue2.
SWITCH - Static variable in interface ch.aplu.nxt.SharedConstants
 
SYSTEM_COMMAND_NOREPLY - Static variable in interface ch.aplu.nxt.SharedConstants
 
SYSTEM_COMMAND_REPLY - Static variable in interface ch.aplu.nxt.SharedConstants
 

T

TEMPERATURE - Static variable in interface ch.aplu.nxt.SharedConstants
 
TextArea - Class in ch.aplu.gidlet
Class to display an upscrolling number of text lines automatically wrapped at word boundaries.
TextArea(String, int, int) - Constructor for class ch.aplu.gidlet.TextArea
Creates an TextArea with given title, maximum number of lines, and maximum number of characers per line.
title(String) - Method in class ch.aplu.gidlet.MPanel
Draws the given title with current penColor centered in top area of display.
TITLE - Static variable in interface ch.aplu.nxt.SharedConstants
 
TITLEMP - Static variable in interface ch.aplu.nxt.SharedConstants
 
Tools - Class in ch.aplu.nxt
 
Tools() - Constructor for class ch.aplu.nxt.Tools
 
toPixelHeight(double) - Method in class ch.aplu.gidlet.MPanel
Converts window coordinates increment to pixel coordinates increment (vertical).
toPixelHeight(double) - Method in class ch.aplu.gidlet.Playground
Converts window coordinates increment to pixel coordinates increment (vertical).
toPixelWidth(double) - Method in class ch.aplu.gidlet.MPanel
Converts window coordinates increment to pixel coordinates increment (horizontal).
toPixelWidth(double) - Method in class ch.aplu.gidlet.Playground
Converts window coordinates increment to pixel coordinates increment (horizontal).
toPixelX(double) - Method in class ch.aplu.gidlet.MPanel
Converts window coordinates to pixel coordinates (horizontal).
toPixelX(double) - Method in class ch.aplu.gidlet.Playground
Converts window coordinates to pixel coordinates (horizontal).
toPixelX(double) - Method in class ch.aplu.gidlet.Turtle
Converts from turtle x-coordinates to pixel x-coordinates.
toPixelY(double) - Method in class ch.aplu.gidlet.MPanel
Converts window coordinates to pixel coordinates (vertical).
toPixelY(double) - Method in class ch.aplu.gidlet.Playground
Converts window coordinates to pixel coordinates (vertical).
toPixelY(double) - Method in class ch.aplu.gidlet.Turtle
Converts from turtle y-coordinates to pixel y-coordinates.
toString() - Method in class ch.aplu.gidlet.Complex
Returns a string representation of the complex value.
toTurtleX(int) - Method in class ch.aplu.gidlet.Turtle
Converts from pixel x-coordinates to turtle x-coordinates.
toTurtleY(int) - Method in class ch.aplu.gidlet.Turtle
Converts from pixel y-coordinates to turtle y-coordinates.
TouchAdapter - Class in ch.aplu.nxt
Class with empty callback methods for the touch sensor.
TouchAdapter() - Constructor for class ch.aplu.nxt.TouchAdapter
 
TouchListener - Interface in ch.aplu.nxt
Interface with declarations of callback methods for the touch sensor.
TouchSensor - Class in ch.aplu.nxt
Class that represents a touch sensor.
TouchSensor(SensorPort) - Constructor for class ch.aplu.nxt.TouchSensor
Creates a sensor instance connected to the given port.
TouchSensor() - Constructor for class ch.aplu.nxt.TouchSensor
Creates a sensor instance connected to port S1.
towards(double, double) - Method in class ch.aplu.gidlet.Turtle
Returns the direction from the current to the given position in degrees (-180..180).
toWindowHeight(int) - Method in class ch.aplu.gidlet.MPanel
Converts pixel coordinates increment to window coordinates increment (vertical).
toWindowHeight(int) - Method in class ch.aplu.gidlet.Playground
Converts pixel coordinates increment to window coordinates increment (vertical).
toWindowWidth(int) - Method in class ch.aplu.gidlet.MPanel
Converts pixel coordinates increment to window coordinates increment (horizontal).
toWindowWidth(int) - Method in class ch.aplu.gidlet.Playground
Converts pixel coordinates increment to window coordinates increment (horizontal).
toWindowX(int) - Method in class ch.aplu.gidlet.MPanel
Converts pixel coordinates to window coordinates (horizontal).
toWindowX(int) - Method in class ch.aplu.gidlet.Playground
Converts pixel coordinates to window coordinates (horizontal).
toWindowY(int) - Method in class ch.aplu.gidlet.MPanel
Converts pixel coordinates to window coordinates (vertical).
toWindowY(int) - Method in class ch.aplu.gidlet.Playground
Converts pixel coordinates to window coordinates (vertical).
TRANSITIONCNTMODE - Static variable in interface ch.aplu.nxt.SharedConstants
 
triangle(double, double, double, double, double, double) - Method in class ch.aplu.gidlet.MPanel
Draws a triangle with given corners in window coordintates.
triangle(double, double, double, double, double, double) - Method in class ch.aplu.gidlet.Playground
Draws a triangle with given corners in window coordintates.
turnTo(int) - Method in class ch.aplu.nxt.Gear
Same as turnTo(int count, boolean blocking) with blocking = true.
turnTo(int, boolean) - Method in class ch.aplu.nxt.Gear
Sets the rotation counter to zero and turn with the motors running in opposite direction.
Turtle - Class in ch.aplu.gidlet
Logo-like turtle that moves on a graphics display, called playground.
Turtle(Turtle, String) - Constructor for class ch.aplu.gidlet.Turtle
Creates a turtle clone that has exactly the same properties and traces as the given turtle, but the playground has the given title.
Turtle(Turtle) - Constructor for class ch.aplu.gidlet.Turtle
Creates a turtle clone that has exactly the same properties, playground title and traces as the given turtle.
Turtle(String, int, int, boolean, boolean) - Constructor for class ch.aplu.gidlet.Turtle
Constructs a Turtle instance with given playground title, background (playground) color, turtle color and visibility.
Turtle(String, int, int, boolean) - Constructor for class ch.aplu.gidlet.Turtle
Constructs a Turtle instance with given playground title, background (playground) color, turtle color and visibility.
Turtle(int, int, boolean) - Constructor for class ch.aplu.gidlet.Turtle
Constructs a Turtle instance with given background (playground) color, turtle color and visibility.
Turtle(int, boolean) - Constructor for class ch.aplu.gidlet.Turtle
Constructs a Turtle instance with default background (playground) color, given turtle color and visibility.
Turtle(int) - Constructor for class ch.aplu.gidlet.Turtle
Constructs a Turtle instance with default background (playground) color and given turtle color.
Turtle(boolean) - Constructor for class ch.aplu.gidlet.Turtle
Constructs a Turtle instance with given visibility, default background (playground) color and default turtle color.
Turtle(String) - Constructor for class ch.aplu.gidlet.Turtle
Constructs a Turtle instance with given playground title, default background (playground) color and default turtle color.
Turtle() - Constructor for class ch.aplu.gidlet.Turtle
Constructs a Turtle instance with default background (playground) color and default turtle color.
Turtle.PointD - Class in ch.aplu.gidlet
 
Turtle.PointD(double, double, int) - Constructor for class ch.aplu.gidlet.Turtle.PointD
 
TurtleRobot - Class in ch.aplu.nxt
Implementation of the basic Logo turtle movements.
TurtleRobot(String, boolean) - Constructor for class ch.aplu.nxt.TurtleRobot
Creates a turtle instance using a NXT brick with given Bluetooth name.
TurtleRobot(String) - Constructor for class ch.aplu.nxt.TurtleRobot
Same as TurtleRobot(btName, true)
TurtleRobot() - Constructor for class ch.aplu.nxt.TurtleRobot
Same as TurtleRobot(btName), but ask for Bluetooth name
turtles - Variable in class ch.aplu.gidlet.Gidlet
List of all turtles created before main() is called.

U

UltrasonicAdapter - Class in ch.aplu.nxt
Class with empty callback methods for the ultrasonic sensor.
UltrasonicAdapter() - Constructor for class ch.aplu.nxt.UltrasonicAdapter
 
UltrasonicListener - Interface in ch.aplu.nxt
Class with declarations of callback methods for the ultrasonic sensor.
UltrasonicSensor - Class in ch.aplu.nxt
Class that represents an ultrasonic sensor.
UltrasonicSensor(SensorPort) - Constructor for class ch.aplu.nxt.UltrasonicSensor
Creates a sensor instance connected to the given port.
UltrasonicSensor() - Constructor for class ch.aplu.nxt.UltrasonicSensor
Creates a sensor instance connected to port S1.
UP_PRESSED - Static variable in class ch.aplu.gidlet.Gidlet
Same as GameCanvas.UP_PRESSED.

V

velocityToSpeed(double) - Method in class ch.aplu.nxt.Motor
Conversion from velocity to speed.
version() - Method in class ch.aplu.gidlet.Turtle
Returns version information.
VERSION - Static variable in interface ch.aplu.nxt.SharedConstants
 

W

waitOk(boolean) - Static method in class ch.aplu.gidlet.Gidlet
Waits until a OK soft button is hit.
waitOk() - Static method in class ch.aplu.gidlet.Gidlet
Waits until the OK soft button is hit.
wakeUp() - Static method in class ch.aplu.gidlet.Gidlet
Wakes up the waiting thread.
wakeUp() - Static method in class ch.aplu.nxt.platform.PlatformTools
Calls Gidlet.wakeUp().
WHITE - Static variable in class ch.aplu.gidlet.Gidlet
The color white.
window(double, double, double, double) - Method in class ch.aplu.gidlet.MPanel
Sets window coordinates.
window(double, double, double, double) - Method in class ch.aplu.gidlet.Playground
Sets window coordinates.
wrap() - Method in class ch.aplu.gidlet.Turtle
Causes turtle to wrap around playground borders, e.g. when it leaves the playground on one border, it reappears on the opposite border.
write(String) - Method in class ch.aplu.gidlet.MFile
Writes string data to the text file.
write(String) - Method in class ch.aplu.gidlet.StringStore
Writes string data the record store.
write(int[]) - Method in class ch.aplu.nxt.PrototypeSensor
Writes the given bit state (low/high) to the digital output channels.
WRITE - Static variable in interface ch.aplu.nxt.SharedConstants
 

X

x - Variable in class ch.aplu.gidlet.Turtle.PointD
 

Y

y - Variable in class ch.aplu.gidlet.Turtle.PointD
 
YELLOW - Static variable in class ch.aplu.gidlet.Gidlet
The color yellow.

_

_arc(int, int, int, int) - Method in class ch.aplu.gidlet.MPanel
Draws an elliptical arc inside bounding rectangle centered at current graph position with given width and height in pixel coordinates.
_circle(int) - Method in class ch.aplu.gidlet.MPanel
Draws a circle with center at the current graph position and given radius in pixel coordinates.
_displayHeight() - Method in class ch.aplu.gidlet.MPanel
Returns height of display in pixel coordinates.
_displayWidth() - Method in class ch.aplu.gidlet.MPanel
Returns width of display in pixel coordinates.
_draw(int, int) - Method in class ch.aplu.gidlet.MPanel
Draws a line from current graph position to given pixel coordinates and sets the graph position to the endpoint.
_draw(int, int) - Method in class ch.aplu.gidlet.Playground
Draws a line into trace buffer from current graph position to given pixel coordinates and sets the graph position to the endpoint.
_drawImage(String, int, int) - Method in class ch.aplu.gidlet.MPanel
Shows the PNG image from given file url at given pixel coordinates (upper left corner of image).
_drawSprite(Sprite, int, int) - Method in class ch.aplu.gidlet.MPanel
Draws the given sprite at given pixel coordinates (upper left corner of image).
_fillArc(int, int, int, int) - Method in class ch.aplu.gidlet.MPanel
Draws a filled elliptical arc inside bounding rectangle centered at current graph position with given width and height in pixel coordinates.
_fillCircle(int) - Method in class ch.aplu.gidlet.MPanel
Draws a filled circle with center at the current graph position and given radius in pixel coordinates.
_fillRectangle(int, int) - Method in class ch.aplu.gidlet.MPanel
Draws a filled rectangle with center at the current graph position and given width and height in window coordinates using the current color.
_fillRectangle(int, int, int, int) - Method in class ch.aplu.gidlet.MPanel
Draws a filled rectangle with given opposite corners in pixel coordinates.
_fillRectangle(int, int, int, int, int) - Method in class ch.aplu.gidlet.Playground
Draws a filled rectangle with given opposite corners in pixel coordinates into trace buffer using the given color.
_fillTriangle(int, int, int, int, int, int) - Method in class ch.aplu.gidlet.MPanel
Draws a filled triangle with given corners in pixel coordintates using the current color.
_fillTriangle(int, int, int, int, int, int, int) - Method in class ch.aplu.gidlet.Playground
Draws a filled triangle with given corners in pixel coordintates into trace buffer using the given color.
_getPosX() - Method in class ch.aplu.gidlet.MPanel
Returns pixel coordinate x of current graph position.
_getPosX() - Method in class ch.aplu.gidlet.Playground
Returns pixel coordinate x of current graph position.
_getPosY() - Method in class ch.aplu.gidlet.MPanel
Returns pixel coordinate y of current graph position.
_getPosY() - Method in class ch.aplu.gidlet.Playground
Returns pixel coordinate y of current graph position.
_getX() - Method in class ch.aplu.gidlet.Turtle
Returns the x-coordinate.
_getY() - Method in class ch.aplu.gidlet.Turtle
Returns the y-coordinate.
_image(String, int, int) - Method in class ch.aplu.gidlet.Playground
Puts the PNG image into turtle buffer from given file url at given pixel coordinates (specifies upper left corner of image).
_imageHeight(String) - Method in class ch.aplu.gidlet.MPanel
Returns the height (vertical size) of the PNG image from the given url (in pixel coordinates).
_imageHeight(String) - Method in class ch.aplu.gidlet.Playground
Returns the height (vertical size) of the PNG image from the given url (in pixel coordinates).
_imageWidth(String) - Method in class ch.aplu.gidlet.MPanel
Returns the width (horizontal size) of the PNG image from the given url (in pixel coordinates).
_imageWidth(String) - Method in class ch.aplu.gidlet.Playground
Returns the width (horizontal size) of the PNG image from the given url (in pixel coordinates).
_label(String, int) - Method in class ch.aplu.gidlet.MPanel
Draws the given text with current drawing color and font left adjusted at given y pixel coordinate.
_line(int, int, int, int) - Method in class ch.aplu.gidlet.MPanel
Draws a line with given pixel coordinates and sets the graph position to the endpoint.
_line(int, int, int, int) - Method in class ch.aplu.gidlet.Playground
Draws a line with given pixel coordinates into trace buffer and sets the graph position to the endpoint.
_move(int, int) - Method in class ch.aplu.gidlet.MPanel
Sets the current graph position to given pixel coordinates (without drawing anything).
_move(int, int) - Method in class ch.aplu.gidlet.Playground
Sets the current graph position into trace buffer to given pixel coordinates (without drawing anything).
_point(int, int) - Method in class ch.aplu.gidlet.MPanel
Draws a single point at the given pixel coordinates.
_rectangle(int, int) - Method in class ch.aplu.gidlet.MPanel
Draws a rectangle with center at the current graph position and given width and height in pixel coordinates.
_rectangle(int, int, int, int) - Method in class ch.aplu.gidlet.MPanel
Draws a rectangle with given opposite corners in pixel coordinates.
_rectangle(int, int, int, int) - Method in class ch.aplu.gidlet.Playground
Draws a rectangle with given opposite corners in pixel coordinates into trace buffer.
_screenHeight() - Method in class ch.aplu.gidlet.Playground
Returns height of screen in pixel coordinates.
_screenWidth() - Method in class ch.aplu.gidlet.Playground
Returns width of screen in pixel coordinates.
_triangle(int, int, int, int, int, int) - Method in class ch.aplu.gidlet.MPanel
Draws a triangle with given corners in pixel coordintates.
_triangle(int, int, int, int, int, int) - Method in class ch.aplu.gidlet.Playground
Draws a triangle with given corners in pixel coordintates.

A B C D E F G H I K L M N O P Q R S T U V W X Y _