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

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.
readData() - Method in class ch.aplu.android.nxt.NxtRobot
Reads the data returned as a reply from the brick.
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 - 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.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.
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.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.android.Turtle
Calls home().
reset() - Method in class ch.aplu.android.TurtlePane
Clears the background by painting it black.
reset() - Method in class ch.aplu.util.BaseTimer
Stop the timer and set its value 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.
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.
right(double) - Method in class ch.aplu.android.Turtle
Turns the turtle 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.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.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.

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