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

D

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.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.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 ).
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.
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(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.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 with given center, radius, start and end angle.
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(int, int, int, int) - Method in class ch.aplu.android.GGBackground
Draws a line from one coordinate pair to another coordinate pair.
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.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 corners.
drawRectangle(Point, Point) - Method in class ch.aplu.android.GGBitmap
Draws a rectangle with given opposite corners.
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.

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