- 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.
- 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
-
- 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
-
- 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
-
- 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.
- 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.