A B C D E F G H I L M N O P R S T U V 

A

activated(int) - Method in class ch.aplu.raspi.InfraredAdapter
Empty method called when (reflected) infrared light is newly detected.
activated(int) - Method in interface ch.aplu.raspi.InfraredListener
Called when (reflected) infrared light is newly detected.
addButtonListener(ButtonListener) - Method in class ch.aplu.raspi.Robot
Registers a button listener that simulates the events when one of the brick buttons is hit.
addConnectionListener(ConnectionListener) - Method in class ch.aplu.raspi.Robot
Registers a connection listener to get notifications when the link is established or broken.
addInfraredListener(InfraredListener) - Method in class ch.aplu.raspi.InfraredSensor
Registers the given IR listener.
addLightListener(LightListener, int) - Method in class ch.aplu.raspi.LightSensor
Registers the given light listener for the given trigger level.
addLightListener(LightListener) - Method in class ch.aplu.raspi.LightSensor
Registers the given light listener with default trigger level 500.
addUltrasonicListener(UltrasonicListener, int) - Method in class ch.aplu.raspi.UltrasonicSensor
Registers the given ultrasonic listener for the given trigger level.
addUltrasonicListener(UltrasonicListener) - Method in class ch.aplu.raspi.UltrasonicSensor
Registers the given ultrasonic listener with default trigger level 20.
askIPAddress() - Static method in class ch.aplu.raspi.ConnectPanel
Shows a modal dialog and asks for IP address.

B

backward() - Method in class ch.aplu.raspi.Gear
 
backward(int) - Method in class ch.aplu.raspi.Gear
 
backward() - Method in class ch.aplu.raspi.Motor
Starts the backward rotation with preset speed.
box - Static variable in class ch.aplu.raspi.RobotContext
Box obstacle.
BrickButton - Interface in ch.aplu.raspi
Interface to define constants for the Raspi buttons.
bright(int, int) - Method in class ch.aplu.raspi.LightAdapter
Empty method called when the light becomes brighter than the trigger level.
bright(int, int) - Method in interface ch.aplu.raspi.LightListener
Called when the light becomes brighter than the trigger level.
buttonHit(int) - Method in interface ch.aplu.raspi.ButtonListener
Called when one of the buttons is hit.
ButtonListener - Interface in ch.aplu.raspi
Interface with declarations of a callback method to detect button press events.

C

ch.aplu.raspi - package ch.aplu.raspi
Package for commanding the RaspiBrick robot in remote and autonomous mode.
channel - Static variable in class ch.aplu.raspi.RobotContext
Channel obstacle.
clear() - Method in class ch.aplu.raspi.Display
Turns all digits off.
clearAll() - Static method in class ch.aplu.raspi.Led
Turns off all 4 LED pairs.
clearDigit(int) - Method in class ch.aplu.raspi.Display
Clears the given digit
connect() - Method in class ch.aplu.raspi.Robot
Connects the host to the robot via an IP socket.
connect(boolean) - Method in class ch.aplu.raspi.Robot
Connects the host to the robot via an IP socket.
ConnectionListener - Interface in ch.aplu.raspi
Callback declaration for IP socket connection/disconnection.
ConnectPanel - Class in ch.aplu.raspi
Message dialog with standard title and Raspi icon.
create() - Static method in class ch.aplu.raspi.ConnectPanel
Creates the panel.

D

dark(int, int) - Method in class ch.aplu.raspi.LightAdapter
Empty method called when the light becomes darker than the trigger level.
dark(int, int) - Method in interface ch.aplu.raspi.LightListener
Called when the light becomes darker than the trigger level.
delay(long) - Static method in class ch.aplu.raspi.Tools
Suspends execution of the current thread for the given amount of time.
Display - Class in ch.aplu.raspi
Class that represents the 7-segment display sensor.
Display() - Constructor for class ch.aplu.raspi.Display
Creates a display instance.
dispose() - Static method in class ch.aplu.raspi.ConnectPanel
Disposes the dialog.

E

eraseBeamArea() - Method in class ch.aplu.raspi.UltrasonicSensor
Erases the beam area (if it is currently shown).
exit() - Method in class ch.aplu.raspi.Robot
Closes the connection dialog and any open QuitPane, disconnects the communication link and terminates the program.

F

far(double) - Method in class ch.aplu.raspi.UltrasonicAdapter
Empty method called when the distance exceeds the trigger level.
far(double) - Method in interface ch.aplu.raspi.UltrasonicListener
Called when the distance exceeds the trigger level.
forward() - Method in class ch.aplu.raspi.Gear
 
forward(int) - Method in class ch.aplu.raspi.Gear
 
forward() - Method in class ch.aplu.raspi.Motor
Starts the forward rotation with preset speed.

G

Gear - Class in ch.aplu.raspi
Class that represents the combination of two motors on an axis to perform a car-like movement.
Gear() - Constructor for class ch.aplu.raspi.Gear
Creates a gear instance.
getDataOutputStream() - Method in class ch.aplu.raspi.Robot
Returns the OutputStream reference of the connection link.
getDisplayableChars() - Method in class ch.aplu.raspi.Display
Returns a string with all displayable characters.
getDistance() - Method in class ch.aplu.raspi.UltrasonicSensor
Performs a measurement and reports the result.
getDoubleValue(String) - Method in class ch.aplu.raspi.RaspiProperties
Gets the property value with the given key as double.
getHitButtonID() - Method in class ch.aplu.raspi.Robot
Returns the button ID of the button previously hit.
getInputStream() - Method in class ch.aplu.raspi.Robot
Returns the InputStream reference of the connection link.
getIntValue(String) - Method in class ch.aplu.raspi.RaspiProperties
Gets the property value with the given key as int.
getIPAddresses() - Method in class ch.aplu.raspi.Robot
Returns all IP addresses (in dotted format, comma separated).
getMop() - Static method in class ch.aplu.raspi.ConnectPanel
 
getProperties() - Static method in class ch.aplu.raspi.Robot
Returns the properties from the RaspiJLib property file.
getResourceInfo() - Method in class ch.aplu.raspi.RaspiProperties
Returns the location of the property file.
getRobot() - Static method in class ch.aplu.raspi.RobotInstance
 
getStringValue(String) - Method in class ch.aplu.raspi.RaspiProperties
Gets the property value with the given key as string.
getTime() - Static method in class ch.aplu.raspi.Tools
Gets the timer's time.
getValue() - Method in class ch.aplu.raspi.InfraredSensor
Checks, if infrared light ist detected.
getValue() - Method in class ch.aplu.raspi.LightSensor
Returns the current intensity value (0..255).
getValue() - Method in class ch.aplu.raspi.UltrasonicSensor
Performs a measurement and reports the result.
getVersion() - Method in class ch.aplu.raspi.Robot
Returns library version information.
GGBitmap - Class in ch.aplu.raspi
Dummy class for source code compatibility with EV3Sim.
GGBitmap() - Constructor for class ch.aplu.raspi.GGBitmap
 

H

hide() - Static method in class ch.aplu.raspi.ConnectPanel
Hides the dialog.

I

ID_DOWN - Static variable in interface ch.aplu.raspi.BrickButton
Constant for the DOWN button.
ID_ENTER - Static variable in interface ch.aplu.raspi.BrickButton
Constant for the ENTER button.
ID_ESCAPE - Static variable in interface ch.aplu.raspi.BrickButton
Constant for the ESCAPE button.
ID_LEFT - Static variable in interface ch.aplu.raspi.BrickButton
Constant for the LEFT button.
ID_RIGHT - Static variable in interface ch.aplu.raspi.BrickButton
Constant for the RIGHT button.
ID_UP - Static variable in interface ch.aplu.raspi.BrickButton
Constant for the UP button.
InfraredAdapter - Class in ch.aplu.raspi
Class with empty callback methods for the infrared sensor.
InfraredAdapter() - Constructor for class ch.aplu.raspi.InfraredAdapter
 
InfraredListener - Interface in ch.aplu.raspi
Interface with declarations of callback methods for Infrared sensor
InfraredSensor - Class in ch.aplu.raspi
Class that represents an infrared sensor.
InfraredSensor(int) - Constructor for class ch.aplu.raspi.InfraredSensor
Creates an infrared sensor at given port.
init() - Static method in class ch.aplu.raspi.RobotContext
Initializes the static context.
IR_CENTER - Static variable in class ch.aplu.raspi.InfraredSensor
Constant for id of front sensor
IR_LEFT - Static variable in class ch.aplu.raspi.InfraredSensor
Constant for id of left sensor
IR_LINE_LEFT - Static variable in class ch.aplu.raspi.InfraredSensor
Constant for id of line left sensor (points to floor)
IR_LINE_RIGHT - Static variable in class ch.aplu.raspi.InfraredSensor
Constant for id of line right sensor (points to floor)
IR_RIGHT - Static variable in class ch.aplu.raspi.InfraredSensor
Constant for id of right sensor
isButtonHit() - Method in class ch.aplu.raspi.Robot
Returns true, if any of the buttons was hit.
isConnected() - Method in class ch.aplu.raspi.Robot
Returns the connection state.
isDownHit() - Method in class ch.aplu.raspi.Robot
(Only in remote mode) Returns true, if the cursor down key was hit since the last call of this method.
isEnterHit() - Method in class ch.aplu.raspi.Robot
(Only in remote mode) Returns true, if the ENTER key was hit since the last call of this method.
isEscapeHit() - Method in class ch.aplu.raspi.Robot
Returns true, if the ESCAPE key (in remote mode) or the push button (in autonomouse mode) was hit since the last call of this method.
isLeftHit() - Method in class ch.aplu.raspi.Robot
(Only in remote mode) Returns true, if the cursor left key was hit since the last call of this method.
isRightHit() - Method in class ch.aplu.raspi.Robot
(Only in remote mode) Returns true, if the cursor right key was hit since the last call of this method.
isRunning() - Method in class ch.aplu.raspi.Robot
Returns true as long as exit() is not called and the close button of the Connection Pane is not hit.
isTickerAlive() - Method in class ch.aplu.raspi.Display
Checks, if the ticker is still displaying.
isUpHit() - Method in class ch.aplu.raspi.Robot
(Only in remote mode) Returns true, if the cursor up key hit since the last call of this method.

L

Led - Class in ch.aplu.raspi
Class that represents a LED pair.
Led(int) - Constructor for class ch.aplu.raspi.Led
Creates a Led instance with given ID.
LED_FRONT - Static variable in class ch.aplu.raspi.Led
Constant for id of front LED pair
LED_LEFT - Static variable in class ch.aplu.raspi.Led
Constant for id of left LED pair
LED_REAR - Static variable in class ch.aplu.raspi.Led
Constant for id of rear LED pair
LED_RIGHT - Static variable in class ch.aplu.raspi.Led
Constant for id of right LED pair
left() - Method in class ch.aplu.raspi.Gear
 
left(int) - Method in class ch.aplu.raspi.Gear
 
LEFT - Static variable in class ch.aplu.raspi.Motor
 
leftArc(double) - Method in class ch.aplu.raspi.Gear
 
leftArc(double, int) - Method in class ch.aplu.raspi.Gear
 
LightAdapter - Class in ch.aplu.raspi
Class with empty callback methods for the light sensor.
LightAdapter() - Constructor for class ch.aplu.raspi.LightAdapter
 
LightListener - Interface in ch.aplu.raspi
Interface with declarations of callback methods for the light sensor.
LightSensor - Class in ch.aplu.raspi
Class that represents a light sensor.
LightSensor(int) - Constructor for class ch.aplu.raspi.LightSensor
Creates a light sensor instance with given id.
LS_FRONT_LEFT - Static variable in class ch.aplu.raspi.LightSensor
Constant for id of left front sensor
LS_FRONT_RIGHT - Static variable in class ch.aplu.raspi.LightSensor
Constant for id of right front sensor
LS_REAR_LEFT - Static variable in class ch.aplu.raspi.LightSensor
Constant for id of left rear sensor
LS_REAR_RIGHT - Static variable in class ch.aplu.raspi.LightSensor
Constant for id of right rear sensor

M

Motor - Class in ch.aplu.raspi
Class that represents a motor.
Motor(int) - Constructor for class ch.aplu.raspi.Motor
Creates a motor instance with given id.

N

near(double) - Method in class ch.aplu.raspi.UltrasonicAdapter
Empty method called when the distance falls below the trigger level.
near(double) - Method in interface ch.aplu.raspi.UltrasonicListener
Called when the distance falls below the trigger level.
notifyConnection(boolean) - Method in interface ch.aplu.raspi.ConnectionListener
Called when the RaspiRobot connects or disconnects from the Raspi brick.

O

Obstacle - Class in ch.aplu.raspi
Dummy class to make NxtJLib source compatible with RobotSim.
Obstacle(String) - Constructor for class ch.aplu.raspi.Obstacle
Creates an obstacle from given image file.

P

passivated(int) - Method in class ch.aplu.raspi.InfraredAdapter
Empty method called when no (reflected) infrared light is newly detected.
passivated(int) - Method in interface ch.aplu.raspi.InfraredListener
Called when no (reflected) infrared light is newly detected.
playTone(double, double) - Method in class ch.aplu.raspi.Robot
Plays a tone with given frequency and duration.

R

RaspiProperties - Class in ch.aplu.raspi
Class to read properties from the RaspiJLib property file.
RaspiProperties() - Constructor for class ch.aplu.raspi.RaspiProperties
Searches the property file.
reset() - Method in class ch.aplu.raspi.Robot
Resets Raspi to start location/direction.
right() - Method in class ch.aplu.raspi.Gear
 
right(int) - Method in class ch.aplu.raspi.Gear
 
RIGHT - Static variable in class ch.aplu.raspi.Motor
 
rightArc(double) - Method in class ch.aplu.raspi.Gear
 
rightArc(double, int) - Method in class ch.aplu.raspi.Gear
 
Robot - Class in ch.aplu.raspi
Class that represents a Raspi robot brick.
Robot(String, boolean) - Constructor for class ch.aplu.raspi.Robot
Creates a RaspiRobot instance with given IP address.
Robot(String) - Constructor for class ch.aplu.raspi.Robot
Creates a RaspiRobot instance with given IP address.
Robot() - Constructor for class ch.aplu.raspi.Robot
Asks for the IP address and creates a RaspiRobot instance.
Robot.ClosingMode - Enum in ch.aplu.raspi
Modes to determine what happens when the title bar close button is hit.
RobotContext - Class in ch.aplu.raspi
Dummy class to make EV3JLib source compatible with RobotSim.
RobotInstance - Class in ch.aplu.raspi
Holder of global Robot instance
RobotInstance() - Constructor for class ch.aplu.raspi.RobotInstance
 

S

scrollToLeft() - Method in class ch.aplu.raspi.Display
Scrolls the scrollable text one step to the left.
scrollToRight() - Method in class ch.aplu.raspi.Display
Scrolls the scrollable text one step to the right.
ServoMotor - Class in ch.aplu.raspi
Class that represents a motor.
ServoMotor(int, int, int) - Constructor for class ch.aplu.raspi.ServoMotor
Creates a servo motor instance with given id.
setBeamAreaColor(Color) - Method in class ch.aplu.raspi.UltrasonicSensor
Sets the color of the beam area (two sector border lines and axis).
setBinary(byte, int) - Method in class ch.aplu.raspi.Display
Shows the pattern of the binary value 0..255.
setColor(int, int, int) - Method in class ch.aplu.raspi.Led
Sets the RGB color value of the two LEDs with current ID.
setColor(Color) - Method in class ch.aplu.raspi.Led
Sets the RGB color value of the two LEDs with current ID.
setColorAll(int, int, int) - Static method in class ch.aplu.raspi.Led
Sets the RGB color value of all LEDs.
setColorAll(Color) - Static method in class ch.aplu.raspi.Led
Sets the RGB color value of all LEDs.
setDecimalPoint(int) - Method in class ch.aplu.raspi.Display
Shows one of the 3 decimal points.
setDigit(char, int) - Method in class ch.aplu.raspi.Display
Shows the given character at one of the 4 7-segment digits.
setLocation(int, int) - Static method in class ch.aplu.raspi.RobotContext
Sets the location of the playground (pixel coordinates of the upper left vertex).
setMeshTriangleColor(Color) - Method in class ch.aplu.raspi.UltrasonicSensor
Sets the color of the triangle mesh lines.
setPos(int) - Method in class ch.aplu.raspi.ServoMotor
Sets the relative position of the servo motor.
setPosAbs(int) - Method in class ch.aplu.raspi.ServoMotor
Sets the absolute position of the servo motor.
setProximityCircleColor(Color) - Method in class ch.aplu.raspi.UltrasonicSensor
Sets the color of the circle with center at sensor location and radius equals to the current distance value.
setRobot(Robot) - Static method in class ch.aplu.raspi.RobotInstance
 
setScrollableText(String, int) - Method in class ch.aplu.raspi.Display
Displays a text that can be scrolled.
setScrollableText(String) - Method in class ch.aplu.raspi.Display
Same as setScrollableText(text, pos) with pos = 0 (text starts at leftmost digit).
setSoundVolume(int) - Method in class ch.aplu.raspi.Robot
Sets the sound volume.
setSpeed(int) - Method in class ch.aplu.raspi.Gear
 
setSpeed(int) - Method in class ch.aplu.raspi.Motor
Sets the speed to the given value (arbitrary units).
setStartDirection(double) - Static method in class ch.aplu.raspi.RobotContext
Sets the Nxt starting direction (zero to EAST).
setStartPosition(int, int) - Static method in class ch.aplu.raspi.RobotContext
Sets the Nxt starting position (x-y-coordinates 0..500, origin at upper left).
setStatusText(String) - Static method in class ch.aplu.raspi.RobotContext
Displays the given text in the status bar (if available).
setText(String, int[]) - Method in class ch.aplu.raspi.Display
Displays the given text right justified by multiplexing using a display thread.
setText(int, int[]) - Method in class ch.aplu.raspi.Display
Same as setText(text, dp) with integer parameter.
setText(String) - Method in class ch.aplu.raspi.Display
Same as setText(text, dp) with dp = [0, 0, 0] (no decimal point).
setText(int) - Method in class ch.aplu.raspi.Display
Same as setText(text) with integer parameter.
setToStart() - Method in class ch.aplu.raspi.Display
Shows the scrollable text at the start position.
setTriggerLevel(int) - Method in class ch.aplu.raspi.LightSensor
Sets a new trigger level.
setTriggerLevel(double) - Method in class ch.aplu.raspi.UltrasonicSensor
Sets a new trigger level.
show(String) - Static method in class ch.aplu.raspi.ConnectPanel
Shows the text.
showStatusBar(int) - Static method in class ch.aplu.raspi.RobotContext
Shows a status bar with given height.
showVersion() - Static method in class ch.aplu.raspi.ConnectPanel
Shows the version title.
startTimer() - Static method in class ch.aplu.raspi.Tools
Starts a timer or restart it by setting its time to zero.
stop() - Method in class ch.aplu.raspi.Gear
 
stop() - Method in class ch.aplu.raspi.Motor
Stops the motor.
stopTicker() - Method in class ch.aplu.raspi.Display
Stops a running ticker.

T

Target - Class in ch.aplu.raspi
Dummy class for source code compatibility with RobotSim.
Target() - Constructor for class ch.aplu.raspi.Target
 
ticker(String, int, int, boolean) - Method in class ch.aplu.raspi.Display
Shows a ticker text that scroll to left until the last 4 characters are displayed.
ticker(String, int, int) - Method in class ch.aplu.raspi.Display
Same as ticker(text, count, speed, blocking) with blocking = false.
ticker(String, int) - Method in class ch.aplu.raspi.Display
Same as ticker(text, count, speed, blocking) with speed = 2 and blocking = false.
ticker(String) - Method in class ch.aplu.raspi.Display
Same as ticker(text, count, speed, blocking) with count = 1, speed = 2 and blocking = false.
Tools - Class in ch.aplu.raspi
Some useful helper methods.
Tools() - Constructor for class ch.aplu.raspi.Tools
 

U

UltrasonicAdapter - Class in ch.aplu.raspi
Class with empty callback methods for the ultrasonic sensor.
UltrasonicAdapter() - Constructor for class ch.aplu.raspi.UltrasonicAdapter
 
UltrasonicListener - Interface in ch.aplu.raspi
Class with declarations of callback methods for the ultrasonic sensor.
UltrasonicSensor - Class in ch.aplu.raspi
Class that represents an ultrasonic sensor.
UltrasonicSensor() - Constructor for class ch.aplu.raspi.UltrasonicSensor
Creates an ultrasonic sensor instance.
useBackground(String) - Static method in class ch.aplu.raspi.RobotContext
Use the give image as background (playground size 501 x 501).
useObstacle(String, int, int) - Static method in class ch.aplu.raspi.RobotContext
Defines the given sprite image to be used as touch obstacle.
useObstacle(BufferedImage, int, int) - Static method in class ch.aplu.raspi.RobotContext
Defines the given buffered image to be used as touch obstacle.
useObstacle(Obstacle, int, int) - Static method in class ch.aplu.raspi.RobotContext
Defines the given obstacle to be used as touch obstacle.
useObstacle(Obstacle) - Static method in class ch.aplu.raspi.RobotContext
Defines the given obstacle to be used as touch obstacle.
useObstacle(GGBitmap, int, int) - Static method in class ch.aplu.raspi.RobotContext
Defines the given GGBitmap to be used as touch obstacle.
useTarget(String, int[][], int, int) - Static method in class ch.aplu.raspi.RobotContext
Creates a target for the ultrasonic sensor using the given sprite image.
useTarget(String, Point[], int, int) - Static method in class ch.aplu.raspi.RobotContext
Creates a target for the ultrasonic sensor using the given sprite image.
useTarget(BufferedImage, Point[], int, int) - Static method in class ch.aplu.raspi.RobotContext
Creates a target for the ultrasonic sensor using the given buffered image.
useTarget(GGBitmap, Point[], int, int) - Static method in class ch.aplu.raspi.RobotContext
Creates a target for the ultrasonic sensor using the given GGBitmap.
useTarget(Target, int, int) - Static method in class ch.aplu.raspi.RobotContext
Defines a clone of the given target to be used as target.

V

valueOf(String) - Static method in enum ch.aplu.raspi.Robot.ClosingMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum ch.aplu.raspi.Robot.ClosingMode
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H I L M N O P R S T U V