Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
R
S
T
U
V
W
S
SAVED_GAME_DATA
- Static variable in class bluegammon.
Bluegammon
Key for saved game data (byte[])
SND_CONNFAIL
- Static variable in class bluegammon.
Resources
SND_DICES_LONG
- Static variable in class bluegammon.
Resources
SND_DICES_SHORT
- Static variable in class bluegammon.
Resources
SND_JAZZY
- Static variable in class bluegammon.
Resources
SND_LOSER
- Static variable in class bluegammon.
Resources
SND_MESSAGE
- Static variable in class bluegammon.
Resources
SND_PIECE
- Static variable in class bluegammon.
Resources
SND_WINNER
- Static variable in class bluegammon.
Resources
SoftButtonControl
- class bluegammon.gui.
SoftButtonControl
.
A custom item for softbuttons.
SoftButtonControl()
- Constructor for class bluegammon.gui.
SoftButtonControl
StringInputHandler
- interface bluegammon.gui.
StringInputHandler
.
Implementations of this interface handles string input.
saveBoard(DataOutputStream)
- Method in class bluegammon.logic.
Board
Saves the board status to specified data output stream.
saveCanvas(DataOutputStream)
- Method in class bluegammon.gui.
BoardCanvas
Saves the state of the graphical representation of the board.
saveGame(OutputStream)
- Static method in class bluegammon.logic.
BoardMediator
Saves current game to specified output stream.
saveGame(Player, byte[])
- Static method in class bluegammon.logic.
GameRecord
Saves the state of an ongoing game against specified opponents.
saveRules(DataOutputStream)
- Static method in class bluegammon.logic.
Rules
Saves rules.
saveSeed(DataOutputStream)
- Static method in class bluegammon.logic.
Rand
Writes the seed used by random generator.
saveState(DataOutputStream)
- Method in class bluegammon.logic.
BoardState
Saves current state to specified outputstream.
searchingStopped()
- Method in class bluegammon.gui.
BluetoothClientWorkflow
Called when all nearby devices has been found or an error occurred during search.
selectTurns(int, int)
- Method in class bluegammon.gui.
BoardCanvas
Called from logic on a new game, when players toss one dice each and the one with highest value starts.
selectedChoice(byte, boolean)
- Method in class bluegammon.
Bluegammon
selectedChoice(byte, boolean)
- Method in class bluegammon.gui.
BluetoothClientWorkflow
Called when user presses cancel during connection to server.
selectedChoice(byte, boolean)
- Method in class bluegammon.gui.
BluetoothServerWorkflow
Called when user cancels a server setup.
selectedChoice(byte, boolean)
- Method in interface bluegammon.gui.popup.
PopupListener
Called when an selection has been made.
selectedChoice(byte, boolean)
- Method in class bluegammon.logic.
LocalPlayer
PopupListener implementation, called from a popup.
serverHandshake(DataInputStream, DataOutputStream, String)
- Method in class bluegammon.io.
Handshake
Performs a handshake as a server.
serviceSearchCompleted(int, int)
- Method in class bluegammon.gui.
BluetoothClientWorkflow
serviceSearchCompleted(int, int)
- Method in class bluegammon.io.
BluetoothFacade
servicesDiscovered(int, ServiceRecord[])
- Method in class bluegammon.gui.
BluetoothClientWorkflow
servicesDiscovered(int, ServiceRecord[])
- Method in class bluegammon.io.
BluetoothFacade
set(int, byte[])
- Static method in class bluegammon.
RmsFacade
Sets a key to specified data.
set(int, boolean)
- Static method in class bluegammon.logic.
Rules
Enables/disables a rule.
setAction(ItemAction)
- Method in class bluegammon.gui.menu.
PageItem
Sets the action which is called upon item activation.
setBackgammonConnection(BackgammonConnection)
- Static method in class bluegammon.
Bluegammon
Sets the connection used in remote game.
setBoolean(int, boolean)
- Static method in class bluegammon.
RmsFacade
Sets the value of a key as a boolean.
setBoolean(boolean)
- Method in class bluegammon.gui.menu.
BinaryPageItem
Implement this to set the state of the flag.
setCanvas(PopupCanvas)
- Static method in class bluegammon.
Bluegammon
Sets specified canvas as current
setCanvas(Canvas)
- Method in class bluegammon.gui.menu.
Menu
Sets the canvas this menu is drawn upon.
setChars(int, char[])
- Static method in class bluegammon.
RmsFacade
Sets the value of a key as a char array.
setClientWorkflow(BluetoothClientWorkflow)
- Method in class bluegammon.gui.
BluetoothDevicePage
Registers the behaviour to enable when user wants to connect as client to a device listed in this page.
setCommandListener(CommandListener)
- Method in class bluegammon.gui.
SoftButtonControl
Sets the commandlistener that will be reported upon softkey presses.
setCurrentLocalPlayer(LocalPlayer)
- Method in class bluegammon.gui.
BoardCanvas
Set the local player that will receive interaction calls made on this canvas.
setCurrentPlayer(boolean)
- Method in class bluegammon.logic.
BoardState
Sets the turn to the player having specified color without notifying listener about the change.
setDiceValues(int, int)
- Method in class bluegammon.gui.
BoardCanvas
Sets the dice values to be drawn and resets consume status
setDimensions(int, int)
- Method in class bluegammon.gui.menu.
Menu
Sets the size of this menu.
setDrawDiceValues(boolean)
- Method in class bluegammon.gui.
BoardCanvas
Enables/Disables drawing of dice values.
setEnabled(boolean)
- Method in class bluegammon.gui.menu.
PageItem
Enables or disables this item.
setFrameData(int, long)
- Method in class bluegammon.gui.menu.
Menu
Sets the values used in a transition between to pages.
setGameFinished(boolean)
- Method in class bluegammon.logic.
BoardState
Marks this game as finished
setGameListener(BoardStateListener)
- Method in class bluegammon.logic.
BoardState
Registers a boardstate-listener that will receive events upon state changes.
setImage(Image)
- Method in class bluegammon.gui.menu.
PageItem
Sets the image of this item.
setInt(int, int)
- Static method in class bluegammon.
RmsFacade
Sets the value of a key as an int.
setLabel(char[])
- Method in class bluegammon.gui.menu.
PageItem
Sets the text label of this item.
setLayout(int)
- Method in class bluegammon.gui.menu.
MenuPage
Sets the layout of the image, any of LAYOUT_LEFT, LAYOUT_RIGHT.
setLayout(int)
- Method in class bluegammon.gui.menu.
PageItem
Sets the layout of the image, any of LAYOUT_CENTERED_LEFT, LAYOUT_CENTERED_RIGHT, LAYOUT_ALIGN_LEFT, LAYOUT_ALIGN_RIGHT.
setLeftCommand(Command)
- Method in class bluegammon.gui.
SoftButtonControl
Sets the left softbutton command.
setListener(MenuListener)
- Method in class bluegammon.gui.menu.
Menu
Sets the listener which is reported on menu events.
setLocation(int, int)
- Method in class bluegammon.gui.menu.
Menu
Sets the location of this menu.
setLong(int, long)
- Static method in class bluegammon.
RmsFacade
Sets the value of a key as a long.
setPainter(MenuPainter)
- Method in class bluegammon.gui.menu.
Menu
Sets the painter used to paint the menu.
setPieces(boolean, int, int)
- Method in class bluegammon.gui.
BoardCanvas
Sets number of pieces on specified index
setPieces(boolean, int, int)
- Method in class bluegammon.logic.
Board
Sets number of pieces in specified index
setPlayers(Player, Player)
- Method in class bluegammon.logic.
BoardState
Defines the two backgammon players.
setPopup(Popup)
- Method in class bluegammon.gui.
PopupCanvas
Sets the popup in this canvas.
setProperty(int, Object)
- Method in class bluegammon.gui.menu.
PageItem
Sets a value to a generic property on this item, or resets it by giving
null
as a value.
setQueryCommit(boolean)
- Method in class bluegammon.gui.
BoardCanvas
Called from logic when the user should commit his/her moves or when the user has commited.
setRandomSeed(long)
- Static method in class bluegammon.logic.
Rand
Sets the seed of the random generator.
setRightCommand(Command)
- Method in class bluegammon.gui.
SoftButtonControl
Sets the right softbutton command.
setRuleFlags(int)
- Static method in class bluegammon.logic.
Rules
Sets current rules as an integer.
setSearching(boolean)
- Method in class bluegammon.gui.
BluetoothDevicePage
Enables or disables the searching
setSelectedIndex(int)
- Method in class bluegammon.gui.menu.
MenuPage
Sets the currently selected index in this page.
setSelectedItemIndex(int)
- Method in class bluegammon.gui.menu.
Menu
Sets index of selected item.
setStartPositions()
- Method in class bluegammon.gui.
BoardCanvas
Sets up start positions for white and black player
setStartPositions()
- Method in class bluegammon.logic.
Board
Initializes the board to start positions
setSubPage(MenuPage)
- Method in class bluegammon.gui.menu.
PageItem
Sets the subpage that will be displayed when this item is activated, or null if no such page.
setTitle(char[])
- Method in class bluegammon.gui.menu.
MenuPage
Sets the title of this page.
setTitleImage(Image)
- Method in class bluegammon.gui.menu.
MenuPage
Sets the title image of this page.
setTurn(boolean)
- Method in class bluegammon.logic.
BoardState
Sets the turn to the player having specified color and notifies listener about the change.
setWhite(boolean)
- Method in class bluegammon.logic.
Player
Sets the color of the player.
showMessage(char[])
- Static method in class bluegammon.logic.
BoardMediator
Called when remote player sent a message
showPopup(char[], char[][], int, int, int, PopupListener)
- Static method in class bluegammon.
Bluegammon
Shows a popup on the device display, enabling the user to make a choice amongst specified alternatives.
showRules()
- Static method in class bluegammon.
Bluegammon
Displays a popup with current rule settings.
shutdown()
- Static method in class bluegammon.
Audio
Stops all sounds and cleans up resources.
shutdown()
- Static method in class bluegammon.
Bluegammon
Shuts down the MIDlet.
shutdown()
- Static method in class bluegammon.
RmsFacade
Closes and frees resources of the RMS facade
shutdown()
- Method in class bluegammon.gui.
BoardCanvas
Shuts down the canvas logic.
shutdown()
- Method in class bluegammon.gui.animation.
AnimationEngine
Shuts down the animation engine.
shutdown()
- Static method in class bluegammon.logic.
BoardMediator
Shuts the BoardMediator down.
size()
- Method in class bluegammon.gui.menu.
MenuPage
Returns number of items in this page.
start()
- Method in class bluegammon.gui.menu.
Menu
Activates this menu and jumps to the starting page.
startLocalGame()
- Static method in class bluegammon.
Bluegammon
Start a new game for two players on one phone.
startRemoteGame(boolean, char[])
- Static method in class bluegammon.
Bluegammon
Starts a remote game, either as server or as client.
startup()
- Static method in class bluegammon.logic.
BoardMediator
Starts the BoardMediator.
stop()
- Method in class bluegammon.gui.animation.
CursorAnim
Stops this cursor animation.
stopSound(int)
- Static method in class bluegammon.
Audio
Stops specified sound if it is playing.
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
R
S
T
U
V
W