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

A

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

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