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

A

A - Static variable in class ch.aplu.android.ev3.MotorPort
Declaration used by a motor connected to port A.
A - Static variable in class ch.aplu.android.nxt.MotorPort
Declaration used by a motor connected to port A.
abort() - Method in class ch.aplu.android.bluetooth.BluetoothServer
Closes open streams and the server socket.
ABORT_RETRY_IGNORE - Static variable in class ch.aplu.android.GGMessageBox
Acronym for ButtonLayout.ABORT_RETRY_IGNORE.
ABOUT - Static variable in interface ch.aplu.android.ev3.SharedConstants
 
accelerationChanged(float[]) - Method in interface ch.aplu.android.GGComboSensorListener
Event callback method called when the orientation sensor reports new values for the acceleration (in m/s^2).
act() - Method in class ch.aplu.android.Actor
Empty method called in every simulation iteration.
act() - Method in class ch.aplu.android.GameGrid
Empty method called in every simulation cycle after all actor act() calls.
act() - Method in interface ch.aplu.android.GGActListener
Event callback method called in every simulation cycle.
act() - Method in class ch.aplu.jcardgame.CardActor
For internal use only.
act() - Method in class ch.aplu.jcardgame.CardCover
For internal use only.
act() - Method in class ch.aplu.jcardgame.Hand
For internal use only.
actAll() - Method in class ch.aplu.android.GameGrid
Invokes all actor's act() methods in the order of the scene and draws the new game situation.
activate(boolean) - Method in class ch.aplu.android.ev3.LightSensor
Turns on/off the LED used for reflecting light back into the sensor.
activate(boolean) - Method in class ch.aplu.android.ev3.NxtLightSensor
Turns on/off the LED used for reflecting light back into the sensor.
activate(boolean) - Method in class ch.aplu.android.nxt.LightSensor
Turns on/off the LED used for reflecting light back into the sensor.
Actor - Class in ch.aplu.android
Class that holds sprite icons that plays the role of an actor in the game's game grid.
Actor(Bitmap...) - Constructor for class ch.aplu.android.Actor
Constructs an unrotatable actor based on one or several sprite images defined by the given bitmaps.
Actor(boolean, Bitmap) - Constructor for class ch.aplu.android.Actor
Constructs actor based on the specified bitmap.
Actor(boolean, Bitmap...) - Constructor for class ch.aplu.android.Actor
Constructs an actor based on one several sprite images defined by the given bitmaps.
Actor() - Constructor for class ch.aplu.android.Actor
Constructs an actor with no sprite image.
Actor(String) - Constructor for class ch.aplu.android.Actor
Constructs an unrotatable actor based on the specified sprite image.
Actor(String...) - Constructor for class ch.aplu.android.Actor
Constructs an unrotatable actor based on several sprite images.
Actor(boolean, String) - Constructor for class ch.aplu.android.Actor
Constructs an actor based on the specified sprite image.
Actor(boolean, String...) - Constructor for class ch.aplu.android.Actor
Constructs an actor based on one several sprite images.
Actor(String, int) - Constructor for class ch.aplu.android.Actor
Constructs an unrotatable actor based on one or more sprite images.
Actor(boolean, String, int) - Constructor for class ch.aplu.android.Actor
Constructs an actor based on one or more sprite images.
actorTouched(Actor, GGTouch, Point) - Method in interface ch.aplu.android.GGActorTouchListener
Event callback method to report events with the touch area of an actor's sprite.
actorTouched(Actor, GGTouch, Point) - Method in class ch.aplu.jcardgame.Hand
Implementation of GGActorTouchListener.
add(Vector2D) - Method in class ch.aplu.android.ev3.Vector2D
Returns a new vector that is the vector sum of the current vector and the given vector.
add(Vector3D) - Method in class ch.aplu.android.ev3.Vector3D
Returns a new vector that is the vector sum of the current vector and the given vector.
add(GGRadioButton...) - Method in class ch.aplu.android.GGRadioButtonGroup
Adds the given GGRadioButtons to the group.
add(GGRadioButton) - Method in class ch.aplu.android.GGRadioButtonGroup
Adds the given GGRadioButton to the group.
add(GGVector) - Method in class ch.aplu.android.GGVector
Returns a new vector that is the vector sum of the current vector and the given vector.
add(Location) - Method in class ch.aplu.android.ToolBar
Adds the tool bar item actors to the card game window at the given location (upper left corner of first item).
add(Complex) - Method in class ch.aplu.util.Complex
Define a complex add method.
add(Complex, Complex) - Static method in class ch.aplu.util.Complex
Define a static add method that creates a a new Complex object with the sum.
addActListener(GGActListener) - Method in class ch.aplu.android.GameGrid
Registers the given GGActListener to get act() events.
addActor(Actor, Location, double) - Method in class ch.aplu.android.GameGrid
Adds a new actor at given starting position with given moving direction to the scene.
addActor(Actor, Location) - Method in class ch.aplu.android.GameGrid
Same as addActor(Actor actor, Location location, double direction) with direction = 0 (to east).
addActor(Actor, Location, Location.CompassDirection) - Method in class ch.aplu.android.GameGrid
Same as addActor(Actor actor, Location location, double direction) with compass direction.
addActorCollisionListener(GGActorCollisionListener) - Method in class ch.aplu.android.Actor
Registers a collision listener that reports collision events when actors collide.
addActorNoRefresh(Actor, Location) - Method in class ch.aplu.android.GameGrid
Same as addActor(Actor actor, Location location), but the game grid window is not refreshed automatically.
addActorNoRefresh(Actor, Location, double) - Method in class ch.aplu.android.GameGrid
Same as addActor(Actor actor, Location location, double direction), but the game grid window is not refreshed automatically.
addActorTouchListener(GGActorTouchListener, int) - Method in class ch.aplu.android.Actor
Same as addActorTouchListener(listener, touchEventMask, onTopOnly) with onTopOnly = false.
addActorTouchListener(GGActorTouchListener, int, boolean) - Method in class ch.aplu.android.Actor
Add a GGActionTouchListener to get notifications when the touch interacts with the actor touch area.
addBorderListener(GGBorderListener) - Method in class ch.aplu.android.Actor
Registers an GGBorderListener so that the callback method nearBorder() is called when the actor's location is on a cell at the border of the game grid.
addCardListener(CardListener) - Method in class ch.aplu.jcardgame.Hand
Registers a card listener to get event notifications when a card is touched or arrives at its target.
addCheckButtonListener(GGCheckButtonListener) - Method in class ch.aplu.android.GGCheckButton
Registers a GGCheckButtonListener to get notifications when the button is manipulated.
addCollisionActor(Actor) - Method in class ch.aplu.android.Actor
Registers a partner actor that becomes a collision candidate, e.g. that is checked for collisions in every simulation cycle.
addCollisionActors(ArrayList<Actor>) - Method in class ch.aplu.android.Actor
Registers all actors in a list as collision candidates.
addCollisionTile(Location) - Method in class ch.aplu.android.Actor
Registers a tile location that becomes a collision candidate, e.g. that is checked for collisions in every simulation cycle.
addCollisionTiles(ArrayList<Location>) - Method in class ch.aplu.android.Actor
Registers all tile locations in a list as collision candidates.
addComboSensorListener(GGComboSensorListener) - Method in class ch.aplu.android.GGComboSensor
Registers a GGComboSensorListener to get notifications when the sensor reports new values.
addCompassListener(CompassListener, int) - Method in class ch.aplu.android.nxt.CompassSensor
Registers the given compass listener for the given trigger level.
addCompassListener(CompassListener) - Method in class ch.aplu.android.nxt.CompassSensor
Registers the given compass listener with default trigger level 180.
addDialogListener(GGAlertDialogListener) - Method in class ch.aplu.android.GGAlertDialog
Registers the given GGAlertDialogListener to get callback notifications.
addFlingListener(GGFlingListener) - Method in class ch.aplu.android.GameGrid
Adds a GGFlingListener to get notifications from fling events.
addItem(ToolBarItem...) - Method in class ch.aplu.android.ToolBar
Add the next item(s) into the tool bar in the order they are passed.
addLightListener(LightListener, int) - Method in class ch.aplu.android.ev3.LightSensor
Registers the given light listener for the given trigger level.
addLightListener(LightListener) - Method in class ch.aplu.android.ev3.LightSensor
Registers the given light listener with default trigger level 500.
addLightListener(LightListener, int) - Method in class ch.aplu.android.ev3.NxtLightSensor
Registers the given light listener for the given trigger level.
addLightListener(LightListener) - Method in class ch.aplu.android.ev3.NxtLightSensor
Registers the given light listener with default trigger level 500.
addLightListener(UltrasonicListener, int) - Method in class ch.aplu.android.ev3.NxtUltrasonicSensor
Registers the given ultrasonic listener for the given trigger level.
addLightListener(UltrasonicListener) - Method in class ch.aplu.android.ev3.NxtUltrasonicSensor
Registers the given ultrasonic listener with default trigger level 500.
addLightListener(UltrasonicListener, int) - Method in class ch.aplu.android.ev3.UltrasonicSensor
Registers the given ultrasonic listener for the given trigger level.
addLightListener(UltrasonicListener) - Method in class ch.aplu.android.ev3.UltrasonicSensor
Registers the given ultrasonic listener with default trigger level 500.
addLightListener(LightListener, int) - Method in class ch.aplu.android.nxt.LightSensor
Registers the given light listener for the given trigger level.
addLightListener(LightListener) - Method in class ch.aplu.android.nxt.LightSensor
Registers the given light listener with default trigger level 500.
addMotionListener(MotionListener) - Method in class ch.aplu.android.nxt.Gear
Register the given motion listener.
addMotionListener(MotionListener) - Method in class ch.aplu.android.nxt.Motor
Registers the given motion listener.
addMultiTouchListener(GGMultiTouchListener, int) - Method in class ch.aplu.android.GameGrid
Adds a GGMultiTouchListener to get notifications from multi-touch events.
addNavigationListener(GGNavigationListener) - Method in class ch.aplu.android.GameGrid
Registers a navigation listener to get notifications when the smartphones buttons are used (BACK, HOME, VOLUME_INCREASE and VOLUME_DECREASE).
addNoRefresh(Location) - Method in class ch.aplu.android.ToolBar
Same as add(Location barLocation), but does not refresh the game grid.
addNxtConnectionListener(NxtConnectionListener) - Method in class ch.aplu.android.nxt.NxtRobot
Registers a connection listener to get notifications when the NXT bricks connects/disconnects.
addOrientationListener(GGOrientationListener) - Method in class ch.aplu.android.GameGrid
Registers a GGOrientationListener to get notifications when the smartphones changes orientation from LANDSCAPE to PORTRAIT or vice vera and the device orientation is not fixed.
addPart(Part) - Method in class ch.aplu.android.ev3.LegoRobot
Assembles the given part into the robot.
addPart(Part) - Method in class ch.aplu.android.nxt.NxtRobot
Assembles the given part into the robot.
addPushButtonListener(GGPushButtonListener) - Method in class ch.aplu.android.GGPushButton
Registers a GGPushButtonListener to get notifications when the button is manipulated.
addRadioButtonListener(GGRadioButtonListener) - Method in class ch.aplu.android.GGRadioButton
Registers a GGRadioListener to get notifications when the button is manipulated.
addRadioButtonListener(GGRadioButtonListener) - Method in class ch.aplu.android.GGRadioButtonGroup
Registers the given GGRadioButtonListener to get notifications when the currently selected button changes because the user clicks another button.
addSensorListener(GGSensorListener) - Method in class ch.aplu.android.GGSensor
Registers a GGSensorListener to get notifications when the sensor reports new values.
addSoftButton(int, String) - Method in class ch.aplu.android.GameGrid
Adds one of four soft button with given id and button label at the bottom of the view.
addSoftButtonListener(GGSoftButtonListener) - Method in class ch.aplu.android.GameGrid
Adds a GGSoftButtonListener to get notifications soft button events.
addSoundListener(SoundListener, int) - Method in class ch.aplu.android.ev3.NxtSoundSensor
Registers the given sound listener for the given trigger level.
addSoundListener(SoundListener) - Method in class ch.aplu.android.ev3.NxtSoundSensor
Registers the given sound listener with default trigger level 50.
addSoundListener(SoundListener, int) - Method in class ch.aplu.android.nxt.SoundSensor
Registers the given sound listener for the given trigger level.
addSoundListener(SoundListener) - Method in class ch.aplu.android.nxt.SoundSensor
Registers the given sound listener with default trigger level 50.
addStatusBar(int, int, int, int) - Method in class ch.aplu.android.GameGrid
Adds a status bar at a user defined position of the screen.
addStatusBar(int) - Method in class ch.aplu.android.GameGrid
Adds a status bar at the bottom of the game grid window where a single line of text can be displayed.
addTileCollisionListener(GGTileCollisionListener) - Method in class ch.aplu.android.Actor
Registers a tile listener that reports collision events when actors and tiles collide.
addTimerListener(TimerListener) - Method in class ch.aplu.util.BaseAlarmTimer
Register a TimerListener to fire callbacks when the time interval expires (current time reaches 0 or the timer is stopped).
addToggleButtonListener(GGToggleButtonListener) - Method in class ch.aplu.android.GGToggleButton
Registers a GGToggleButtonListener to get notifications when the button is manipulated.
addToolBarListener(ToolBarListener) - Method in class ch.aplu.android.ToolBar
Registers a tool bar listener to get event notifications when an item is touched.
addTouchListener(TouchListener) - Method in class ch.aplu.android.ev3.NxtTouchSensor
Registers the given touch listener.
addTouchListener(TouchListener) - Method in class ch.aplu.android.ev3.TouchSensor
Registers the given touch listener.
addTouchListener(GGTouchListener, int) - Method in class ch.aplu.android.GameGrid
Adds a GGTouchListener to get notifications from touch events.
addTouchListener(TouchListener) - Method in class ch.aplu.android.nxt.TouchSensor
Registers the given touch listener.
addUltrasonicListener(UltrasonicListener, int) - Method in class ch.aplu.android.nxt.UltrasonicSensor
Registers the given ultrasonic listener for the given trigger level.
addUltrasonicListener(UltrasonicListener) - Method in class ch.aplu.android.nxt.UltrasonicSensor
Registers the given ultrasonic listener with default trigger level 20.
appName - Variable in class ch.aplu.android.GameGrid.SysInfo
The application name.
arc(double, double, double, double, double, boolean) - Method in class ch.aplu.android.GGPanel
Draws an arc (without bounding lines to center) with given center coordinates, radius in user x-coordinates, start angle and angle extent.
arc(PointD, double, double, double, boolean) - Method in class ch.aplu.android.GGPanel
Draws an arc (without bounding lines to center) with given center, radius in user x-coordinates, start angle and angle extent.
arc(double, double, double, boolean) - Method in class ch.aplu.android.GGPanel
Draws an arc (without bounding lines to center) with center at current graph position, radius in user x-coordinates, start angle and angle extent.
associateActor(double, double) - Method in class ch.aplu.jcardgame.Card
Calculates the current card actor with given scale factor and rotation angle from the seed actor taken from the card's deck.
atTarget(Card, Location) - Method in class ch.aplu.jcardgame.CardAdapter
Triggered when a card arrives a the target after a card transfer.
atTarget(Card, Location) - Method in interface ch.aplu.jcardgame.CardListener
Triggered when a card arrives a the target after a card transfer.

B

B - Static variable in class ch.aplu.android.ev3.MotorPort
Declaration used by a motor connected to port B.
B - Static variable in class ch.aplu.android.nxt.MotorPort
Declaration used by a motor connected to port B.
backward() - Method in class ch.aplu.android.ev3.GenericGear
Same as forward(), but move in reverse direction.
backward(int) - Method in class ch.aplu.android.ev3.GenericGear
Same as forward(int duration), but move in reverse direction.
backward() - Method in class ch.aplu.android.ev3.GenericMotor
Starts the backward rotation with preset speed.
backward(int) - Method in class ch.aplu.android.ev3.NxtTurtleRobot
Moves the turtle backward the given number of steps.
backward(int) - Method in class ch.aplu.android.ev3.TurtleRobot
Moves the turtle backward the given number of steps.
backward() - Method in class ch.aplu.android.nxt.Gear
Same as forward(), but move in reverse direction.
backward(int) - Method in class ch.aplu.android.nxt.Gear
Same as forward(int duration), but move in reverse direction.
backward() - Method in class ch.aplu.android.nxt.Motor
Starts the backward rotation with preset speed.
backward(int) - Method in class ch.aplu.android.nxt.TurtleRobot
Moves the turtle backward the given number of steps.
BaseAlarmTimer - Class in ch.aplu.util
Abstract base class for HiResAlarmTimer and LoResAlarmTimer.
BaseTimer - Class in ch.aplu.util
Abstract base class for HiResTimer and LoResTimer.
bearing - Variable in class ch.aplu.android.ev3.GenericIRSensor.IRValue
The bearing value from about -12 to +12 with values increasing clockwise when looking from behind the sensor.
BLACK - Static variable in class ch.aplu.android.GameGrid
Short for Color.BLACK.
BLUE - Static variable in class ch.aplu.android.GameGrid
Short for Color.BLUE.
BluetoothClient - Class in ch.aplu.android.bluetooth
Class to create a client that connects to a server via Bluetooth.
BluetoothClient(BluetoothDevice) - Constructor for class ch.aplu.android.bluetooth.BluetoothClient
Creates a BluetoothClient instance for the given server's Bluetooth name.
BluetoothClient(BluetoothAdapter, String) - Constructor for class ch.aplu.android.bluetooth.BluetoothClient
Creates a BluetoothClient instance for the given server's MAC address.
bluetoothDeviceDiscovered(BluetoothDevice) - Method in interface ch.aplu.android.bluetooth.BluetoothDiscoveryListener
Event callback method called when a remote device is found.
BluetoothDiscovery - Class in ch.aplu.android.bluetooth
Class for finding remote Bluetooth devices by an device discovery process.
BluetoothDiscovery(Activity) - Constructor for class ch.aplu.android.bluetooth.BluetoothDiscovery
Creates a BluetoothDiscovery instance to perform Bluetooth discovery actions.
bluetoothDiscoveryFinished() - Method in interface ch.aplu.android.bluetooth.BluetoothDiscoveryListener
Event callback method called when the Bluetooth discovery is finished.
BluetoothDiscoveryListener - Interface in ch.aplu.android.bluetooth
Declarations of the notification methods when a Bluetooth discovery is started.
BluetoothPeer - Class in ch.aplu.android.bluetooth
Class that implements a Bluetooth peer-to-peer communication based on the client-server model.
BluetoothPeer(Activity, BluetoothDevice, String, BluetoothPeerListener, boolean) - Constructor for class ch.aplu.android.bluetooth.BluetoothPeer
Creates a BluetoothPeer instance that tries to connect to the given node using the given service name.
BluetoothPeerListener - Interface in ch.aplu.android.bluetooth
Declarations of notification methods called from the class BluetoothPeer.
BluetoothServer - Class in ch.aplu.android.bluetooth
Class to create a client that connects to a server via Bluetooth.
BluetoothServer(BluetoothAdapter, String, BluetoothServerListener) - Constructor for class ch.aplu.android.bluetooth.BluetoothServer
Creates a BluetoothServer instance, registers the given BluetoothServerListener and starts a server thread that waits for an incomming client connection request.
BluetoothServerListener - Interface in ch.aplu.android.bluetooth
Callback declaration when running a Bluetooth server.
bright(SensorPort, int) - Method in class ch.aplu.android.ev3.LightAdapter
Empty method called when the light becomes brighter than the trigger level.
bright(SensorPort, int) - Method in interface ch.aplu.android.ev3.LightListener
Called when the light becomes brighter than the trigger level.
bright(SensorPort, int) - Method in class ch.aplu.android.nxt.LightAdapter
Empty method called when the light becomes brighter than the trigger level.
bright(SensorPort, int) - Method in interface ch.aplu.android.nxt.LightListener
Called when the light becomes brighter than the trigger level.
buttonChecked(GGCheckButton, boolean) - Method in interface ch.aplu.android.GGCheckButtonListener
Event callback method called when the button changes the state.
buttonClicked(int) - Method in class ch.aplu.android.GGButtonAdapter
Event callback when the button is clicked (pressed and released).
buttonClicked(GGPushButton) - Method in class ch.aplu.android.GGPushButtonAdapter
Event callback method called when the button is clicked.
buttonClicked(GGPushButton) - Method in interface ch.aplu.android.GGPushButtonListener
Event callback method called when the button is clicked.
buttonClicked(int) - Method in class ch.aplu.android.GGSoftButtonAdapter
Event callback when the button is clicked (pressed and released).
buttonClicked(int) - Method in interface ch.aplu.android.GGSoftButtonListener
Event callback when the button is clicked (pressed and released).
buttonPressed(int) - Method in class ch.aplu.android.GGButtonAdapter
Event callback when the button is pressed.
buttonPressed(GGPushButton) - Method in class ch.aplu.android.GGPushButtonAdapter
Event callback method called when the button is pressed.
buttonPressed(GGPushButton) - Method in interface ch.aplu.android.GGPushButtonListener
Event callback method called when the button is pressed.
buttonPressed(int) - Method in class ch.aplu.android.GGSoftButtonAdapter
Event callback when the button is pressed.
buttonPressed(int) - Method in interface ch.aplu.android.GGSoftButtonListener
Event callback when the button is pressed.
buttonReleased(int) - Method in class ch.aplu.android.GGButtonAdapter
Event callback when the button is release.
buttonReleased(GGPushButton) - Method in class ch.aplu.android.GGPushButtonAdapter
Event callback method called when the button is released.
buttonReleased(GGPushButton) - Method in interface ch.aplu.android.GGPushButtonListener
Event callback method called when the button is released.
buttonReleased(int) - Method in class ch.aplu.android.GGSoftButtonAdapter
Event callback when the button is release.
buttonReleased(int) - Method in interface ch.aplu.android.GGSoftButtonListener
Event callback when the button is release.
buttonRepeated(int) - Method in class ch.aplu.android.GGButtonAdapter
Event callback when the button is hold down.
buttonRepeated(GGPushButton) - Method in class ch.aplu.android.GGPushButtonAdapter
Event callback method called when the button is held down.
buttonRepeated(GGPushButton) - Method in interface ch.aplu.android.GGPushButtonListener
Event callback method called when the button held down.
buttonRepeated(int) - Method in class ch.aplu.android.GGSoftButtonAdapter
Event callback when the button is hold down.
buttonRepeated(int) - Method in interface ch.aplu.android.GGSoftButtonListener
Event callback when the button is hold down.
buttonSelected(GGRadioButton, boolean) - Method in interface ch.aplu.android.GGRadioButtonListener
Event callback method called when the button changes the state.
buttonToggled(GGToggleButton, boolean) - Method in interface ch.aplu.android.GGToggleButtonListener
Event callback method called when the button changes the state.

C

C - Static variable in class ch.aplu.android.ev3.MotorPort
Declaration used by a motor connected to port C.
C - Static variable in class ch.aplu.android.nxt.MotorPort
Declaration used by a motor connected to port C.
Card - Class in ch.aplu.jcardgame
A class to represent individual playing cards.
Card(Deck, T, R) - Constructor for class ch.aplu.jcardgame.Card
Same as Create(deck, suit, rank, isVerso) with isVerso = false.
Card(Deck, T, R, boolean) - Constructor for class ch.aplu.jcardgame.Card
Creates a card instance from given deck using the given suit and rank.
Card(Deck, int) - Constructor for class ch.aplu.jcardgame.Card
Creates a card instance from given deck using the give card number Keep in mind that the current card actor is undefined (null) until the card is displayed in the gamegrid using the hand's draw() method or attributeActor() is called.
CardActor - Class in ch.aplu.jcardgame
Class that represents the game grid actor that belongs to the sprite image of a card.
CardAdapter - Class in ch.aplu.jcardgame
Empty implementation of callback methods called for card events.
CardAdapter() - Constructor for class ch.aplu.jcardgame.CardAdapter
 
CardCover - Class in ch.aplu.jcardgame
Class that represents the cover (back) of a card (card with face down).
CardCover(GameGrid, Location, Deck, double, double) - Constructor for class ch.aplu.jcardgame.CardCover
Same as CardCover(gameGrid, location, deck, scaleFactor, rotationAngle, hide) with show = true.
CardCover(GameGrid, Location, Deck, double, double, boolean) - Constructor for class ch.aplu.jcardgame.CardCover
Creates a transformed card cover actor from the seed actor of the first card in the given deck and adds it at the given location to the given game grid.
CardGame - Class in ch.aplu.jcardgame
A specialized GameGrid class used for card games.
CardGame(int, int, CardGame.BoardType, GameGrid.WindowZoom) - Constructor for class ch.aplu.jcardgame.CardGame
Constructs and shows a game grid window of given BoardType layout with given border and background color.
CardGame.BoardType - Enum in ch.aplu.jcardgame
Enumeration that defines the screen layout.
CardListener - Interface in ch.aplu.jcardgame
Declaration of callback methods called for card events.
CardOrientation - Enum in ch.aplu.jcardgame
Four major card orientations.
cards - Variable in class ch.aplu.jcardgame.Deck
Public array of all cards in this deck in the order cards[suitId][rankId].
cellZoom(int) - Static method in class ch.aplu.android.GameGrid
Returns a CellZoom reference to be used as constructor parameter for apps based on grids.
center - Variable in class ch.aplu.android.GGCircle
The public vector to the center of the circle.
ch.aplu.android - package ch.aplu.android
Package of the JDroidLib framework for developing Android applications with a focus on gaming and simulations.
ch.aplu.android.bluetooth - package ch.aplu.android.bluetooth
Addon package of the JDroidLib framework for Bluetooth communication.
ch.aplu.android.ev3 - package ch.aplu.android.ev3
Package for commanding the Lego EV3 robot brick in Direct Mode - The EV3DirectServer (EDS) must be up and running!
ch.aplu.android.nxt - package ch.aplu.android.nxt
Package to use the Lego NXT robot in direct mode in Android applications.
ch.aplu.jcardgame - package ch.aplu.jcardgame
Addon package of the JDroidLib framework for developing card game applications.
ch.aplu.util - package ch.aplu.util
Package with useful helper classes for developing applications using the JDroidLib framework.
channel - Variable in class ch.aplu.android.ev3.GenericIRSensor.IRValue
The channel number 1..4
circle(double, double, double, boolean) - Method in class ch.aplu.android.GGPanel
Draws a circle with given center coordinates and given radius in user x-coordinates.
circle(PointD, double, boolean) - Method in class ch.aplu.android.GGPanel
Draws a circle with given center and given radius in user x-coordinates.
circle(double, boolean) - Method in class ch.aplu.android.GGPanel
Draws a circle with center at current graph position and given radius in user x-coordinates.
clean() - Method in class ch.aplu.android.GGPanel
Clears the frame buffer by painting it with the current background color.
clear(int) - Method in class ch.aplu.android.GGBackground
Sets the background color to the given color and clears the frame buffer by painting it with the given color.
clear() - Method in class ch.aplu.android.GGBackground
Clears the frame buffer by painting it with the current background color.
clear(int) - Method in class ch.aplu.android.GGBitmap
Sets the background color to the given color and clears the frame buffer by painting it with the given color.
clear() - Method in class ch.aplu.android.GGBitmap
Clears the frame buffer by painting it with the current background color.
clear() - Static method in class ch.aplu.android.GGConsole
Clears the content of the console.
click - Static variable in class ch.aplu.android.GGTouch
Pressed and released in a quick sequence.
clicked(ToolBarItem) - Method in class ch.aplu.android.ToolBarAdapter
Triggered when a item is clicked.
clicked(ToolBarItem) - Method in interface ch.aplu.android.ToolBarListener
Triggered when a item is clicked.
clicked(Card) - Method in class ch.aplu.jcardgame.CardAdapter
Triggered when a card is clicked.
clicked(Card) - Method in interface ch.aplu.jcardgame.CardListener
Triggered when a card is clicked.
clone() - Method in class ch.aplu.android.ev3.Vector2D
Returns a new vector with the same coordinates as the current vector.
clone() - Method in class ch.aplu.android.ev3.Vector3D
Returns a new vector with the same coordinates as the current vector.
clone() - Method in class ch.aplu.android.GGCircle
Returns a new circle with the same center and radius as the current circle.
clone() - Method in class ch.aplu.android.GGLine
Returns a new GGLine with same start and end vector.
clone() - Method in class ch.aplu.android.GGRectangle
Returns a new rectangle with same vertices and egdes as the original.
clone() - Method in class ch.aplu.android.GGVector
Returns a new vector with the same coordinates as the current vector.
clone() - Method in class ch.aplu.android.Location
Returns a new location with duplicated coordinates.
clone() - Method in class ch.aplu.android.PointD
Returns a new PointD with duplicated coordinates.
clone() - Method in class ch.aplu.jcardgame.Card
Deep copy of a card with same attributes, including the card actor, but is handless (getHand() returns null).
clone() - Method in class ch.aplu.jcardgame.ColumnLayout
Creates a new ColumnLayout instance with same options.
clone() - Method in class ch.aplu.jcardgame.FanLayout
Creates a new FanLayout instance with same options.
clone() - Method in class ch.aplu.jcardgame.RowLayout
Creates a new RowLayout instance with same options.
clone() - Method in class ch.aplu.jcardgame.StackLayout
Creates a new StackLayout instance with same options.
clone() - Method in class ch.aplu.jcardgame.TargetArea
Performs a deep copy of the given TargetArea.
cloneAndAdd() - Method in class ch.aplu.jcardgame.Card
Same as cloneAndAdd(double rotationAngle) with rotationAngle of current card.
cloneAndAdd(double) - Method in class ch.aplu.jcardgame.Card
Deep copy of a card with same attributes, including the card actor, but is handless (getHand() returns null).
closeInputStream(InputStream) - Static method in class ch.aplu.android.GGPath
Closes the given input stream.
closeOutputStream(OutputStream) - Static method in class ch.aplu.android.GGPath
Closes the given output stream.
collide(Actor, Actor) - Method in class ch.aplu.android.Actor
Empty implementation of a GGActorCollisionListener called when the two actors collides.
collide(Actor, Location) - Method in class ch.aplu.android.Actor
Empty implementation of a GGTileCollisionListener called when the an actor collides with a tile.
collide(Actor, Actor) - Method in interface ch.aplu.android.GGActorCollisionListener
Event callback method called when actors are colliding.
collide(Actor, Location) - Method in interface ch.aplu.android.GGTileCollisionListener
Event callback method called when actors and tiles are colliding.
color(int) - Method in class ch.aplu.android.GGPanel
Sets the current paint color.
colorCubes - Static variable in class ch.aplu.android.ev3.ColorSensor
Color cubes for detecting color labels. 6 user adaptable int arrays with red_min, red_max, green_min, green_max, blue_min, blue_max for the colors Black, Blue, Green, Yellow, Red, White.
ColorLabel - Enum in ch.aplu.android.ev3
Enumeration of detectable colors for color sensors.
ColorSensor - Class in ch.aplu.android.ev3
Class that represents a EV3 color sensor.
ColorSensor(SensorPort) - Constructor for class ch.aplu.android.ev3.ColorSensor
Creates a sensor instance connected to the given port.
ColorSensor() - Constructor for class ch.aplu.android.ev3.ColorSensor
Creates a sensor instance connected to port S1.
ColumnLayout - Class in ch.aplu.jcardgame
Class to store the column layout options for a hand.
ColumnLayout(Location, int) - Constructor for class ch.aplu.jcardgame.ColumnLayout
Same as ColumnLayout(handLocation, columnHeight, rotationAngle) with rotationAngle = 0.
ColumnLayout(Location, int, double) - Constructor for class ch.aplu.jcardgame.ColumnLayout
Creates a ColumnLayout instance with given hand location, maximum column height and rotation angle.
compareTo(Object) - Method in class ch.aplu.android.GameGrid.SysInfo
For internal use.
compareTo(Object) - Method in class ch.aplu.jcardgame.Card
Implementation of comparable interface.
CompassAdapter - Class in ch.aplu.android.nxt
Class with empty callback methods for the compass sensor.
CompassAdapter() - Constructor for class ch.aplu.android.nxt.CompassAdapter
 
CompassListener - Interface in ch.aplu.android.nxt
Class with declarations of callback methods for the compass sensor.
CompassSensor - Class in ch.aplu.android.nxt
Class that represents an Compass sensor.
CompassSensor(SensorPort, boolean) - Constructor for class ch.aplu.android.nxt.CompassSensor
Creates a sensor instance connected to the given port at location with either 50 Hz or 60 Hz household current frequency.
CompassSensor(SensorPort) - Constructor for class ch.aplu.android.nxt.CompassSensor
Creates a sensor instance connected to the given port at location with 50 Hz household current frequency (e.g.
CompassSensor() - Constructor for class ch.aplu.android.nxt.CompassSensor
Creates a sensor instance connected to port S1 at location with 50 Hz household current frequency (e.g.
Complex - Class in ch.aplu.util
This is a complex number class with the essential features needed for computations.
Complex(double, double) - Constructor for class ch.aplu.util.Complex
Constructor that initializes the values.
connect() - Method in class ch.aplu.android.bluetooth.BluetoothClient
Attemps to connect the client to the server.
connect() - Method in class ch.aplu.android.ev3.LegoRobot
Connects the host to the robot via an IP socket.
connect(boolean) - Method in class ch.aplu.android.ev3.LegoRobot
Connects the host to the robot via an IP socket.
connect() - Method in class ch.aplu.android.nxt.NxtRobot
If the NXT name is not known, asks for the NXT Bluetooth friendly name.
ConnectionListener - Interface in ch.aplu.android.ev3
Callback declaration for IP socket connection/disconnection.
ConsoleActivity - Class in ch.aplu.android
Activity for creating a console display, for internal use only.
ConsoleActivity() - Constructor for class ch.aplu.android.ConsoleActivity
 
contains(Card) - Method in class ch.aplu.jcardgame.Hand
Returns true, if the a card with same suit and rank is found in the card list of current hand.
containsPixel(Point) - Method in class ch.aplu.android.Actor
Returns true, if the given point is part of the non-transparent pixels of the current visible sprite image.
continueRelativeTo(int) - Method in class ch.aplu.android.ev3.GenericMotor
Same as rotateTo(int count), but the rotation counter is not set to zero.
continueRelativeTo(int, boolean) - Method in class ch.aplu.android.ev3.GenericMotor
Same as rotateTo(int count, boolean blocking), but the rotation counter is not set to zero.
continueTo(int) - Method in class ch.aplu.android.ev3.GenericMotor
Same as rotateTo(int count), but the rotation counter is not set to zero.
continueTo(int, boolean) - Method in class ch.aplu.android.ev3.GenericMotor
Same as rotateTo(int count, boolean blocking), but the rotation counter is not set to zero.
continueTo(int) - Method in class ch.aplu.android.nxt.Motor
Same as rotateTo(int count), but the rotation counter is not set to zero.
continueTo(int, boolean) - Method in class ch.aplu.android.nxt.Motor
Same as rotateTo(int count, boolean blocking), but the rotation counter is not set to zero.
copyBinary(InputStream, String, boolean) - Static method in class ch.aplu.android.GameGrid
Takes the given input stream and copies the data byte-by-byte to an output file.
copyDirectory(File, File, boolean) - Static method in class ch.aplu.android.GGPath
Copies all files from the source directory into the destination directory.
copyFile(URL, File) - Static method in class ch.aplu.android.GGPath
Copies binary data from the source URL to the destination file.
copyFile(File, File) - Static method in class ch.aplu.android.GGPath
Copies binary data from the source file to the destination file.
copyTree(File, File) - Static method in class ch.aplu.android.GGPath
Copies all files with subdirectory structure from the source directory to the destination directory.
create() - Static method in class ch.aplu.android.GGMultiTouch
Creates a GGMultiTouch instance with default values for the instance variables.
create(GGMultiTouchListener, int, int, int, int, int) - Static method in class ch.aplu.android.GGMultiTouch
Creates a GGMultiTouch instance with given values for the instance variables.
create() - Static method in class ch.aplu.android.GGTouch
Creates a GGTouch instance with default values for the instance variables.
create(GGTouchListener, int, int, int) - Static method in class ch.aplu.android.GGTouch
Creates a GGTouch instance with given values for the instance variables.
createDirectoryTree(File) - Static method in class ch.aplu.android.GGPath
Creates a directory structure.
createMediaPlayer(String) - Method in class ch.aplu.android.GameGrid
Creates and prepares a MediaPlayer instance with given audio path name.
createTileMap(int, int, int, int) - Method in class ch.aplu.android.GameGrid
Creates/Replaces a TileMap with the specified number of horizontal and vertical tiles.
crop(Bitmap, int, int, int, int) - Static method in class ch.aplu.android.GGBitmap
Extracts the partial image if the given rectangular area.
cut(int, boolean) - Method in class ch.aplu.jcardgame.Hand
Divides the current hand (as a deck of cards) into two batches and reassembles the batches in reverse order.
CYAN - Static variable in class ch.aplu.android.GameGrid
Short for Color.CYAN.

D

D - Static variable in class ch.aplu.android.ev3.MotorPort
Declaration used by a motor connected to port C.
d(String) - Static method in class ch.aplu.android.L
Writes debug string flagged as 'debug'.
dark(SensorPort, int) - Method in class ch.aplu.android.ev3.LightAdapter
Empty method called when the light becomes darker than the trigger level.
dark(SensorPort, int) - Method in interface ch.aplu.android.ev3.LightListener
Called when the light becomes darker than the trigger level.
dark(SensorPort, int) - Method in class ch.aplu.android.nxt.LightAdapter
Empty method called when the light becomes darker than the trigger level.
dark(SensorPort, int) - Method in interface ch.aplu.android.nxt.LightListener
Called when the light becomes darker than the trigger level.
dealingOut(int, int) - Method in class ch.aplu.jcardgame.Deck
Same as dealingOut(nbPlayers, nbCardsPerPlayer, shuffle) with shuffle = true.
dealingOut(int, int, boolean) - Method in class ch.aplu.jcardgame.Deck
Returns an array with nbPlayers + 1 hands.
Deck - Class in ch.aplu.jcardgame
A class to bundle information about the card suits and ranks and their card actors (sprite images).
Deck(T[], R[], String) - Constructor for class ch.aplu.jcardgame.Deck
Creates a deck from given suit and rank enumerations with card values set to zero.
Deck(T[], R[], String, Deck.CardValues) - Constructor for class ch.aplu.jcardgame.Deck
Creates a deck from given suit and rank enumerations with given card values.
Deck(T[], R[], S[], String) - Constructor for class ch.aplu.jcardgame.Deck
Creates a deck from given suit and rank and sprites enumerations with card values set to zero.
Deck(T[], R[], S[], String, Deck.CardValues) - Constructor for class ch.aplu.jcardgame.Deck
Creates a deck from given suit and rank and sprites enumerations with given card values.
Deck.CardValues - Interface in ch.aplu.jcardgame
Interface for the construction of integer arrays with card values (card points, card values) of each card in each suit.
delay(long) - Static method in class ch.aplu.android.Actor
Delay execution for the given amount of time.
delay(long) - Static method in class ch.aplu.android.ev3.Tools
Suspends execution of the current thread for the given amount of time.
delay(long) - Static method in class ch.aplu.android.GameGrid
Halts the current thread for the given time.
delay(int) - Static method in class ch.aplu.android.nxt.NxtRobot
Halts current thread for the given amount of time.
delay(long) - Static method in class ch.aplu.android.nxt.Tools
Suspends execution of the current thread for the given amount of time.
delay(int) - Static method in class ch.aplu.util.BaseTimer
Delay execution for the given amount of time ( in ms ).
deviceToWorld(float[], float[]) - Static method in class ch.aplu.android.GGSensor
Returns the result of the matrix multiplication R * vDevice.
disconnect() - Method in class ch.aplu.android.bluetooth.BluetoothClient
Closes the opened input and output stream and releases the Bluetooth connection.
discoverBluetoothDevice(String) - Method in class ch.aplu.android.bluetooth.BluetoothDiscovery
If a Bluetooth device is supported and it is enabled, starts the discovery of remote Bluetooth device with given Bluetooth friendly name.
displace(double) - Method in class ch.aplu.android.Actor
Increases the current double displace position in the current direction to the given double distance and moves the actor in the cell that contains the given coordinates.
distance - Variable in class ch.aplu.android.ev3.GenericIRSensor.IRValue
Distance values (0-100) are in cm.
distanceTo(Vector2D) - Method in class ch.aplu.android.ev3.Vector2D
Returns the distance between the current vector and the given vector.
distanceTo(Vector3D) - Method in class ch.aplu.android.ev3.Vector3D
Returns the distance between the current vector and the given vector.
distanceTo(GGVector) - Method in class ch.aplu.android.GGVector
Returns the distance between the current vector and the given vector.
divide(Complex) - Method in class ch.aplu.util.Complex
Divide this complex object by the complex argument.
divide(Complex, Complex) - Static method in class ch.aplu.util.Complex
Define a static divide method that creates a a new Complex object with the result of cvalue1/cvalue2.
DKGRAY - Static variable in class ch.aplu.android.GameGrid
Short for Color.DKGRAY.
doPause() - Method in class ch.aplu.android.GameGrid
Pause the simulation cycling.
doReset() - Method in class ch.aplu.android.GameGrid
If still running, calls doPause() and restores actors to their initializing state.
doRun() - Method in class ch.aplu.android.GameGrid
Starts the simulation cycling.
doStep() - Method in class ch.aplu.android.GameGrid
Runs the the simulation loop once.
dot(Vector2D) - Method in class ch.aplu.android.ev3.Vector2D
Returns the scalar product (dot product) of the current vector with the given vector.
dot(Vector3D) - Method in class ch.aplu.android.ev3.Vector3D
Returns the scalar product (dot product) of the current vector with the given vector.
dot(GGVector) - Method in class ch.aplu.android.GGVector
Returns the scalar product (dot product) of the current vector with the given vector.
doubleClick - Static variable in class ch.aplu.android.GGTouch
Pressed, released, pressed, released in a quick sequence.
doubleClicked(ToolBarItem) - Method in class ch.aplu.android.ToolBarAdapter
Triggered when a item is double-clicked.
doubleClicked(ToolBarItem) - Method in interface ch.aplu.android.ToolBarListener
Triggered when a item is double-clicked.
doubleClicked(Card) - Method in class ch.aplu.jcardgame.CardAdapter
Triggered when a card is double clicked.
doubleClicked(Card) - Method in interface ch.aplu.jcardgame.CardListener
Triggered when a card is double clicked.
drag - Static variable in class ch.aplu.android.GGMultiTouch
Pressed followed by a move
drag - Static variable in class ch.aplu.android.GGTouch
Pressed followed by a move (for touch listeners, press must be inside touch area)
draw(double, double) - Method in class ch.aplu.android.GGPanel
Draws a line from current graph position to the given coordinates and sets the graph position to these coordinates.
draw(PointD) - Method in class ch.aplu.android.GGPanel
Draws a line from current graph position to the given point and sets the graph position to this point.
draw() - Method in class ch.aplu.jcardgame.Hand
Displays the hand using the current layout.
drawArc(Point, int, double, double) - Method in class ch.aplu.android.GGBackground
Draws an arc (without bounding lines to center) with given center, radius, start angle and angle extent.
drawArc(Point, int, double, double) - Method in class ch.aplu.android.GGBitmap
Draws an arc with given center, radius, start and end angle.
drawCircle(Point, int) - Method in class ch.aplu.android.GGBackground
Draws a circle with given center and given radius.
drawCircle(Point, int) - Method in class ch.aplu.android.GGBitmap
Draws a circle with given center and given radius.
drawFrame(int) - Method in class ch.aplu.android.GGBackground
Draws a rectangular frame around the playground.
drawGridLines(int) - Method in class ch.aplu.android.GGBackground
Draws the grid lines using the given color.
drawImage(Bitmap, int, int) - Method in class ch.aplu.android.GGBackground
Draws a given bitmap image into the background at the given position.
drawImage(Bitmap, int, int) - Method in class ch.aplu.android.GGBitmap
Draws a given bitmap image into the background at the given position.
drawLine(Point, Point) - Method in class ch.aplu.android.GGBackground
Draws a line from one coordinate pair to another coordinate pair.
drawLine(int, int, int, int) - Method in class ch.aplu.android.GGBackground
Draws a line from one coordinate pair to another coordinate pair.
drawLine(int, int, int, int) - Method in class ch.aplu.android.GGBitmap
Draws a line from one coordinate pair to another coordinate pair.
drawLine(Point, Point) - Method in class ch.aplu.android.GGBitmap
Draws a line from one coordinate pair to another coordinate pair.
drawPoint(int, int) - Method in class ch.aplu.android.GGBackground
Draws a single point into the background.
drawPoint(int, int) - Method in class ch.aplu.android.GGBitmap
Draws a single point into the background.
drawPolygon(Point[]) - Method in class ch.aplu.android.GGBackground
Draws a polygon with given vertexes.
drawPolygon(Point[]) - Method in class ch.aplu.android.GGBitmap
Draws a polygon with given vertexes.
drawRectangle(Point, Point) - Method in class ch.aplu.android.GGBackground
Draws a rectangle with given opposite vertexes.
drawRectangle(int, int, int, int) - Method in class ch.aplu.android.GGBackground
Draws a rectangle with given opposite corners.
drawRectangle(Point, Point, double, boolean) - Method in class ch.aplu.android.GGBackground
Draws a rectangle with one vertex, a point on the line through the opposite horizotal side and the given side ratio.
drawRectangle(Point, Point) - Method in class ch.aplu.android.GGBitmap
Draws a rectangle with given opposite corners.
drawSector(Point, int, double, double) - Method in class ch.aplu.android.GGBackground
Draws a sector (arc with bounding lines to center, pie) with given center, radius, start angle and angle extent.
drawSprite(Bitmap, int, int) - Method in class ch.aplu.android.GGBackground
Deprecated.
Use GGBackground.drawImage instead.
drawText(String, Point) - Method in class ch.aplu.android.GGBackground
Displays the given text at the given position using the current font.
drawText(String, Point) - Method in class ch.aplu.android.GGBitmap
Displays the given text at the given position using the current font.

E

e(String) - Static method in class ch.aplu.android.L
Writes debug string flagged as 'error'.
EAST - Static variable in class ch.aplu.android.Location
The compass direction for east.
enableConnectMelody(boolean) - Method in class ch.aplu.android.nxt.NxtRobot
Enables/disables melody played when the Bluetooth connection is established/broken (default: enabled).
enableKill(boolean) - Method in class ch.aplu.android.GameGrid
Enables/disables brute force killing of process when onPause() is called.
enumerateSensors() - Method in class ch.aplu.android.GameGrid
Retrieves the list of all available sensors.
enumerateSensorSpecs() - Method in class ch.aplu.android.GameGrid
Retrieves the sensor specifications of all available sensors.
enumToStringArray(T[]) - Static method in class ch.aplu.jcardgame.Deck
Returns the enumeration values as string array for the given enumeration.
equals(Object) - Method in class ch.aplu.android.Location
Checks whether the x-y-coordinates of the given location are equal to the x-y-coordinates of the current location (overrides Object.equals()).
equals(Object) - Method in class ch.aplu.android.PointD
Checks whether the x-y-coordinates of the given PointD are equal to the x-y-coordinates of the current PointD (overrides Object.equals()).
equals(Object) - Method in class ch.aplu.jcardgame.Card
Checks if the given card has the same suit and rank as the current card (overrides Object.equals()).
equals(Object) - Method in class ch.aplu.util.Complex
Check for the equality of this object with that of the argument.
erase() - Method in class ch.aplu.android.GGPanel
Same as clear(), but remains the current graph position unchanged.
eraseBeamArea() - Method in class ch.aplu.android.ev3.NxtUltrasonicSensor
Erases the beam area (if it is currently shown).
eraseBeamArea() - Method in class ch.aplu.android.ev3.UltrasonicSensor
Erases the beam area (if it is currently shown).
exit() - Method in class ch.aplu.android.ev3.LegoRobot
Disconnects the communication link and terminates the program.
exit() - Method in class ch.aplu.android.ev3.NxtTurtleRobot
Closes the communication and terminates the program.
exit() - Method in class ch.aplu.android.ev3.TurtleRobot
Closes the communication and terminates the program.
exit() - Method in class ch.aplu.android.nxt.NxtRobot
Closes the Bluetooth communication and resets the NXT brick to accept the next connection.
extractCardsWithRank(R) - Method in class ch.aplu.jcardgame.Hand
Returns a hand containing card clones from card of the current hand that have the given rank.
extractCardsWithSuit(T) - Method in class ch.aplu.jcardgame.Hand
Returns a hand containing card clones from card of the current hand that have the given suit.
extractPairs() - Method in class ch.aplu.jcardgame.Hand
Returns all hands with pairs (two cards with same rank) found in the current hand.
extractQuads() - Method in class ch.aplu.jcardgame.Hand
Returns all hands with quads (four cards with same rank) found in the current hand.
extractSequences(int) - Method in class ch.aplu.jcardgame.Hand
Returns all sequences found in the current hand with mixed suits with given length (>2).
extractSequences(T, int) - Method in class ch.aplu.jcardgame.Hand
Returns all sequences found in the current hand that have given suit with given length (>2).
extractTrips() - Method in class ch.aplu.jcardgame.Hand
Returns all hands with trips (three cards with same rank) found in the current hand.

F

fail(String) - Method in class ch.aplu.android.GameGrid
Displays the given message in the status line and terminates the process shortly after.
fail(String, String) - Method in class ch.aplu.android.GameGrid
Displays the two given messages in the status line and terminates the process shortly after.
FanLayout - Class in ch.aplu.jcardgame
Class to store the fan layout options for a hand.
FanLayout(Location, double, double, double) - Constructor for class ch.aplu.jcardgame.FanLayout
Creates a FanLayout instance with given center, radius, start direction and end direction.
far(SensorPort, int) - Method in class ch.aplu.android.ev3.UltrasonicAdapter
Empty method called when the distance exceeds the trigger level.
far(SensorPort, int) - Method in interface ch.aplu.android.ev3.UltrasonicListener
Called when the distance exceeds the trigger level.
far(SensorPort, int) - Method in class ch.aplu.android.nxt.UltrasonicAdapter
Empty method called when the distance exceeds the trigger level.
far(SensorPort, int) - Method in interface ch.aplu.android.nxt.UltrasonicListener
Called when the distance exceeds the trigger level.
fileExists(String) - Method in class ch.aplu.android.nxt.NxtRobot
Searches for given file in the brick's file system.
fileHandle - Variable in class ch.aplu.android.nxt.FileInfo
The handle for accessing the file.
FileInfo - Class in ch.aplu.android.nxt
Structure that gives information about a leJOS NXJ file.
FileInfo(String) - Constructor for class ch.aplu.android.nxt.FileInfo
Constructs a FileInfo instance with given file name.
fileName - Variable in class ch.aplu.android.nxt.FileInfo
The name of the file - up to 20 characters.
fileSize - Variable in class ch.aplu.android.nxt.FileInfo
The size of the file in bytes.
fillArc(Point, int, double, double) - Method in class ch.aplu.android.GGBackground
Fills an arc (without bounding lines to center) with given center, radius, start angle and angle extent.
fillArc(Point, int, double, double) - Method in class ch.aplu.android.GGBitmap
Fills an arc with given center, radius, start and end angle.
fillCell(Location, int) - Method in class ch.aplu.android.GGBackground
Fills a cell with given color.
fillCell(Location, int, boolean) - Method in class ch.aplu.android.GGBackground
Fills a cell with given color.
fillCircle(Point, int) - Method in class ch.aplu.android.GGBackground
Draws a filled circle with given center and given radius.
fillCircle(Point, int) - Method in class ch.aplu.android.GGBitmap
Draws a filled circle with given center and given radius.
fillPolygon(Point[]) - Method in class ch.aplu.android.GGBackground
Draws a filled polygon with given vertexes.
fillPolygon(Point[]) - Method in class ch.aplu.android.GGBitmap
Draws a filled polygon with given vertexes.
fillRectangle(Point, Point) - Method in class ch.aplu.android.GGBackground
Draws a filled rectangle with given opposite vertexes.
fillRectangle(int, int, int, int) - Method in class ch.aplu.android.GGBackground
Draws a filled rectangle with given opposite vertexes.
fillRectangle(Point, Point) - Method in class ch.aplu.android.GGBitmap
Draws a filled rectangle with given opposite corners.
fillSector(Point, int, double, double) - Method in class ch.aplu.android.GGBackground
Fills a sector (arc with bounding lines to center, pie) with given center, radius, start angle and angle extent.
findFirst() - Method in class ch.aplu.android.nxt.NxtRobot
Start file enumeration in the brick's file system.
findNext(byte) - Method in class ch.aplu.android.nxt.NxtRobot
Searches the next file in a file enumeration.
flingEvent(Point, Point, GGVector) - Method in interface ch.aplu.android.GGFlingListener
Event callback method called when a fling event occurs.
floodFill(Point, int, int) - Method in class ch.aplu.android.GGBackground
Fills a bounded single-colored region with the given color.
floodFill(Bitmap, Point, int, int) - Static method in class ch.aplu.android.GGBitmap
Fills a bounded single-colored region with the given color.
forward() - Method in class ch.aplu.android.ev3.GenericGear
Starts the forward movement with preset speed.
forward(int) - Method in class ch.aplu.android.ev3.GenericGear
Starts the forward movement for the given duration (in ms) with preset speed.
forward() - Method in class ch.aplu.android.ev3.GenericMotor
Starts the forward rotation with preset speed.
forward(int) - Method in class ch.aplu.android.ev3.NxtTurtleRobot
Moves the turtle forward the given number of steps.
forward(int) - Method in class ch.aplu.android.ev3.TurtleRobot
Moves the turtle forward the given number of steps.
forward() - Method in class ch.aplu.android.nxt.Gear
Starts the forward movement with preset speed.
forward(int) - Method in class ch.aplu.android.nxt.Gear
Starts the forward movement for the given duration (in ms) with preset speed.
forward() - Method in class ch.aplu.android.nxt.Motor
Starts the forward rotation with preset speed.
forward(int) - Method in class ch.aplu.android.nxt.TurtleRobot
Moves the turtle forward the given number of steps.

G

gameGrid - Variable in class ch.aplu.android.Actor
The reference to the GameGrid instance.
GameGrid - Class in ch.aplu.android
Class to create a container where the actors live in.
GameGrid() - Constructor for class ch.aplu.android.GameGrid
Same as GameGrid(boolean isFullScreen, WindowZoom windowZoom) with isFullScreen = false and windowZoom = null, so the graphics window is a square and images are not zoomed.
GameGrid(GameGrid.WindowZoom) - Constructor for class ch.aplu.android.GameGrid
Same as GameGrid(boolean isFullScreen, WindowZoom windowZoom) with isFullScreen = false, so the graphics window is a square.
GameGrid(boolean, GameGrid.WindowZoom) - Constructor for class ch.aplu.android.GameGrid
Constructs a game activity with no active navigation buttons, no visible grid (transparent) and no background image.
GameGrid(int) - Constructor for class ch.aplu.android.GameGrid
Same as GameGrid(int borderColor, booolean isNavigation, boolean isFullscreen, WindowZoom windowZoom) with isNavigation = false, isFullScreen = false and windowZoom = null, so the graphics window is a square and images are not zoomed.
GameGrid(int, GameGrid.WindowZoom) - Constructor for class ch.aplu.android.GameGrid
Same as GameGrid(int borderColor, boolean isNavigation, boolean isFullscreen, WindowZoom windowZoom) with isNavigation = false and isFullScreen = false, so the graphics window is a square.
GameGrid(int, boolean, boolean, GameGrid.WindowZoom) - Constructor for class ch.aplu.android.GameGrid
Constructs a game activity with no active navigation buttons, no visible grid (transparent) and no background image.
GameGrid(String) - Constructor for class ch.aplu.android.GameGrid
Same as GameGrid(String bgImagePath, boolean isNavigation, boolean isFullScreen, WindowZoom windowZoom) with isNavigation = false, isFullScreen = false and windowZoom = null, so the graphics window is a square and images are not zoomed
GameGrid(String, GameGrid.WindowZoom) - Constructor for class ch.aplu.android.GameGrid
Same as GameGrid(String bgImagePath, boolean isNavigation, boolean isFullScreen, WindowZoom windowZoom) with isNavigation = false, isFullScreen = false, so the graphics window is a square.
GameGrid(String, boolean, boolean, GameGrid.WindowZoom) - Constructor for class ch.aplu.android.GameGrid
Constructs a game activity with no visible grid (transparent) possibly a background image and possibly active navitation buttons.
GameGrid(int, int, int) - Constructor for class ch.aplu.android.GameGrid
Constructs a game activity with no active navigation buttons, no visible grid (transparent) and no background image.
GameGrid(int, int, GameGrid.CellZoom) - Constructor for class ch.aplu.android.GameGrid
Same as GameGrid(int nbHorzCells, int nbVertCells, int cellSize), but the grid size is adapted to fit the current screen and images are zoomed automatically when loaded.
GameGrid(int, int, int, int) - Constructor for class ch.aplu.android.GameGrid
Constructs a game activity with no active navigation buttons and possibly a visible grid, but no background image.
GameGrid(int, int, GameGrid.CellZoom, int) - Constructor for class ch.aplu.android.GameGrid
Same as GameGrid(int nbHorzCells, int nbVertCells, int cellSize, int gridColor), but the grid size is adapted to fit the current screen and images are zoomed automatically when loaded.
GameGrid(int, int, int, int, boolean) - Constructor for class ch.aplu.android.GameGrid
Constructs a game activity with possibly a visible grid, possibly active navitation buttons, but no background image.
GameGrid(int, int, GameGrid.CellZoom, int, boolean) - Constructor for class ch.aplu.android.GameGrid
Same as GameGrid(int nbHorzCells, int nbVertCells, int cellSize, int gridColor, boolean isNavigation), but the grid size is adapted to fit the current screen and images are zoomed automatically when loaded.
GameGrid(int, int, int, int, String, boolean) - Constructor for class ch.aplu.android.GameGrid
Constructs a game activity with possibly active navigation buttons, possibly a visible grid and possibly a background image.
GameGrid(int, int, GameGrid.CellZoom, int, String, boolean) - Constructor for class ch.aplu.android.GameGrid
Same as GameGrid(int nbHorzCells, int nbVertCells, int cellSize, int gridColor, String bgImagePath, boolean isNavigation), but the grid size is adapted to fit the current screen and images are zoomed automatically when loaded.
GameGrid.CellZoom - Class in ch.aplu.android
Class to define a zoom factor for automatic zooming when images are loaded in grid based apps.
GameGrid.CellZoom(int) - Constructor for class ch.aplu.android.GameGrid.CellZoom
Creates a CellZoom instance to be used as constructor parameter for Apps based on grids.
GameGrid.SysInfo - Class in ch.aplu.android
Class to retrieve system information.
GameGrid.WindowZoom - Class in ch.aplu.android
Class to define a zoom factor for automatic zooming when images are loaded in pixel based apps.
GameGrid.WindowZoom(int) - Constructor for class ch.aplu.android.GameGrid.WindowZoom
Creates a WindowZoom instance to be used as constructor parameter for Apps based on pixels.
Gear - Class in ch.aplu.android.ev3
Class that represents the combination of two motors on an axis to perform a car-like movement.
Gear() - Constructor for class ch.aplu.android.ev3.Gear
Creates a gear instance with left motor plugged into port A, right motor plugged into port B.
Gear - Class in ch.aplu.android.nxt
Combines two motors on an axis to perform a car-like movement.
Gear(MotorPort, MotorPort) - Constructor for class ch.aplu.android.nxt.Gear
Creates a gear instance with left motor plugged into port1, right motor plugged into port2.
Gear() - Constructor for class ch.aplu.android.nxt.Gear
Creates a gear instance with left motor plugged into port A, right motor plugged into port B.
GenericGear - Class in ch.aplu.android.ev3
Abstract class that represents the combination of two motors on an axis to perform a car-like movement.
GenericIRSensor - Class in ch.aplu.android.ev3
Class that represents a generic Lego EV3 Infra Red sensor.
GenericIRSensor.IRValue - Class in ch.aplu.android.ev3
Class to combine channel, bearing and distance values.
GenericIRSensor.IRValue() - Constructor for class ch.aplu.android.ev3.GenericIRSensor.IRValue
 
GenericMotor - Class in ch.aplu.android.ev3
Abstract class that represents one of the motors.
get(int) - Method in class ch.aplu.jcardgame.Hand
Returns card reference of the card at index i of the card list or null if the hand is empty.
get4CompassDirectionTo(Location) - Method in class ch.aplu.android.Location
Returns the compass direction restricted to 4 sectors from the current location the given location.
getAbout() - Static method in class ch.aplu.android.ev3.LegoRobot
Returns copywrite information.
getAbout() - Static method in class ch.aplu.android.nxt.NxtRobot
Returns copywrite information.
getAcceleration(int) - Method in class ch.aplu.android.GGComboSensor
Returns the current acceleration components.
getActivity() - Static method in class ch.aplu.android.GGConsole
Returns the ConsoleActivity after the console is initialized.
getActors() - Method in class ch.aplu.android.GameGrid
Returns all actors that are part of the game grid.
getActors(Class) - Method in class ch.aplu.android.GameGrid
Returns all actors of the specified class that are part of the game grid.
getActorsAt(Location, Class) - Method in class ch.aplu.android.GameGrid
Returns all actors of given type at given location that are part of the game grid.
getActorsAt(Location) - Method in class ch.aplu.android.GameGrid
Returns all actors at the given location that are part of the game grid.
getAddressHex() - Method in class ch.aplu.android.bluetooth.BluetoothClient
Returns the server address in colon hex format (NN:NN:NN:NN:NN:NN).
getAddressLong() - Method in class ch.aplu.android.bluetooth.BluetoothClient
Returns the server address as long.
getAdjacentLocation(double, int) - Method in class ch.aplu.android.Location
Gets the adjacent location of a cell where a displacement arrow from the current center of the current cell with given direction and length = (distance + epsilon) * cellSize ends up.
getAdjacentLocation(Location.CompassDirection, int) - Method in class ch.aplu.android.Location
Same as getAdjacentLocation(double direction, int distance) with given compass direction.
getAdjacentLocation(double) - Method in class ch.aplu.android.Location
Same as getAdjacentLocation(double direction, 5).
getAdjacentLocation(Location.CompassDirection) - Method in class ch.aplu.android.Location
Same as getAdjacentLocation(double direction, 5) with given compass direction.
getAppName() - Method in class ch.aplu.android.GameGrid
Returns the app name of the current application.
getAudioVolume() - Method in class ch.aplu.android.GameGrid
Returns the current relative audio volume set by the sound control (0: mute, 1: maximal sound volume)
getAzimuthCalc(float[], float[]) - Static method in class ch.aplu.android.GGSensor
Returns the azimuth calculated from given gravity and earth magnetic field.
getBackground() - Method in class ch.aplu.android.Actor
Returns the GGBackground reference of the actor's game grid.
getBackgroundColor() - Method in class ch.aplu.android.GGStatusBar
Returns the background color attribute (default: Color.rgb(90, 90, 90)).
getBatteryLevel() - Method in class ch.aplu.android.ev3.LegoRobot
Returns the battery level.
getBatteryLevel() - Method in class ch.aplu.android.nxt.NxtRobot
Returns the battery level.
getBg() - Method in class ch.aplu.android.GameGrid
Provides access to the GGBackground instance.
getBgAry() - Method in class ch.aplu.android.GGBackground
 
getBgBitmap() - Method in class ch.aplu.android.GGBackground
Returns the Bitmap reference of the current background buffer.
getBgBuffer() - Method in class ch.aplu.android.GGBackground
Returns the Bitmap reference of the current background (offscreen buffer).
getBgColor() - Method in class ch.aplu.android.GGBackground
Returns the current background color.
getBgImage() - Method in class ch.aplu.android.GGBackground
Returns the Bitmap reference of the current background image.
getBgImagePath() - Method in class ch.aplu.android.GameGrid
Returns to path to the background image file.
getBgImagePos() - Method in class ch.aplu.android.GameGrid
Returns the x-y-coordinates of the upper left corner of the background image with respect to the playground pixel coordinates.
getBgImagePosX() - Method in class ch.aplu.android.GameGrid
Returns the x-coordinate of the upper left corner of the background image with respect to the playground pixel coordinates.
getBgImagePosY() - Method in class ch.aplu.android.GameGrid
Returns the y-coordinate of the upper left corner of the background image with respect to the playground pixel coordinates.
getBitmap(String) - Static method in class ch.aplu.android.GGBitmap
Loads the image from given image file and returns the Bitmap reference for this image.
getBitmap() - Method in class ch.aplu.android.GGBitmap
Returns the bitmap attributed to this GGBitmap.
getBluetoothAdapter(Activity) - Static method in class ch.aplu.android.bluetooth.BluetoothDiscovery
Returns the default Bluetooth adapter of the given activity.
getBoardSize() - Method in class ch.aplu.jcardgame.CardGame
Returns the (real) size of the square card playground in pixel units.
getBoardType() - Method in class ch.aplu.jcardgame.CardGame
Returns the current BoardType enumeration.
getBorderColor() - Method in class ch.aplu.android.GGParams
Returns the color of the frame border.
getBorderColor() - Method in class ch.aplu.android.GGStatusBar
Returns the border color attribute (default: Color.WHITE).
getButtons() - Method in class ch.aplu.android.GGRadioButtonGroup
Returns a list of all buttons added to the group.
getCamera() - Method in class ch.aplu.android.GGCamera
Returns the camera reference.
getCanvas() - Method in class ch.aplu.android.GameGrid
Provides access to the canvas of the current activity.
getCanvas() - Method in class ch.aplu.android.GGBackground
Returns a Canvas reference of the current background pffscreen buffer.
getCanvas() - Method in class ch.aplu.android.GGBitmap
Returns a Canvas reference of the current background.
getCard() - Method in class ch.aplu.jcardgame.CardActor
Return the card the current card actor belongs to.
getCard(int) - Method in class ch.aplu.jcardgame.Hand
Returns card reference of card in this hand with given card number.
getCard(T, R) - Method in class ch.aplu.jcardgame.Hand
Returns card reference of the card in this hand with given suit and rank.
getCardActor() - Method in class ch.aplu.jcardgame.Card
Returns the card actor reference of the card.
getCardAlignment() - Method in class ch.aplu.jcardgame.ColumnLayout
Returns the current card alignment
getCardAlignment() - Method in class ch.aplu.jcardgame.FanLayout
Returns the current card alignment
getCardAlignment() - Method in class ch.aplu.jcardgame.RowLayout
Returns the current card alignment
getCardDimension() - Method in class ch.aplu.jcardgame.Deck
Returs the real card dimensions of the card with suit and rank id zero.
getCardList() - Method in class ch.aplu.jcardgame.Hand
Returns the card list of the current hand.
getCardNumber() - Method in class ch.aplu.jcardgame.Card
Returns the card number of the current card.
getCardNumber(T, R) - Method in class ch.aplu.jcardgame.Deck
Returns the card number of the card with given suit and rank.
getCardOrientation() - Method in class ch.aplu.jcardgame.TargetArea
Returns the current card orientation.
getCardsWithRank(R) - Method in class ch.aplu.jcardgame.Hand
Returns a list containing the card references of all cards with given rank.
getCardsWithSuit(T) - Method in class ch.aplu.jcardgame.Hand
Returns a list containing the card references of all cards with given suit.
getCardValues(Enum) - Method in class ch.aplu.jcardgame.Deck
Returns an integer array of the card values in the given suit.
getCellSize() - Method in class ch.aplu.android.GameGrid
Returns the size of a cell (in pixels).
getCellSize() - Method in class ch.aplu.android.GGParams
Returns the cell size.
getCellZoom() - Method in class ch.aplu.android.GGParams
Returns a reference to CellZoom for device adaptive zooming in grid based games.
getCenter() - Method in class ch.aplu.android.GGCircle
Returns a copy of the center of the circle.
getCenter() - Method in class ch.aplu.android.GGRectangle
Returns a vector that points to the center of the rectangle.
getCenter(Location) - Method in class ch.aplu.android.GGTileMap
Returns the current center of tile at given map location with respect to the playground coordinate system (origin at upper left vertex, x-coordinate to the left, y-coordinate downwards).
getCenter() - Method in class ch.aplu.jcardgame.FanLayout
Returns the current center.
getCircumradius() - Method in class ch.aplu.android.GGRectangle
Returns the circumradius of the rectangle.
getCollisionActors() - Method in class ch.aplu.android.Actor
Returns a list of partners that are collision candidates.
getCollisionActorsInRange(double, Class, int) - Method in class ch.aplu.android.Actor
Returns all collision candidates who belongs to a given class whose collision areas of the image with given sprite id intersects the circle with specified radius.
getCollisionTiles() - Method in class ch.aplu.android.Actor
Returns a list of tile locations that are collision candidates.
getColor() - Method in class ch.aplu.android.ev3.ColorSensor
Polls the sensor.
getColor() - Method in class ch.aplu.android.ev3.HTColorSensor
Polls the sensor.
getColor() - Method in class ch.aplu.android.ev3.NxtColorSensor
Polls the sensor.
getColor(Point) - Method in class ch.aplu.android.GGBackground
Returns the color of the pixel of the background at given point.
getColor(Location) - Method in class ch.aplu.android.GGBackground
Returns the color of the pixel of the background at given cell's center.
getColor(Point) - Method in class ch.aplu.android.GGBitmap
Returns the color of the pixel of the bitmap at given point.
getColorID() - Method in class ch.aplu.android.ev3.ColorSensor
Returns a integer number ID for the current color reading.
getColorID() - Method in class ch.aplu.android.ev3.HTColorSensor
Returns the color ID (0..17).
getColorInt() - Method in class ch.aplu.android.ev3.HTColorSensor
Polls the sensor.
getColorInt() - Method in class ch.aplu.android.ev3.NxtColorSensor
Polls the sensor.
getColorLabel() - Method in class ch.aplu.android.ev3.ColorSensor
Returns one of the enums of ColorLabel.
getColorNames() - Static method in class ch.aplu.android.X11Color
Returns the implemented X11 color names.
getColumnHeight() - Method in class ch.aplu.jcardgame.ColumnLayout
Returns the current column height.
getCommand(int) - Method in class ch.aplu.android.ev3.IRRemoteSensor
Returns the command code corresponding to the currently pressed buttons on the the Remote IR Command.
getCommandStr(int) - Method in class ch.aplu.android.ev3.IRRemoteSensor
Returns the string represention of the command code corresponding to the currently pressed buttons on the the Remote IR Command.
getCompassDirectionTo(Location) - Method in class ch.aplu.android.Location
Returns the compass direction restricted to 8 sectors from the current location the given location.
getContext() - Method in class ch.aplu.android.GameGrid
Provides access to the Context instance of the current activity.
getCurrentImage() - Method in class ch.aplu.android.Actor
Returns the bitmap of the currently visible sprite picture.
getData(byte, int) - Method in class ch.aplu.android.nxt.CompassSensor
Overrides I2CSensor.getData() because of unreliability when retrieving more than a single byte at a time with some I2C sensors.
getData(byte, int) - Method in class ch.aplu.android.nxt.I2CSensor
Retrieves data from the sensor.
getDeck() - Method in class ch.aplu.jcardgame.Card
Returns the deck reference attributed to this card.
getDegrees() - Method in class ch.aplu.android.nxt.CompassSensor
Polls the sensor.
getDiagonalLocations(Location, boolean) - Method in class ch.aplu.android.GameGrid
Returns a list of all grid locations that are on the diagonal line through the given location.
getDimension() - Method in class ch.aplu.jcardgame.Card
Returns the current card dimension (scaling accounted).
getDirection() - Method in class ch.aplu.android.Actor
Gets the current direction.
getDirection() - Method in class ch.aplu.android.ev3.HTInfraredSeeker
Returns the direction (1..9) to the detected infrared source.
getDirection() - Method in class ch.aplu.android.ev3.HTInfraredSeekerV2
Returns the direction (1..9) to the detected infrared source.
getDirection() - Method in class ch.aplu.android.ev3.Vector2D
Returns the direction of the vector (range 0..2*pi)
getDirection() - Method in class ch.aplu.android.GGRectangle
Direction of edges[0], zero to west, clockwise 0..2*pi
getDirection() - Method in class ch.aplu.android.GGVector
Returns the direction of the vector (range 0..2*pi)
getDirection() - Method in enum ch.aplu.android.Location.CompassDirection
Returns the direction in degrees (0 to east, clockwise).
getDirectionStart() - Method in class ch.aplu.android.Actor
Returns the start direction.
getDirectionTo(Location) - Method in class ch.aplu.android.Location
Returns the direction from the current location to the given location.
getDisplacePosition() - Method in class ch.aplu.android.Actor
Returns the current displace position.
getDistance() - Method in class ch.aplu.android.ev3.IRDistanceSensor
Polls the sensor.
getDistance() - Method in class ch.aplu.android.ev3.NxtUltrasonicSensor
Polls the sensor.
getDistance() - Method in class ch.aplu.android.ev3.UltrasonicSensor
Polls the sensor.
getDistance() - Method in class ch.aplu.android.nxt.UltrasonicSensor
Polls the sensor.
getDistanceTo(Location) - Method in class ch.aplu.android.Location
Returns the distance from the current location to the given location (in cellsize units, rounded to integer).
getDividingPoint(Point, Point, double) - Static method in class ch.aplu.android.GGLine
Returns the point on the line through the point pt1 and the point pt2 that is in distance ratio times the length from pt1 to pt2 from pt1.
getEdges() - Method in class ch.aplu.android.GGRectangle
Returns a GGVector array with 4 GGVectors whoses values are copies of the original edges.
getEmptyLocations() - Method in class ch.aplu.android.GameGrid
Returns a list of all locations not occupied by actors.
getEndDir() - Method in class ch.aplu.jcardgame.FanLayout
Returns the current end direction.
getEndPoint() - Method in class ch.aplu.android.GGLine
Returns the end point (GGVector components casted to int).
getEndVector() - Method in class ch.aplu.android.GGLine
Returns the end vector.
getEvent() - Method in class ch.aplu.android.GGMultiTouch
Retrieves the current event type as integer.
getEvent() - Method in class ch.aplu.android.GGTouch
Retrieves the current event type as integer.
getEventType() - Method in class ch.aplu.android.GGMultiTouch
Returns the event type as string.
getEventType() - Method in class ch.aplu.android.GGTouch
Returns the event type as string.
getExitLocation() - Method in class ch.aplu.android.GGMaze
Returns the location of the exit cell.
getFilename() - Method in class ch.aplu.android.ToolBarItem
Returns the filename of the sprite image.
getFirst() - Method in class ch.aplu.jcardgame.Hand
Returns card reference of the first card or null if the hand is empty.
getFrameBuffer() - Method in class ch.aplu.android.GameGrid
Provides access to the offscreen buffer of the current activity.
getFreeMemory() - Static method in class ch.aplu.jcardgame.Deck
Returns the free memory available to the running program.
getGear() - Method in class ch.aplu.android.ev3.NxtTurtleRobot
Returns the gear used as component of the turtle.
getGear() - Method in class ch.aplu.android.ev3.TurtleRobot
Returns the gear used as component of the turtle.
getGear() - Method in class ch.aplu.android.nxt.TurtleRobot
Returns the gear used as component of the turtle.
getGridColor() - Method in class ch.aplu.android.GameGrid
Returns the color of the grid.
getGridColor() - Method in class ch.aplu.android.GGParams
Returns the color of the grid.
getHand() - Method in class ch.aplu.jcardgame.Card
Returns the hand the card belongs to.
getHandLocation() - Method in class ch.aplu.jcardgame.Hand
Returns a clone of the hand location.
getHandLocation() - Method in class ch.aplu.jcardgame.HandLayout
Returns the current hand location.
getHeight(int) - Method in class ch.aplu.android.Actor
Returns the height of the sprite with given id.
getHeight() - Method in class ch.aplu.android.GGRectangle
Returns the height of the rectangle.
getHeigth() - Method in class ch.aplu.android.GGTileMap
Returns total height (in pixels units) of the tile map.
getId() - Method in class ch.aplu.android.ev3.SensorPort
Return the port id (0 for S1, 1 for S2, 2 for S3, 3 for S4).
getIdVisible() - Method in class ch.aplu.android.Actor
Returns the id of the visible sprite.
getImage(int) - Method in class ch.aplu.android.Actor
Returns the bitmap of the originally loaded sprite with given sprite id.
getImage() - Method in class ch.aplu.android.Actor
Returns the bitmap of the originally loaded sprite with id = 0.
getImage() - Method in class ch.aplu.android.GameGrid
Returns the Bitmap reference of the current GameGrid window including the background and all actors.
getImg() - Method in class ch.aplu.util.Complex
Get method for imaginary part.
getInputStream() - Method in class ch.aplu.android.bluetooth.BluetoothClient
Returns the InputStream of the Bluetooth connection.
getInputStream() - Method in class ch.aplu.android.bluetooth.BluetoothServer
Returns the InputStream of the Bluetooth connection.
getInputStream() - Method in class ch.aplu.android.ev3.LegoRobot
Returns the InputStream reference of the connection link.
getInstalledApps(boolean, boolean) - Method in class ch.aplu.android.GameGrid
Returns information about installed applications.
getIntDirection() - Method in class ch.aplu.android.Actor
Gets the current direction rounded to the next integer.
getIntValue(int) - Method in class ch.aplu.android.ev3.IRSeekSensor
Polls the sensor.
getIPAddress() - Method in class ch.aplu.android.ev3.LegoRobot
Returns the IP address (in dotted format).
getItem(int) - Method in class ch.aplu.android.ToolBar
Returns the tool bar item actor at the specified index of the item list.
getItemId() - Method in class ch.aplu.android.ToolBarStack
Returns the id of the item currently shown.
getLabel() - Method in class ch.aplu.android.ev3.SensorPort
Return the port label S1, S2, S3, S4.
getLast() - Method in class ch.aplu.jcardgame.Hand
Returns card reference of the last card or null if the hand is empty.
getLayout() - Method in class ch.aplu.jcardgame.Hand
Returns the reference of the current HandLayout.
getLightValue() - Method in class ch.aplu.android.ev3.NxtColorSensor
Returns the intensity of the detected light.
getLineLocations(Location, Location, boolean) - Method in class ch.aplu.android.GameGrid
Returns a list of cell grid locations whose cell centers are exactly on the the line through the centers of loc1 and loc1.
getLineWidth() - Method in class ch.aplu.android.GGBackground
Returns the current line width in pixels.
getLocation() - Method in class ch.aplu.android.Actor
Returns the current location (horizontal and vertical coordinates).
getLocation() - Method in class ch.aplu.jcardgame.CardActor
Returns the current virtual location (horizontal and vertical coordinates).
getLocation() - Method in class ch.aplu.jcardgame.CardCover
Returns the current virtual location (horizontal and vertical coordinates).
getLocationOffset() - Method in class ch.aplu.android.Actor
Returns the pixel offset in x- and y-direction relative to the current location.
getLocationStart() - Method in class ch.aplu.android.Actor
Returns the start location (horizontal and vertical coordinates).
getLocationStart() - Method in class ch.aplu.jcardgame.CardActor
Returns the virtual start location (horizontal and vertical coordinates).
getLocationStart() - Method in class ch.aplu.jcardgame.CardCover
Returns the virtual start location (horizontal and vertical coordinates).
getMagneticField(int) - Method in class ch.aplu.android.GGComboSensor
Returns the current magnetic field components.
getMaxPosition(Hand.SortType) - Method in class ch.aplu.jcardgame.Hand
Compares the cards in the card list using the given compare type.
getMotLeft() - Method in class ch.aplu.android.nxt.Gear
Returns left motor of the gear.
getMotorCount() - Method in class ch.aplu.android.ev3.GenericMotor
Returns current value of the rotation counter.
getMotRight() - Method in class ch.aplu.android.nxt.Gear
Returns right motor of the gear.
getNbCycles() - Method in class ch.aplu.android.Actor
Returns the number of simulation cycles since last reset.
getNbCycles() - Method in class ch.aplu.android.GameGrid
Returns the number of simulation cycles since last reset.
getNbFiles(File) - Static method in class ch.aplu.android.GGPath
Returns number of files (subdirectories are not counted) in given directory.
getNbHorzCells() - Method in class ch.aplu.android.Actor
Returns number of cells of actor's game grid in horizontal direction.
getNbHorzCells() - Method in class ch.aplu.android.GameGrid
Returns the horizontal number of cells.
getNbHorzCells() - Method in class ch.aplu.android.GGParams
Returns the number of horizontal cells.
getNbHorzPix() - Method in class ch.aplu.android.GameGrid
Returns the horizontal number of pixels of the playground.
getNbHorzTiles() - Method in class ch.aplu.android.GGTileMap
Returns the number of horizontal tiles.
getNbSprites() - Method in class ch.aplu.android.Actor
Returns number of sprites.
getNbVertCells() - Method in class ch.aplu.android.Actor
Returns number of cells of actor's game grid in vertical direction.
getNbVertCells() - Method in class ch.aplu.android.GameGrid
Returns the vertical number of cells.
getNbVertCells() - Method in class ch.aplu.android.GGParams
Returns the number of vertical cells.
getNbVertPix() - Method in class ch.aplu.android.GameGrid
Returns the vertical number of pixels of the playground.
getNbVertTiles() - Method in class ch.aplu.android.GGTileMap
Returns the number of vertical tiles.
getNeighbourLocation(double) - Method in class ch.aplu.android.Location
Gets one of the 8 surrounding cells in given direction 45 degrees wide.
getNeighbourLocation(Location.CompassDirection) - Method in class ch.aplu.android.Location
Gets one of the 8 surrounding cells in the given compass directions.
getNeighbourLocations(double) - Method in class ch.aplu.android.Location
Returns all locations in a specified distance.
getNeighbours(double, Class) - Method in class ch.aplu.android.Actor
Returns all actors of specified class in a specified distance.
getNeighbours(double) - Method in class ch.aplu.android.Actor
Returns all actors in a specified distance.
getNextMoveLocation() - Method in class ch.aplu.android.Actor
Returns the target location of the next move().
getNormalized() - Method in class ch.aplu.android.ev3.Vector2D
Returns a new vector with magnitude 1 in the direction of the given vector.
getNormalized() - Method in class ch.aplu.android.ev3.Vector3D
Returns a new vector with magnitude 1 in the direction of the given vector.
getNormalized() - Method in class ch.aplu.android.GGVector
Returns a new vector with magnitude 1 in the direction of the given vector.
getNumberOfActors() - Method in class ch.aplu.android.GameGrid
Returns total number of actors in the scene.
getNumberOfActors(Class) - Method in class ch.aplu.android.GameGrid
Returns number of actors of specified class.
getNumberOfActorsAt(Location) - Method in class ch.aplu.android.GameGrid
Returns number of actors at specified location.
getNumberOfActorsAt(Location, Class) - Method in class ch.aplu.android.GameGrid
Returns number of actors of specified class at specified location.
getNumberOfCards() - Method in class ch.aplu.jcardgame.Deck
Returns the total number of cards in this deck.
getNumberOfCards() - Method in class ch.aplu.jcardgame.Hand
Returns the number of cards in the current hand.
getNumberOfCardsWithRank(R) - Method in class ch.aplu.jcardgame.Hand
Returns the number of cards of given rank in the current hand.
getNumberOfCardsWithSuit(T) - Method in class ch.aplu.jcardgame.Hand
Returns the number of cards of given suit in the current hand.
getNumberOfRanks() - Method in class ch.aplu.jcardgame.Deck
Returns the number of ranks in this deck.
getNumberOfSprites() - Method in class ch.aplu.android.ToolBarItem
Returns the number of sprite images specified for this actor.
getNumberOfSuits() - Method in class ch.aplu.jcardgame.Deck
Returns the number of suits in this deck.
getOccupiedLocations() - Method in class ch.aplu.android.GameGrid
Returns a list of all locations occupied by actors.
getOneActor(Class) - Method in class ch.aplu.android.GameGrid
Returns the actor of the specified class that is part of the game grid and is on top in the paint order.
getOneActorAt(Location, Class) - Method in class ch.aplu.android.GameGrid
Returns the actor of the specified class at the specified location that is part of the game grid and is on top in the paint order.
getOneActorAt(Location) - Method in class ch.aplu.android.GameGrid
Returns the actor at the specified location that is part of the game grid and is on top in the paint order.
getOrientation(int) - Method in class ch.aplu.android.GGComboSensor
Returns the current orientation angles (azimuth, pitch, roll).
getOutputStream() - Method in class ch.aplu.android.bluetooth.BluetoothClient
Returns the OutputStream of the Bluetooth connection.
getOutputStream() - Method in class ch.aplu.android.bluetooth.BluetoothServer
Returns the OutputStream of the Bluetooth connection.
getOutputStream() - Method in class ch.aplu.android.ev3.LegoRobot
Returns the OutputStream reference of the connection link.
getPaintColor() - Method in class ch.aplu.android.GGBackground
Returns the current myPaint color.
getPaintOrderList(Class) - Method in class ch.aplu.android.GameGrid
Returns a list with actor references of the given class in the order they are painted.
getPaintOrderList() - Method in class ch.aplu.android.GameGrid
Returns a list with actor references in the order they are painted.
getPairedDevice(String) - Method in class ch.aplu.android.bluetooth.BluetoothDiscovery
Retrieves the Bluetooth device with given friendly Bluetooth name from the database of paired devices.
getPairedDevices() - Method in class ch.aplu.android.bluetooth.BluetoothDiscovery
Returns a list of all remote Bluetooth devices that are paired with the local device.
getPairs() - Method in class ch.aplu.jcardgame.Hand
Returns all pairs (two cards with same rank) found in the current hand.
getPanel() - Method in class ch.aplu.android.GameGrid
Sets the float user coordinate system of the GGPanel to (xmin, xmax, ymin, ymax) = (0, 1, 0, 1) and returns a reference to the GGPanel.
getPanel(double, double, double, double) - Method in class ch.aplu.android.GameGrid
Sets the user coordinate system and returns a reference to the GGPanel (x from left to right, y from bottom to top).
getPanel(double, double, double) - Method in class ch.aplu.android.GameGrid
Sets the user coordinate system and returns a reference to the GGPanel (x from left to right, y from bottom to top).
getParameters() - Method in class ch.aplu.android.GGCamera
 
getParams() - Method in class ch.aplu.android.GameGrid
Returns a reference to the GGParam instance used when the application is started with a launcher app (see GGParams class for more information).
getPgHeight() - Method in class ch.aplu.android.GameGrid
Returns the height (vertical size) of the playground in pixel units.
getPgWidth() - Method in class ch.aplu.android.GameGrid
Returns the width (horizontal size) of the playground in pixel units.
getPhi() - Method in class ch.aplu.android.ev3.Vector3D
Returns the phi direction of the vector (range 0..2*pi).
getPitchCalc(float[]) - Static method in class ch.aplu.android.GGSensor
Returns the pitch calculated from given gravity and earth magnetic field.
getPixelColor(Point) - Method in class ch.aplu.android.Actor
Returns the color of the currently visible sprite image at given pixel position ((0,0) at upper left vertex, x-axis to the right, y-axis downwards).
getPixelLocation() - Method in class ch.aplu.android.Actor
Returns the location of the actor center in pixel coordinates taking into account the current location offset (default offset is 0).
getPointerCount() - Method in class ch.aplu.android.GGMultiTouch
Retrieves the current number of pointers
getPointerId() - Method in class ch.aplu.android.GGMultiTouch
Retrieves the current pointer id.
getPortId() - Method in class ch.aplu.android.ev3.GenericMotor
Returns the port number.
getPortId() - Method in class ch.aplu.android.nxt.Motor
Returns the port number.
getPortLabel() - Method in class ch.aplu.android.ev3.GenericMotor
Returns the port label.
getPortLabel() - Method in class ch.aplu.android.nxt.Motor
Returns the port label.
getPosition() - Method in class ch.aplu.android.GGTileMap
Returns current position of upper left vertex with respect to the playground coordinate system (origin at upper left vertex, x-coordinate to the left, y-coordinate downwards).
getProductID() - Method in class ch.aplu.android.ev3.PrototypeSensor
Returns the product identifier (if available).
getProductID() - Method in class ch.aplu.android.ev3.RFIDSensor
Returns the product identifier (if available).
getProductID() - Method in class ch.aplu.android.ev3.SuperProSensor
Returns the product identifier (if available).
getProductID() - Method in class ch.aplu.android.nxt.I2CSensor
Returns the Product ID as a string.
getProperties() - Method in class ch.aplu.android.GGCamera
Returns important camera properties as string information.
getQuads() - Method in class ch.aplu.jcardgame.Hand
Returns all quads (four cards with same rank) found in the current hand.
getRadius() - Method in class ch.aplu.android.GGCircle
Returns the radius of the circle.
getRadius() - Method in class ch.aplu.jcardgame.FanLayout
Returns the current radius.
getRandomDirection() - Method in class ch.aplu.android.GameGrid
Returns a random direction 0..360 degrees.
getRandomEmptyLocation() - Method in class ch.aplu.android.GameGrid
Returns an empty random location within the game grid.
getRandomLocation() - Method in class ch.aplu.android.GameGrid
Returns a random location within the game grid.
getRank() - Method in class ch.aplu.jcardgame.Card
Returns the card's rank
getRank(int) - Method in class ch.aplu.jcardgame.Deck
Returns the rank corresponding the given rank id.
getRankId() - Method in class ch.aplu.jcardgame.Card
Returns the card's rank id.
getRankId(R) - Method in class ch.aplu.jcardgame.Deck
Returns an integer id of the given rank (0: for rank with highest priority)
getRankId(int) - Method in class ch.aplu.jcardgame.Deck
Returns the rank id for the given card number.
getRankName(int) - Method in class ch.aplu.jcardgame.Deck
Returns the rank name as string for the given card number The cards are numbered from 0 in the suit and rank priority order given when the deck is created (the following numbering is used: all card from high to low rank of the cards in the highest priority suit, in the next suit, etc.)
getReal() - Method in class ch.aplu.util.Complex
Get method for real part.
getRollCalc(float[]) - Static method in class ch.aplu.android.GGSensor
Returns the roll calculated from given gravity and earth magnetic field.
getRotatedImage(Bitmap, double) - Static method in class ch.aplu.android.Actor
Deprecated.
Use GGBitmap.getRotatedImage instead. GGBitmap.getRotatedImage(Bitmap bitmap, double angle)
getRotatedImage(Bitmap, double) - Static method in class ch.aplu.android.GGBitmap
Returns the bitmap rotated by the given angle.
getRotatedImage(String, double) - Static method in class ch.aplu.android.GGBitmap
Returns the bitmap from the given file rotated by the given angle.
getRotatedPosition(GGVector, Point, double) - Static method in class ch.aplu.android.Actor
Returns a new position vector of given position vector rotated with given center point by given angle.
getRotation() - Method in class ch.aplu.android.GameGrid
Returns the rotation string used to detect the difference between a coordinate system that is fixed to the device and a coordinate system that depends on the current device orientation.
getRotationAngle() - Method in class ch.aplu.jcardgame.Card
Returns the current rotation angle.
getRotationAngle() - Method in class ch.aplu.jcardgame.ColumnLayout
Returns the current rotation angle.
getRotationAngle() - Method in class ch.aplu.jcardgame.RowLayout
Returns the current rotation angle.
getRotationAngle() - Method in class ch.aplu.jcardgame.StackLayout
Returns the current rotation angle.
getRotationIndex() - Method in class ch.aplu.android.Actor
Returns the current rotation index for rotatable actors.
getRowWidth() - Method in class ch.aplu.jcardgame.RowLayout
Returns the current row width.
getScaledImage(Bitmap, double, double) - Static method in class ch.aplu.android.Actor
Deprecated.
getScaledImage(int, double, double) - Method in class ch.aplu.android.Actor
Returns the sprite image scaled by the given factor and rotated to the given direction.
getScaledImage(double, double) - Method in class ch.aplu.android.Actor
Same as getScaledImage(int spriteId, double factor, double direction) with spriteId = 0.
getScaledImage(Bitmap, double, double) - Static method in class ch.aplu.android.GGBitmap
Returns the bitmap scaled by the given factor and rotated by the given angle.
getScaledImage(String, double, double) - Static method in class ch.aplu.android.GGBitmap
Returns the bitmap from the given file scaled by the given factor and rotated by the given angle.
getScaleFactor() - Method in class ch.aplu.jcardgame.Card
Returns the current scale (zoom) factor.
getScaleFactor() - Method in class ch.aplu.jcardgame.HandLayout
Returns the current scale factor.
getScore() - Method in class ch.aplu.jcardgame.Hand
Returns the sum of the card values (card points) of all card in the hand.
getScreenOrientation() - Method in class ch.aplu.android.GameGrid
Returns the current screen orientation (1: portrait, 2: landscape).
getScreenResolution(boolean) - Method in class ch.aplu.android.GameGrid
Returns the screen resolution in pixel/inch or pixel/m
getScreenRotation() - Method in class ch.aplu.android.GameGrid
Returns a description of the current screen rotation.
getSeedActor(T, R) - Method in class ch.aplu.jcardgame.Deck
Returns the JGameGrid actor attributed to the card with the specified suit and rank.
getSelectedButton() - Method in class ch.aplu.android.GGRadioButtonGroup
Returns the currently selected button.
getSelectedButtonId() - Method in class ch.aplu.android.GGRadioButtonGroup
Returns the id of the currently selected button.
getSelectedItemIds() - Static method in class ch.aplu.android.ToolBarStack
Returns an array with length equals to the number of stacks.
getSelectedStacks() - Static method in class ch.aplu.android.ToolBarStack
Returns an array of all stacks that have the current item selected.
getSensorType() - Method in class ch.aplu.android.nxt.I2CSensor
Returns the type of sensor as a string.
getSequences(int) - Method in class ch.aplu.jcardgame.Hand
Returns all sequences found in the current hand with mixed suits with given length (>2).
getSequences(T, int) - Method in class ch.aplu.jcardgame.Hand
Returns all sequences found in the current hand that have given suit with given length (>2).
getShader() - Method in class ch.aplu.android.GGBackground
Returns the current shader.
getSimulationPeriod() - Method in class ch.aplu.android.GameGrid
Returns the simulation period.
getSlideStep() - Method in class ch.aplu.jcardgame.TargetArea
Returns the curren slide step (steps per simulation cycle to move the card in an animated transfer).
getSlowDown() - Method in class ch.aplu.android.Actor
Returns the current slow down factor.
getSocket() - Method in class ch.aplu.android.bluetooth.BluetoothClient
Returns the BluetoothSocket of the Bluetooth connection.
getSocket() - Method in class ch.aplu.android.bluetooth.BluetoothServer
Returns the Bluetooth socket of the current connection.
getSortType() - Method in class ch.aplu.jcardgame.Hand
Returns the compare type for cards used for sorting.
getSource() - Method in class ch.aplu.android.GGMultiTouch
Retrieves the GGMultiTouchListener reference that created the event.
getSource() - Method in class ch.aplu.android.GGTouch
Retrieves the GGTouchListener reference that created the event.
getSpeed() - Method in class ch.aplu.android.ev3.GenericGear
Returns the current speed (arbitrary units).
getSpeed() - Method in class ch.aplu.android.ev3.GenericMotor
Returns the current speed (arbitrary units).
getSpeed() - Method in class ch.aplu.android.nxt.Gear
Returns the current speed (arbitrary units).
getSpeed() - Method in class ch.aplu.android.nxt.Motor
Returns the current speed (arbitrary units).
getStartDir() - Method in class ch.aplu.jcardgame.FanLayout
Returns the current start direction.
getStartLocation() - Method in class ch.aplu.android.GGMaze
Returns the location of the entry cell.
getStartPoint() - Method in class ch.aplu.android.GGLine
Returns the start point (GGVector components casted to int).
getStartVector() - Method in class ch.aplu.android.GGLine
Returns the start vector.
getStepDelay() - Method in class ch.aplu.jcardgame.ColumnLayout
Returns the current step delay.
getStepDelay() - Method in class ch.aplu.jcardgame.FanLayout
Returns the current step delay.
getStepDelay() - Method in class ch.aplu.jcardgame.RowLayout
Returns the current step delay.
getSuit() - Method in class ch.aplu.jcardgame.Card
Returns the card's suit.
getSuit(int) - Method in class ch.aplu.jcardgame.Deck
Returns the suit corresponding the given suit id.
getSuitId() - Method in class ch.aplu.jcardgame.Card
Returns the card's suit id.
getSuitId(T) - Method in class ch.aplu.jcardgame.Deck
Returns an integer id of the given suit (0: for suit with highest priority)
getSuitId(int) - Method in class ch.aplu.jcardgame.Deck
Returns the suit id for the card with the given card number.
getSuitName(int) - Method in class ch.aplu.jcardgame.Deck
Returns the suit name as string for the card with the given card number.
getTargetArea() - Method in class ch.aplu.jcardgame.Hand
Returns a reference to the current target area.
getTargetLocation() - Method in class ch.aplu.jcardgame.TargetArea
Returns a clone of the current target location.
getTextActor() - Method in class ch.aplu.android.GGTextField
Returns the current TextActor used for this text field.
getTextColor() - Method in class ch.aplu.android.GGStatusBar
Returns the text color attribute (default: Color.WHITE).
getTextHeight() - Method in class ch.aplu.android.GGStatusBar
Returns the text height attribute.
getTextHeight() - Method in class ch.aplu.android.GGTextField
Returns the height of the text.
getTextHeight() - Method in class ch.aplu.android.TextActor
Returns the height of the text.
getTextWidth() - Method in class ch.aplu.android.GGStatusBar
Returns the width of last text given by setText().
getTextWidth() - Method in class ch.aplu.android.GGTextField
Returns the total width of the text.
getTextWidth() - Method in class ch.aplu.android.TextActor
Returns the total width of the text.
getTheta() - Method in class ch.aplu.android.ev3.Vector3D
Returns the phi direction of the vector (range 0..2*pi).
getTileMap() - Method in class ch.aplu.android.GameGrid
Returns the reference to the GGTileMap.
getTime() - Static method in class ch.aplu.android.ev3.Tools
Gets the timer's time.
getTime() - Static method in class ch.aplu.android.GameGrid
Returns the current system time as formatted string.
getTime() - Static method in class ch.aplu.android.nxt.Tools
Gets the timer's time.
getTime() - Method in class ch.aplu.util.BaseAlarmTimer
Return the current time in microseconds (us).
getTime() - Method in class ch.aplu.util.BaseTimer
Return the current timer's value in microseconds (us).
getTouchedActors(Class) - Method in class ch.aplu.android.GameGrid
Returns a list with actor references of all actors of the given class whose touched area (of type IMAGE, RECTANGLE or CIRCLE) intersects with the current mouse touch position.
getTouchLocation() - Method in class ch.aplu.android.GameGrid
Returns the cell location of the cell under the touch position or null, if the game grid is not visible.
getTouchPosition() - Method in class ch.aplu.android.GameGrid
Returns the current touch position or null, if there is currently no touch.
getTransponderId() - Method in class ch.aplu.android.ev3.RFIDSensor
Polls the sensor.
getTrips() - Method in class ch.aplu.jcardgame.Hand
Returns all trips (three cards with same rank) found in the current hand.
getTurtleSpeed() - Method in class ch.aplu.android.ev3.NxtTurtleRobot
Returns the current turtle speed.
getTurtleSpeed() - Method in class ch.aplu.android.ev3.TurtleRobot
Returns the current turtle speed.
getTurtleSpeed() - Method in class ch.aplu.android.nxt.TurtleRobot
Returns the current turtle speed.
getType() - Method in class ch.aplu.android.GGSensor
Returns the sensor type (constants defined in android.hardware.Sensor).
getUl() - Method in class ch.aplu.android.GameGrid
Returns the coordinates of the upper-left vertex of the game grid with respect to the screen.
getUlx() - Method in class ch.aplu.android.GameGrid
Returns the x-coordinates of the upper-left vertex of the game grid with respect to the screen.
getUly() - Method in class ch.aplu.android.GameGrid
Returns the y-coordinates of the upper-left vertex of the game grid with respect to the screen.
getUpperLeftVertex(Location) - Method in class ch.aplu.android.GGTileMap
Returns the current coordinates of the upper left vertex of tile at given map location with respect to the playground coordinate system (origin at upper left vertex, x-coordinate to the left, y-coordinate downwards).
getUserHeight() - Method in class ch.aplu.android.GGPanel
Returns the height (y-direction) in user coordinates.
getUserWidth() - Method in class ch.aplu.android.GGPanel
Returns the width (x-direction) in user coordinates.
getValue() - Method in class ch.aplu.android.ev3.GyroAngleSensor
Returns the orientation of the sensor in repect to its start orientation.
getValue() - Method in class ch.aplu.android.ev3.GyroRateSensor
Returns the angular velocity.
getValue() - Method in class ch.aplu.android.ev3.HTAccelerometer
Returns the ax, ay, az acceleration in a Vector3D.
getValue() - Method in class ch.aplu.android.ev3.HTBarometer
Returns the barometric pressure.
getValue() - Method in class ch.aplu.android.ev3.HTCompassSensor
Returns the compass direction.
getValue() - Method in class ch.aplu.android.ev3.HTGyroSensor
Returns the angular velocity.
getValue(int) - Method in class ch.aplu.android.ev3.IRSeekSensor
Polls the sensor.
getValue() - Method in class ch.aplu.android.ev3.LightSensor
Polls the sensor.
getValue() - Method in class ch.aplu.android.ev3.NxtLightSensor
Polls the sensor.
getValue() - Method in class ch.aplu.android.ev3.NxtSoundSensor
Polls the sensor.
getValue() - Method in class ch.aplu.android.ev3.OpticalDistanceSensor
Returns the distance from the object in millimeters.
getValue() - Method in class ch.aplu.android.nxt.LightSensor
Polls the sensor.
getValue() - Method in class ch.aplu.android.nxt.SoundSensor
Polls the sensor.
getValue() - Method in class ch.aplu.jcardgame.Card
Returns the value of the card.
getValues() - Method in class ch.aplu.android.GGSensor
Returns the last values received from the sensor.
getVelocity() - Method in class ch.aplu.android.ev3.GenericGear
Returns the current velocity.
getVelocity() - Method in class ch.aplu.android.ev3.GenericMotor
Returns the current velocity.
getVelocity() - Method in class ch.aplu.android.nxt.Gear
Returns the current velocity.
getVelocity() - Method in class ch.aplu.android.nxt.Motor
Returns the current velocity.
getVersion() - Static method in class ch.aplu.android.ev3.LegoRobot
Returns library version information.
getVersion() - Method in class ch.aplu.android.ev3.PrototypeSensor
Returns the sensor version number (if available).
getVersion() - Method in class ch.aplu.android.ev3.RFIDSensor
Returns the sensor version number (if available).
getVersion() - Method in class ch.aplu.android.ev3.SuperProSensor
Returns the sensor version number (if available).
getVersion() - Method in class ch.aplu.android.GameGrid
Returns current version information.
getVersion() - Method in class ch.aplu.android.nxt.I2CSensor
Returns the version number of the sensor hardware.
getVersion() - Static method in class ch.aplu.android.nxt.NxtRobot
Returns library version information.
getVertexes() - Method in class ch.aplu.android.GGLine
Returns the vertexes of the line (startVector, endVector).
getVertexes() - Method in class ch.aplu.android.GGRectangle
Returns a GGVector array with 4 GGVectors whoses values are copies of the original vertexes.
getVibrator() - Method in class ch.aplu.android.GameGrid
Returns the vibrator reference for this context.
getView() - Method in class ch.aplu.android.GameGrid
Provides access to the View instance of the current activity.
getVirtualCardDimension() - Method in class ch.aplu.jcardgame.Deck
Returs the virtual card dimensions of the card with suit and rank id zero.
getVirtualPgHeight() - Method in class ch.aplu.android.GameGrid
Returns the virtual height (vertical size) of the playground in pixel units.
getVirtualPgWidth() - Method in class ch.aplu.android.GameGrid
Returns the virtual width (horizontal size) of the playground in pixel units.
getWidth(int) - Method in class ch.aplu.android.Actor
Returns the width of the sprite with given id.
getWidth() - Method in class ch.aplu.android.GGRectangle
Returns the width of the rectangle.
getWidth() - Method in class ch.aplu.android.GGTileMap
Returns total width (in pixels units) of the tile map.
getWidth() - Method in class ch.aplu.android.ToolBar
Returns the total real width of the tool bar.
getWindowZoom() - Method in class ch.aplu.android.GGParams
Returns a reference to WindowZoom for device adaptive zooming in 1 pixel games.
getX() - Method in class ch.aplu.android.Actor
Returns the current horizontal coordinate.
getX() - Method in class ch.aplu.android.GGMultiTouch
Retrieves the current x-coordinate of the touch position with respect to the upper left vertex of the visible area in pixels.
getX() - Method in class ch.aplu.android.GGTouch
Retrieves the current x-coordinate of the touch position with respect to the upper left vertex of the visible area in pixels.
getX() - Method in class ch.aplu.android.Location
Gets the horizontal cell coordinate (index).
getX() - Method in class ch.aplu.android.PointD
Gets the x coordinate
getX() - Method in class ch.aplu.jcardgame.CardActor
Returns the current virtual horizontal coordinate.
getX() - Method in class ch.aplu.jcardgame.CardCover
Returns the current virtual horizontal coordinate.
getXmax() - Method in class ch.aplu.android.GGPanel
Returns the right value of the x-coordinate axis.
getXmin() - Method in class ch.aplu.android.GGPanel
Returns the left value of the x-coordinate axis.
getXStart() - Method in class ch.aplu.android.Actor
Returns the x-coordinate of the start location.
getXStart() - Method in class ch.aplu.jcardgame.CardActor
Returns the virtual x-coordinate of the start location.
getXStart() - Method in class ch.aplu.jcardgame.CardCover
Returns the virtual x-coordinate of the start location.
getY() - Method in class ch.aplu.android.Actor
Returns the current vertical coordinate.
getY() - Method in class ch.aplu.android.GGMultiTouch
Retrieves the current x-coordinate of the touch position with respect to the upper left vertex of the visible area in pixels.
getY() - Method in class ch.aplu.android.GGTouch
Retrieves the current x-coordinate of the touch position with respect to the upper left vertex of the visible area in pixels.
getY() - Method in class ch.aplu.android.Location
Gets the vertical cell coordinate (index).
getY() - Method in class ch.aplu.android.PointD
Gets the y coordinate
getY() - Method in class ch.aplu.jcardgame.CardActor
Returns the current virtual vertical coordinate.
getY() - Method in class ch.aplu.jcardgame.CardCover
Returns the current virtual vertical coordinate.
getYmax() - Method in class ch.aplu.android.GGPanel
Returns the top value of the y-coordinate axis.
getYmin() - Method in class ch.aplu.android.GGPanel
Returns the bottom value of the y-coordinate axis.
getYStart() - Method in class ch.aplu.android.Actor
Returns the y-coordinate of the start location.
getYStart() - Method in class ch.aplu.jcardgame.CardActor
Returns the virtual y-coordinate of the start location.
getYStart() - Method in class ch.aplu.jcardgame.CardCover
Returns the virtual y-coordinate of the start location.
getZoomedImage(Bitmap, double) - Static method in class ch.aplu.android.Actor
Deprecated.
Use GGBitmap.getZoomedImage instead. GGBitmap.getZoomedImage(Bitmap bitmap, double factor)
getZoomedImage(Bitmap, double) - Static method in class ch.aplu.android.GGBitmap
Returns the bitmap scaled by the given factor.
getZoomedImage(String, double) - Static method in class ch.aplu.android.GGBitmap
Returns the bitmap from the given file scaled by the given factor.
getZoomFactor() - Method in class ch.aplu.android.GameGrid
Returns the current zoom factor (set by setZoomFactor() or constructor parameters).
GGActListener - Interface in ch.aplu.android
Declarations of the notification method called in every simulation cycle.
GGActorCollisionListener - Interface in ch.aplu.android
Declarations of the notification method called when two actors collide.
GGActorTouchListener - Interface in ch.aplu.android
Declarations of the notification method called when the touch interacts with the actor's touch area.
GGAlertDialog - Class in ch.aplu.android
Class to show a modeless dialog.
GGAlertDialog() - Constructor for class ch.aplu.android.GGAlertDialog
 
GGAlertDialogListener - Interface in ch.aplu.android
Declaration of a callback method called when the GGAlertDialog closes.
GGBackground - Class in ch.aplu.android
Class for drawing into the GameGrid background using Canvas graphics methods.
GGBitmap - Class in ch.aplu.android
Class that holds a Bitmap to draw graphics elements and provide some static helper methods for image loading and transformation.
GGBitmap(int, int) - Constructor for class ch.aplu.android.GGBitmap
Creates a GGBitmap with given number of horizontal and vertical pixels that holds a Bitmap instance to draw graphics elements.
GGBitmap(int, int, int) - Constructor for class ch.aplu.android.GGBitmap
Creates a GGBitmap with given number of horizontal and vertical pixels that holds a Bitmap instance to draw graphics elements.
GGBorderListener - Interface in ch.aplu.android
Declarations of the notification method called when the actor is at a border cell.
GGButtonAdapter - Class in ch.aplu.android
Declarations of empty methods called when a soft button is touched.
GGButtonAdapter() - Constructor for class ch.aplu.android.GGButtonAdapter
 
GGButtonBase - Class in ch.aplu.android
Abstract superclass of all button types.
GGCamera - Class in ch.aplu.android
Singleton abstraction of the hardware camera.
GGCheckButton - Class in ch.aplu.android
Class that implements a check button actor with standard behavior.
GGCheckButton(String) - Constructor for class ch.aplu.android.GGCheckButton
Creates a unchecked check button with the given text annotation, white text and transparent background colors.
GGCheckButton(String, boolean) - Constructor for class ch.aplu.android.GGCheckButton
Creates a check button with the given text annotation, white text and and transparent background colors.
GGCheckButton(String, int, int) - Constructor for class ch.aplu.android.GGCheckButton
Creates a unchecked check button with the given text annotation and given text and background colors.
GGCheckButton(String, int, int, int, boolean) - Constructor for class ch.aplu.android.GGCheckButton
Creates a check button with the given text annotation and given text and background colors and given text size.
GGCheckButtonListener - Interface in ch.aplu.android
Declarations of the notification method called when a check button changes state caused by a mouse click.
GGCircle - Class in ch.aplu.android
Class representing a circle in the x-y-plane with a center vector and a radius (all doubles).
GGCircle(GGVector, double) - Constructor for class ch.aplu.android.GGCircle
Constructs a circle with given center and radius.
GGCircle(double) - Constructor for class ch.aplu.android.GGCircle
Constructs a circle at (0, 0) with given radius.
GGCircle() - Constructor for class ch.aplu.android.GGCircle
Constructs a circle at (0, 0) with radius = 0.
GGCircle(GGCircle) - Constructor for class ch.aplu.android.GGCircle
Constructs a new circle with the same center and radius as the given circle.
GGComboSensor - Class in ch.aplu.android
Singleton abstraction of the hardware combo sensor (acceleration, gravitation (magnetic field), orientation).
GGComboSensorListener - Interface in ch.aplu.android
Declarations of the notification method called when the orientation sensor reports new values.
GGConsole - Class in ch.aplu.android
GGConsole is used to display a simple black screen to display lines of text like in a common system command shell.
GGConsole() - Constructor for class ch.aplu.android.GGConsole
Creates an Activity with a special console layout and the default typeface.
GGConsole(Typeface) - Constructor for class ch.aplu.android.GGConsole
Creates an Activity with a special console layout and the given typeface.
GGFlingListener - Interface in ch.aplu.android
Declarations of the notification method called by gesture events.
GGInputDialog - Class in ch.aplu.android
Class to show a modal dialog with an edit field and two buttons (Ok, Cancel).
GGLine - Class in ch.aplu.android
Class representing a line segment.
GGLine(GGLine) - Constructor for class ch.aplu.android.GGLine
Creates a new GGLine from given GGLine.
GGLine(GGVector, GGVector) - Constructor for class ch.aplu.android.GGLine
Creates a new GGLine from given start and end point.
GGLine(GGVector[]) - Constructor for class ch.aplu.android.GGLine
Creates a new GGLine from given start and end point vertexes.
GGMaze - Class in ch.aplu.android
This class creates a random maze in a two-dimensional grid of cells.
GGMaze(int, int) - Constructor for class ch.aplu.android.GGMaze
Creates a new random maze with given number of horizontal an vertical cells.
GGMessageBox - Class in ch.aplu.android
Class to display a modal information dialog with 1, 2 or 3 buttons.
GGMessageBox.ButtonHit - Enum in ch.aplu.android
Enum to define the button hit reponses.
GGMessageBox.ButtonLayout - Enum in ch.aplu.android
Enum to define the layout of the buttons.
GGMultiTouch - Class in ch.aplu.android
Singleton class used to report screen multi-touch events.
GGMultiTouchListener - Interface in ch.aplu.android
Declarations of the notification method called by multi-touch events.
GGNavigationEvent - Enum in ch.aplu.android
Enumeration used for the GGNavigationListener callbacks.
GGNavigationListener - Interface in ch.aplu.android
Declarations of a notifications method when the navigation buttons are used.
GGNavigationListener.ScreenOrientation - Enum in ch.aplu.android
Declarations of constants when a GGOrientationListener is registered.
GGOrientationListener - Interface in ch.aplu.android
Declarations of the notification method called when the screen orientation changes.
GGPanel - Class in ch.aplu.android
Class derived from GGBackground with a user-definable double coordinate system.
GGParams - Class in ch.aplu.android
Class to pass game option data from a full Android API based launcher activity that starts the GameGrid activity.
GGParams() - Constructor for class ch.aplu.android.GGParams
Same as GGParams(boolean isFullScreen, WindowZoom windowZoom) with isFullScreen = false and windowZoom = null, so the graphics window is a square and images are not zoomed.
GGParams(GameGrid.WindowZoom) - Constructor for class ch.aplu.android.GGParams
Same as GGParams(boolean isFullScreen, WindowZoom windowZoom) with isFullScreen = false, so the graphics window is a square.
GGParams(boolean, GameGrid.WindowZoom) - Constructor for class ch.aplu.android.GGParams
Constructs a game activity with no active navigation buttons, no visible grid (transparent) and no background image.
GGParams(int) - Constructor for class ch.aplu.android.GGParams
Same as GGParams(int borderColor, booolean isNavigation, boolean isFullscreen, WindowZoom windowZoom) with isNavigation = false, isFullScreen = false and windowZoom = null, so the graphics window is a square and images are not zoomed.
GGParams(int, GameGrid.WindowZoom) - Constructor for class ch.aplu.android.GGParams
Same as GGParams(int borderColor, boolean isNavigation, boolean isFullscreen, WindowZoom windowZoom) with isNavigation = false and isFullScreen = false, so the graphics window is a square.
GGParams(int, boolean, boolean, GameGrid.WindowZoom) - Constructor for class ch.aplu.android.GGParams
Constructs a game activity with no active navigation buttons, no visible grid (transparent) and no background image.
GGParams(String) - Constructor for class ch.aplu.android.GGParams
Same as GGParams(String bgImagePath, boolean isNavigation, boolean isFullScreen, WindowZoom windowZoom) with isNavigation = false, isFullScreen = false and windowZoom = null, so the graphics window is a square and images are not zoomed
GGParams(String, GameGrid.WindowZoom) - Constructor for class ch.aplu.android.GGParams
Same as GGParams(String bgImagePath, boolean isNavigation, boolean isFullScreen, WindowZoom windowZoom) with isNavigation = false, isFullScreen = false, so the graphics window is a square.
GGParams(String, boolean, boolean, GameGrid.WindowZoom) - Constructor for class ch.aplu.android.GGParams
Constructs a game activity with no visible grid (transparent) possibly a background image and possibly active navitation buttons.
GGParams(int, int, int) - Constructor for class ch.aplu.android.GGParams
Constructs a game activity with no active navigation buttons, no visible grid (transparent) and no background image.
GGParams(int, int, GameGrid.CellZoom) - Constructor for class ch.aplu.android.GGParams
Same as GGParams(int nbHorzCells, int nbVertCells, int cellSize), but the grid size is adapted to fit the current screen and images are zoomed automatically when loaded.
GGParams(int, int, int, int) - Constructor for class ch.aplu.android.GGParams
Constructs a game activity with no active navigation buttons and possibly a visible grid, but no background image.
GGParams(int, int, GameGrid.CellZoom, int) - Constructor for class ch.aplu.android.GGParams
Same as GGParams(int nbHorzCells, int nbVertCells, int cellSize, int gridColor), but the grid size is adapted to fit the current screen and images are zoomed automatically when loaded.
GGParams(int, int, int, int, boolean) - Constructor for class ch.aplu.android.GGParams
Constructs a game activity with possibly a visible grid, possibly active navitation buttons, but no background image.
GGParams(int, int, GameGrid.CellZoom, int, boolean) - Constructor for class ch.aplu.android.GGParams
Same as GGParams(int nbHorzCells, int nbVertCells, int cellSize, int gridColor, boolean isNavigation), but the grid size is adapted to fit the current screen and images are zoomed automatically when loaded.
GGParams(int, int, int, int, String, boolean) - Constructor for class ch.aplu.android.GGParams
Constructs a game activity with possibly active navigation buttons, possibly a visible grid and possibly a background image.
GGParams(int, int, GameGrid.CellZoom, int, String, boolean) - Constructor for class ch.aplu.android.GGParams
Same as GGParams(int nbHorzCells, int nbVertCells, int cellSize, int gridColor, String bgImagePath, boolean isNavigation), but the grid size is adapted to fit the current screen and images are zoomed automatically when loaded.
GGPath - Class in ch.aplu.android
GGPath is a helper class that simplifies file operations.
GGPreferences - Class in ch.aplu.android
Helper class to simplify storage and retrieval of persistent data.
GGPreferences(Activity) - Constructor for class ch.aplu.android.GGPreferences
Creates a GGPreferences instance to retrieve and store default shared preferences of the given activity.
GGProgressBar - Class in ch.aplu.android
Class that implements a progress bar indicator.
GGProgressBar(GameGrid, Location, int, int) - Constructor for class ch.aplu.android.GGProgressBar
Creates a horizontal progress bar with default properties.
GGProgressBar(GameGrid, Location, int, int, boolean) - Constructor for class ch.aplu.android.GGProgressBar
Creates a horizontal or vertical progress bar with default properties.
GGPushButton - Class in ch.aplu.android
Class that implements a button actor with standard behavior.
GGPushButton(String) - Constructor for class ch.aplu.android.GGPushButton
Creates a button from the given sprite images.
GGPushButtonAdapter - Class in ch.aplu.android
Empty implementatins of the notification method called when a push button is pressed, released or clicked using the left mouse button.
GGPushButtonAdapter() - Constructor for class ch.aplu.android.GGPushButtonAdapter
 
GGPushButtonListener - Interface in ch.aplu.android
Declarations of the notification method called when a push button is pressed, released or clicked using the left mouse button.
GGRadioButton - Class in ch.aplu.android
Class that implements a radio button actor with standard behavior.
GGRadioButton(String) - Constructor for class ch.aplu.android.GGRadioButton
Creates a deselected radio button with the given text annotation, white text and black background colors.
GGRadioButton(String, boolean) - Constructor for class ch.aplu.android.GGRadioButton
Creates a radio button with the given text annotation, white text and and black background colors.
GGRadioButton(String, int, int) - Constructor for class ch.aplu.android.GGRadioButton
Creates a deselected radio button with the given text annotation and given text and background colors.
GGRadioButton(String, int, int, int, boolean) - Constructor for class ch.aplu.android.GGRadioButton
Creates a radio button with the given text annotation and given text and background colors.
GGRadioButtonGroup - Class in ch.aplu.android
A radio button group contains a certain number of radio buttons.
GGRadioButtonGroup() - Constructor for class ch.aplu.android.GGRadioButtonGroup
Creates a GGRadioButtonGroup instance that contains no button.
GGRadioButtonGroup(GGRadioButton...) - Constructor for class ch.aplu.android.GGRadioButtonGroup
Creates a GGRadionButton instance that contains the given GGRadioButtons.
GGRadioButtonListener - Interface in ch.aplu.android
Declarations of the notification method called when a radio button changes state caused by a mouse click.
GGRectangle - Class in ch.aplu.android
Class representing a rotatable rectangle.
GGRectangle(GGRectangle) - Constructor for class ch.aplu.android.GGRectangle
Creates a new GGRectangle from given GGRectangle.
GGRectangle(GGVector[]) - Constructor for class ch.aplu.android.GGRectangle
Creates a new GGRectangle from given vertexes.
GGRectangle(double, double, double, double, double, double, double, double) - Constructor for class ch.aplu.android.GGRectangle
Creates a new GGRectangle from given 8 x-y-coordinates.
GGRectangle(PointD, PointD, PointD, PointD) - Constructor for class ch.aplu.android.GGRectangle
Creates a new GGRectangle from given 4 vertex points.
GGRectangle(GGVector, double, double, double) - Constructor for class ch.aplu.android.GGRectangle
Creates a new GGRectangle from given center, direction, width and height.
GGRectangle(Rect) - Constructor for class ch.aplu.android.GGRectangle
Creates a new GGRectangle from given android.graphics.Rect.
GGSensor - Class in ch.aplu.android
Representation of one of the built-in hardware sensors.
GGSensor(Activity, int, int) - Constructor for class ch.aplu.android.GGSensor
Creates a sensor instance using the sensor of given sensor type.
GGSensor(Activity, int) - Constructor for class ch.aplu.android.GGSensor
Creates a sensor instance using the sensor of given sensor type.
GGSensorListener - Interface in ch.aplu.android
Declaration of the notification method called when the sensor reports new values.
GGSoftButtonAdapter - Class in ch.aplu.android
Declarations of empty methods called when a soft button is touched.
GGSoftButtonAdapter() - Constructor for class ch.aplu.android.GGSoftButtonAdapter
 
GGSoftButtonListener - Interface in ch.aplu.android
Declarations of the notifications method called when a soft button is touched.
GGStatusBar - Class in ch.aplu.android
Class to provide space for one line of text shown in a game grid window normally used for displaying status information.
GGTextField - Class in ch.aplu.android
Class to provide a dynamically created line of text shown in a game grid window.
GGTextField(String, Location, boolean) - Constructor for class ch.aplu.android.GGTextField
Creates a GGTextField instance with standard attributes.
GGTextField(Location, boolean) - Constructor for class ch.aplu.android.GGTextField
Creates a GGTextField with standard attributes and no text.
GGTileCollisionListener - Interface in ch.aplu.android
Declarations of the notification method called when two actors collide.
GGTileMap - Class in ch.aplu.android
Class that implements a tile map, e.g. an arragement of rectangular images of the same size like tiles on a floor.
GGToggleButton - Class in ch.aplu.android
Class that implements a toggle button (2-state button) actor with standard behavior.
GGToggleButton(String, boolean) - Constructor for class ch.aplu.android.GGToggleButton
Creates a button from the given sprite images.
GGToggleButton(String) - Constructor for class ch.aplu.android.GGToggleButton
Same as GGToggleButton(String buttonImage, false) (untoggled).
GGToggleButtonListener - Interface in ch.aplu.android
Declarations of the notification method called when a toggle button changes state caused by a mouse click.
GGTouch - Class in ch.aplu.android
Singleton class used to report screen touch events.
GGTouchListener - Interface in ch.aplu.android
Declarations of the notification method called by touch events.
GGVector - Class in ch.aplu.android
Class representing a two-dimensional vector with double coordinates (x, y).
GGVector() - Constructor for class ch.aplu.android.GGVector
Constructs a zero vector (with coordinates (0, 0)).
GGVector(Point) - Constructor for class ch.aplu.android.GGVector
Constructs a vector from integer coordinates using jawa.awt.Point.
GGVector(PointD) - Constructor for class ch.aplu.android.GGVector
Constructs a vector from double coordinates using PointD.
GGVector(int, int) - Constructor for class ch.aplu.android.GGVector
Constructs a vector from given integer x-y-coordinates.
GGVector(float, float) - Constructor for class ch.aplu.android.GGVector
Constructs a vector from given float x-y-coordinates.
GGVector(double, double) - Constructor for class ch.aplu.android.GGVector
Constructs a vector from given double x-y-coordinates.
GRAY - Static variable in class ch.aplu.android.GameGrid
Short for Color.GRAY.
GREEN - Static variable in class ch.aplu.android.GameGrid
Short for Color.GREEN.
GyroAngleSensor - Class in ch.aplu.android.ev3
Class that represents a gyro sensor in angle mode (EV3 Gyro Sensor).
GyroAngleSensor(SensorPort) - Constructor for class ch.aplu.android.ev3.GyroAngleSensor
Creates a sensor instance connected to the given port.
GyroAngleSensor() - Constructor for class ch.aplu.android.ev3.GyroAngleSensor
Creates a sensor instance connected to port S1.
GyroRateSensor - Class in ch.aplu.android.ev3
Class that represents a gyro sensor in rate mode (EV3 Gyro Sensor).
GyroRateSensor(SensorPort) - Constructor for class ch.aplu.android.ev3.GyroRateSensor
Creates a sensor instance connected to the given port.
GyroRateSensor() - Constructor for class ch.aplu.android.ev3.GyroRateSensor
Creates a sensor instance connected to port S1.

H

Hand - Class in ch.aplu.jcardgame
Representation of a card set.
Hand(Deck) - Constructor for class ch.aplu.jcardgame.Hand
Creates a hand instance with game cards from the given deck.
Hand.CardAlignment - Enum in ch.aplu.jcardgame
Card alignment used when hand is drawn using drawRow(), drawColumn()
Hand.SortType - Enum in ch.aplu.jcardgame
Compare type used for the compareTo() implementation.
HandLayout - Class in ch.aplu.jcardgame
Base class of hand layouts.
HandLayout() - Constructor for class ch.aplu.jcardgame.HandLayout
 
hashCode() - Method in class ch.aplu.android.Location
Returns a hash code value for the object.
hashCode() - Method in class ch.aplu.jcardgame.Card
Returns a hash code value for the object.
hashCode() - Method in class ch.aplu.util.Complex
Returns a hash code value for the object.
hide() - Method in class ch.aplu.android.Actor
Turns off the visiblity of this actor (all sprites are hidden, spriteId = -1).
hide() - Method in class ch.aplu.android.GGTextField
Hides the text.
HiResAlarmTimer - Class in ch.aplu.util
Alarm timer with high resolution.
HiResAlarmTimer(long) - Constructor for class ch.aplu.util.HiResAlarmTimer
Construct a alarm timer instance with better than 1 microsecond resolution on most systems and set its preset time in microseconds (us).
HiResAlarmTimer(long, boolean) - Constructor for class ch.aplu.util.HiResAlarmTimer
Same as HiResAlarmTimer(alarmTime), but the timer starts immediately if autostart is true.
HiResAlarmTimer(long, boolean, boolean) - Constructor for class ch.aplu.util.HiResAlarmTimer
Same as HiResAlarmTimer(alarmTime, autostart), but most methods calls Thread.yield() automatically, if yield is true.
HiResTimer - Class in ch.aplu.util
Timer with high resolution.
HiResTimer() - Constructor for class ch.aplu.util.HiResTimer
Construct a HiResTimer object and set its time to zero.
HiResTimer(boolean) - Constructor for class ch.aplu.util.HiResTimer
Same as HiResTimer(), but the timer starts immediately if autostart is true.
HiResTimer(boolean, boolean) - Constructor for class ch.aplu.util.HiResTimer
Same as HiResTimer(autostart), but most methods calls Thread.yield() automatically, if yield is true.
HTAccelerometer - Class in ch.aplu.android.ev3
Class that represents a accelerometer sensor (HiTechnic Accelerometer).
HTAccelerometer(SensorPort) - Constructor for class ch.aplu.android.ev3.HTAccelerometer
Creates a sensor instance connected to the given port.
HTAccelerometer() - Constructor for class ch.aplu.android.ev3.HTAccelerometer
Creates a sensor instance connected to port S1.
HTBarometer - Class in ch.aplu.android.ev3
Class that represents a barometer sensor (HiTechnic Barometer).
HTBarometer(SensorPort) - Constructor for class ch.aplu.android.ev3.HTBarometer
Creates a sensor instance connected to the given port.
HTBarometer() - Constructor for class ch.aplu.android.ev3.HTBarometer
Creates a sensor instance connected to port S1.
HTColorSensor - Class in ch.aplu.android.ev3
Class that represents a color sensor (HiTechnic Color Sensor in RGB mode).
HTColorSensor(SensorPort) - Constructor for class ch.aplu.android.ev3.HTColorSensor
Creates a sensor instance connected to the given port.
HTColorSensor() - Constructor for class ch.aplu.android.ev3.HTColorSensor
Creates a sensor instance connected to port S1.
HTCompassSensor - Class in ch.aplu.android.ev3
Class that represents a compass sensor (HiTechnic Compass Sensor).
HTCompassSensor(SensorPort) - Constructor for class ch.aplu.android.ev3.HTCompassSensor
Creates a sensor instance connected to the given port.
HTCompassSensor() - Constructor for class ch.aplu.android.ev3.HTCompassSensor
Creates a sensor instance connected to port S1.
HTGyroSensor - Class in ch.aplu.android.ev3
Class that represents a gyro sensor (HiTechnic Gyro Sensor).
HTGyroSensor(SensorPort) - Constructor for class ch.aplu.android.ev3.HTGyroSensor
Creates a sensor instance connected to the given port.
HTGyroSensor() - Constructor for class ch.aplu.android.ev3.HTGyroSensor
Creates a sensor instance connected to port S1.
HTInfraredSeeker - Class in ch.aplu.android.ev3
Class that represents a infrared seeker version 2 from HiTechnic.
HTInfraredSeeker(SensorPort) - Constructor for class ch.aplu.android.ev3.HTInfraredSeeker
Creates a sensor instance connected to the given port.
HTInfraredSeeker() - Constructor for class ch.aplu.android.ev3.HTInfraredSeeker
Creates a sensor instance connected to port S1.
HTInfraredSeekerV2 - Class in ch.aplu.android.ev3
Class that represents a infrared seeker version 2 from HiTechnic.
HTInfraredSeekerV2(SensorPort) - Constructor for class ch.aplu.android.ev3.HTInfraredSeekerV2
Creates a sensor instance connected to the given port.
HTInfraredSeekerV2() - Constructor for class ch.aplu.android.ev3.HTInfraredSeekerV2
Creates a sensor instance connected to port S1.

I

i(String) - Static method in class ch.aplu.android.L
Writes debug string flagged as 'information'.
I2CSensor - Class in ch.aplu.android.nxt
A sensor wrapper to allow easy access to I2C sensors, like the ultrasonic sensor.
I2CSensor(SensorPort, byte) - Constructor for class ch.aplu.android.nxt.I2CSensor
Creates a sensor instance of given type connected to the given port.
icon - Variable in class ch.aplu.android.GameGrid.SysInfo
The application's icon.
idle - Static variable in class ch.aplu.android.GGMultiTouch
No touch event occured.
idle - Static variable in class ch.aplu.android.GGTouch
No touch event occured.
img - Variable in class ch.aplu.util.Complex
 
inColorCube(int, int[]) - Static method in class ch.aplu.android.ev3.ColorSensor
Checks if given color lies within given color cube.
init(Activity) - Static method in class ch.aplu.android.GGComboSensor
Initializes the combo sensor for the given activity and returns a GGComboSensor reference for the given activity.
init(Activity, int) - Static method in class ch.aplu.android.GGComboSensor
Initializes the orientation sensor for the given activity and returns a GGComboSensor reference for the given activity.
init() - Static method in class ch.aplu.android.GGConsole
Creates a GGConsole with default typeface and returns a reference to it.
init(Typeface) - Static method in class ch.aplu.android.GGConsole
Creates a GGConsole with given typeface and returns a reference to it.
insert(Hand, boolean) - Method in class ch.aplu.jcardgame.Hand
Inserts all cards of the given hand in the current hand (reference copy) and sets the hand of the cards to the current hand.
insert(Card, boolean) - Method in class ch.aplu.jcardgame.Hand
Inserts the given card in the current hand (reference copy) and sets the hand of the given card to the current hand.
insert(int, boolean) - Method in class ch.aplu.jcardgame.Hand
Creates a new card with given card number and inserts it in the current hand.
insert(T, R, boolean) - Method in class ch.aplu.jcardgame.Hand
Creates a new card with given suit and rank and inserts it in the current hand.
invert() - Method in class ch.aplu.android.ev3.Vector2D
Returns a new vector with inverted coordinates.
invert() - Method in class ch.aplu.android.ev3.Vector3D
Returns a new vector with inverted coordinates.
invert() - Method in class ch.aplu.android.GGVector
Returns a new vector with inverted coordinates.
IRDistanceSensor - Class in ch.aplu.android.ev3
Class that represents a Lego EV3 Infra Red sensor in Distance Mode.
IRDistanceSensor(SensorPort) - Constructor for class ch.aplu.android.ev3.IRDistanceSensor
Creates a sensor instance connected to the given port.
IRDistanceSensor() - Constructor for class ch.aplu.android.ev3.IRDistanceSensor
Creates a sensor instance connected to port S1.
IRRemoteSensor - Class in ch.aplu.android.ev3
Class that represents a Lego EV3 Infra Red sensor in Remote Control Mode.
IRRemoteSensor(SensorPort) - Constructor for class ch.aplu.android.ev3.IRRemoteSensor
Creates a sensor instance connected to the given port.
IRRemoteSensor() - Constructor for class ch.aplu.android.ev3.IRRemoteSensor
Creates a sensor instance connected to port S1.
IRSeekSensor - Class in ch.aplu.android.ev3
Class that represents a Lego EV3 Infra Red sensor in Seeek Mode.
IRSeekSensor(SensorPort) - Constructor for class ch.aplu.android.ev3.IRSeekSensor
Creates a sensor instance connected to the given port.
IRSeekSensor() - Constructor for class ch.aplu.android.ev3.IRSeekSensor
Creates a sensor instance connected to port S1.
isActEnabled() - Method in class ch.aplu.android.Actor
Returns true, if act() is invoked in every simulation cycle.
isActorColliding(Actor, Actor) - Method in class ch.aplu.android.GameGrid
Checks if the two given actors are colliding.
isActorCollisionEnabled() - Method in class ch.aplu.android.Actor
Returns true, if collision notification between actors is enabled.
isAtBorder(Location) - Method in class ch.aplu.android.GameGrid
Returns true, if the given cell location is at the grid border.
isChecked() - Method in class ch.aplu.android.GGCheckButton
Returns the current state of the button.
isConnected() - Method in class ch.aplu.android.bluetooth.BluetoothClient
Returns the connection state.
isConnected() - Method in class ch.aplu.android.bluetooth.BluetoothPeer
Returns the connection status.
isConnected() - Method in class ch.aplu.android.ev3.LegoRobot
Returns the connection state.
isConnected() - Method in class ch.aplu.android.nxt.NxtRobot
Returns the connection state.
isDirectoryEmpty(File) - Static method in class ch.aplu.android.GGPath
Returns true, if the directory is empty (no files and no subdirectories).
isEmpty(Location) - Method in class ch.aplu.android.GameGrid
Returns true, if there is no actor at specified location.
isEmpty() - Method in class ch.aplu.jcardgame.Hand
Returns true, if the card list of the current hand is empty.
isEnabled() - Method in class ch.aplu.android.GGButtonBase
Returns true if button is enabled.
isEqual(Vector2D) - Method in class ch.aplu.android.ev3.Vector2D
Returns true, if the current vector is identical to the given vector.
isEqual(Vector3D) - Method in class ch.aplu.android.ev3.Vector3D
Returns true, if the current vector is identical to the given vector.
isEqual(GGCircle) - Method in class ch.aplu.android.GGCircle
Returns true, if the current circle is identical to the given circle.
isEqual(GGRectangle) - Method in class ch.aplu.android.GGRectangle
Returns true, if the current rectangle is identical to the given rectangle.
isEqual(GGVector) - Method in class ch.aplu.android.GGVector
Returns true, if the current vector is identical to the given vector.
isFullScreen() - Method in class ch.aplu.android.GGParams
Returns information about the full screen mode.
isHorzMirror() - Method in class ch.aplu.android.Actor
Returns the horizontal mirroring state.
isInGrid() - Method in class ch.aplu.android.Actor
Returns true, if the actor's location is inside the grid.
isInGrid(Location) - Method in class ch.aplu.android.GameGrid
Returns true, if the given cell location is within the grid.
isInHand(Hand) - Method in class ch.aplu.jcardgame.Card
Returns true, if the current card is part of the given hand.
isIntersecting(GGCircle) - Method in class ch.aplu.android.GGCircle
Returns true if the current circle intersects with the given circle.
isIntersecting(GGRectangle) - Method in class ch.aplu.android.GGCircle
Returns true if the current circle intersects with the given rectangle.
isIntersecting(Rect) - Method in class ch.aplu.android.GGCircle
Returns true if the current circle intersects with the given android.graphics.Rect.
isIntersecting(GGVector) - Method in class ch.aplu.android.GGCircle
Returns true if the given points is part of the circle area.
isIntersecting(GGVector, double, Bitmap, boolean) - Method in class ch.aplu.android.GGCircle
Returns true, if area of the current circle intersects the non-transparant area of the given image.
isIntersecting(GGLine) - Method in class ch.aplu.android.GGLine
Returns true if the current line segment intersects with the given line segment.
isIntersecting(GGVector, double) - Method in class ch.aplu.android.GGLine
Returns true if the given point is part of the line segment.
isIntersecting(GGCircle) - Method in class ch.aplu.android.GGLine
Returns true if the current line intersects with the given circle.
isIntersecting(GGVector, double, Bitmap, boolean) - Method in class ch.aplu.android.GGLine
Returns true, if at least one point of the line segment (casted to int values) points to a non-transparant pixel of the given image.
isIntersecting(GGRectangle) - Method in class ch.aplu.android.GGRectangle
Returns true if the current rectangle intersects with the given rectangle.
isIntersecting(GGLine) - Method in class ch.aplu.android.GGRectangle
Returns true if the current rectangle intersects with the given line segment.
isIntersecting(GGCircle) - Method in class ch.aplu.android.GGRectangle
Returns true if the current rectangle intersects with the given circle.
isIntersecting(GGVector, boolean) - Method in class ch.aplu.android.GGRectangle
Returns true if the given points is part of the rectangle area.
isIntersecting(GGVector, double, Bitmap, boolean) - Method in class ch.aplu.android.GGVector
Returns true, if the current vector (casted to int values) points to a non-transparant pixel of the given image.
isMainAlive() - Method in class ch.aplu.android.GameGrid
Returns the state of the main thread.
isMoveValid() - Method in class ch.aplu.android.Actor
Returns true, if the next call of move() will put the actor in a cell inside the game grid.
isMoving() - Method in class ch.aplu.android.ev3.GenericGear
Checks if one or both motors are rotating.
isMoving() - Method in class ch.aplu.android.ev3.GenericMotor
Checks if the motor is rotating.
isMoving() - Method in class ch.aplu.android.nxt.Motor
Checks if the motor is rotating.
isMultiTouchSupported() - Method in class ch.aplu.android.GameGrid
Returns device information if multi-touch is supported.
isNearBorder() - Method in class ch.aplu.android.Actor
Returns true, if the current location is on a border row or column.
isOnTop() - Method in class ch.aplu.jcardgame.TargetArea
Returns the current state of set onTop flag.
isOrientationTablet() - Method in class ch.aplu.android.GameGrid
Compares the screen orientation and the screen rotation to determine if the device is a big screen size smartphone or tablet (on tablets portrait and landscape rotation are inverse).
isPackageSort - Variable in class ch.aplu.android.GameGrid.SysInfo
Sorting comparing package name or application name.
isPressed() - Method in class ch.aplu.android.ev3.NxtTouchSensor
Polls the sensor.
isPressed() - Method in class ch.aplu.android.ev3.TouchSensor
Polls the sensor.
isPressed() - Method in class ch.aplu.android.GGPushButton
Returns the current state of the ButtonA.
isPressed() - Method in class ch.aplu.android.nxt.TouchSensor
Polls the sensor.
isRefreshEnabled() - Method in class ch.aplu.android.GameGrid
Checks if the automatic refresh in every simulation cycle is enabled.
isRemoved() - Method in class ch.aplu.android.Actor
Returns true, if the actor has been removed (by calling removeSelf() or GameGrid.removeActor()).
isRotatable() - Method in class ch.aplu.android.Actor
Returns whether the actor is rotatable or not.
isRunning() - Method in class ch.aplu.android.GameGrid
Returns true, if the game is running.
isRunning() - Method in class ch.aplu.util.BaseAlarmTimer
Return true if the timer is running (current time > 0 and not stopped).
isRunning() - Method in class ch.aplu.util.BaseTimer
Return true if the timer is running.
isSelected() - Method in class ch.aplu.android.GGRadioButton
Returns the current state of the button.
isSelected() - Method in class ch.aplu.android.ToolBarStack
Returns the state of the item currently shown.
isServer() - Method in class ch.aplu.android.bluetooth.BluetoothPeer
Checks if the current instance acts as server.
isTileColliding(Actor, Location) - Method in class ch.aplu.android.GameGrid
Checks if the given actor and the tile at the given tile location are colliding.
isTileCollisionEnabled() - Method in class ch.aplu.android.Actor
Returns true, if collision notification between tiles is enabled.
isTileCollisionEnabled(Location) - Method in class ch.aplu.android.GGTileMap
Returns true, if collision notification with the given tiles is enabled.
isToggled() - Method in class ch.aplu.android.GGToggleButton
Returns the current state of the button.
isTouchEnabled() - Method in class ch.aplu.jcardgame.Hand
Returns the current state of hand touches.
isVerso() - Method in class ch.aplu.jcardgame.Card
Returns true, if the card cover (back) will be shown.
isVertMirror() - Method in class ch.aplu.android.Actor
Returns the vertical mirroring state.
isVisible() - Method in class ch.aplu.android.Actor
Returns true, if the actor is visible.
isVisible() - Method in class ch.aplu.android.GGTextField
Returns the visibility of the text.
isWall(Location) - Method in class ch.aplu.android.GGMaze
Returns true, if the cell with given cell location is a wall

K

keepAlive() - Method in class ch.aplu.android.nxt.NxtRobot
Sends a keep alive command to prevent the automatic shutdown of the brick.
KILLPROCESS - Static variable in class ch.aplu.android.GameGrid
Constant for setScreenOrientation().
killProcess() - Method in class ch.aplu.android.GameGrid
Brute force termination of the app.

L

L - Class in ch.aplu.android
A helper class to write messages to the adb debug console.
LANDSCAPE - Static variable in class ch.aplu.android.GameGrid
Constant for setScreenOrientation().
left() - Method in class ch.aplu.android.ev3.GenericGear
Starts turning left with left motor stopped and right motor at preset speed.
left(int) - Method in class ch.aplu.android.ev3.GenericGear
Starts turning left for the given duration (in ms) with preset speed.
left(int) - Method in class ch.aplu.android.ev3.NxtTurtleRobot
Turns the turtle to the left for the given angle.
left(int) - Method in class ch.aplu.android.ev3.TurtleRobot
Turns the turtle to the left for the given angle.
left() - Method in class ch.aplu.android.nxt.Gear
Starts turning left with left motor stopped and right motor at preset speed.
left(int) - Method in class ch.aplu.android.nxt.Gear
Starts turning left for the given duration (in ms) with preset speed.
left(int) - Method in class ch.aplu.android.nxt.TurtleRobot
Turns the turtle to the left for the given angle.
leftArc(double) - Method in class ch.aplu.android.ev3.GenericGear
Starts turning to the left on an arc with given radius (in m).
leftArc(double, int) - Method in class ch.aplu.android.ev3.GenericGear
Starts turning to the left on an arc with given radius (in m) for the given duration (in ms) with preset speed.
leftArc(double) - Method in class ch.aplu.android.nxt.Gear
Starts turning to the left on an arc with given radius (in m).
leftArc(double, int) - Method in class ch.aplu.android.nxt.Gear
Starts turning to the left on an arc with given radius (in m) for the given duration (in ms) with preset speed.
LegoRobot - Class in ch.aplu.android.ev3
Class that represents a EV3 robot brick.
LegoRobot(ConnectionListener, String, int, boolean) - Constructor for class ch.aplu.android.ev3.LegoRobot
Creates a EV3Robot instance with given IP address.
LegoRobot(String, int, boolean) - Constructor for class ch.aplu.android.ev3.LegoRobot
Same as LegoRobot(connectionlistener, ipAddress, port, immediateConnect) with connectionListener = null.
LegoRobot(ConnectionListener, String, boolean) - Constructor for class ch.aplu.android.ev3.LegoRobot
Creates a EV3Robot instance with given IP address.
LegoRobot(String, boolean) - Constructor for class ch.aplu.android.ev3.LegoRobot
Same as LegoRobot(connectionListener, ipAddress, immediateConnect) with connectionsListener = null.
LegoRobot(ConnectionListener, String) - Constructor for class ch.aplu.android.ev3.LegoRobot
Creates a EV3Robot instance with given IP address.
LegoRobot(String) - Constructor for class ch.aplu.android.ev3.LegoRobot
Same as LegoRobot(connectionListener, ipAddress) with connectionListener = null.
LegoRobot(ConnectionListener) - Constructor for class ch.aplu.android.ev3.LegoRobot
Creates a EV3Robot and engages a connection trial.
LegoRobot() - Constructor for class ch.aplu.android.ev3.LegoRobot
Same as LegoRobot(connectionListener) with connectionListener = null.
LightAdapter - Class in ch.aplu.android.ev3
Class with empty callback methods for the light sensor.
LightAdapter() - Constructor for class ch.aplu.android.ev3.LightAdapter
 
LightAdapter - Class in ch.aplu.android.nxt
Class with empty callback methods for the light sensor.
LightAdapter() - Constructor for class ch.aplu.android.nxt.LightAdapter
 
LightListener - Interface in ch.aplu.android.ev3
Interface with declarations of callback methods for the light sensor.
LightListener - Interface in ch.aplu.android.nxt
Interface with declarations of callback methods for the light sensor.
LightSensor - Class in ch.aplu.android.ev3
Class that represents a light sensor (EV3 color sensor in RED mode).
LightSensor(SensorPort) - Constructor for class ch.aplu.android.ev3.LightSensor
Creates a sensor instance connected to the given port.
LightSensor() - Constructor for class ch.aplu.android.ev3.LightSensor
Creates a sensor instance connected to port S1.
LightSensor - Class in ch.aplu.android.nxt
Class that represents a light sensor.
LightSensor(SensorPort) - Constructor for class ch.aplu.android.nxt.LightSensor
Creates a sensor instance connected to the given port.
LightSensor() - Constructor for class ch.aplu.android.nxt.LightSensor
Creates a sensor instance connected to port S1.
line(double, double, double, double) - Method in class ch.aplu.android.GGPanel
Draws a line from (x1, y1) to (x2, y2)
line(PointD, PointD) - Method in class ch.aplu.android.GGPanel
Draws a line from the first vertext to the second vertex.
Location - Class in ch.aplu.android
Class to represent the position of a cell (in cell coordinates).
Location() - Constructor for class ch.aplu.android.Location
Constructs a location at (0, 0).
Location(int, int) - Constructor for class ch.aplu.android.Location
Constructs a location with given horizontal and vertical cell coordinates.
Location(double, double) - Constructor for class ch.aplu.android.Location
Constructs a location next to the given double coordinates.
Location(Location) - Constructor for class ch.aplu.android.Location
Constructs a location with the coordinates of the given location.
Location.CompassDirection - Enum in ch.aplu.android
Class to represent the 8 compass directions.
longPress - Static variable in class ch.aplu.android.GGTouch
Pressed a long time.
longPressed(Card) - Method in class ch.aplu.jcardgame.CardAdapter
Triggered when a card is long pressed.
longPressed(Card) - Method in interface ch.aplu.jcardgame.CardListener
Triggered when a card is long pressed.
LoResAlarmTimer - Class in ch.aplu.util
Alarm timer with low resolution (Resolution normally less than 10 milliseconds.)
LoResAlarmTimer(long) - Constructor for class ch.aplu.util.LoResAlarmTimer
Construct a AlarmTimer instance and set its preset time in microseconds (us).
LoResAlarmTimer(long, boolean) - Constructor for class ch.aplu.util.LoResAlarmTimer
Same as LoResAlarmTimer(alarmTime), but the timer starts immediately if autostart is true.
LoResAlarmTimer(long, boolean, boolean) - Constructor for class ch.aplu.util.LoResAlarmTimer
Same as LoResAlarmTimer(alarmTime, autostart), but most methods calls Thread.yield() automatically, if yield is true.
LoResTimer - Class in ch.aplu.util
Timer with low resolution (based on Date.getTime()) (Resolution normally less than 10 milliseconds.)
LoResTimer() - Constructor for class ch.aplu.util.LoResTimer
Construct a LoResTimer object and set its time to zero.
LoResTimer(boolean) - Constructor for class ch.aplu.util.LoResTimer
Same as LoResTimer(), but the timer starts immediately if autostart is true.
LoResTimer(boolean, boolean) - Constructor for class ch.aplu.util.LoResTimer
Same as LoResTimer(autostart), but most methods calls Thread.yield() automatically, if yield is true.
loud(SensorPort, int) - Method in class ch.aplu.android.ev3.SoundAdapter
Empty method called when the sound becomes louder than the trigger level.
loud(SensorPort, int) - Method in interface ch.aplu.android.ev3.SoundListener
Called when the sound becomes louder than the trigger level.
loud(SensorPort, int) - Method in class ch.aplu.android.nxt.SoundAdapter
Empty method called when the sound becomes louder than the trigger level.
loud(SensorPort, int) - Method in interface ch.aplu.android.nxt.SoundListener
Called when the sound becomes louder than the trigger level.
LTGRAY - Static variable in class ch.aplu.android.GameGrid
Short for Color.LTGRAY.

M

MAGENTA - Static variable in class ch.aplu.android.GameGrid
Short for Color.MAGENTY.
magneticFieldChanged(float[]) - Method in interface ch.aplu.android.GGComboSensorListener
Event callback method called when the orientation sensor reports new values the magnetic field (in uT).
magnitude() - Method in class ch.aplu.android.ev3.Vector2D
Returns the magnitude (length) of the vector.
magnitude() - Method in class ch.aplu.android.ev3.Vector3D
Returns the magnitude (length) of the vector.
magnitude() - Method in class ch.aplu.android.GGVector
Returns the magnitude (length) of the vector.
magnitude2() - Method in class ch.aplu.android.ev3.Vector2D
Returns the square of the magnitude, without squareroot calculation.
magnitude2() - Method in class ch.aplu.android.ev3.Vector3D
Returns the square of the magnitude, without squareroot calculation.
magnitude2() - Method in class ch.aplu.android.GGVector
Returns the square of the magnitude, without squareroot calculation.
MB_ABORT - Static variable in class ch.aplu.android.GGMessageBox
Acronym for ButtonHit.ABORT.
MB_CANCEL - Static variable in class ch.aplu.android.GGMessageBox
Acronym for ButtonHit.CANCEL.
MB_IGNORE - Static variable in class ch.aplu.android.GGMessageBox
Acronym for ButtonHit.IGNORE.
MB_NO - Static variable in class ch.aplu.android.GGMessageBox
Acronym for ButtonHit.MB_NO.
MB_OK - Static variable in class ch.aplu.android.GGMessageBox
Acronym for ButtonHit.MB_OK.
MB_RETRY - Static variable in class ch.aplu.android.GGMessageBox
Acronym for ButtonHit.RETRY.
MB_YES - Static variable in class ch.aplu.android.GGMessageBox
Acronym for ButtonHit.YES.
MediumMotor - Class in ch.aplu.android.ev3
Class that represents a EV3MediumRegulatedMotor motor.
MediumMotor(MotorPort) - Constructor for class ch.aplu.android.ev3.MediumMotor
Creates a motor instance that is plugged into given port.
MediumMotor() - Constructor for class ch.aplu.android.ev3.MediumMotor
Creates a motor instance that is plugged into port A.
modulus() - Method in class ch.aplu.util.Complex
Provide the magnitude of the complex value.
monitor - Static variable in class ch.aplu.android.GameGrid
 
Monitor - Class in ch.aplu.util
Helper class for wait-notify mechanism.
MotionAdapter - Class in ch.aplu.android.nxt
Class with an empty declaration of a callback method when the movement stops.
MotionAdapter() - Constructor for class ch.aplu.android.nxt.MotionAdapter
 
MotionListener - Interface in ch.aplu.android.nxt
Class with a declaration of a callback method when the movement stops.
motionStopped() - Method in class ch.aplu.android.nxt.MotionAdapter
Empty method called when the movement stops.
motionStopped() - Method in interface ch.aplu.android.nxt.MotionListener
Called when the movement stops.
Motor - Class in ch.aplu.android.ev3
Class that represents one of the EV3 motors.
Motor(MotorPort) - Constructor for class ch.aplu.android.ev3.Motor
Creates a motor instance that is plugged into given port.
Motor() - Constructor for class ch.aplu.android.ev3.Motor
Creates a motor instance that is plugged into port A.
Motor - Class in ch.aplu.android.nxt
Class that represents one of the NXT motors.
Motor(MotorPort) - Constructor for class ch.aplu.android.nxt.Motor
Creates a motor instance that is plugged into given port.
MotorPort - Class in ch.aplu.android.ev3
Useful declarations for motor port connections.
MotorPort(int) - Constructor for class ch.aplu.android.ev3.MotorPort
Creates a MotorPort from the port id.
MotorPort - Class in ch.aplu.android.nxt
Useful declarations for port connections.
move() - Method in class ch.aplu.android.Actor
For a small grid (total number of cells <= 2500 = 50 * 50) moves to one of 8 neighbour cells in the current direction (compass directions 45 degrees wide).
move(int) - Method in class ch.aplu.android.Actor
Moves the given distance in the current direction.
move(double, double) - Method in class ch.aplu.android.GGPanel
Sets the current graph position to the given coordinates (without drawin anything).
move(PointD) - Method in class ch.aplu.android.GGPanel
Sets the current graph position to the given point (without drawin anything).
moveTo(int, boolean) - Method in class ch.aplu.android.ev3.GenericGear
Sets the rotation counter to zero and rotate both motors until the given count is reached.
moveTo(int) - Method in class ch.aplu.android.ev3.GenericGear
Same as moveTo(int count, boolean blocking) with blocking = true.
moveTo(int, boolean) - Method in class ch.aplu.android.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.android.nxt.Gear
Same as moveTo(int count, boolean blocking) with blocking = true.
mult(int) - Method in class ch.aplu.android.ev3.Vector2D
Returns a new vector that is the product by a scalar of the current vector and the given integer.
mult(float) - Method in class ch.aplu.android.ev3.Vector2D
Returns a new vector that is the product by a scalar of the current vector and the given float.
mult(double) - Method in class ch.aplu.android.ev3.Vector2D
Returns a new vector that is the product by a scalar of the current vector and the given double.
mult(int) - Method in class ch.aplu.android.ev3.Vector3D
Returns a new vector that is the product by a scalar of the current vector and the given integer.
mult(float) - Method in class ch.aplu.android.ev3.Vector3D
Returns a new vector that is the product by a scalar of the current vector and the given float.
mult(double) - Method in class ch.aplu.android.ev3.Vector3D
Returns a new vector that is the product by a scalar of the current vector and the given double.
mult(int) - Method in class ch.aplu.android.GGVector
Returns a new vector that is the product by a scalar of the current vector and the given integer.
mult(float) - Method in class ch.aplu.android.GGVector
Returns a new vector that is the product by a scalar of the current vector and the given float.
mult(double) - Method in class ch.aplu.android.GGVector
Returns a new vector that is the product by a scalar of the current vector and the given double.
multiply(Complex) - Method in class ch.aplu.util.Complex
Multiply this complex object by the complex argument.
multiply(Complex, Complex) - Static method in class ch.aplu.util.Complex
Define a static multiply method that creates a a new Complex object with the product.
multiTouchEvent(GGMultiTouch) - Method in interface ch.aplu.android.GGMultiTouchListener
Event callback method called when a screen mulit-touch event occurs.
myGameGrid - Static variable in class ch.aplu.android.GameGrid
Public access to the GameGrid instance.

N

navigationEvent(GGNavigationEvent) - Method in interface ch.aplu.android.GGNavigationListener
Event callback method called when one of the navigation keys are used.
nbCycles - Variable in class ch.aplu.android.Actor
The current number of simulation cycles since last reset.
near(SensorPort, int) - Method in class ch.aplu.android.ev3.UltrasonicAdapter
Empty method called when the distance falls below the trigger level.
near(SensorPort, int) - Method in interface ch.aplu.android.ev3.UltrasonicListener
Called when the distance falls below the trigger level.
near(SensorPort, int) - Method in class ch.aplu.android.nxt.UltrasonicAdapter
Empty method called when the distance falls below the trigger level.
near(SensorPort, int) - Method in interface ch.aplu.android.nxt.UltrasonicListener
Called when the distance falls below the trigger level.
nearBorder(Actor, Location) - Method in class ch.aplu.android.Actor
Empty implementation of a BorderListener called when the actor is set into a border cell.
nearBorder(Actor, Location) - Method in interface ch.aplu.android.GGBorderListener
Event callback method called when the actor enters a border cell.
normalize() - Method in class ch.aplu.android.ev3.Vector2D
Modifies the vector to unit magnitude.
normalize() - Method in class ch.aplu.android.ev3.Vector3D
Modifies the vector to unit magnitude.
normalize() - Method in class ch.aplu.android.GGVector
Modifies the vector to unit magnitude.
NORTH - Static variable in class ch.aplu.android.Location
The compass direction for north.
NORTHEAST - Static variable in class ch.aplu.android.Location
The compass direction for northeast.
NORTHWEST - Static variable in class ch.aplu.android.Location
The compass direction for northwest.
notifyClientConnection(BluetoothDevice, InputStream, OutputStream) - Method in interface ch.aplu.android.bluetooth.BluetoothServerListener
Called when a client connects successfully to the server.
notifyConnection(BluetoothDevice, boolean) - Method in interface ch.aplu.android.bluetooth.BluetoothPeerListener
Called when connection is established/lost.
notifyConnection(boolean) - Method in interface ch.aplu.android.ev3.ConnectionListener
Called when the EV3Robot connects or disconnects from the EV3 brick.
notifyConnection(boolean) - Method in interface ch.aplu.android.nxt.NxtConnectionListener
Called when the NXTRobot connects to or disconnects from the NXT brick.
notifyCreate() - Method in class ch.aplu.android.GameGrid
Empty method called last in onCreate().
notifyResponse(String) - Method in interface ch.aplu.android.GGAlertDialogListener
Event callback method called when the user closes the dialog.
noVerso - Static variable in class ch.aplu.jcardgame.Card
If true; all cards are always shown with the face up (for debugging purposes).
NxtColorSensor - Class in ch.aplu.android.ev3
Class that represents a color sensor (Lego NXT color sensor).
NxtColorSensor(SensorPort) - Constructor for class ch.aplu.android.ev3.NxtColorSensor
Creates a sensor instance connected to the given port.
NxtColorSensor() - Constructor for class ch.aplu.android.ev3.NxtColorSensor
Creates a sensor instance connected to port S1.
NxtConnectionListener - Interface in ch.aplu.android.nxt
Callback declaration for Bluetooth connection/disconnection
NxtGear - Class in ch.aplu.android.ev3
Class that represents the combination of two motors on an axis to perform a car-like movement.
NxtGear() - Constructor for class ch.aplu.android.ev3.NxtGear
Creates a gear instance with right motor plugged into port A, left motor plugged into port B.
NxtLightSensor - Class in ch.aplu.android.ev3
Class that represents a light sensor (Lego NXT light sensor).
NxtLightSensor(SensorPort) - Constructor for class ch.aplu.android.ev3.NxtLightSensor
Creates a sensor instance connected to the given port.
NxtLightSensor() - Constructor for class ch.aplu.android.ev3.NxtLightSensor
Creates a sensor instance connected to port S1.
NxtMotor - Class in ch.aplu.android.ev3
Class that represents one of the NXT motors.
NxtMotor(MotorPort) - Constructor for class ch.aplu.android.ev3.NxtMotor
Creates a motor instance that is plugged into given port.
NxtMotor() - Constructor for class ch.aplu.android.ev3.NxtMotor
Creates a motor instance that is plugged into port A.
NxtRobot - Class in ch.aplu.android.nxt
Class that represents a NXT robot brick.
NxtRobot(Activity, BluetoothDevice) - Constructor for class ch.aplu.android.nxt.NxtRobot
Creates a NxtRobot instance with given BluetoothDevice of the NXT brick.
NxtRobot(Activity, String) - Constructor for class ch.aplu.android.nxt.NxtRobot
Creates a NxtRobot instance with given Bluetooth friendly name of the NXT brick.
NxtRobot(Activity) - Constructor for class ch.aplu.android.nxt.NxtRobot
Opens a GGInputDialog to ask for the Bluetooth friendly name of the NXT brick and creates a NxtRobot instance.
NxtRobot.ConnectState - Enum in ch.aplu.android.nxt
Enum that defines return values for the connect() method.
NxtSoundSensor - Class in ch.aplu.android.ev3
Class that represents a sound sensor.
NxtSoundSensor(SensorPort) - Constructor for class ch.aplu.android.ev3.NxtSoundSensor
Creates a sensor instance connected to the given port.
NxtSoundSensor() - Constructor for class ch.aplu.android.ev3.NxtSoundSensor
Creates a sensor instance connected to port S1.
NxtTouchSensor - Class in ch.aplu.android.ev3
Class that represents a touch sensor.
NxtTouchSensor(SensorPort) - Constructor for class ch.aplu.android.ev3.NxtTouchSensor
Creates a sensor instance connected to the given port.
NxtTouchSensor() - Constructor for class ch.aplu.android.ev3.NxtTouchSensor
Creates a sensor instance connected to port S1.
NxtTurtleRobot - Class in ch.aplu.android.ev3
Implementation of the basic Logo turtle movements.
NxtTurtleRobot(ConnectionListener, String, int, boolean) - Constructor for class ch.aplu.android.ev3.NxtTurtleRobot
Creates a NxtTurtleRobot instance with given IP address.
NxtTurtleRobot(ConnectionListener, String, boolean) - Constructor for class ch.aplu.android.ev3.NxtTurtleRobot
Creates a NxtTurtleRobot instance with given IP address.
NxtTurtleRobot(ConnectionListener, String) - Constructor for class ch.aplu.android.ev3.NxtTurtleRobot
Creates a NxtTurtleRobot instance with given IP address.
NxtTurtleRobot(ConnectionListener) - Constructor for class ch.aplu.android.ev3.NxtTurtleRobot
Creates a NxtTurtleRobot and engage a connection trial.
NxtUltrasonicSensor - Class in ch.aplu.android.ev3
Class that represents a NXT ultrasonic sensor.
NxtUltrasonicSensor(SensorPort) - Constructor for class ch.aplu.android.ev3.NxtUltrasonicSensor
Creates a sensor instance connected to the given port.
NxtUltrasonicSensor() - Constructor for class ch.aplu.android.ev3.NxtUltrasonicSensor
Creates a sensor instance connected to port S1.

O

OK - Static variable in class ch.aplu.android.GGMessageBox
Acronym for ButtonLayout.OK.
OK_CANCEL - Static variable in class ch.aplu.android.GGMessageBox
Acronym for ButtonLayout.OK_CANCEL.
onCompletion(MediaPlayer) - Method in class ch.aplu.android.GameGrid
Notification method called when the playback of a media file terminates.
onConfigurationChanged(Configuration) - Method in class ch.aplu.android.ConsoleActivity
For internal use only.
onConfigurationChanged(Configuration) - Method in class ch.aplu.android.GameGrid
Called by the system when the configuration is modified, e.g. when the device orientation changes.
onCreate(Bundle) - Method in class ch.aplu.android.ConsoleActivity
For internal use only.
onKeyDown(int, KeyEvent) - Method in class ch.aplu.android.GameGrid
Notification method when a key is pressed.
onKeyLongPress(int, KeyEvent) - Method in class ch.aplu.android.GameGrid
Notification method when a key is long pressed.
onKeyUp(int, KeyEvent) - Method in class ch.aplu.android.GameGrid
Notification method when a key is released.
open(Activity) - Static method in class ch.aplu.android.GGCamera
Creates a GGCamera instance to access the hardware photo camera.
openDrawableResource(String) - Method in class ch.aplu.android.GameGrid
Opens the given raw resource (file in subdirectory res/drawable).
openRawResource(String) - Method in class ch.aplu.android.GameGrid
Opens the given raw resource (file in subdirectory res/raw).
openRawResource(Activity, String) - Static method in class ch.aplu.android.GGPath
Loads a binary file from the raw resource folder,
e.g. get a Bitmap reference from a image resource with bi = BitmapFactory.decodeStream(openRawResource(activity, filename).
OpticalDistanceSensor - Class in ch.aplu.android.ev3
Class that represents a high precision infrared distance sensor (High Precision Short Range Infrared Distance Sensor from mindstorms.com).
OpticalDistanceSensor(SensorPort) - Constructor for class ch.aplu.android.ev3.OpticalDistanceSensor
Creates a sensor instance connected to the given port.
OpticalDistanceSensor() - Constructor for class ch.aplu.android.ev3.OpticalDistanceSensor
Creates a sensor instance connected to port S1.
orientationChanged(float[]) - Method in interface ch.aplu.android.GGComboSensorListener
Event callback method called when the orientation sensor reports new values for azimuth, pitch or roll (in degrees).
orientationChanged(GGNavigationListener.ScreenOrientation) - Method in interface ch.aplu.android.GGOrientationListener
Event callback method called when the device orientaton changed from PORTRAIT to LANDSCAPE or vice versa.

P

pack(File, File) - Static method in class ch.aplu.android.GGPath
Creates a compressed JAR archive from a all files and subdirectories in directory with given dirPath.
packageName - Variable in class ch.aplu.android.GameGrid.SysInfo
The application's package name.
Part - Class in ch.aplu.android.ev3
Abstract class as ancestor of all parts.
Part() - Constructor for class ch.aplu.android.ev3.Part
 
Part - Class in ch.aplu.android.nxt
Abstract class as ancestor of all parts.
Part() - Constructor for class ch.aplu.android.nxt.Part
 
paste(Bitmap, Bitmap, int, int) - Static method in class ch.aplu.android.GGBitmap
Returns a clone of the original image where a part is replaced by another image.
pixelToVirtual(int) - Method in class ch.aplu.android.GameGrid
Returns the virtual value (int)(tPixel / zoomFactor) of a pixel coordinate.
playConnectMelody() - Method in class ch.aplu.android.nxt.NxtRobot
Plays a standard connect melody.
playDisconnectMelody() - Method in class ch.aplu.android.nxt.NxtRobot
Plays a standard disconnect melody.
playSound(String, boolean) - Method in class ch.aplu.android.GameGrid
Plays the given sound resource.
playSound(String) - Method in class ch.aplu.android.GameGrid
Same as playSound(String soundResource, boolean blocking) with blocking = true.
playTone(int, int) - Method in class ch.aplu.android.ev3.LegoRobot
Plays a tone with given frequency (in Hertz) and duration (in seconds).
playTone(int, int) - Method in class ch.aplu.android.GameGrid
Plays a sine wave tone with given frequency and duration.
playTone(int, int) - Method in class ch.aplu.android.nxt.NxtRobot
Plays a tone with given frequency (in Hertz) and duration (in seconds).
point(double, double) - Method in class ch.aplu.android.GGPanel
Draws a single point at given coordinates.
point(PointD) - Method in class ch.aplu.android.GGPanel
Draws a single point at given coordinates.
point() - Method in class ch.aplu.android.GGPanel
Draws a single point at the current graph position.
PointD - Class in ch.aplu.android
Class representing pairs of double values.
PointD() - Constructor for class ch.aplu.android.PointD
Constructs a PointD at (0, 0).
PointD(double, double) - Constructor for class ch.aplu.android.PointD
Constructs a PointD with given coordintes.
PointD(PointF) - Constructor for class ch.aplu.android.PointD
Constructs a PointD from given PointF
PointD(Point) - Constructor for class ch.aplu.android.PointD
Constructs a PointD from given Point
PointD(GGVector) - Constructor for class ch.aplu.android.PointD
Constructs a PointD from given GGVector
PointD(PointD) - Constructor for class ch.aplu.android.PointD
Constructs a PointD from given PointD
pointerPress - Static variable in class ch.aplu.android.GGMultiTouch
Screen pressed by a the next pointer
pointerRelease - Static variable in class ch.aplu.android.GGMultiTouch
Screen released by a pointer.
polygon(double[], double[], boolean) - Method in class ch.aplu.android.GGPanel
Draws a polygon with given vertexes.
polygon(PointD[], boolean) - Method in class ch.aplu.android.GGPanel
Draws a polygon with given vertexes.
PORTRAIT - Static variable in class ch.aplu.android.GameGrid
Constant for setScreenOrientation().
press - Static variable in class ch.aplu.android.GGMultiTouch
Screen pressed by the first pointer
press - Static variable in class ch.aplu.android.GGTouch
Screen pressed (touched).
pressed(SensorPort) - Method in class ch.aplu.android.ev3.TouchAdapter
Empty method called when the touch sensor is pressed.
pressed(SensorPort) - Method in interface ch.aplu.android.ev3.TouchListener
Called when the touch sensor is pressed.
pressed(SensorPort) - Method in class ch.aplu.android.nxt.TouchAdapter
Empty method called when the touch sensor is pressed.
pressed(SensorPort) - Method in interface ch.aplu.android.nxt.TouchListener
Called when the touch sensor is pressed.
pressed(ToolBarItem) - Method in class ch.aplu.android.ToolBarAdapter
Triggered when a item is pressed.
pressed(ToolBarItem) - Method in interface ch.aplu.android.ToolBarListener
Triggered when a item is pressed.
pressed(Card) - Method in class ch.aplu.jcardgame.CardAdapter
Triggered when a card is pressed.
pressed(Card) - Method in interface ch.aplu.jcardgame.CardListener
Triggered when a card is pressed.
println(String) - Static method in class ch.aplu.android.GGConsole
Writes one line of text.
PrototypeSensor - Class in ch.aplu.android.ev3
Class that represents a prototype sensor (HiTechnic NXT Prototype Board).
PrototypeSensor(SensorPort) - Constructor for class ch.aplu.android.ev3.PrototypeSensor
Creates a sensor instance connected to the given port.
PrototypeSensor() - Constructor for class ch.aplu.android.ev3.PrototypeSensor
Creates a sensor instance connected to port S1.
putOnTop(boolean) - Method in class ch.aplu.jcardgame.CardCover
Sets the card cover actor above or below any other card actors and card covers.
putOnTop(Card) - Method in class ch.aplu.jcardgame.Hand
Draws the given card above each other card (on top) in this hand and rearrages the hand appearence so that all card are shown.
putOnTopEnabled(boolean) - Method in class ch.aplu.jcardgame.Hand
Enable/disables automatic putOnTop when the card is left-clicked.
putSleep(int) - Static method in class ch.aplu.util.Monitor
Same as putSleep(Object monitor, int timeout), but uses internal static monitor object.
putSleep(Object, int) - Static method in class ch.aplu.util.Monitor
Put the current thread in a wait state until wakeUp() is called or timeout ( in ms ) expires.
putSleep(Object) - Static method in class ch.aplu.util.Monitor
Same as putSleep(Object monitor, int timeout) with timeout = 0 (timeout disabled).
putSleep() - Static method in class ch.aplu.util.Monitor
Same as putSleep(int timeout) with timeout = 0 (timeout disabled).

Q

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

R

radius - Variable in class ch.aplu.android.GGCircle
The public radius of the circle.
randomBatchTransfer(int, Hand, Hand, boolean) - Static method in class ch.aplu.jcardgame.Hand
Moves a randomly selected batch of cards from the source hand to the target hand.
read(int[], int[]) - Method in class ch.aplu.android.ev3.PrototypeSensor
Reads the sensor.
read(int[], int[]) - Method in class ch.aplu.android.ev3.SuperProSensor
Reads the sensor.
readAnalog(int[]) - Method in class ch.aplu.android.ev3.PrototypeSensor
Reads the sensor.
readAnalog(int[]) - Method in class ch.aplu.android.ev3.SuperProSensor
Reads the sensor.
readData() - Method in class ch.aplu.android.nxt.NxtRobot
Reads the data returned as a reply from the brick.
readDigital(int[]) - Method in class ch.aplu.android.ev3.PrototypeSensor
Reads the sensor.
readDigital(int[]) - Method in class ch.aplu.android.ev3.SuperProSensor
Reads the sensor.
readTextFile(File) - Static method in class ch.aplu.android.GGPath
Reads a text file into a string.
readTextResource(Activity, String) - Static method in class ch.aplu.android.GGPath
Reads a text file from the raw resouce folder.
real - Variable in class ch.aplu.util.Complex
 
receiveDataBlock(int[]) - Method in interface ch.aplu.android.bluetooth.BluetoothPeerListener
Called when incoming data is received.
rectangle(double, double, double, double, boolean) - Method in class ch.aplu.android.GGPanel
Draws/fills a rectangle with given opposite vertexes.
rectangle(PointD, PointD, boolean) - Method in class ch.aplu.android.GGPanel
Draws a rectangle with given opposite vertexes.
rectangle(double, double, boolean) - Method in class ch.aplu.android.GGPanel
Draws a rectangle with center at the current graph position and given width and height.
RED - Static variable in class ch.aplu.android.GameGrid
Short for Color.RED.
refresh() - Method in class ch.aplu.android.GameGrid
Repaints the graphics to show any changes in the offscreen buffer.
release() - Method in class ch.aplu.android.GGCamera
Releases camera resources for other applications.
release - Static variable in class ch.aplu.android.GGMultiTouch
Screen released by the last pointer.
release - Static variable in class ch.aplu.android.GGTouch
Screen released.
releaseConnection() - Method in class ch.aplu.android.bluetooth.BluetoothPeer
Releases a connection as client or server.
released(SensorPort) - Method in class ch.aplu.android.ev3.TouchAdapter
Empty method called when the touch sensor is released.
released(SensorPort) - Method in interface ch.aplu.android.ev3.TouchListener
Called when the touch sensor is released.
released(SensorPort) - Method in class ch.aplu.android.nxt.TouchAdapter
Empty method called when the touch sensor is released.
released(SensorPort) - Method in interface ch.aplu.android.nxt.TouchListener
Called when the touch sensor is released.
released(ToolBarItem) - Method in class ch.aplu.android.ToolBarAdapter
Triggered when a item is released.
released(ToolBarItem) - Method in interface ch.aplu.android.ToolBarListener
Triggered when a item is released.
released(Card) - Method in class ch.aplu.jcardgame.CardAdapter
Triggered when a card is released.
released(Card) - Method in interface ch.aplu.jcardgame.CardListener
Triggered when a card is released.
remove(String) - Method in class ch.aplu.android.GGPreferences
Remove the preference value associated to the given key.
remove(boolean) - Method in class ch.aplu.android.GGProgressBar
Removes the progress bar from the game grid.
remove(int, boolean) - Method in class ch.aplu.jcardgame.Hand
Removes the card at given index from card list.
remove(Card, boolean) - Method in class ch.aplu.jcardgame.Hand
Removes card from the current hand.
removeActor(Actor) - Method in class ch.aplu.android.GameGrid
Removes the given actor from the scene, so that act() is not called any more.
removeActors(Class) - Method in class ch.aplu.android.GameGrid
Removes all actors from the specified class, so that act() is not called any more.
removeActorsAt(Location, Class) - Method in class ch.aplu.android.GameGrid
Removes all actors from the specified class at the specified location, so that act() is not called any more.
removeActorsAt(Location) - Method in class ch.aplu.android.GameGrid
Removes all actors at the specified location, so that act() is not called any more.
removeAll() - Method in class ch.aplu.android.GGPreferences
Remove all preferences.
removeAll(boolean) - Method in class ch.aplu.jcardgame.Hand
Removes every card in the current hand and from the game grid.
removeAllActors() - Method in class ch.aplu.android.GameGrid
Removes all actors from the scene, so that act() is not called any more.
removeAllItems() - Method in class ch.aplu.android.ToolBar
Removes all currently displayed items from the card game window and empties the item list.
removeDir(File) - Static method in class ch.aplu.android.GGPath
(Be very careful) Deletes all files and subdirectories and the directory itself.
removeFiles(File, boolean) - Static method in class ch.aplu.android.GGPath
(Be very careful) Deletes all files in directory (but not the directory itself).
removeFirst(boolean) - Method in class ch.aplu.jcardgame.Hand
Removes first card from card list.
removeFlingListener(GGFlingListener) - Method in class ch.aplu.android.GameGrid
Removes the given fling listener from the list of registered fling listeners.
removeFromHand(boolean) - Method in class ch.aplu.jcardgame.Card
Removes the card from its hand.
removeLast(boolean) - Method in class ch.aplu.jcardgame.Hand
Removes last card from card list.
removeSelf() - Method in class ch.aplu.android.Actor
Removes the given actor from the scene, so that act() is not called any more.
removeTouchListener(GGTouchListener) - Method in class ch.aplu.android.GameGrid
Removes the given touch listener from the list of registered touch listeners.
REPORT - Static variable in class ch.aplu.android.GameGrid
Constant for setScreenOrientation().
requestBluetoothDiscoverability(int) - Method in class ch.aplu.android.GameGrid
Shows a modal dialog to request the user to set the device discovarable for the given amount of time.
requestBluetoothEnable() - Method in class ch.aplu.android.GameGrid
Shows a modal dialog to request the user to enable Bluetooth.
requestData(byte[]) - Method in class ch.aplu.android.nxt.NxtRobot
Combines sendData() and readData() in synchronized block.
requestDouble(String, String, double) - Method in class ch.aplu.android.GameGrid
Opens a modal input dialog with given title, prompt and initial value.
requestDouble(String, String) - Method in class ch.aplu.android.GameGrid
Same as requestDouble(String title, String prompt, double init) with no init value.
requestFloat(String, String, float) - Method in class ch.aplu.android.GameGrid
Opens a modal input dialog with given title, prompt and initial value.
requestFloat(String, String) - Method in class ch.aplu.android.GameGrid
Same as requestFloat(String title, String prompt, double init) with no init value.
requestInput(String, String, String) - Static method in class ch.aplu.android.GGConsole
Halts the main thread and shows the modal dialog box and a Ok and Cancel button.
requestInt(String, String, int) - Method in class ch.aplu.android.GameGrid
Opens a modal input dialog with given title, prompt and initial value.
requestInt(String, String) - Method in class ch.aplu.android.GameGrid
Same as requestInt(String title, String prompt, double init) with no init value.
requestLong(String, String, long) - Method in class ch.aplu.android.GameGrid
Opens a modal input dialog with given title, prompt and initial value.
requestLong(String, String) - Method in class ch.aplu.android.GameGrid
Same as requestLong(String title, String prompt, double init) with no init value.
requestString(String, String, String) - Method in class ch.aplu.android.GameGrid
Opens a modal input dialog with given title, prompt and initial value.
requestString(String, String) - Method in class ch.aplu.android.GameGrid
Same as requestString(String title, String prompt, double init) with no init value.
reset() - Method in class ch.aplu.android.Actor
Empty method called when the actor is added to the game grid, the reset button is clicked or doReset() is called.
reset() - Method in class ch.aplu.android.ev3.GyroAngleSensor
Resets the start orientation to the current orientation.
reset() - Method in class ch.aplu.android.ev3.LegoRobot
Resets EV3 to start location/direction.
reset() - Method in class ch.aplu.android.GameGrid
Empty method called when the reset button is hit or doReset() is called.
reset() - Method in class ch.aplu.android.GGCheckButton
Overrides the actor's reset() called when the button is added to the game grid.
reset() - Method in class ch.aplu.android.GGRadioButton
Overrides the actor's reset() called when the button is added to the game grid.
reset() - Method in class ch.aplu.android.GGToggleButton
Overrides the actor's reset() called when the button is added to the game grid.
reset() - Method in class ch.aplu.util.BaseTimer
Stop the timer and set its value to zero.
resetMotorCount() - Method in class ch.aplu.android.ev3.GenericMotor
Resets the rotation counter to zero.
resetMotorCount() - Method in class ch.aplu.android.nxt.Motor
Resets the rotation counter to zero.
RESTART - Static variable in class ch.aplu.android.GameGrid
Constant for setScreenOrientation().
restore() - Method in class ch.aplu.android.GGBackground
Restores a previously saved background.
resume() - Method in class ch.aplu.util.BaseAlarmTimer
Restart the timer from its current time.
resume() - Method in class ch.aplu.util.BaseTimer
Restart the timer from its current value.
retrieveBoolean(String) - Method in class ch.aplu.android.GGPreferences
Retrieves a boolean value associated to the given key.
retrieveFloat(String) - Method in class ch.aplu.android.GGPreferences
Retrieves a float value associated to the given key.
retrieveInt(String) - Method in class ch.aplu.android.GGPreferences
Retrieves an integer value associated to the given key.
retrieveLong(String) - Method in class ch.aplu.android.GGPreferences
Retrieves a long value associated to the given key.
retrieveString(String) - Method in class ch.aplu.android.GGPreferences
Retrieves an string value associated to the given key.
RETRY_CANCEL - Static variable in class ch.aplu.android.GGMessageBox
Acronym for ButtonLayout.RETRY_ CANCEL.
reverse(boolean) - Method in class ch.aplu.jcardgame.Hand
Reverses the order of the cards in the card list.
reverseSceneOrder(ArrayList<Actor>) - Method in class ch.aplu.android.GameGrid
Reverses the order of the given actor list in the corresponding scene list.
reverseSort(Hand.SortType, boolean) - Method in class ch.aplu.jcardgame.Hand
Sorts the card list with given sort type and reverses the list.
RFIDSensor - Class in ch.aplu.android.ev3
Class that represents a RFID sensor from CODATEX (www.codatex.com).
RFIDSensor(SensorPort) - Constructor for class ch.aplu.android.ev3.RFIDSensor
Creates a sensor instance connected to the given port.
RFIDSensor() - Constructor for class ch.aplu.android.ev3.RFIDSensor
Creates a sensor instance connected to port S1.
right() - Method in class ch.aplu.android.ev3.GenericGear
Same as left(), but turns in the opposite direction.
right(int) - Method in class ch.aplu.android.ev3.GenericGear
Same as left(int duration), but turning in the opposite direction.
right(int) - Method in class ch.aplu.android.ev3.NxtTurtleRobot
Turns the turtle to the right for the given angle.
right(int) - Method in class ch.aplu.android.ev3.TurtleRobot
Turns the turtle to the right for the given angle.
right() - Method in class ch.aplu.android.nxt.Gear
Same as left(), but turning in the opposite direction.
right(int) - Method in class ch.aplu.android.nxt.Gear
Same as left(int duration), but turning in the opposite direction.
right(int) - Method in class ch.aplu.android.nxt.TurtleRobot
Turns the turtle to the right for the given angle.
rightArc(double) - Method in class ch.aplu.android.ev3.GenericGear
Same as leftArc(double radius), but turns in the right.
rightArc(double, int) - Method in class ch.aplu.android.ev3.GenericGear
Same as leftArc(double radius, int duration), but turns to the right.
rightArc(double) - Method in class ch.aplu.android.nxt.Gear
Same as leftArc(double radius), but turns in the right.
rightArc(double, int) - Method in class ch.aplu.android.nxt.Gear
Same as leftArc(double radius, int duration), but turns to the right.
rotate(Location, double) - Method in class ch.aplu.android.Actor
Rotates the actor with given rotation center location by the given angle.
rotate(Point, double) - Method in class ch.aplu.android.Actor
Rotates the actor with given rotation center point by given angle.
rotate(double) - Method in class ch.aplu.android.ev3.Vector2D
Rotates the vector by the specified angle.
rotate(double) - Method in class ch.aplu.android.GGRectangle
Rotates with rotation center at (0, 0).
rotate(GGVector, double) - Method in class ch.aplu.android.GGRectangle
Rotates with given rotation center.
rotate(double) - Method in class ch.aplu.android.GGVector
Rotates the vector by the specified angle.
rotateTo(int) - Method in class ch.aplu.android.ev3.GenericMotor
Sets the rotation counter to zero and rotates the motor until the given count is reached.
rotateTo(int, boolean) - Method in class ch.aplu.android.ev3.GenericMotor
Sets the rotation counter to zero and rotates the motor until the given count is reached.
rotateTo(int) - Method in class ch.aplu.android.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.android.nxt.Motor
Sets the rotation counter to zero and rotates the motor until the given count is reached.
RowLayout - Class in ch.aplu.jcardgame
Class to store the row layout options for a hand.
RowLayout(Location, int) - Constructor for class ch.aplu.jcardgame.RowLayout
Same as RoyLayout(handLocation, rowWidth, rotationAngle) with rotationAngle = 0.
RowLayout(Location, int, double) - Constructor for class ch.aplu.jcardgame.RowLayout
Creates a RowLayout instance with given hand location , maximum row width and rotation angle.

S

S1 - Static variable in class ch.aplu.android.ev3.SensorPort
Declaration used by a sensor connected to port S1.
S1 - Static variable in class ch.aplu.android.nxt.SensorPort
Declaration used by a motor connected to port S1.
S2 - Static variable in class ch.aplu.android.ev3.SensorPort
Declaration used by a sensor connected to port S2.
S2 - Static variable in class ch.aplu.android.nxt.SensorPort
Declaration used by a motor connected to port S2.
S3 - Static variable in class ch.aplu.android.ev3.SensorPort
Declaration used by a sensor connected to port S3.
S3 - Static variable in class ch.aplu.android.nxt.SensorPort
Declaration used by a motor connected to port S3.
S4 - Static variable in class ch.aplu.android.ev3.SensorPort
Declaration used by a sensor connected to port S4.
S4 - Static variable in class ch.aplu.android.nxt.SensorPort
Declaration used by a motor connected to port S4.
save() - Method in class ch.aplu.android.GGBackground
Saves the current background to an extra buffer.
sector(double, double, double, double, double, boolean) - Method in class ch.aplu.android.GGPanel
Draws a sector (arc with bounding lines to center, pie) with given center coordinates, radius in user x-coordinates, start angle and angle extent.
sector(PointD, double, double, double, boolean) - Method in class ch.aplu.android.GGPanel
Draws a sector (arc with bounding lines to center, pie) with given center, radius in user x-coordinates, start angle and angle extent.
sector(double, double, double, boolean) - Method in class ch.aplu.android.GGPanel
Draws a sector (arc with bounding lines to center, pie) with center at current graph position, radius in user x-coordinates, start angle and angle extent.
sendData(byte, byte) - Method in class ch.aplu.android.nxt.I2CSensor
Sets a single byte in the I2C sensor.
sendData(byte, byte, byte) - Method in class ch.aplu.android.nxt.I2CSensor
Sets two consecutive bytes in the I2C sensor.
sendData(byte[]) - Method in class ch.aplu.android.nxt.NxtRobot
Sends a direct command to the brick.
sendDataBlock(int[]) - Method in class ch.aplu.android.bluetooth.BluetoothPeer
Send a block of data to the connected node.
sendSMS(String, String) - Method in class ch.aplu.android.GameGrid
Sends a SMS with given message to the given recipient.
Sensor - Class in ch.aplu.android.ev3
Abstract class as ancestor of all sensors.
Sensor - Class in ch.aplu.android.nxt
Abstract class as ancestor of all sensors.
sensorChanged(float[], int) - Method in interface ch.aplu.android.GGSensorListener
Event callback method called when the sensor reports new values.
SensorPort - Class in ch.aplu.android.ev3
Useful declarations for sensor port connections.
SensorPort(int) - Constructor for class ch.aplu.android.ev3.SensorPort
Creates a SensorPort from the port id.
SensorPort - Class in ch.aplu.android.nxt
Useful declarations for port connections.
set(double, double) - Method in class ch.aplu.android.PointD
Sets the coordinates to given values.
set(PointF) - Method in class ch.aplu.android.PointD
Sets the coordinates to coordinates of given PointF.
set(PointD) - Method in class ch.aplu.android.PointD
Sets the coordinates to coordinates of given PointD.
setAcceleration(int) - Method in class ch.aplu.android.ev3.GenericGear
Sets the acceleration rate of both motors in degrees/sec/sec Smaller values make speed changes smoother.
setAcceleration(int) - Method in class ch.aplu.android.ev3.GenericMotor
Sets the acceleration rate of the motor in degrees/sec/sec The default value is 6000.
setActEnabled(boolean) - Method in class ch.aplu.android.Actor
Enable/disable the invocation of act() in every simulation cycle.
setActEnabled(boolean) - Method in class ch.aplu.android.GameGrid
Enables/disables the simulation cycle momentarily.
setActorCollisionEnabled(boolean) - Method in class ch.aplu.android.Actor
Enable/disable the detection of collisions with the actor collision candidates.
setActOrder(Class...) - Method in class ch.aplu.android.GameGrid
Set the act order of objects in the scene.
setActorOnBottom(Actor) - Method in class ch.aplu.android.GameGrid
Puts the given actor at first place in the corresponding scene list, in order to act last and to be drawn on the bottom of other actors of the same class.
setActorOnTop(Actor) - Method in class ch.aplu.android.GameGrid
Puts the given actor at last place in the corresponding scene list, in order to act first and to be drawn on top of other actors of the same class.
setActorTouchCircle(int, Point, int) - Method in class ch.aplu.android.Actor
Selects the circle (in pixel units) relative to the sprite image that is used for actor touch detection.
setActorTouchCircle(Point, int) - Method in class ch.aplu.android.Actor
Same as setActorTouchCircle(int spriteId, Point center, int radius) for all sprites of this actor.
setActorTouchEnabled(boolean) - Method in class ch.aplu.android.Actor
Enable/disable the detection of actor touch interactions.
setActorTouchImage(int) - Method in class ch.aplu.android.Actor
Selects the non-transparent pixels of the sprite image for actor touch detection.
setActorTouchImage() - Method in class ch.aplu.android.Actor
Same as setActorTouchImage(int spriteId) for all sprites of this actor.
setActorTouchRectangle(int, Point, int, int) - Method in class ch.aplu.android.Actor
Selects the rectangle (in pixel units) relative to the sprite image that is used for actor touch detection.
setActorTouchRectangle(Point, int, int) - Method in class ch.aplu.android.Actor
Same as setActorTouchRectangle(int spriteId, Rectangle rect) for all sprites of this actor.
setAllSpriteIds(int) - Method in class ch.aplu.android.ToolBar
Sets the sprite id of all items to given value.
setAutoRefreshEnabled(boolean) - Method in class ch.aplu.android.GGPanel
Enables the automatic refresh in every drawing method.
setBackgroundColor(int) - Method in class ch.aplu.android.GGStatusBar
Sets the background color attribute.
setBeamAreaColor(Color) - Method in class ch.aplu.android.ev3.NxtUltrasonicSensor
Sets the color of the beam area (two sector border lines and axis).
setBeamAreaColor(Color) - Method in class ch.aplu.android.ev3.UltrasonicSensor
Sets the color of the beam area (two sector border lines and axis).
setBgColor(int) - Method in class ch.aplu.android.GGProgressBar
Sets the background color of the frame.
setBgColor(int) - Method in class ch.aplu.android.GGTextField
Sets the background color attribute.
setBgImagePath(String) - Method in class ch.aplu.android.GameGrid
Sets the path to the background image file.
setBgImagePos(Point) - Method in class ch.aplu.android.GameGrid
Sets the x-y-coordinate of the upper left corner of the background image with respect to the playground pixel coordinates.
setBgImagePosX(int) - Method in class ch.aplu.android.GameGrid
Sets the x-coordinate of the upper left corner of the background image with respect to the playground pixel coordinates.
setBgImagePosY(int) - Method in class ch.aplu.android.GameGrid
Sets the y-coordinate of the upper left corner of the background image with respect to the playground pixel coordinates.
setBorderColor(int) - Method in class ch.aplu.android.GameGrid
Sets the color of the frame border.
setBorderColor(int) - Method in class ch.aplu.android.GGStatusBar
Sets the border color attribute.
setCardAlignment(Hand.CardAlignment) - Method in class ch.aplu.jcardgame.ColumnLayout
Sets the current card alignment to the given alignment.
setCardAlignment(Hand.CardAlignment) - Method in class ch.aplu.jcardgame.FanLayout
Sets the current card alignment to the given alignment.
setCardAlignment(Hand.CardAlignment) - Method in class ch.aplu.jcardgame.RowLayout
Sets the current card alignment to the given alignment.
setCardGame(CardGame) - Method in class ch.aplu.jcardgame.Hand
Selects the card game instance where to display the hand's card.
setCardOrientation(CardOrientation) - Method in class ch.aplu.jcardgame.TargetArea
Sets the card orientation to the given orientation.
setCenter(Location) - Method in class ch.aplu.jcardgame.FanLayout
Sets the current center to the given center
setChecked(boolean) - Method in class ch.aplu.android.GGCheckButton
Sets the button in the checked/unchecked state.
setCleanupEnabled(boolean) - Method in class ch.aplu.android.GameGrid
Enables/disables automatic cleanup of game grid (all actors removed from game grid, default simulationPeriod) when game grid is reinitialized (e.g. when orientation changes).
setCollisionCircle(int, Point, int) - Method in class ch.aplu.android.Actor
Selects the circle (in pixel units) relative to the sprite image that is used for collision detection.
setCollisionCircle(Point, int) - Method in class ch.aplu.android.Actor
Same as setCollisionCircle(int spriteId, Point center, int radius) for spriteId = 0.
setCollisionCircle(Location, Point, int) - Method in class ch.aplu.android.GGTileMap
Selects the circle (in pixel units) relative to the tile center that is used for collision detection.
setCollisionImage(int) - Method in class ch.aplu.android.Actor
Selects collision detection on non-transparent pixels of the image.
setCollisionImage() - Method in class ch.aplu.android.Actor
Same as setCollisionImage(int spriteId) for spriteId = 0.
setCollisionLine(int, Point, Point) - Method in class ch.aplu.android.Actor
Selects the line segment (in pixel units) relative to the sprite image that is used for collision detection.
setCollisionLine(Point, Point) - Method in class ch.aplu.android.Actor
Same as setCollisionLine(int spriteId, Point startPoint, Point endPoint) for spriteId = 0.
setCollisionLine(Location, Point, Point) - Method in class ch.aplu.android.GGTileMap
Selects the line segment (in pixel units) relative to the tile that is used for collision detection.
setCollisionRectangle(int, Point, int, int) - Method in class ch.aplu.android.Actor
Selects the rectangle (in pixel units) relative to the sprite image that is used for collision detection.
setCollisionRectangle(Point, int, int) - Method in class ch.aplu.android.Actor
Same as setCollisionRectangle(int spriteId, Point center, int width, int height) for spriteId = 0
setCollisionRectangle(Location, Point, int, int) - Method in class ch.aplu.android.GGTileMap
Selects the rectangle (in pixel units) relative to the tile that is used for collision detection.
setCollisionSpot(int, Point) - Method in class ch.aplu.android.Actor
Selects the hot spot (in pixel units) relative to the sprite image that is used for collision detection.
setCollisionSpot(Point) - Method in class ch.aplu.android.Actor
Same as setCollisionSpot(int spriteId, Point spot) for spriteId = 0.
setCollisionSpot(Location, Point) - Method in class ch.aplu.android.GGTileMap
Selects the hot spot relative to the sprite image that is used for collision detection.
setColumnHeight(int) - Method in class ch.aplu.jcardgame.ColumnLayout
Sets the current column height to the given height.
setContMode(boolean) - Method in class ch.aplu.android.ev3.RFIDSensor
Selects between Single Read and Continous Read mode.
setDCOut0(int, int) - Method in class ch.aplu.android.ev3.SuperProSensor
Enables the digital output at port O0 with mode 0: DC voltage level.
setDCOut1(int, int) - Method in class ch.aplu.android.ev3.SuperProSensor
Enables the digital output at port O1 with mode 0: DC voltage level.
setDIOMask(int) - Method in class ch.aplu.android.ev3.PrototypeSensor
Sets the direction of the 6 digital input/output channels.
setDIOMask(int) - Method in class ch.aplu.android.ev3.SuperProSensor
Sets the direction of the 6 digital input/output channels.
setDirection(double) - Method in class ch.aplu.android.Actor
Sets the moving direction.
setDirection(Location.CompassDirection) - Method in class ch.aplu.android.Actor
Sets the moving direction to the given compass direction.
setDisplacePosition(PointD) - Method in class ch.aplu.android.Actor
Sets the current displace position and moves the actor in the cell that contains the given coordinates.
setEnabled(boolean) - Method in class ch.aplu.android.GGButtonBase
Enable/Disable button actions.
setEndDir(double) - Method in class ch.aplu.jcardgame.FanLayout
Sets the current end direction to the given end direction For negative endDir, the angle distance between cards is fixed to the absolute value of this parameter.
setFloodlight(int) - Method in class ch.aplu.android.ev3.ColorSensor
Turns the red, green or blue LED on or all off.
setFloodlight(int) - Method in class ch.aplu.android.ev3.NxtColorSensor
Turns the red, green or blue LED on or all off.
setFontSize(int) - Method in class ch.aplu.android.GGTextField
Sets the font size attribute.
setFrameColor(int) - Method in class ch.aplu.android.GGProgressBar
Sets the border color of the frame.
setGridColor(int) - Method in class ch.aplu.android.GameGrid
Sets the color of the grid and reconstructs the background.
setHandLocation(Location) - Method in class ch.aplu.jcardgame.HandLayout
Sets the current hand location to the given location.
setHighPassFilter(float, float) - Method in class ch.aplu.android.GGSensor
Sets the sampling frequency and the cutoff frequency of the high-pass filter applied to the sensor data.
setHorzMirror(boolean) - Method in class ch.aplu.android.Actor
If set, the sprite image shown is mirrored horizontally.
setHotspotArea(Point, int, int) - Method in class ch.aplu.android.GGButtonBase
Selects the rectangle (in pixel units) relative to the button image as active mouse area.
setImage(String, int, int) - Method in class ch.aplu.android.GGTileMap
Sets the tile image of the tile with given indices.
setImage(String, Location) - Method in class ch.aplu.android.GGTileMap
Sets the tile image of the tile with given map location.In order the image fits exactly on the tile, its size in number of pixels should be tileHeight x tileWidth given when constructing the tile map.
setLED(int) - Method in class ch.aplu.android.ev3.SuperProSensor
Turn the given onboard LED on.
setLineWidth(int) - Method in class ch.aplu.android.GGBackground
Sets the current line width for all future painting.
setLineWidth(int) - Method in class ch.aplu.android.GGBitmap
Sets the current line width for all future painting.
setLocation(Location) - Method in class ch.aplu.android.Actor
Assigns a new current location.
setLocation(Location) - Method in class ch.aplu.android.GGTextField
Sets the location attribute.
setLocation(Location) - Method in class ch.aplu.android.ToolBar
Moves the current tool bar at the specified real location.
setLocation(Location) - Method in class ch.aplu.jcardgame.CardActor
Assigns a new current virtual location.
setLocation(Location) - Method in class ch.aplu.jcardgame.CardCover
Assigns a new current virtual location.
setLocationOffset(Point) - Method in class ch.aplu.android.Actor
Sets a pixel offset in x- any y-direction relative to the current location.
setLocationOffset(int, int) - Method in class ch.aplu.android.Actor
Same as setLoctionOffset(Point locationOffset) with given x and y displacements.
setLocationOffset(Point) - Method in class ch.aplu.android.GGTextField
Sets a pixel offset in x- any y-direction relative to the current location.
setLowPassFilter(float, float) - Method in class ch.aplu.android.GGSensor
Sets the sampling frequency and the cutoff frequency of the low-pass filter applied to the sensor data.
setMax(double) - Method in class ch.aplu.android.GGProgressBar
Sets the maximum value of the indicator.
setMeshTriangleColor(Color) - Method in class ch.aplu.android.ev3.NxtUltrasonicSensor
Sets the color of the triangle mesh lines.
setMeshTriangleColor(Color) - Method in class ch.aplu.android.ev3.UltrasonicSensor
Sets the color of the triangle mesh lines.
setMin(double) - Method in class ch.aplu.android.GGProgressBar
Sets the minimum value of the indicator.
setMultiTouchEnabled(boolean) - Method in class ch.aplu.android.GameGrid
Enable/disable all multi-touch event callbacks.
setNavigationNotifications(int) - Method in class ch.aplu.android.GameGrid
Enables/disables automatic toast notifications when the hardware button-navigation is active.
setNbRotSprites(int) - Method in class ch.aplu.android.GameGrid
Sets the new number of rotated sprite images in the internal sprite store (default 60).
setNegSawtoothOut0(int, int) - Method in class ch.aplu.android.ev3.SuperProSensor
Enables the digital output at port O0 with mode 4: Negative going sawtooth Once the output is enabled, it remains active even when the program terminates.
setNegSawtoothOut1(int, int) - Method in class ch.aplu.android.ev3.SuperProSensor
Enables the digital output at port O1 with mode 4: Negative going sawtooth Once the output is enabled, it remains active even when the program terminates.
setNoFilter() - Method in class ch.aplu.android.GGSensor
Disables filtering of sensor data (default).
setOnBottom() - Method in class ch.aplu.android.Actor
Sets the actor at the last place in the scene of the actor's class.
setOnBottom(Class) - Method in class ch.aplu.android.ToolBar
Puts the given class prior to the ToolBarItem class in the paint order, so that actors from the given class are painted on top of tool bar item images.
setOnTop() - Method in class ch.aplu.android.Actor
Sets the actor at the first place in the scene of the actor's class.
setOnTop(Class) - Method in class ch.aplu.android.ToolBar
Puts the ToolBarItem class prior to the given class in the paint order, so that the tool bar item images are painted on top of actors from the given class.
setOnTop(boolean) - Method in class ch.aplu.jcardgame.TargetArea
Sets/resets the onTop flag.
setPaintColor(int) - Method in class ch.aplu.android.GGBackground
Sets the current color for all future painting.
setPaintColor(int) - Method in class ch.aplu.android.GGBitmap
Sets the current color for all future painting.
setPaintMode() - Method in class ch.aplu.android.GGBackground
Removes the XOR paint mode and selects the normal overwrite mode.
setPaintOrder(Class...) - Method in class ch.aplu.android.GameGrid
Sets the paint order of objects in the game grid.
setPattern(String) - Method in class ch.aplu.android.GGProgressBar
Sets the DecimalFormat pattern used to display the value.
setPixelLocation(Point) - Method in class ch.aplu.android.Actor
Moves the center of the actor to the given pixel coordinates.
setPosition(Point) - Method in class ch.aplu.android.GGTileMap
Sets the current position of the upper left vertex with respect to the playground coordinate system (origin at upper left vertex, x-coordinate to the left, y-coordinate downwards).
setPosSawtoothOut0(int, int) - Method in class ch.aplu.android.ev3.SuperProSensor
Enables the digital output at port O0 with mode 3: Positive going sawtooth Once the output is enabled, it remains active even when the program terminates.
setPosSawtoothOut1(int, int) - Method in class ch.aplu.android.ev3.SuperProSensor
Enables the digital output at port O1 with mode 3: Positive going sawtooth Once the output is enabled, it remains active even when the program terminates.
setProximityCircleColor(Color) - Method in class ch.aplu.android.ev3.NxtUltrasonicSensor
Sets the color of the circle with center at sensor location and radius equals to the current distance value.
setProximityCircleColor(Color) - Method in class ch.aplu.android.ev3.UltrasonicSensor
Sets the color of the circle with center at sensor location and radius equals to the current distance value.
setPWMOut0(int, int) - Method in class ch.aplu.android.ev3.SuperProSensor
Enables the digital output at port O0 with mode 6: PWM voltage.
setPWMOut1(int, int) - Method in class ch.aplu.android.ev3.SuperProSensor
Enables the digital output at port O1 with mode 6: PWM voltage.
setRadius(double) - Method in class ch.aplu.jcardgame.FanLayout
Sets the current radius to the given radius
setRefreshEnabled(boolean) - Method in class ch.aplu.android.GameGrid
Enables/disables the automatic repainting of the graphics in every simulation cycle.
setRefreshEnabled(boolean) - Method in class ch.aplu.android.GGButtonBase
Enables/disables automatic refresh of game grid on button actions.
setRefreshEnabled(boolean) - Method in class ch.aplu.android.GGStatusBar
Enables/disables the the automatic refresh by calling GameGrid.refresh() is called at the end of setText().
setRepeatDelay(int) - Method in class ch.aplu.android.GGPushButton
Sets the delay between the buttonPressed event until the first buttonRepeat event.
setRepeatPeriod(int) - Method in class ch.aplu.android.GGPushButton
Sets the period of succeeding buttonRepeated() notifications.
setRotationAngle(double) - Method in class ch.aplu.jcardgame.ColumnLayout
Sets the current rotation angle to the given angle.
setRotationAngle(double) - Method in class ch.aplu.jcardgame.RowLayout
Sets the current rotation angle to the given angle.
setRotationAngle(double) - Method in class ch.aplu.jcardgame.StackLayout
Sets the current rotation angle to the given angle.
setRowWidth(int) - Method in class ch.aplu.jcardgame.RowLayout
Sets the current row width to the given width.
setSamplingPeriod(int) - Method in class ch.aplu.android.ev3.PrototypeSensor
Sets the sampling period of the ADC (4..100 ms, default 4 ms).
setScaleFactor(double) - Method in class ch.aplu.jcardgame.HandLayout
Sets the current scale factor to the given factor.
setSceneOrder(ArrayList<Actor>) - Method in class ch.aplu.android.GameGrid
Sets the act and paint order of the actors in the given list by rearraging their scene list to the order in the given list.
setScreenOrientation(GGNavigationListener.ScreenOrientation) - Method in class ch.aplu.android.GameGrid
Sets a fixed screen orientation.
setSelected(boolean) - Method in class ch.aplu.android.GGRadioButton
Sets the button in the selected/deselected state.
setSelected(boolean) - Method in class ch.aplu.android.ToolBarStack
Sets/deselects the item currently shown.
setSensorMode(byte) - Method in class ch.aplu.android.nxt.UltrasonicSensor
Sets the state for the sensor. e.g. off, single pulse, continuous, passive, warm reset.
setShader(Shader) - Method in class ch.aplu.android.GGBackground
Sets the shader for all future painting.
setSimulationPeriod(int) - Method in class ch.aplu.android.GameGrid
Sets the simulation period.
setSineOut0(int, int) - Method in class ch.aplu.android.ev3.SuperProSensor
Enables the digital output at port O0 with mode 1: Sine wave.
setSineOut1(int, int) - Method in class ch.aplu.android.ev3.SuperProSensor
Enables the digital output at port O1 with mode 1: Sine wave.
setSlideStep(int) - Method in class ch.aplu.jcardgame.TargetArea
Sets the slide step to the given step
setSlowDown(int) - Method in class ch.aplu.android.Actor
Slows down the calling of act() by the given factor.
setSoftButtonVisible(int, boolean) - Method in class ch.aplu.android.GameGrid
Sets the visibility of a soft button that has been previously added.
setSortType(Hand.SortType) - Method in class ch.aplu.jcardgame.Hand
Sets the compare type of cards used for sorting to one of the enumeration values defined in the SortType enumeration.
setSpeed(int) - Method in class ch.aplu.android.ev3.GenericGear
Sets the speed to the given value (arbitrary units).
setSpeed(int) - Method in class ch.aplu.android.ev3.GenericMotor
Sets the speed to the given value (arbitrary units).
setSpeed(int) - Method in class ch.aplu.android.nxt.Gear
Sets the speed to the given value (arbitrary units).
setSpeed(int) - Method in class ch.aplu.android.nxt.Motor
Sets the speed to the given value (arbitrary units).
setSpeedFactor(double) - Method in class ch.aplu.android.ev3.GenericGear
Sets the motor speed factor to given value.
setSpeedFactor(double) - Method in class ch.aplu.android.ev3.GenericMotor
Sets the motor speed factor to given value.
setSpeedFactor(double) - Method in class ch.aplu.android.nxt.Motor
Sets the motor speed factor to given value.
setSpriteId(int, int) - Method in class ch.aplu.android.ToolBar
Sets the sprite id of the item at given index to given value.
setSquareOut0(int, int) - Method in class ch.aplu.android.ev3.SuperProSensor
Enables the digital output at port O0 with mode 2: Square wave.
setSquareOut1(int, int) - Method in class ch.aplu.android.ev3.SuperProSensor
Enables the digital output at port O1 with mode 2: Square wave.
setStartDir(double) - Method in class ch.aplu.jcardgame.FanLayout
Sets the current start direction to the given start direction
setStepDelay(int) - Method in class ch.aplu.jcardgame.ColumnLayout
Sets the current step delay to the given delay (in ms).
setStepDelay(int) - Method in class ch.aplu.jcardgame.FanLayout
Sets the current step delay to the given delay (in ms).
setStepDelay(int) - Method in class ch.aplu.jcardgame.RowLayout
Sets the current step delay to the given delay (in ms).
setStripColor(int) - Method in class ch.aplu.android.GGProgressBar
Sets the color of the indicator strip (filled rectangle).
setTargetArea(TargetArea) - Method in class ch.aplu.jcardgame.Hand
Sets the transferring attributes for all cards in the current hand.
setTargetLocation(Location) - Method in class ch.aplu.jcardgame.TargetArea
Sets the target location to the given location.
setText(String, int) - Method in class ch.aplu.android.GGStatusBar
Same as setText(String text), but sets the background color attribute to given color.
setText(String) - Method in class ch.aplu.android.GGStatusBar
Sets the given text in the status bar.
setText(String) - Method in class ch.aplu.android.GGTextField
Sets the text attribute.
setTextColor(int) - Method in class ch.aplu.android.GGProgressBar
Sets the color of the text centered in the middle of the bar.
setTextColor(int) - Method in class ch.aplu.android.GGStatusBar
Sets the text color attribute.
setTextColor(int) - Method in class ch.aplu.android.GGTextField
Sets the text color attribute.
setTextSize(int) - Method in class ch.aplu.android.GGProgressBar
Sets the text size.
setTextSize(Typeface) - Method in class ch.aplu.android.GGProgressBar
Sets the text typeface.
setTileCollisionEnabled(boolean) - Method in class ch.aplu.android.Actor
Enable/disable the detection of collisions with the tile collision candidates.
setTileCollisionEnabled(Location, boolean) - Method in class ch.aplu.android.GGTileMap
Enable/disable the detection of collisions with the given tile.
setTitleText(String) - Method in class ch.aplu.android.GameGrid
Shows a title bar notification with given text and default game grid icon.
setTitleText(String, String) - Method in class ch.aplu.android.GameGrid
Shows a title bar notification with given text and icon name (without extension).
setTitleText(String, int) - Method in class ch.aplu.android.GameGrid
Shows a title bar notification with given text and icon from resources.
setToggled(boolean) - Method in class ch.aplu.android.GGToggleButton
Sets the button in the toggled/untoggled state.
setTouchEnabled(boolean) - Method in class ch.aplu.android.GameGrid
Enable/disable all touch event callbacks (also fling events).
setTouchEnabled(boolean) - Method in class ch.aplu.jcardgame.Hand
Enables or disables touch events.
setTriangleOut0(int, int) - Method in class ch.aplu.android.ev3.SuperProSensor
Enables the digital output at port O0 with mode 5: Triangle wave.
setTriangleOut1(int, int) - Method in class ch.aplu.android.ev3.SuperProSensor
Enables the digital output at port O1 with mode 5: Triangle wave.
setTriggerLevel(int) - Method in class ch.aplu.android.ev3.LightSensor
Sets a new trigger level and returns the previous one.
setTriggerLevel(int) - Method in class ch.aplu.android.ev3.NxtLightSensor
Sets a new trigger level and returns the previous one.
setTriggerLevel(int) - Method in class ch.aplu.android.ev3.NxtSoundSensor
Sets a new trigger level and returns the previous one.
setTriggerLevel(int) - Method in class ch.aplu.android.ev3.NxtUltrasonicSensor
Sets a new trigger level and returns the previous one.
setTriggerLevel(int) - Method in class ch.aplu.android.ev3.UltrasonicSensor
Sets a new trigger level and returns the previous one.
setTriggerLevel(int) - Method in class ch.aplu.android.nxt.CompassSensor
Sets a new trigger level and returns the previous one.
setTriggerLevel(int) - Method in class ch.aplu.android.nxt.LightSensor
Sets a new trigger level and returns the previous one.
setTriggerLevel(int) - Method in class ch.aplu.android.nxt.SoundSensor
Sets a new trigger level and returns the previous one.
setTriggerLevel(int) - Method in class ch.aplu.android.nxt.UltrasonicSensor
Sets a new trigger level and returns the previous one.
setTurtleSpeed(int) - Method in class ch.aplu.android.ev3.NxtTurtleRobot
Sets the turtle speed to the given value.
setTurtleSpeed(int) - Method in class ch.aplu.android.ev3.TurtleRobot
Sets the turtle speed to the given value.
setTurtleSpeed(int) - Method in class ch.aplu.android.nxt.TurtleRobot
Sets the turtle speed to the given value.
setTypeface(Typeface) - Method in class ch.aplu.android.GGStatusBar
Sets the typeface attribute.
setTypeface(Typeface) - Method in class ch.aplu.android.GGTextField
Sets the typeface attribute.
setUnit(String) - Method in class ch.aplu.android.GGProgressBar
Sets the text displayed as unit.
setValue(double) - Method in class ch.aplu.android.GGProgressBar
Sets the current value of the progress bar.
setValue(double, boolean) - Method in class ch.aplu.android.GGProgressBar
Sets the current value of the progress bar.
setVelocity(double) - Method in class ch.aplu.android.ev3.GenericGear
Sets the velocity to the given value.
setVelocity(double) - Method in class ch.aplu.android.ev3.GenericMotor
Sets the velocity to the given value.
setVelocity(double) - Method in class ch.aplu.android.nxt.Gear
Sets the velocity to the given value.
setVelocity(double) - Method in class ch.aplu.android.nxt.Motor
Sets the velocity to the given value.
setVerbose(boolean) - Method in class ch.aplu.android.nxt.NxtRobot
Show/hide verbose information about the Bluetooth search displayed as toast (default: true) when connect() is called.
setVerso(boolean) - Method in class ch.aplu.jcardgame.Card
Determines if the card's face or cover (back) will be shown.
setVerso(boolean) - Method in class ch.aplu.jcardgame.Hand
Sets the isVerso attribute to all cards in the card list.
setVertMirror(boolean) - Method in class ch.aplu.android.Actor
If set, the sprite image shown is mirrored vertically.
setView(CardGame, HandLayout) - Method in class ch.aplu.jcardgame.Hand
Preparing to display the current hand in a game grid window using the given given layout.
setWakeLockEnabled(boolean) - Method in class ch.aplu.android.GameGrid
Enables/disables the lock of the wake state.
setX(int) - Method in class ch.aplu.android.Actor
Assigns a new current horizontal cell coordinate.
setX(int) - Method in class ch.aplu.jcardgame.CardActor
Assigns a new current virtual horizontal cell coordinate.
setX(int) - Method in class ch.aplu.jcardgame.CardCover
Assigns a new current virtual horizontal cell coordinate.
setXORMode() - Method in class ch.aplu.android.GGBackground
Selects the XOR paint mode.
setY(int) - Method in class ch.aplu.android.Actor
Assigns a new current vertical cell coordinate.
setY(int) - Method in class ch.aplu.jcardgame.CardActor
Assigns a new current virtual vertical cell coordinate.
setY(int) - Method in class ch.aplu.jcardgame.CardCover
Assigns a new current virtual vertical cell coordinate.
setZoomFactor(double) - Method in class ch.aplu.android.GameGrid
Enables/disables the auto zoom facility and sets the zoom factor to the given value.
SharedConstants - Interface in ch.aplu.android.ev3
 
shift(boolean, boolean) - Method in class ch.aplu.jcardgame.Hand
Shifts (rolls) the card list forward or backward.
shiftSceneOrder(ArrayList<Actor>, boolean) - Method in class ch.aplu.android.GameGrid
Shifts (rolls) the actors of the given actor list in the corresponding scene list forward or backward.
show() - Method in class ch.aplu.android.Actor
Turns on the visibility of the sprite with id 0.
show(int) - Method in class ch.aplu.android.Actor
Turns on the visibility of the sprite with given id.
show(Activity, String, String, String) - Static method in class ch.aplu.android.GGInputDialog
Same as show(String title, String prompt, String init) with given activity.
show(String, String, String) - Static method in class ch.aplu.android.GGInputDialog
Halts the main thread and shows the modal dialog box and a Ok and Cancel button.
show(String, String) - Static method in class ch.aplu.android.GGInputDialog
Same as show(String title, String prompt, String init) with init = "".
show(String, String, GGMessageBox.ButtonLayout) - Static method in class ch.aplu.android.GGMessageBox
Shows the modal dialog and blocks the current thread until the user hits one of the buttons.
show() - Method in class ch.aplu.android.GGTextField
Displays the text.
show() - Method in class ch.aplu.android.nxt.FileInfo
Returns all file information.
showInputDialog(Activity, String, String, String) - Method in class ch.aplu.android.GGAlertDialog
Shows the modeless dialog box with an edit field and two buttons (Ok, Cancel).
showInputDialog(String, String, String) - Method in class ch.aplu.android.GGAlertDialog
Same as show(Activity activity, String title, String prompt, String init) with activity = GameGrid.myGameGrid;
showInputDialog(String, String) - Method in class ch.aplu.android.GGAlertDialog
Same as show(String title, String prompt, String init) with init = "".
showNext() - Method in class ch.aplu.android.ToolBarStack
Shows the next item in the stack.
showNextSprite() - Method in class ch.aplu.android.Actor
Increases the id of the currently visible sprite and makes this sprite visible.
showPreviousSprite() - Method in class ch.aplu.android.Actor
Decreases the id of the currently visible sprite and makes this sprite visible.
showToast(String, Point, boolean) - Method in class ch.aplu.android.GameGrid
Displays an Android "toast" message (notification that pops up shortly).
showToast(String, Point) - Method in class ch.aplu.android.GameGrid
Same as showToast(text, position, isLong) with isLong = false.
showToast(String, boolean) - Method in class ch.aplu.android.GameGrid
Same as showToast(text, position, isLong) with system defined position.
showToast(String) - Method in class ch.aplu.android.GameGrid
Same as showToast(text, position, isLong) with system defined position and isLong = false.
shuffle(boolean) - Method in class ch.aplu.jcardgame.Hand
Shuffles the card list (random permutation of cards).
slideToTarget(Location, int) - Method in class ch.aplu.jcardgame.Card
Same as slideToTarget(targetLocation, slideStep, blocking) with blocking = true.
slideToTarget(Location, int, boolean) - Method in class ch.aplu.jcardgame.Card
If the card is added to the GameGrid, handless and visible, moves the card actor from current location to the given location using the given number of steps per GameGrid's simulation cycle.
slideToTarget(Location, int, boolean, boolean) - Method in class ch.aplu.jcardgame.CardCover
Slides the card cover actor from the current location to the given target location using the given step.
sort(Hand.SortType, boolean) - Method in class ch.aplu.jcardgame.Hand
Sorts the card list with given sort type.
SoundAdapter - Class in ch.aplu.android.ev3
Class with empty callback methods for the sound sensor.
SoundAdapter() - Constructor for class ch.aplu.android.ev3.SoundAdapter
 
SoundAdapter - Class in ch.aplu.android.nxt
Class with empty callback methods for the sound sensor.
SoundAdapter() - Constructor for class ch.aplu.android.nxt.SoundAdapter
 
SoundListener - Interface in ch.aplu.android.ev3
Class with declaration of callback methods for the sound sensor.
SoundListener - Interface in ch.aplu.android.nxt
Class with declaration of callback methods for the sound sensor.
SoundSensor - Class in ch.aplu.android.nxt
Class that represents a sound sensor.
SoundSensor(SensorPort) - Constructor for class ch.aplu.android.nxt.SoundSensor
Creates a sensor instance connected to the given port.
SoundSensor() - Constructor for class ch.aplu.android.nxt.SoundSensor
Creates a sensor instance connected to port S1.
SOUTH - Static variable in class ch.aplu.android.Location
The compass direction for south.
SOUTHEAST - Static variable in class ch.aplu.android.Location
The compass direction for southeast.
SOUTHWEST - Static variable in class ch.aplu.android.Location
The compass direction for southwest.
speedToVelocity(int) - Method in class ch.aplu.android.ev3.GenericGear
Conversion from speed to velocity.
speedToVelocity(int) - Method in class ch.aplu.android.ev3.GenericMotor
Conversion from speed to velocity.
speedToVelocity(int) - Method in class ch.aplu.android.nxt.Motor
Conversion from speed to velocity.
StackLayout - Class in ch.aplu.jcardgame
Class to store the stacked layout options for a hand.
StackLayout(Location) - Constructor for class ch.aplu.jcardgame.StackLayout
Same as StackLayout(handLocation, rotationAngle) with rotationAngle = 0.
StackLayout(Location, double) - Constructor for class ch.aplu.jcardgame.StackLayout
Creates a StackLayout instance with given hand location and rotationAngle.
start() - Method in class ch.aplu.util.BaseAlarmTimer
Set the timer to the preset alarm time and start it.
start(long) - Method in class ch.aplu.util.BaseAlarmTimer
Set the timer to the given preset alarm time and start it.
start() - Method in class ch.aplu.util.BaseTimer
Reset the timer to zero and start it.
startBluetoothDiscovery(BluetoothDiscoveryListener) - Method in class ch.aplu.android.bluetooth.BluetoothDiscovery
If a Bluetooth device is supported and it is enabled, registers the given BluetoothDiscoveryListener and starts the discovery of remote Bluetooth devices.
startCalibration() - Method in class ch.aplu.android.ev3.HTCompassSensor
Starts calibration process.
startCalibration() - Method in class ch.aplu.android.nxt.CompassSensor
Starts calibration process.
startPage - Variable in class ch.aplu.android.nxt.FileInfo
The start page of the file in flash memory.
startProgram(String) - Method in class ch.aplu.android.nxt.NxtRobot
 
startTimer() - Static method in class ch.aplu.android.ev3.Tools
Starts a timer or restart it by setting its time to zero.
startTimer() - Static method in class ch.aplu.android.nxt.Tools
Starts a timer or restart it by setting its time to zero.
status - Variable in class ch.aplu.android.nxt.FileInfo
The status of the file - not used.
stop() - Method in class ch.aplu.android.ev3.GenericGear
Stops the gear.
stop() - Method in class ch.aplu.android.ev3.GenericMotor
Stops the motor.
stop() - Method in class ch.aplu.android.nxt.Gear
Stops the gear.
stop() - Method in class ch.aplu.android.nxt.Motor
Stops the motor.
stop() - Method in class ch.aplu.util.BaseAlarmTimer
Stop the timer and store the current time.
stop() - Method in class ch.aplu.util.BaseTimer
Stop the timer and store the current value.
stopCalibration() - Method in class ch.aplu.android.ev3.HTCompassSensor
Stops calibration process.
stopCalibration() - Method in class ch.aplu.android.nxt.CompassSensor
Stops calibration process.
stopEvents() - Method in class ch.aplu.util.BaseAlarmTimer
Force to stop the callback calls by terminating the timer's polling thread.
storeBoolean(String, boolean) - Method in class ch.aplu.android.GGPreferences
Stores a boolean value associated to the given key.
storeFloat(String, int) - Method in class ch.aplu.android.GGPreferences
Stores a float value associated to the given key.
storeInt(String, int) - Method in class ch.aplu.android.GGPreferences
Stores an integer value associated to the given key.
storeLong(String, long) - Method in class ch.aplu.android.GGPreferences
Stores a long value associated to the given key.
storeString(String, String) - Method in class ch.aplu.android.GGPreferences
Stores a string value associated to the given key.
sub(Vector2D) - Method in class ch.aplu.android.ev3.Vector2D
Returns a new vector that is the vector difference of the current vector and the given vector.
sub(Vector3D) - Method in class ch.aplu.android.ev3.Vector3D
Returns a new vector that is the vector difference of the current vector and the given vector.
sub(GGVector) - Method in class ch.aplu.android.GGVector
Returns a new vector that is the vector difference of the current vector and the given vector.
subtract(Complex) - Method in class ch.aplu.util.Complex
Define a complex subtract method.
subtract(Complex, Complex) - Static method in class ch.aplu.util.Complex
Define a static subtract method that creates a a new Complex object equal to cvalue1 - cvalue2.
superOnPause() - Method in class ch.aplu.android.GameGrid
Calls onPause() of the super class.
SuperProSensor - Class in ch.aplu.android.ev3
Class that represents a SuperPro prototype sensor (HiTechnic NXT SuperPro Prototype Board).
SuperProSensor(SensorPort) - Constructor for class ch.aplu.android.ev3.SuperProSensor
Creates a sensor instance connected to the given port.
SuperProSensor() - Constructor for class ch.aplu.android.ev3.SuperProSensor
Creates a sensor instance connected to port S1.

T

TAG - Static variable in class ch.aplu.android.L
The public debug tag "ch.aplu.android".
takeSnapshot() - Method in class ch.aplu.android.GGCamera
Focuses the camera, takes a snapshot and returns the captured image.
TargetArea - Class in ch.aplu.jcardgame
Class to represent the target area and moving options for card transfers.
TargetArea(Location) - Constructor for class ch.aplu.jcardgame.TargetArea
Sets the attributes for transferring cards.
TargetArea(Location, CardOrientation, int, boolean) - Constructor for class ch.aplu.jcardgame.TargetArea
Sets the attributes for transferring cards.
TextActor - Class in ch.aplu.android
Class that implements an actor to display text dynamically.
TextActor(boolean, String, int, int, int, Typeface) - Constructor for class ch.aplu.android.TextActor
Constructs a possibly rotatable text actor that displays the given text with given text, background colors, size and typeface.
TextActor(boolean, String, int, int, int) - Constructor for class ch.aplu.android.TextActor
Constructs a possibly rotatable text actor that displays the given text with given text and background colors and give size For transparent background use argb color with alpha = 0 (Color.TRANSPARENT).
TextActor(String, int, int, int) - Constructor for class ch.aplu.android.TextActor
Constructs a unrotatable text actor that displays the given text with given text and background colors.
TextActor(String) - Constructor for class ch.aplu.android.TextActor
Constructs a unrotatable text actor that displays the given text.
timeElapsed() - Method in interface ch.aplu.util.TimerListener
Invoked when the time interval is elapsed.
TimerListener - Interface in ch.aplu.util
The listener interface for receiving timer events.
toColor(String) - Static method in class ch.aplu.android.X11Color
Returns the color reference attributed to the given X11 color name.
toDeviceRotation(Activity, float[], int) - Static method in class ch.aplu.android.GGSensor
Converts the values from the device fixed coordinate system to a device coordinate system that is adapted to the current application device rotation (portrait, reverse portrait, landscape, reverse landscape).
toHand() - Method in class ch.aplu.jcardgame.Deck
Returns the complete shuffled deck as a hand.
toHand(boolean) - Method in class ch.aplu.jcardgame.Deck
Returns the complete deck as a hand.
toLeft(SensorPort, double) - Method in class ch.aplu.android.nxt.CompassAdapter
Empty method called when the compass reading points to a direction at the left half-plane of the trigger direction.
toLeft(SensorPort, double) - Method in interface ch.aplu.android.nxt.CompassListener
Called when the compass reading points to a direction at the left half-plane of the trigger direction.
toLocation(Point) - Method in class ch.aplu.android.GameGrid
Returns the location (cell indices) of the cell where the given point resides.
toLocation(int, int) - Method in class ch.aplu.android.GameGrid
Returns the location (cell indices) of the cell where the point with given coordinates resides.
toLocationInGrid(Point) - Method in class ch.aplu.android.GameGrid
Returns the location (cell indices) of the cell where the given point resides.
toLocationInGrid(int, int) - Method in class ch.aplu.android.GameGrid
Returns the location (cell indices) of the cell where the point with given coordinates resides.
ToolBar - Class in ch.aplu.android
Class to represent a linear bar of item.
ToolBar(GameGrid) - Constructor for class ch.aplu.android.ToolBar
Creates a toolbar instance belonging to the given game grid.
ToolBarAdapter - Class in ch.aplu.android
Empty implementation of callback methods called for tool bar item events.
ToolBarAdapter() - Constructor for class ch.aplu.android.ToolBarAdapter
 
ToolBarItem - Class in ch.aplu.android
A class to represent actors used for tool bar items.
ToolBarItem(Bitmap...) - Constructor for class ch.aplu.android.ToolBarItem
Constructs a tool bar item based on one or several sprite images defined by the given bitmap images.
ToolBarItem(String) - Constructor for class ch.aplu.android.ToolBarItem
Constructs a tool bar item with one sprite image.
ToolBarItem(String, int) - Constructor for class ch.aplu.android.ToolBarItem
Constructs a tool bar item using nbSprites sprite images.
ToolBarListener - Interface in ch.aplu.android
Declaration of callback methods called for tool bar item events.
ToolBarSeparator - Class in ch.aplu.android
A class to represent actors used for tool bar items.
ToolBarSeparator(int, int, int) - Constructor for class ch.aplu.android.ToolBarSeparator
Creates a tool bar item whose image is a rectangle with given width and height filled with given color (Color.TRANSPARENT for a transparent rectangle).
ToolBarStack - Class in ch.aplu.android
Class that represents a stack of items (e.g. card symbols with the same suit (in rank order).
ToolBarStack(String, int) - Constructor for class ch.aplu.android.ToolBarStack
Creates a set of with given number of items taken from the given filename template.
ToolBarText - Class in ch.aplu.android
A class to represent a text actor used for tool bar items.
ToolBarText(String, int, double) - Constructor for class ch.aplu.android.ToolBarText
Creates a tool bar text item displaying the given text in black centered in a white rectangle with given height.
ToolBarText(String, int, int, int, double, Typeface) - Constructor for class ch.aplu.android.ToolBarText
Constructs a tool bar text item that displays the given text with given text and background colors.
Tools - Class in ch.aplu.android.ev3
Some useful helper methods.
Tools() - Constructor for class ch.aplu.android.ev3.Tools
 
Tools - Class in ch.aplu.android.nxt
Class to provide some helper methods.
Tools() - Constructor for class ch.aplu.android.nxt.Tools
 
toPixelDx(double) - Method in class ch.aplu.android.GGPanel
Transforms horizontal user coordinates increment to pixel increment.
toPixelDy(double) - Method in class ch.aplu.android.GGPanel
Transforms vertical user coordinates increment to pixel increment.
toPixelPoint(PointD) - Method in class ch.aplu.android.GGPanel
Transforms horizontal user coordinates to pixel coordinates.
toPixelX(double) - Method in class ch.aplu.android.GGPanel
Transforms horizontal user coordinates to pixel coordinates.
toPixelY(double) - Method in class ch.aplu.android.GGPanel
Transforms vertical user coordinates to pixel coordinates.
toPoint(Location) - Method in class ch.aplu.android.GameGrid
Returns the x-y-coordinates of the center of the cell with given location (cell indices).
toReal() - Method in class ch.aplu.android.Location
Returns a new location that is zoomed by the current GameGrid's zoom factor.
toRight(SensorPort, double) - Method in class ch.aplu.android.nxt.CompassAdapter
Empty method called when the compass reading points to a direction at the right half-plane of the trigger direction.
toRight(SensorPort, double) - Method in interface ch.aplu.android.nxt.CompassListener
Called when the compass reading points to a direction at the right half-plane of the trigger direction.
toString(int) - Static method in class ch.aplu.android.ev3.IRRemoteSensor
Converts integer command to string representation.
toString() - Method in class ch.aplu.android.ev3.Vector2D
Returns a string with the x-y-coordinates in the format (x,y).
toString() - Method in class ch.aplu.android.ev3.Vector3D
Returns a string with the x-y-coordinates in the format (x,y,z).
toString() - Method in class ch.aplu.android.GGCircle
Returns a string that enumerates center and radius.
toString() - Method in class ch.aplu.android.GGLine
Returns a string that enumerates start and end vector.
toString() - Method in class ch.aplu.android.GGRectangle
Returns a string that enumerates vertexes, edges, center, width, height and direction.
toString() - Method in class ch.aplu.android.GGVector
Returns a string with the x-y-coordinates in the format (x, y).
toString() - Method in class ch.aplu.android.Location
Returns a string that represents this location.
toString() - Method in class ch.aplu.android.PointD
 
toString() - Method in class ch.aplu.jcardgame.Card
Returns a string representation in the format "suit-rank".
toString() - Method in class ch.aplu.jcardgame.Hand
Returns a string representation of all cards in the hand.
toString() - Method in class ch.aplu.util.Complex
Return a string representation of the complex value.
TouchAdapter - Class in ch.aplu.android.ev3
Class with empty callback methods for the touch sensor.
TouchAdapter() - Constructor for class ch.aplu.android.ev3.TouchAdapter
 
TouchAdapter - Class in ch.aplu.android.nxt
Class with empty callback methods for the touch sensor.
TouchAdapter() - Constructor for class ch.aplu.android.nxt.TouchAdapter
 
touchEvent(GGTouch) - Method in interface ch.aplu.android.GGTouchListener
Event callback method called when a screen touch event occurs.
TouchListener - Interface in ch.aplu.android.ev3
Interface with declarations of callback methods for the touch sensor.
TouchListener - Interface in ch.aplu.android.nxt
Interface with declarations of callback methods for the touch sensor.
TouchSensor - Class in ch.aplu.android.ev3
Class that represents a touch sensor.
TouchSensor(SensorPort) - Constructor for class ch.aplu.android.ev3.TouchSensor
Creates a sensor instance connected to the given port.
TouchSensor() - Constructor for class ch.aplu.android.ev3.TouchSensor
Creates a sensor instance connected to port S1.
TouchSensor - Class in ch.aplu.android.nxt
Class that represents a touch sensor.
TouchSensor(SensorPort) - Constructor for class ch.aplu.android.nxt.TouchSensor
Creates a sensor instance connected to the given port.
TouchSensor() - Constructor for class ch.aplu.android.nxt.TouchSensor
Creates a sensor instance connected to port S1.
toUserDx(int) - Method in class ch.aplu.android.GGPanel
Transforms horizontal pixel coordinates increment to user increment.
toUserDy(int) - Method in class ch.aplu.android.GGPanel
Transforms vertical pixel coordinates increment to user increment.
toUserPoint(Point) - Method in class ch.aplu.android.GGPanel
Transforms pixel coordinates to user coordinates.
toUserX(int) - Method in class ch.aplu.android.GGPanel
Transforms horizontal pixel coordinates to user coordinates.
toUserY(int) - Method in class ch.aplu.android.GGPanel
Transforms vertical pixel coordinates to user coordinates.
toVirtual() - Method in class ch.aplu.android.Location
Returns a new location that is unzoomed by the current GameGrid's zoom factor.
transfer(Hand, boolean) - Method in class ch.aplu.jcardgame.Card
Animated or non-animated transfer from current hand to new hand using the currently defined target area.
transfer(Card, Hand, boolean) - Method in class ch.aplu.jcardgame.Hand
Transfers the card from the current hand to the given target hand using the currently defined target area.
transferNonBlocking(Hand, boolean) - Method in class ch.aplu.jcardgame.Card
Same as transfer(targetHand, doDraw), but the methods returns immediately.
transferNonBlocking(Card, Hand, boolean) - Method in class ch.aplu.jcardgame.Hand
Same as transfer(card, targetHand, doDraw), but the methods returs immediately.
translate(GGVector) - Method in class ch.aplu.android.GGCircle
Performs a translation by the given vector.
translate(GGVector) - Method in class ch.aplu.android.GGLine
Performs a translation by the given vector.
translate(GGVector) - Method in class ch.aplu.android.GGRectangle
Translates by the given vector.
TRANSPARENT - Static variable in class ch.aplu.android.GameGrid
Short for Color.TRANSPARENT.
triangle(double, double, double, double, double, double, boolean) - Method in class ch.aplu.android.GGPanel
Draws a triangle with given vertexes.
triangle(PointD, PointD, PointD, boolean) - Method in class ch.aplu.android.GGPanel
Draws a triangle with given vertexes.
turn(double) - Method in class ch.aplu.android.Actor
Turns the moving direction by the given angle (clockwise for positive angles, counterclockwise for negative angles).
turnTo(int) - Method in class ch.aplu.android.ev3.GenericGear
Same as turnTo(int count, boolean blocking) with blocking = true.
turnTo(int, boolean) - Method in class ch.aplu.android.ev3.GenericGear
Sets the rotation counter to zero and turn with the motors running in opposite direction.
turnTo(int) - Method in class ch.aplu.android.nxt.Gear
Same as turnTo(int count, boolean blocking) with blocking = true.
turnTo(int, boolean) - Method in class ch.aplu.android.nxt.Gear
Sets the rotation counter to zero and turn with the motors running in opposite direction.
TurtleRobot - Class in ch.aplu.android.ev3
Implementation of the basic Logo turtle movements.
TurtleRobot(ConnectionListener, String, int, boolean) - Constructor for class ch.aplu.android.ev3.TurtleRobot
Creates a TurtleRobot instance with given IP address.
TurtleRobot(ConnectionListener, String, boolean) - Constructor for class ch.aplu.android.ev3.TurtleRobot
Creates a TurtleRobot instance with given IP address.
TurtleRobot(ConnectionListener, String) - Constructor for class ch.aplu.android.ev3.TurtleRobot
Creates a TurtleRobot instance with given IP address.
TurtleRobot(ConnectionListener) - Constructor for class ch.aplu.android.ev3.TurtleRobot
Creates a TurtleRobot and engage a connection trial.
TurtleRobot - Class in ch.aplu.android.nxt
Implementation of the basic Logo turtle movements.
TurtleRobot(Activity, BluetoothDevice) - Constructor for class ch.aplu.android.nxt.TurtleRobot
Creates a TurtleRobot instance with given BluetoothDevice of the NXT brick.
TurtleRobot(Activity, String) - Constructor for class ch.aplu.android.nxt.TurtleRobot
Creates a TurtleRobot instance with given Bluetooth friendly name of the NXT brick.
TurtleRobot(Activity) - Constructor for class ch.aplu.android.nxt.TurtleRobot
Asks for the Bluetooth friendly name of the NXT brick and creates a TurtleRobot instance.

U

UltrasonicAdapter - Class in ch.aplu.android.ev3
Class with empty callback methods for the ultrasonic sensor.
UltrasonicAdapter() - Constructor for class ch.aplu.android.ev3.UltrasonicAdapter
 
UltrasonicAdapter - Class in ch.aplu.android.nxt
Class with empty callback methods for the ultrasonic sensor.
UltrasonicAdapter() - Constructor for class ch.aplu.android.nxt.UltrasonicAdapter
 
UltrasonicListener - Interface in ch.aplu.android.ev3
Class with declarations of callback methods for the ultrasonic sensor.
UltrasonicListener - Interface in ch.aplu.android.nxt
Class with declarations of callback methods for the ultrasonic sensor.
UltrasonicSensor - Class in ch.aplu.android.ev3
Class that represents a EV3 ultrasonic sensor.
UltrasonicSensor(SensorPort) - Constructor for class ch.aplu.android.ev3.UltrasonicSensor
Creates a sensor instance connected to the given port.
UltrasonicSensor() - Constructor for class ch.aplu.android.ev3.UltrasonicSensor
Creates a sensor instance connected to port S1.
UltrasonicSensor - Class in ch.aplu.android.nxt
Class that represents an ultrasonic sensor.
UltrasonicSensor(SensorPort) - Constructor for class ch.aplu.android.nxt.UltrasonicSensor
Creates a sensor instance connected to the given port.
UltrasonicSensor() - Constructor for class ch.aplu.android.nxt.UltrasonicSensor
Creates a sensor instance connected to port S1.
unpack(File, File) - Static method in class ch.aplu.android.GGPath
Unpacks the given JAR archive in the given directory.
unregisterBroadcastReceiver() - Method in class ch.aplu.android.bluetooth.BluetoothDiscovery
Unregisters the broadcast receiver used for device discovery.
unzip(File, File) - Static method in class ch.aplu.android.GGPath
Unpacks the given ZIP archive in the given directory.

V

v(String) - Static method in class ch.aplu.android.L
Writes debug string flagged as 'verbose'.
valueOf(String) - Static method in enum ch.aplu.android.ev3.ColorLabel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.aplu.android.GGMessageBox.ButtonHit
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.aplu.android.GGMessageBox.ButtonLayout
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.aplu.android.GGNavigationEvent
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.aplu.android.GGNavigationListener.ScreenOrientation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.aplu.android.Location.CompassDirection
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.aplu.android.nxt.NxtRobot.ConnectState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.aplu.jcardgame.CardGame.BoardType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.aplu.jcardgame.CardOrientation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.aplu.jcardgame.Hand.CardAlignment
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.aplu.jcardgame.Hand.SortType
Returns the enum constant of this type with the specified name.
values() - Static method in enum ch.aplu.android.ev3.ColorLabel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.aplu.android.GGMessageBox.ButtonHit
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.aplu.android.GGMessageBox.ButtonLayout
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.aplu.android.GGNavigationEvent
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.aplu.android.GGNavigationListener.ScreenOrientation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.aplu.android.Location.CompassDirection
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.aplu.android.nxt.NxtRobot.ConnectState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.aplu.jcardgame.CardGame.BoardType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.aplu.jcardgame.CardOrientation
Returns an array containing the constants of this enum type, in the order they are declared.
values(Enum) - Method in interface ch.aplu.jcardgame.Deck.CardValues
Returns the card values (card points) for cards of all ranks in a given suit.
values() - Static method in enum ch.aplu.jcardgame.Hand.CardAlignment
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.aplu.jcardgame.Hand.SortType
Returns an array containing the constants of this enum type, in the order they are declared.
Vector2D - Class in ch.aplu.android.ev3
Class representing a two-dimensional vector with double coordinates (x, y).
Vector2D() - Constructor for class ch.aplu.android.ev3.Vector2D
Constructs a zero vector (with coordinates (0, 0)).
Vector2D(int, int) - Constructor for class ch.aplu.android.ev3.Vector2D
Constructs a vector from given integer x-y-coordinates.
Vector2D(float, float) - Constructor for class ch.aplu.android.ev3.Vector2D
Constructs a vector from given float x-y-coordinates.
Vector2D(double, double) - Constructor for class ch.aplu.android.ev3.Vector2D
Constructs a vector from given double x-y-coordinates.
Vector3D - Class in ch.aplu.android.ev3
Class representing a three-dimensional vector with double coordinates (x, y, z).
Vector3D() - Constructor for class ch.aplu.android.ev3.Vector3D
Constructs a zero vector (with coordinates (0, 0, 0)).
Vector3D(int, int, int) - Constructor for class ch.aplu.android.ev3.Vector3D
Constructs a vector from given integer x-y-coordinates.
Vector3D(float, float, float) - Constructor for class ch.aplu.android.ev3.Vector3D
Constructs a vector from given float x-y-coordinates.
Vector3D(double, double, double) - Constructor for class ch.aplu.android.ev3.Vector3D
Constructs a vector from given double x-y-coordinates.
velocityToSpeed(double) - Method in class ch.aplu.android.ev3.GenericGear
Conversion from velocity to speed.
velocityToSpeed(double) - Method in class ch.aplu.android.ev3.GenericMotor
Conversion from velocity to speed.
velocityToSpeed(double) - Method in class ch.aplu.android.nxt.Motor
Conversion from velocity to speed.
VERSION - Static variable in interface ch.aplu.android.ev3.SharedConstants
 
versionCode - Variable in class ch.aplu.android.GameGrid.SysInfo
The application's version code.
versionName - Variable in class ch.aplu.android.GameGrid.SysInfo
The application's version name.
virtualToPixel(int) - Method in class ch.aplu.android.GameGrid
Returns the pixel value tVirtual * zoomFactor of a virtual coordinate.

W

w(String) - Static method in class ch.aplu.android.L
Writes debug string flagged as 'warning'.
waitDisconnected() - Method in class ch.aplu.android.nxt.NxtRobot
Blocks the current thread until the Bluetooth link is disconnected.
waitDisconnected(int) - Method in class ch.aplu.android.nxt.NxtRobot
Checks repeatedly if Bluetooth link is disconnected for the given maximum amount of time.
wakeUp(Object) - Static method in class ch.aplu.util.Monitor
Wake up all threads waiting for the given object's lock.
wakeUp() - Static method in class ch.aplu.util.Monitor
Wake up all threads waiting for the internal static monitor lock.
WEST - Static variable in class ch.aplu.android.Location
The compass direction for west.
WHITE - Static variable in class ch.aplu.android.GameGrid
Short for Color.WHITE.
window(double, double, double, double) - Method in class ch.aplu.android.GGPanel
Sets the user coordinate system (x from left to right, y from bottom to top).
window(double, double, double) - Method in class ch.aplu.android.GGPanel
Sets the user coordinate system (x from left to right, y from bottom to top).
windowZoom(int) - Static method in class ch.aplu.android.GameGrid
Returns a WindowZoom reference to be used as constructor parameter for apps based on pixels.
worldToDevice(float[], float[]) - Static method in class ch.aplu.android.GGSensor
Returns the result of the matrix multiplication R_inverse * vWorld.
writeByte(int) - Method in class ch.aplu.android.ev3.PrototypeSensor
Writes the given byte to the digital output channels.
writeByte(int) - Method in class ch.aplu.android.ev3.SuperProSensor
Writes the given byte to the digital output channels.
writeImageFile(Bitmap, File, String, boolean) - Static method in class ch.aplu.android.GGPath
Writes an image file in PNG (lossless), JPG (max quality) or WEBP (max quality) of the given Bitmap.
writeStrobeByte(int) - Method in class ch.aplu.android.ev3.SuperProSensor
Writes the lower half byte (lower 4 bits) of the given value to the strobe output channels.
writeTextFile(File, String, boolean) - Static method in class ch.aplu.android.GGPath
Writes the given string to the given destination file.

X

x - Variable in class ch.aplu.android.ev3.Vector2D
The public x-coordinate.
x - Variable in class ch.aplu.android.ev3.Vector3D
The public x-coordinate.
x - Variable in class ch.aplu.android.GGVector
The public x-coordinate.
x - Variable in class ch.aplu.android.Location
The public horizontal coordinate (cell index) of the location.
x - Variable in class ch.aplu.android.PointD
The public x coordinate.
X11Color - Class in ch.aplu.android
This class provides the mapping of X11 colors names (in string notation) to RGB colors represented the java.awt.Color class.
X11Color(String) - Constructor for class ch.aplu.android.X11Color
Creates a colr with given X11 color name.

Y

y - Variable in class ch.aplu.android.ev3.Vector2D
The public y-coordinate.
y - Variable in class ch.aplu.android.ev3.Vector3D
The public y-coordinate.
y - Variable in class ch.aplu.android.GGVector
The public y-coordinate.
y - Variable in class ch.aplu.android.Location
The public vertical coordinate (cell index) of the location.
y - Variable in class ch.aplu.android.PointD
The public y coordinate
YELLOW - Static variable in class ch.aplu.android.GameGrid
Short for Color.YELLOW.
YES_NO - Static variable in class ch.aplu.android.GGMessageBox
Acronym for ButtonLayout.YES_NO.
YES_NO_CANCEL - Static variable in class ch.aplu.android.GGMessageBox
Acronym for ButtonLayout.YES_NO_ CANCEL.

Z

z - Variable in class ch.aplu.android.ev3.Vector3D
The public z-coordinate.
zip(File, File) - Static method in class ch.aplu.android.GGPath
Creates a ZIP archive from a all files and subdirectories in directory with given dirPath.

_

_drawRectangle(int, int, int, int, double, boolean) - Method in class ch.aplu.android.GGBackground
 
A B C D E F G H I K L M N O P Q R S T U V W X Y Z _