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

G

GAMERECORDS_SIZE - Static variable in class bluegammon.Bluegammon
Max number of opponent scores that can be persistent
GAMEREC_GAME_COUNT - Static variable in class bluegammon.Bluegammon
First key in gamerecords, number of games against this opponent (int)
GAMEREC_MY_SCORE - Static variable in class bluegammon.Bluegammon
First key in gamerecords, player score (int)
GAMEREC_OP_ID - Static variable in class bluegammon.Bluegammon
First key in gamerecords, device ids (int)
GAMEREC_OP_NAME - Static variable in class bluegammon.Bluegammon
First key in gamerecords, opponent name (char[])
GAMEREC_OP_SCORE - Static variable in class bluegammon.Bluegammon
First key in gamerecords, opponent score (int)
GAMEREC_SAVED_GAME_DATA - Static variable in class bluegammon.Bluegammon
First key in gamerecords, saved game data (byte[])
GAMEREC_TIMESTAMP - Static variable in class bluegammon.Bluegammon
First key in gamerecords, timestamp (long)
GAME_TYPE_LOCAL - Static variable in class bluegammon.Bluegammon
Represents a game that is only played on this device
GAME_TYPE_REMOTE_CLIENT - Static variable in class bluegammon.Bluegammon
Represents a distributed game where this device acts client
GAME_TYPE_REMOTE_SERVER - Static variable in class bluegammon.Bluegammon
Represents a distributed game where this device acts server
GameRecord - class bluegammon.logic.GameRecord.
A game record represents one or multiple games between an opponent, keeping track of scores and such.
gameExited(int, int) - Method in class bluegammon.io.PlayerListenerProxy
 
gameExited(int, int) - Method in interface bluegammon.logic.PlayerListener
Called when player exits the game for some reason.
gameExited(int, int) - Method in class bluegammon.logic.RemotePlayer
Called when a game exit event is received.
gameFinished(boolean, int, int) - Method in class bluegammon.logic.BoardMediator
 
gameFinished(boolean, int, int) - Method in interface bluegammon.logic.BoardStateListener
Called from BoardState when a game is finished
get(int) - Static method in class bluegammon.RmsFacade
Returns data for a specified key.
getAction() - Method in class bluegammon.gui.menu.PageItem
Returns action which is called upon item activation.
getAllRecords() - Static method in class bluegammon.logic.GameRecord
Returns a vector of GameRecords, containing all stored game records.
getBoardHeight() - Method in class bluegammon.gui.BoardCanvas
Returns the actual height of the board in pixels
getBoardImage() - Method in class bluegammon.gui.BoardCanvas
Returns an image of a clean backgammon board (without pieces).
getBoolean(int) - Static method in class bluegammon.RmsFacade
Returns the value of a key as a boolean.
getBoolean() - Method in class bluegammon.gui.menu.BinaryPageItem
Implement this to return the state of the flag.
getCanvas() - Static method in class bluegammon.Bluegammon
Returns current canvas
getCanvas() - Method in class bluegammon.gui.menu.Menu
Returns the canvas this menu is drawn upon.
getCanvas() - Static method in class bluegammon.logic.BoardMediator
Returns the boardcanvas singleton instance.
getChars(int) - Static method in class bluegammon.Resources
Returns specified text as character array.
getChars(int) - Static method in class bluegammon.RmsFacade
Returns the value of a key as a char array.
getCommandListener() - Method in class bluegammon.gui.SoftButtonControl
Returns the command listener.
getConnection() - Method in class bluegammon.io.BackgammonBTConnection
 
getConnection() - Method in interface bluegammon.io.BackgammonConnection
If server has got a client or client is connected to a server, this method returns the connection.
getCurrentCursorIndex() - Method in class bluegammon.gui.BoardCanvas
Returns current cursor index of possible moves.
getCurrentPage() - Method in class bluegammon.gui.menu.Menu
Returns current page.
getCurrentPlayer() - Static method in class bluegammon.logic.BoardMediator
Returns the player whos holding the turn, i.e. can make moves.
getCurrentPlayer() - Method in class bluegammon.logic.BoardState
Returns current player.
getCurrentPopup() - Static method in class bluegammon.Bluegammon
Returns current displayed popup
getDeviceId() - Static method in class bluegammon.Device
Returns a unique id for this device.
getDiceAppearance(boolean) - Method in class bluegammon.gui.Context3D
Returns the appearance (texture and material) for a dice.
getDiceIndexBuffer() - Method in class bluegammon.gui.Context3D
Returns index buffer for a dice.
getDiceValue(int) - Static method in class bluegammon.logic.BoardMediator
Returns value of specified dice
getDiceValue(int) - Method in class bluegammon.logic.BoardState
Returns value of specified dice
getDiceVertexBuffer() - Method in class bluegammon.gui.Context3D
Returns vertexbuffer for a dice.
getDisplay() - Static method in class bluegammon.Device
Returns the display of this midlet.
getFrameDelay() - Method in class bluegammon.gui.menu.Menu
Returns the frame delay in milliseconds.
getFrames() - Method in class bluegammon.gui.menu.Menu
Returns number of frames in a page switch.
getGameCount() - Method in class bluegammon.logic.GameRecord
Returns number of games played agains opponent represented in this record.
getGameType() - Static method in class bluegammon.Bluegammon
Returns current game type, one of GAME_TYPE_LOCAL, GAME_TYPE_REMOTE_SERVER, GAME_TYPE_REMOTE_CLIENT.
getHeight() - Method in class bluegammon.gui.menu.Menu
Returns height of this menu.
getId() - Method in class bluegammon.gui.menu.PageItem
Returns ID of this item, or Integer.MIN_VALUE if not set.
getId() - Method in class bluegammon.logic.Player
Returns the id of this player.
getImage(int) - Static method in class bluegammon.Resources
Returns specified image.
getImage() - Method in class bluegammon.gui.menu.PageItem
Returns image of this item, or null if none set.
getIndex(PageItem) - Method in class bluegammon.gui.menu.MenuPage
Returns the index of specified item.
getIndex() - Method in class bluegammon.logic.GameRecord
Returns the index in rms that this record occupies.
getInput() - Method in class bluegammon.io.BackgammonBTConnection
 
getInput() - Method in interface bluegammon.io.BackgammonConnection
If server has got a client or client is connected to a server, this method returns the input stream.
getInstance() - Static method in class bluegammon.gui.BoardCanvas
Returns singleton instance.
getInstance() - Static method in class bluegammon.gui.Context3D
Returns singleton instance.
getInstance() - Static method in class bluegammon.gui.MenuCanvas
Returns the singleton instance.
getInstance() - Static method in class bluegammon.logic.BoardState
 
getInt(int) - Static method in class bluegammon.RmsFacade
Returns the value of a key as an int.
getInterval() - Method in class bluegammon.gui.animation.AbstractDicesAnim
 
getInterval() - Method in class bluegammon.gui.animation.Animation
Returns interval time in milliseconds when the animation should be updated, i.e. the next method is invoked.
getInterval() - Method in class bluegammon.gui.animation.CommitMoveAnim
 
getInterval() - Method in class bluegammon.gui.animation.CursorAnim
 
getInterval() - Method in class bluegammon.gui.animation.PieceMoveAnim
 
getInterval() - Method in class bluegammon.gui.animation.WinnerAnim
 
getInterval() - Method in class bluegammon.gui.animation.WinnerPieceMoveAnim
 
getLabel() - Method in class bluegammon.gui.menu.PageItem
Returns the label of this item.
getLastInvoke() - Method in class bluegammon.gui.animation.Animation
Returns last update in milliseconds
getLayout() - Method in class bluegammon.gui.menu.MenuPage
Returns the layout of the image, any of LAYOUT_LEFT, LAYOUT_RIGHT.
getLayout() - Method in class bluegammon.gui.menu.PageItem
Returns the layout of the image, any of LAYOUT_CENTERED_LEFT, LAYOUT_CENTERED_RIGHT, LAYOUT_ALIGN_LEFT, LAYOUT_ALIGN_RIGHT.
getLeftCommand() - Method in class bluegammon.gui.SoftButtonControl
Returns the command assigned to left softbutton.
getListener() - Method in class bluegammon.gui.menu.Menu
Returns the listener.
getLocalPlayer() - Static method in class bluegammon.logic.BoardMediator
Returns the one LocalPlayer.
getLong(int) - Static method in class bluegammon.RmsFacade
Returns the value of a key as a long.
getMidlet() - Static method in class bluegammon.Device
Returns the midlet instance.
getName() - Method in class bluegammon.logic.Player
Returns the name of this player.
getOpponentId() - Method in class bluegammon.logic.GameRecord
Returns the id of the opponent represented in this record.
getOpponentIndex(boolean, int, int) - Method in class bluegammon.logic.Board
Returns board index of opponent
getOpponentName() - Method in class bluegammon.logic.GameRecord
Returns the name of the opponent represented in this record.
getOpponentPlayer() - Static method in class bluegammon.logic.BoardMediator
Returns opponent player.
getOpponentScore() - Method in class bluegammon.logic.GameRecord
Returns the score of the opponent represented in this record.
getOutput() - Method in class bluegammon.io.BackgammonBTConnection
 
getOutput() - Method in interface bluegammon.io.BackgammonConnection
If server has got a client or client is connected to a server, this method returns the output stream.
getPainter() - Method in class bluegammon.gui.menu.Menu
Returns the painter used to paint the menu.
getPieceAppearance(boolean) - Method in class bluegammon.gui.Context3D
Returns the appearance (texture and material) for a piece.
getPieceIndexBuffer() - Method in class bluegammon.gui.Context3D
Returns indexbuffer for a piece.
getPieceVertexBuffer() - Method in class bluegammon.gui.Context3D
Returns vertexbuffer for a piece.
getPieceX(int, int, boolean) - Method in class bluegammon.gui.BoardCanvas
Returns x coordinate for a piece on specified row-index.
getPieceY(int, int, boolean) - Method in class bluegammon.gui.BoardCanvas
Returns y coordinate for a piece on specified row-index.
getPieces(int) - Method in class bluegammon.gui.BoardCanvas
Returns number pieces on specified index
getPieces(boolean, int) - Method in class bluegammon.gui.BoardCanvas
Returns number of pieces on specified index of specified color
getPlayerIndex(boolean, int, int) - Method in class bluegammon.logic.Board
Returns board index of player
getPlayerScore() - Method in class bluegammon.logic.GameRecord
Returns the score of the player represented in this record.
getPopup() - Method in class bluegammon.gui.PopupCanvas
Returns the popup in this canvas or null if popup.
getPossibleMoves() - Static method in class bluegammon.logic.BoardMediator
Returns possible moves based on current board state.
getPossibleMoves(boolean) - Method in class bluegammon.logic.BoardState
Calculates possible moves and returns array, composed as int[possibleMoveIndex][PM_SOUR | PM_DEST | PM_DICE] where PM_SOUR denotes the source index, PM_DEST denotes the destination index, and PM_DICE denotes the dice value index that is used for the move.
getProperty(int) - Method in class bluegammon.gui.menu.PageItem
Returns value of a generic property on this item or null if not set.
getRecord(Player) - Static method in class bluegammon.logic.GameRecord
Returns record for a specific opponent.
getRemoteId() - Method in class bluegammon.io.Handshake
Returns the id of the other device after a successful handshake.
getRemoteName() - Method in class bluegammon.io.Handshake
Returns the name of the other device after a successful handshake.
getResource(int) - Static method in class bluegammon.Resources
Returns specified resource as stream
getRightCommand() - Method in class bluegammon.gui.SoftButtonControl
Returns the command assigned to right softbutton.
getRuleFlags() - Static method in class bluegammon.logic.Rules
Returns current rule settings as an integer.
getSavedGame() - Method in class bluegammon.io.Handshake
Returns the data of a shared saved game.
getSavedGame(int) - Static method in class bluegammon.logic.GameRecord
Returns the data of a saved game.
getSelectedIndex() - Method in class bluegammon.gui.menu.MenuPage
Returns the currently selected index in this page.
getSelectedItem() - Method in class bluegammon.gui.menu.Menu
Returns selected item or null if no item is currently selected.
getSelectedItemIndex() - Method in class bluegammon.gui.menu.Menu
Returns index of selected item or -1 if no item is currently selected.
getShadowProjectionDeltaX(float) - Method in class bluegammon.gui.Context3D
Returns delta x coordinate of shadow position given specified delta z between object and projection plane.
getStartPage() - Method in class bluegammon.gui.menu.Menu
Returns start page of this menu.
getString(int) - Static method in class bluegammon.Resources
Returns specified text as string.
getStringInput(String, char[], int, int, StringInputHandler) - Static method in class bluegammon.Bluegammon
Gets input from the user.
getSubPage() - Method in class bluegammon.gui.menu.PageItem
Returns the subpage that will be displayed when this item is activated, or null if no such page.
getTexture(boolean) - Method in class bluegammon.gui.Context3D
Returns the textures used within this game.
getTimeOutChoice() - Method in class bluegammon.gui.popup.Popup
Returns alternative index on timeout
getTimestamp() - Method in class bluegammon.logic.GameRecord
Returns the time of the latest change to this record.
getTitle() - Method in class bluegammon.gui.menu.MenuPage
Returns the title of this page.
getTitleImage() - Method in class bluegammon.gui.menu.MenuPage
Returns the title of this page.
getWaitingPlayer() - Method in class bluegammon.logic.BoardState
Returns waiting player.
getWidth() - Method in class bluegammon.gui.menu.Menu
Returns width of this menu.
getX() - Method in class bluegammon.gui.menu.Menu
Returns x offset of this menu.
getY() - Method in class bluegammon.gui.menu.Menu
Returns y offset of this menu.
goBack() - Method in class bluegammon.gui.menu.Menu
Steps back to previous page.
gotoPage(MenuPage) - Method in class bluegammon.gui.menu.Menu
Steps forward to a new page.

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