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

T

TAG - Static variable in class ch.aplu.android.L
The public debug tag "ch.aplu.android".
TargetArea - Class in ch.aplu.jcardgame
Class to represent the target area and moving options for card transfers.
TargetArea(Location) - Constructor for class ch.aplu.jcardgame.TargetArea
Sets the attributes for transferring cards.
TargetArea(Location, CardOrientation, int, boolean) - Constructor for class ch.aplu.jcardgame.TargetArea
Sets the attributes for transferring cards.
TextActor - Class in ch.aplu.android
Class that implements an actor to display text dynamically.
TextActor(boolean, String, int, int, int, Typeface) - Constructor for class ch.aplu.android.TextActor
Constructs a possibly rotatable text actor that displays the given text with given text, background colors, size and typeface.
TextActor(boolean, String, int, int, int) - Constructor for class ch.aplu.android.TextActor
Constructs a possibly rotatable text actor that displays the given text with given text and background colors and give size For transparent background use argb color with alpha = 0 (Color.TRANSPARENT).
TextActor(String, int, int, int) - Constructor for class ch.aplu.android.TextActor
Constructs a unrotatable text actor that displays the given text with given text and background colors.
TextActor(String) - Constructor for class ch.aplu.android.TextActor
Constructs a unrotatable text actor that displays the given text.
timeElapsed() - Method in interface ch.aplu.util.TimerListener
Invoked when the time interval is elapsed.
TimerListener - Interface in ch.aplu.util
The listener interface for receiving timer events.
toHand() - Method in class ch.aplu.jcardgame.Deck
Returns the complete shuffled deck as a hand.
toHand(boolean) - Method in class ch.aplu.jcardgame.Deck
Returns the complete deck as a hand.
toLeft(SensorPort, double) - Method in class ch.aplu.android.nxt.CompassAdapter
Empty method called when the compass reading points to a direction at the left half-plane of the trigger direction.
toLeft(SensorPort, double) - Method in interface ch.aplu.android.nxt.CompassListener
Called when the compass reading points to a direction at the left half-plane of the trigger direction.
toLocation(Point) - Method in class ch.aplu.android.GameGrid
Returns the location (cell indices) of the cell where the given point resides.
toLocation(int, int) - Method in class ch.aplu.android.GameGrid
Returns the location (cell indices) of the cell where the point with given coordinates resides.
toLocationInGrid(Point) - Method in class ch.aplu.android.GameGrid
Returns the location (cell indices) of the cell where the given point resides.
toLocationInGrid(int, int) - Method in class ch.aplu.android.GameGrid
Returns the location (cell indices) of the cell where the point with given coordinates resides.
ToolBar - Class in ch.aplu.android
Class to represent a linear bar of item.
ToolBar(GameGrid) - Constructor for class ch.aplu.android.ToolBar
Creates a toolbar instance belonging to the given game grid.
ToolBarAdapter - Class in ch.aplu.android
Empty implementation of callback methods called for tool bar item events.
ToolBarAdapter() - Constructor for class ch.aplu.android.ToolBarAdapter
 
ToolBarItem - Class in ch.aplu.android
A class to represent actors used for tool bar items.
ToolBarItem(Bitmap...) - Constructor for class ch.aplu.android.ToolBarItem
Constructs a tool bar item based on one or several sprite images defined by the given bitmap images.
ToolBarItem(String) - Constructor for class ch.aplu.android.ToolBarItem
Constructs a tool bar item with one sprite image.
ToolBarItem(String, int) - Constructor for class ch.aplu.android.ToolBarItem
Constructs a tool bar item using nbSprites sprite images.
ToolBarListener - Interface in ch.aplu.android
Declaration of callback methods called for tool bar item events.
ToolBarSeparator - Class in ch.aplu.android
A class to represent actors used for tool bar items.
ToolBarSeparator(int, int, int) - Constructor for class ch.aplu.android.ToolBarSeparator
Creates a tool bar item whose image is a rectangle with given width and height filled with given color (Color.TRANSPARENT for a transparent rectangle).
ToolBarStack - Class in ch.aplu.android
Class that represents a stack of items (e.g. card symbols with the same suit (in rank order).
ToolBarStack(String, int) - Constructor for class ch.aplu.android.ToolBarStack
Creates a set of with given number of items taken from the given filename template.
ToolBarText - Class in ch.aplu.android
A class to represent a text actor used for tool bar items.
ToolBarText(String, int, double) - Constructor for class ch.aplu.android.ToolBarText
Creates a tool bar text item displaying the given text in black centered in a white rectangle with given height.
ToolBarText(String, int, int, int, double, Typeface) - Constructor for class ch.aplu.android.ToolBarText
Constructs a tool bar text item that displays the given text with given text and background colors.
Tools - Class in ch.aplu.android.nxt
Class to provide some helper methods.
Tools() - Constructor for class ch.aplu.android.nxt.Tools
 
toPixelPoint(PointD) - Method in class ch.aplu.android.GGPanel
Transforms horizontal user coordinates to pixel coordinates.
toPixelX(double) - Method in class ch.aplu.android.GGPanel
Transforms horizontal user coordinates to pixel coordinates.
toPixelY(double) - Method in class ch.aplu.android.GGPanel
Transforms vertical user coordinates to pixel coordinates.
toPoint(Location) - Method in class ch.aplu.android.GameGrid
Returns the x-y-coordinates of the center of the cell with given location (cell indices).
toReal(int) - Method in class ch.aplu.android.GameGrid
 
toReal() - Method in class ch.aplu.android.Location
Returns a new location that is zoomed by the current GameGrid's zoom factor.
toRight(SensorPort, double) - Method in class ch.aplu.android.nxt.CompassAdapter
Empty method called when the compass reading points to a direction at the right half-plane of the trigger direction.
toRight(SensorPort, double) - Method in interface ch.aplu.android.nxt.CompassListener
Called when the compass reading points to a direction at the right half-plane of the trigger direction.
toString() - Method in class ch.aplu.android.GGCircle
Returns a string that enumerates center and radius.
toString() - Method in class ch.aplu.android.GGLine
Returns a string that enumerates start and end vector.
toString() - Method in class ch.aplu.android.GGRectangle
Returns a string that enumerates vertexes, edges, center, width, height and direction.
toString() - Method in class ch.aplu.android.GGVector
Returns a string with the x-y-coordinates in the format (x, y).
toString() - Method in class ch.aplu.android.Location
Returns a string that represents this location.
toString() - Method in class ch.aplu.android.PointD
 
toString() - Method in class ch.aplu.jcardgame.Card
Returns a string representation in the format "suit-rank".
toString() - Method in class ch.aplu.jcardgame.Hand
Returns a string representation of all cards in the hand.
toString() - Method in class ch.aplu.util.Complex
Return a string representation of the complex value.
TouchAdapter - Class in ch.aplu.android.nxt
Class with empty callback methods for the touch sensor.
TouchAdapter() - Constructor for class ch.aplu.android.nxt.TouchAdapter
 
touchEvent(GGTouch) - Method in interface ch.aplu.android.GGTouchListener
Event callback method called when a screen touch event occurs.
TouchListener - Interface in ch.aplu.android.nxt
Interface with declarations of callback methods for the touch sensor.
TouchSensor - Class in ch.aplu.android.nxt
Class that represents a touch sensor.
TouchSensor(SensorPort) - Constructor for class ch.aplu.android.nxt.TouchSensor
Creates a sensor instance connected to the given port.
TouchSensor() - Constructor for class ch.aplu.android.nxt.TouchSensor
Creates a sensor instance connected to port S1.
toUserPoint(Point) - Method in class ch.aplu.android.GGPanel
Transforms pixel coordinates to user coordinates.
toUserX(int) - Method in class ch.aplu.android.GGPanel
Transforms horizontal pixel coordinates to user coordinates.
toUserY(int) - Method in class ch.aplu.android.GGPanel
Transforms vertical pixel coordinates to user coordinates.
toVirtual(int) - Method in class ch.aplu.android.GameGrid
Returns the virtual value (int)(tReal / zoomFactor) of a real coordinate.
toVirtual() - Method in class ch.aplu.android.Location
Returns a new location that is unzoomed by the current GameGrid's zoom factor.
transfer(Hand, boolean) - Method in class ch.aplu.jcardgame.Card
Animated or non-animated transfer from current hand to new hand using the currently defined target area.
transfer(Card, Hand, boolean) - Method in class ch.aplu.jcardgame.Hand
Transfers the card from the current hand to the given target hand using the currently defined target area.
transferNonBlocking(Hand, boolean) - Method in class ch.aplu.jcardgame.Card
Same as transfer(targetHand, doDraw), but the methods returns immediately.
transferNonBlocking(Card, Hand, boolean) - Method in class ch.aplu.jcardgame.Hand
Same as transfer(card, targetHand, doDraw), but the methods returs immediately.
translate(GGVector) - Method in class ch.aplu.android.GGCircle
Performs a translation by the given vector.
translate(GGVector) - Method in class ch.aplu.android.GGLine
Performs a translation by the given vector.
translate(GGVector) - Method in class ch.aplu.android.GGRectangle
Translates by the given vector.
TRANSPARENT - Static variable in class ch.aplu.android.GameGrid
Short for Color.TRANSPARENT.
triangle(double, double, double, double, double, double, boolean) - Method in class ch.aplu.android.GGPanel
Draws a triangle with given vertexes.
triangle(PointD, PointD, PointD, boolean) - Method in class ch.aplu.android.GGPanel
Draws a triangle with given vertexes.
turn(double) - Method in class ch.aplu.android.Actor
Turns the moving direction by the given angle (clockwise for positive angles, counterclockwise for negative angles).
turnTo(int) - Method in class ch.aplu.android.nxt.Gear
Same as turnTo(int count, boolean blocking) with blocking = true.
turnTo(int, boolean) - Method in class ch.aplu.android.nxt.Gear
Sets the rotation counter to zero and turn with the motors running in opposite direction.
Turtle - Class in ch.aplu.android
A class that implements the basic behavior of a Logo turtle.
Turtle() - Constructor for class ch.aplu.android.Turtle
Creates a turtle using the sprite image 'turtle'.
TurtleCrawler - Class in ch.aplu.android.nxt
Class to simulate a Lego NXT crawler (from NXT 2.0 box).
TurtleCrawler(Activity, BluetoothDevice) - Constructor for class ch.aplu.android.nxt.TurtleCrawler
Creates a TurtleCrawler instance with given BluetoothDevice of the NXT brick.
TurtleCrawler(Activity, String) - Constructor for class ch.aplu.android.nxt.TurtleCrawler
Creates a TurtleCrawler instance with given Bluetooth friendly name of the NXT brick.
TurtleCrawler(Activity) - Constructor for class ch.aplu.android.nxt.TurtleCrawler
Asks for the Bluetooth friendly name of the NXT brick and creates a TurtleCrawler instance.
TurtlePane - Class in ch.aplu.android
A class derived from GameGrid to create a environment where turtles lives.
TurtlePane() - Constructor for class ch.aplu.android.TurtlePane
Creates a black GameGrid with 300x300 pixels (one pixel cell size).
TurtleRobot - Class in ch.aplu.android.nxt
Implementation of the basic Logo turtle movements.
TurtleRobot(Activity, BluetoothDevice) - Constructor for class ch.aplu.android.nxt.TurtleRobot
Creates a TurtleRobot instance with given BluetoothDevice of the NXT brick.
TurtleRobot(Activity, String) - Constructor for class ch.aplu.android.nxt.TurtleRobot
Creates a TurtleRobot instance with given Bluetooth friendly name of the NXT brick.
TurtleRobot(Activity) - Constructor for class ch.aplu.android.nxt.TurtleRobot
Asks for the Bluetooth friendly name of the NXT brick and creates a TurtleRobot instance.

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