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

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.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.
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.
clear() - Method in class ch.aplu.android.Turtle
Clears the turtle's playground by painting it black.
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.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.
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.nxt.NxtRobot
If the NXT name is not known, asks for the NXT Bluetooth friendly name.
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.
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(Activity) - Static method in class ch.aplu.android.GGOrientationSensor
Returns a GGOrientationSensor for the given activity.
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 a TileMap with the specified number of horizontal and vertical tiles.
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.

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