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

A

ACCEPT - Static variable in class org.jogre.common.comm.CommInvite
User accepts invite from a user.
ACE - Static variable in class org.jogre.common.games.Card
 
AGREED_DRAW - Static variable in interface org.jogre.common.IGameOver
All users agree on a draw.
APPLET_PARAM_PASSWORD - Static variable in interface org.jogre.common.IJogre
Applet parameter "password".
APPLET_PARAM_SERVER_HOST - Static variable in interface org.jogre.common.IJogre
Applet parameter "serverhost".
APPLET_PARAM_SERVER_PORT - Static variable in interface org.jogre.common.IJogre
Applet parameter "serverport".
APPLET_PARAM_USERNAME - Static variable in interface org.jogre.common.IJogre
Applet parameter "username".
AbstractBoardComponent - class org.jogre.client.awt.AbstractBoardComponent.
This graphical component can be extended to create a number of graphical boards such as chess boards, etc.
AbstractBoardComponent(int, int) - Constructor for class org.jogre.client.awt.AbstractBoardComponent
Default constructor which sets the number of rows and the number of columns and everything else uses it default value.
AbstractBoardComponent(int, int, int, int, int, int, boolean, boolean, boolean) - Constructor for class org.jogre.client.awt.AbstractBoardComponent
This constructor sets all the various things of a board such as its number of rows/columns, cell size, spacing between cells, border width, mouse border width and the option to draw letters down the side.
AbstractConnectionThread - class org.jogre.common.AbstractConnectionThread.
Abstract connection thread which is spawned with each client.
AbstractConnectionThread(Socket) - Constructor for class org.jogre.common.AbstractConnectionThread
Constructor for a connection which takes a Socket and sends up the input and output stream.
AbstractProperties - class org.jogre.common.util.AbstractProperties.
Abstract class which provides various methods which are common to GameProperties, GameLabels and JogreLabels.
AbstractProperties(String) - Constructor for class org.jogre.common.util.AbstractProperties
Private constructor (Can only be called by the getInstance() method.
addCard(Card) - Method in class org.jogre.common.games.Deck
Adds card to deck.
addChild(XMLElement) - Method in class nanoxml.XMLElement
Adds a child element.
addCustomListeners() - Method in class org.jogre.client.awt.JogrePropertyDialog
Hook: Add custom listeners
addCustomProperties(Vector, Vector) - Method in class org.jogre.client.awt.JogrePropertyDialog
Hook: Custom gui setup
addCustomPropertiesToTable(Vector, Vector, CommNewTable) - Method in class org.jogre.client.awt.JogrePropertyDialog
Hook: Add custom properties to comm new table object
addGame(Game) - Method in class org.jogre.common.GameList
Add a game to the game list.
addImage(String, int) - Static method in class org.jogre.client.awt.GameImages
Method to add images.
addLayoutComponent(String, Component) - Method in class info.clearthought.layout.SingleFiledLayout
Adds the specified component with the specified name to the layout.
addLayoutComponent(String, Component) - Method in class info.clearthought.layout.TableLayout
Adds the specified component with the specified name to the layout.
addLayoutComponent(Component, Object) - Method in class info.clearthought.layout.TableLayout
Adds the specified component with the specified name to the layout.
addListeners() - Method in class org.jogre.client.awt.JogreClientPanel
Add listeners to the various buttons and lists
addListeners() - Method in class org.jogre.client.awt.JogreInviteDialog
Add listeners to the various buttons and lists
addPlayer(String) - Method in class org.jogre.common.PlayerList
Add a player to the table.
addPlayer(String) - Method in class org.jogre.common.Table
Add a user to the table i.e.
addProperty(String, Object) - Method in class nanoxml.XMLElement
Deprecated. Use setAttribute instead.
addProperty(String, int) - Method in class nanoxml.XMLElement
Deprecated. Use setIntAttribute instead.
addProperty(String, double) - Method in class nanoxml.XMLElement
Deprecated. Use setDoubleAttribute instead.
addProperty(String, String) - Method in class org.jogre.common.Table
Add a property to the hash map.
addProperty(String, String) - Method in class org.jogre.common.comm.CommNewTable
Add a property to the Table Action.
addProperty(String, String) - Method in interface org.jogre.common.comm.ITransmittableWithProps
Add a property to a class.
addTable(String, boolean, JogrePropertyHash) - Method in class org.jogre.common.TableList
Add a new Table object to the HashMap.
addToTopPanel(Component) - Method in class org.jogre.client.awt.JogreTableFrame
Method to add additional components (such as buttons etc) to the top right hand side of the screen.
addUser(User) - Method in class org.jogre.common.UserList
Creates a new User using a username and a rating and adds to the HashMap.
alignment - Variable in class info.clearthought.layout.TableLayout.Entry
Horizontal and vertical alignment
assignAbsoluteSize(int, int) - Method in class info.clearthought.layout.TableLayout
Assigns absolute sizes.
assignFillSize(int, int) - Method in class info.clearthought.layout.TableLayout
Assigns FILL sizes.
assignPrefMinSize(int, int, double) - Method in class info.clearthought.layout.TableLayout
Assigned widths to preferred and minimum size columns and rows.
assignRelativeSize(int, int) - Method in class info.clearthought.layout.TableLayout
Assigns relative sizes.

B

BOTTOM - Static variable in class info.clearthought.layout.SingleFiledLayout
Bottom justify components
BOTTOM - Static variable in interface info.clearthought.layout.TableLayoutConstants
Indicates that the component is bottom justified in its cell
borderWidth - Variable in class org.jogre.client.awt.AbstractBoardComponent
Width of the border in pixels.

C

C - Static variable in class info.clearthought.layout.TableLayout
Indicates a column
CARD_PIXEL_HEIGHT - Static variable in class org.jogre.common.games.Card
 
CARD_PIXEL_WIDTH - Static variable in class org.jogre.common.games.Card
 
CARD_SPACING - Static variable in class org.jogre.common.games.Card
 
CENTER - Static variable in class info.clearthought.layout.SingleFiledLayout
Center components
CENTER - Static variable in interface info.clearthought.layout.TableLayoutConstants
Indicates that the component is centered in its cell
CHAT_GAME - Static variable in interface org.jogre.common.comm.Comm
Header token of a CommChatGame communications object.
CHAT_PRIVATE - Static variable in interface org.jogre.common.comm.Comm
Header token of a CommChatPrivate communications object.
CHAT_TABLE - Static variable in interface org.jogre.common.comm.Comm
Header token of a CommChatTable communications object.
CLUB - Static variable in class org.jogre.common.games.Card
 
COLUMN - Static variable in class info.clearthought.layout.SingleFiledLayout
Align components in a column
CONTROLLER_OBJECT - Static variable in interface org.jogre.common.comm.Comm
Header token of a CommControllerProperty communications object.
CONTROLLER_PROPERTY - Static variable in interface org.jogre.common.comm.Comm
Header token of a CommControllerProperty communications object.
Card - class org.jogre.common.games.Card.
Card defines a generic playing card that is transmittable
Card() - Constructor for class org.jogre.common.games.Card
Default constructor
Card(String, int, char) - Constructor for class org.jogre.common.games.Card
Constructor that takes card value.
Card(XMLElement) - Constructor for class org.jogre.common.games.Card
Contructor that takes an xml message
ChatGameComponent - class org.jogre.client.awt.ChatGameComponent.
Little message component which can be used in several ways.
ChatGameComponent(ClientConnectionThread, int) - Constructor for class org.jogre.client.awt.ChatGameComponent
Constructor for a message component.
ChatPrivateDialog - class org.jogre.client.awt.ChatPrivateDialog.
This is used to send a private message between two users.
ChatPrivateDialog(JFrame, String, ClientConnectionThread) - Constructor for class org.jogre.client.awt.ChatPrivateDialog
Constructor for loading a private message in an application.
ChatPrivateDialog(String, ClientConnectionThread) - Constructor for class org.jogre.client.awt.ChatPrivateDialog
Constructor for loading a private message in an applet.
ChatTableComponent - class org.jogre.client.awt.ChatTableComponent.
Component for a chat table component.
ChatTableComponent(TableConnectionThread, int) - Constructor for class org.jogre.client.awt.ChatTableComponent
Constructor for a chat table component
ClientConnectionThread - class org.jogre.client.ClientConnectionThread.
Client connection which is spawned from the client machine and receives/ sends communication to/from the server.
ClientConnectionThread(Socket, String, IClient) - Constructor for class org.jogre.client.ClientConnectionThread
Default constructor which takes a Socket connection to the server, a username and an IClient which sits between this class and the GUI.
ColouredSquare - class org.jogre.client.awt.ColouredSquare.
Small coloured square class which is used extensively in JOGRE to denote table visiblity, player rating, etc.
ColouredSquare(Color) - Constructor for class org.jogre.client.awt.ColouredSquare
Very simple constructor that takes a colour.
ColouredSquare(Color, int, int) - Constructor for class org.jogre.client.awt.ColouredSquare
Constructor which takes a colour, a width and a height.
ColouredSquare(Color, int, int, boolean) - Constructor for class org.jogre.client.awt.ColouredSquare
Constructor which takes a colour, a width and a height.
Comm - interface org.jogre.common.comm.Comm.
Interface for the variour standard communcations object which are available in the JOGRE api.
CommChatGame - class org.jogre.common.comm.CommChatGame.
Communication class which is used to broadcast a chat message to all users at a particular game.
CommChatGame(String) - Constructor for class org.jogre.common.comm.CommChatGame
Constructer for a broadcast message which is sent to everyone.
CommChatGame(XMLElement) - Constructor for class org.jogre.common.comm.CommChatGame
Constructor which creates a CommChatBroadcast object from the flatten () method of another CommChatBroadcast object.
CommChatPrivate - class org.jogre.common.comm.CommChatPrivate.
Communication class which is used to send a private message between users.
CommChatPrivate(String, String) - Constructor for class org.jogre.common.comm.CommChatPrivate
Constructer for a private message which takes a message and a usernameTo.
CommChatPrivate(XMLElement) - Constructor for class org.jogre.common.comm.CommChatPrivate
Constructor which takes an XMLElement.
CommChatTable - class org.jogre.common.comm.CommChatTable.
Chat communications object for chat at a table.
CommChatTable(String) - Constructor for class org.jogre.common.comm.CommChatTable
Constructor which takes a message.
CommChatTable(XMLElement) - Constructor for class org.jogre.common.comm.CommChatTable
Constructor which creates a CommChatRoom object from the flatten () method of another CommChatRoom object.
CommControllerObject - class org.jogre.common.comm.CommControllerObject.
Communication object which will send a XMLElement as a child from a client to server (or or vice versa).
CommControllerObject() - Constructor for class org.jogre.common.comm.CommControllerObject
Empty Constructor.
CommControllerObject(XMLElement) - Constructor for class org.jogre.common.comm.CommControllerObject
Constructor which takes an XMLElement.
CommControllerProperty - class org.jogre.common.comm.CommControllerProperty.
Communication object to send a key/value property from a client to server or vice versa.
CommControllerProperty(int, String, String) - Constructor for class org.jogre.common.comm.CommControllerProperty
Constructor which takes a username, status, table number and a value.
CommControllerProperty(XMLElement) - Constructor for class org.jogre.common.comm.CommControllerProperty
Constructor which reads the game over object from a String.
CommDisconnect - class org.jogre.common.comm.CommDisconnect.
Communication class which is used to disconnect a user from the system.
CommDisconnect() - Constructor for class org.jogre.common.comm.CommDisconnect
Constructor which specifies that a client wishes to disconnect.
CommDisconnect(String) - Constructor for class org.jogre.common.comm.CommDisconnect
Message sent from server to other clients.
CommDisconnect(XMLElement) - Constructor for class org.jogre.common.comm.CommDisconnect
Constructor which creates a CommDisconnect object from the flatten () method of another CommDisconnect object.
CommError - class org.jogre.common.comm.CommError.
Communications class which is used to send an error from the server to a client or vice-versa.
CommError(int) - Constructor for class org.jogre.common.comm.CommError
Constructor to an error message.
CommError(XMLElement) - Constructor for class org.jogre.common.comm.CommError
Constructor which creates a CommError object from the flatten () method of another CommError object.
CommExitTable - class org.jogre.common.comm.CommExitTable.
Small communication object for exiting a table.
CommExitTable() - Constructor for class org.jogre.common.comm.CommExitTable
Constructor for requesting joining an existing table.
CommExitTable(int, String) - Constructor for class org.jogre.common.comm.CommExitTable
Constructor which the server informs clients that a user has left a table.
CommExitTable(XMLElement) - Constructor for class org.jogre.common.comm.CommExitTable
Constructor which takes an XMLElement.
CommGameConnect - class org.jogre.common.comm.CommGameConnect.
Sends a connect message to a JOGRE server.
CommGameConnect(String) - Constructor for class org.jogre.common.comm.CommGameConnect
Used by server to inform other clients that someone has logged onto a game.
CommGameConnect(String, String) - Constructor for class org.jogre.common.comm.CommGameConnect
Constructor which takes a username, gameID but no password.
CommGameConnect(String, String, String) - Constructor for class org.jogre.common.comm.CommGameConnect
Constructor for a communications object for connecting to a client game which includes a password.
CommGameConnect(XMLElement) - Constructor for class org.jogre.common.comm.CommGameConnect
Constructor which creates a CommConnect object from the flatten () method of another CommConnect object.
CommGameMessage - class org.jogre.common.comm.CommGameMessage.
This is a message class which goes to a particular game such as chess, checkers etc.
CommGameMessage() - Constructor for class org.jogre.common.comm.CommGameMessage
Constructor with no parameters (no status).
CommGameMessage(int) - Constructor for class org.jogre.common.comm.CommGameMessage
Constructor which takes a username and a status.
CommGameMessage(String) - Constructor for class org.jogre.common.comm.CommGameMessage
Constructor which only takes a username.
CommGameMessage(int, String) - Constructor for class org.jogre.common.comm.CommGameMessage
Constructor which takes a status and a username to.
CommGameMessage(XMLElement) - Constructor for class org.jogre.common.comm.CommGameMessage
Constructor which parses the XMLElement into class fields.
CommGameOver - class org.jogre.common.comm.CommGameOver.
Communication object which describes a game over.
CommGameOver(int, GameOver) - Constructor for class org.jogre.common.comm.CommGameOver
Constructor which takes a table number and a game over message.
CommGameOver(int) - Constructor for class org.jogre.common.comm.CommGameOver
Message which is sent a client to the server to inform that a game is over.
CommGameOver(XMLElement) - Constructor for class org.jogre.common.comm.CommGameOver
Constructor which reads the game over object from an XML element.
CommInvite - class org.jogre.common.comm.CommInvite.
Communication class which is used to invite a user to a table.
CommInvite(int, int) - Constructor for class org.jogre.common.comm.CommInvite
Constructor which takes a status and table number.
CommInvite(int, int, String) - Constructor for class org.jogre.common.comm.CommInvite
Constructor for a CommInvite object which is used to invite a user to a particular table.
CommInvite(XMLElement) - Constructor for class org.jogre.common.comm.CommInvite
Constructor which creates a CommInvite object from the flatten () method of another CommInvite object.
CommJoinTable - class org.jogre.common.comm.CommJoinTable.
Small communication object for joining an existing table.
CommJoinTable(int) - Constructor for class org.jogre.common.comm.CommJoinTable
Constructor for client requesting joining an existing table.
CommJoinTable(String, Table) - Constructor for class org.jogre.common.comm.CommJoinTable
Constructor from the server to the joining client.
CommJoinTable(String, int) - Constructor for class org.jogre.common.comm.CommJoinTable
Constructor for a server responding to other clients.
CommJoinTable(XMLElement) - Constructor for class org.jogre.common.comm.CommJoinTable
Constructor which takes an XMLElement.
CommMasterServerConnect - class org.jogre.common.comm.CommMasterServerConnect.
Communication object for connecting to the master server.
CommMasterServerConnect(String) - Constructor for class org.jogre.common.comm.CommMasterServerConnect
Constructor for connecting to the server.
CommMasterServerConnect(XMLElement) - Constructor for class org.jogre.common.comm.CommMasterServerConnect
 
CommMasterServerMessage - class org.jogre.common.comm.CommMasterServerMessage.
 
CommMasterServerMessage(String) - Constructor for class org.jogre.common.comm.CommMasterServerMessage
Constructor for connecting to the server.
CommMasterServerMessage(XMLElement) - Constructor for class org.jogre.common.comm.CommMasterServerMessage
Constructor for a master server message.
CommNewTable - class org.jogre.common.comm.CommNewTable.
Small communication object for requesting the creation of a new table.
CommNewTable(boolean) - Constructor for class org.jogre.common.comm.CommNewTable
Constructor for creating a new table.
CommNewTable(XMLElement) - Constructor for class org.jogre.common.comm.CommNewTable
Consturctor for creating a new message.
CommNextPlayer - class org.jogre.common.comm.CommNextPlayer.
Small communication object for starting a game
CommNextPlayer() - Constructor for class org.jogre.common.comm.CommNextPlayer
Constructor for requesting joining an existing table.
CommNextPlayer(int, String) - Constructor for class org.jogre.common.comm.CommNextPlayer
 
CommNextPlayer(XMLElement) - Constructor for class org.jogre.common.comm.CommNextPlayer
Constructor which takes an XMLElement.
CommOfferDraw - class org.jogre.common.comm.CommOfferDraw.
Communications object which is used when one user offers a draw to another user.
CommOfferDraw(int) - Constructor for class org.jogre.common.comm.CommOfferDraw
Constructor which is called from the server and the client who is offering the draw - they are unsure of who the draw is being offered to so the usernameTo (from CommInvite) isn't used.
CommOfferDraw(int, String) - Constructor for class org.jogre.common.comm.CommOfferDraw
Constructor for a CommOfferDraw object.
CommOfferDraw(XMLElement) - Constructor for class org.jogre.common.comm.CommOfferDraw
Constructor which creates a CommOfferDraw object from the flatten () method of another CommInvite object.
CommPlayerState - class org.jogre.common.comm.CommPlayerState.
Communication object for informing the server that the state of a player has been updated.
CommPlayerState(int, String, PlayerState) - Constructor for class org.jogre.common.comm.CommPlayerState
Constructor which takes a table number, a player's name and a state.
CommPlayerState(int, String, int) - Constructor for class org.jogre.common.comm.CommPlayerState
Constructor which takes a table number, a player's name and a seat number (player state is seated).
CommPlayerState(XMLElement) - Constructor for class org.jogre.common.comm.CommPlayerState
Constructor which takes an XMLElement.
CommReadyToStart - class org.jogre.common.comm.CommReadyToStart.
Small communication object for declaring a player is ready to start.
CommReadyToStart() - Constructor for class org.jogre.common.comm.CommReadyToStart
Constructor for requesting joining an existing table.
CommReadyToStart(XMLElement) - Constructor for class org.jogre.common.comm.CommReadyToStart
Constructor which takes an XMLElement.
CommRequestData - class org.jogre.common.comm.CommRequestData.
Communication class for a client requesting data.
CommRequestData(String) - Constructor for class org.jogre.common.comm.CommRequestData
Constructor for a requesting data.
CommRequestData(XMLElement) - Constructor for class org.jogre.common.comm.CommRequestData
Constructor which takes an XMLElement.
CommSitDown - class org.jogre.common.comm.CommSitDown.
Small communication object which is used when a client sits down on a particular seat at a table.
CommSitDown(int) - Constructor for class org.jogre.common.comm.CommSitDown
Constructor for requesting joining an existing table.
CommSitDown(XMLElement) - Constructor for class org.jogre.common.comm.CommSitDown
Constructor which takes an XMLElement.
CommStandUp - class org.jogre.common.comm.CommStandUp.
Small communication object for standing up at a table.
CommStandUp() - Constructor for class org.jogre.common.comm.CommStandUp
Constructor for requesting joining an existing table.
CommStandUp(XMLElement) - Constructor for class org.jogre.common.comm.CommStandUp
Constructor which takes an XMLElement.
CommStartGame - class org.jogre.common.comm.CommStartGame.
Small communication object for starting a game
CommStartGame(String, int) - Constructor for class org.jogre.common.comm.CommStartGame
Constructor for requesting joining an existing table.
CommStartGame(XMLElement) - Constructor for class org.jogre.common.comm.CommStartGame
Constructor which takes an XMLElement.
CommTableMessage - class org.jogre.common.comm.CommTableMessage.
Abstract base class for table messages.
CommTableMessage() - Constructor for class org.jogre.common.comm.CommTableMessage
Creates a communcation table object with no status.
CommTableMessage(int) - Constructor for class org.jogre.common.comm.CommTableMessage
Creates a table message with a status.
CommTableMessage(String) - Constructor for class org.jogre.common.comm.CommTableMessage
Creates a table message with a username.
CommTableMessage(int, String) - Constructor for class org.jogre.common.comm.CommTableMessage
Create a table message to go to a particular user.
CommTableMessage(XMLElement) - Constructor for class org.jogre.common.comm.CommTableMessage
Constructor which parses the XMLElement into class fields.
CommTableProperty - class org.jogre.common.comm.CommTableProperty.
This class is used for sending a table property from a client to a server.
CommTableProperty(String, String) - Constructor for class org.jogre.common.comm.CommTableProperty
Constructor which takes a key and a value.
CommTableProperty(XMLElement) - Constructor for class org.jogre.common.comm.CommTableProperty
Constructor which takes an element and reads it key and value.
ConnectionPanel - class org.jogre.client.awt.ConnectionPanel.
New connection panel which replaces the old ConnectionDialog class.
ConnectionPanel(IJogreClientGUI) - Constructor for class org.jogre.client.awt.ConnectionPanel
Constructor for an application which doesn't take a username / password.
ConnectionPanel(IJogreClientGUI, String, int, String) - Constructor for class org.jogre.client.awt.ConnectionPanel
Silent connect which takes a server, port and a username.
ConnectionPanel(IJogreClientGUI, String, int, String, String) - Constructor for class org.jogre.client.awt.ConnectionPanel
Silent connect which takes a server, port and a username.
calculateLayoutSize(Container, double) - Method in class info.clearthought.layout.TableLayout
Calculates the preferred or minimum size for the methods preferredLayoutSize and minimumLayoutSize.
calculateLayoutSize(Container, int, double, TableLayout.Entry[], Dimension[]) - Method in class info.clearthought.layout.TableLayout
Calculates the preferred or minimum size for the method calculateLayoutSize(Container container, double typeOfSize).
calculateOffset(int, Insets) - Method in class info.clearthought.layout.TableLayout
Calculates the offset of each cr.
calculateSize(Container) - Method in class info.clearthought.layout.TableLayout
Calculates the sizes of the rows and columns based on the absolute and relative sizes specified in crSpec[R] and crSpec[C] and the size of the container.
calculateSizeAndOffset(TableLayout.Entry, int, boolean) - Method in class info.clearthought.layout.TableLayout
Calculates the vertical/horizontal offset and size of a component.
canOfferDrawResign() - Method in class org.jogre.common.Player
REturn if it a player can offer a draw or resign a game.
canOfferDrawResign() - Method in class org.jogre.common.playerstate.PlayerState
Returns true if a user can offer a draw or resign.
canOfferDrawResign() - Method in class org.jogre.common.playerstate.PlayerStateGameStarted
 
canOfferDrawResign() - Method in class org.jogre.common.playerstate.PlayerStateReady
 
canOfferDrawResign() - Method in class org.jogre.common.playerstate.PlayerStateSeated
 
canOfferDrawResign() - Method in class org.jogre.common.playerstate.PlayerStateViewing
 
canSit(Table) - Method in class org.jogre.common.Player
Return true if a player can sit or not.
canSit(Table) - Method in class org.jogre.common.playerstate.PlayerState
Returns true if a user can sit.
canSit(Table) - Method in class org.jogre.common.playerstate.PlayerStateGameStarted
 
canSit(Table) - Method in class org.jogre.common.playerstate.PlayerStateReady
 
canSit(Table) - Method in class org.jogre.common.playerstate.PlayerStateSeated
 
canSit(Table) - Method in class org.jogre.common.playerstate.PlayerStateViewing
A player can sit if the number of players already seated isn't greater than the maximum number of players allowed in this game.
canStand(Table) - Method in class org.jogre.common.Player
Returns true if a player can stand.
canStand(Table) - Method in class org.jogre.common.playerstate.PlayerState
Returns true if a user can stand.
canStand(Table) - Method in class org.jogre.common.playerstate.PlayerStateGameStarted
 
canStand(Table) - Method in class org.jogre.common.playerstate.PlayerStateReady
 
canStand(Table) - Method in class org.jogre.common.playerstate.PlayerStateSeated
Once seated a player can stand back up again.
canStand(Table) - Method in class org.jogre.common.playerstate.PlayerStateViewing
 
canStart(Table, Game) - Method in class org.jogre.common.Player
Returns true if a player can sit.
canStart(Table, Game) - Method in class org.jogre.common.playerstate.PlayerState
Returns true if a user can hit the start.
canStart(Table, Game) - Method in class org.jogre.common.playerstate.PlayerStateGameStarted
 
canStart(Table, Game) - Method in class org.jogre.common.playerstate.PlayerStateReady
 
canStart(Table, Game) - Method in class org.jogre.common.playerstate.PlayerStateSeated
A player can start if the minimum number of players are seated or are ready to start.
canStart(Table, Game) - Method in class org.jogre.common.playerstate.PlayerStateViewing
 
cardImages - Static variable in class org.jogre.common.games.Card
 
cardIntOrderValues - Static variable in class org.jogre.common.games.Card
 
cardIntValues - Static variable in class org.jogre.common.games.Card
 
cardStringValues - Static variable in class org.jogre.common.games.Card
 
cardsLeft() - Method in class org.jogre.common.games.Deck
Gets number of cards left in deck.
caretPos - Variable in class org.jogre.client.awt.JTreeXMLElement
 
cellColour1 - Variable in class org.jogre.client.awt.AbstractBoardComponent
Colour of cell one.
cellColour2 - Variable in class org.jogre.client.awt.AbstractBoardComponent
Colour of cell two.
cellSize - Variable in class org.jogre.client.awt.AbstractBoardComponent
Size of cell in pixels.
cellSpacing - Variable in class org.jogre.client.awt.AbstractBoardComponent
Spacing between cells in pixels.
chat - Variable in class org.jogre.common.comm.CommChatGame
Chat String.
chat - Variable in class org.jogre.common.comm.CommChatTable
Chat String.
checkCDATA(StringBuffer) - Method in class nanoxml.XMLElement
Scans a special tag and if the tag is a CDATA section, append its content to buf.
checkForComponentOrientationSupport - Static variable in class info.clearthought.layout.TableLayout
Used to minimize reflection calls
checkLiteral(String) - Method in class nanoxml.XMLElement
Scans the data for literal text.
className - Variable in class org.jogre.common.util.JogreLogger
Name of this class.
cleanup() - Method in class org.jogre.client.ClientConnectionThread
Client has exitted so clean everything up.
cleanup() - Method in class org.jogre.common.AbstractConnectionThread
This method is called to properly clean up after a client.
clientInterface - Variable in class org.jogre.client.ClientConnectionThread
Interface betweem this thread and the Frame
clone() - Method in class org.jogre.client.awt.GameImages
 
closeClient() - Method in class org.jogre.client.awt.JogreClientPanel
Close the server back down again.
col1 - Variable in class info.clearthought.layout.TableLayoutConstraints
Cell in which the upper left corner of the component lays
col2 - Variable in class info.clearthought.layout.TableLayoutConstraints
Cell in which the lower right corner of the component lays
compareTo(Object) - Method in class org.jogre.common.games.Card
Compares two Card objects based on card value.
component - Variable in class info.clearthought.layout.TableLayout.Entry
Component bound by the constraints
computeNewTableNum() - Method in class org.jogre.common.TableList
Computes a new table number.
conn - Variable in class org.jogre.client.JogreController
Link to the client's connection thread.
conn - Variable in class org.jogre.client.awt.JogreTableFrame
 
connect() - Method in class org.jogre.common.AbstractConnectionThread
Set boolean to specify that this client has connected sucessfully.
connectOK(ClientConnectionThread) - Method in interface org.jogre.client.awt.IJogreClientGUI
This method will be called when a client has connected sucessfully.
connectOK(ClientConnectionThread) - Method in class org.jogre.client.awt.JogreClientApplet
Method which is called when a client connects successfully.
connectOK(ClientConnectionThread) - Method in class org.jogre.client.awt.JogreClientFrame
Method which is called when a client connects successfully.
connected - Variable in class org.jogre.common.AbstractConnectionThread
All clients start initially with "connected" equal to false (although they can still recieve/transfer logon information).
consolePriority - Variable in class org.jogre.common.util.JogreLogger
Priority of console logging.
construct() - Method in class org.jogre.client.awt.SwingWorker
Compute the value to be returned by the get method.
containsGame(String) - Method in class org.jogre.common.GameList
Return true / false if server contains game key.
containsModel() - Method in class org.jogre.common.comm.CommJoinTable
Return true if this message contains a model.
containsPlayer(String) - Method in class org.jogre.common.Table
Returns true if a specified user is at a table.
containsUser(String) - Method in class org.jogre.common.PlayerList
Return true if the list contains the player.
containsUser(String) - Method in class org.jogre.common.UserList
Return true if the user list contains this user.
convertTo1DArray(int[][]) - Static method in class org.jogre.common.util.JogreUtils
Helper method for converting a 2 dimensional array to a single array.
convertTo2DArray(int[], int, int) - Static method in class org.jogre.common.util.JogreUtils
Helper method for converting a 2 dimensional array to a single array.
convertToBoolArray(String) - Static method in class org.jogre.common.util.JogreUtils
Convert String to boolean array.
convertToIntArray(String) - Static method in class org.jogre.common.util.JogreUtils
Convert String to int array.
convertToStringArray(String) - Static method in class org.jogre.common.util.JogreUtils
Convert String to int array.
copy() - Method in class info.clearthought.layout.TableLayout.Entry
Copies this Entry.
countAttributes() - Method in class nanoxml.XMLElement
Returns the number of attributes of the element.
countChildren() - Method in class nanoxml.XMLElement
Returns the number of child elements of the element.
cr1 - Variable in class info.clearthought.layout.TableLayout.Entry
Cell in which the upper-left corner of the component lies
cr2 - Variable in class info.clearthought.layout.TableLayout.Entry
Cell in which the lower-right corner of the component lies
crOffset - Variable in class info.clearthought.layout.TableLayout
Offsets of crs in pixels.
crSize - Variable in class info.clearthought.layout.TableLayout
Sizes of crs in pixels
crSpec - Variable in class info.clearthought.layout.TableLayout
Sizes of crs expressed in absolute and relative terms
createAnotherElement() - Method in class nanoxml.XMLElement
Creates a new similar XML element.
createDirectory(String) - Static method in class org.jogre.common.util.FileUtils
Helper method for quickly creating a directory.

D

DEBUG - Static variable in interface org.jogre.common.util.IJogreLog
Level 3 priority (low).
DECLINE - Static variable in class org.jogre.common.comm.CommInvite
User declines invite from.
DEFAULT_BORDER_WIDTH - Static variable in class org.jogre.client.awt.AbstractBoardComponent
Default border width (15 pixels).
DEFAULT_CELL_SIZE - Static variable in class org.jogre.client.awt.AbstractBoardComponent
Default cell size (36 pixels).
DEFAULT_CELL_SPACING - Static variable in class org.jogre.client.awt.AbstractBoardComponent
Default cell spacing (1 pixel).
DEFAULT_CONSOLE_PRIORITY - Static variable in interface org.jogre.common.util.IJogreLog
Default priority (if problems reading from the properties file.
DEFAULT_ELO_K_FACTOR - Static variable in interface org.jogre.common.IJogre
Default ELO k factor.
DEFAULT_ELO_START_RATING - Static variable in interface org.jogre.common.IJogre
Default ELO starting rating for new users.
DEFAULT_FILE_PRIORITY - Static variable in interface org.jogre.common.util.IJogreLog
Default value for file output.
DEFAULT_GAP - Static variable in class info.clearthought.layout.SingleFiledLayout
Default gap -- derived classes may override
DEFAULT_MAX_NUM_OF_PLAYERS - Static variable in interface org.jogre.common.IJogre
Default maximum number of players (2).
DEFAULT_MAX_NUM_OF_TABLES - Static variable in interface org.jogre.common.IJogre
Default maximum number of table (2).
DEFAULT_MAX_NUM_OF_TABLES_PER_USER - Static variable in interface org.jogre.common.IJogre
Default number of tables per user
DEFAULT_MAX_NUM_OF_USERS - Static variable in interface org.jogre.common.IJogre
Default maximum number of users which is multiplied by the number of games running.
DEFAULT_MIN_NUM_OF_PLAYERS - Static variable in interface org.jogre.common.IJogre
Default minimum number of players (2).
DEFAULT_MOUSE_BORDER_WIDTH - Static variable in class org.jogre.client.awt.AbstractBoardComponent
Default mouse border width (2 pixels).
DEFAULT_NUM_OF_PLAYERS - Static variable in interface org.jogre.common.IJogre
Default number of players (2).
DEFAULT_PORT - Static variable in interface org.jogre.common.IJogre
Default port that JOGRE runs on.
DEFAULT_REQ_NUM_OF_PLAYERS - Static variable in interface org.jogre.common.IJogre
Default required number of players (2).
DEFAULT_SHOW_PRIORITY - Static variable in interface org.jogre.common.util.IJogreLog
Default for showing a priority.
DIAMOND - Static variable in class org.jogre.common.games.Card
 
DISCONNECT - Static variable in interface org.jogre.common.comm.Comm
Header token of a CommDisconnect communications object.
DRAW - Static variable in interface org.jogre.common.IGameOver
Player draws with another player.
Deck - class org.jogre.common.games.Deck.
 
Deck() - Constructor for class org.jogre.common.games.Deck
Default constructor
Deck(XMLElement) - Constructor for class org.jogre.common.games.Deck
Contructor that takes a xml message
data - Variable in class org.jogre.common.comm.CommControllerObject
XMLElement of data.
deal() - Method in class org.jogre.common.games.Deck
Dealing a card removes a card off the top of the deck.
debug(String, String) - Method in class org.jogre.common.util.JogreLogger
Log a debug message.
defaultSize - Static variable in class info.clearthought.layout.TableLayout
Default row/column size
deleteColumn(int) - Method in class info.clearthought.layout.TableLayout
Deletes a column in this layout.
deleteCr(int, int) - Method in class info.clearthought.layout.TableLayout
Deletes a cr for the methods deleteRow or deleteColumn.
deleteRow(int) - Method in class info.clearthought.layout.TableLayout
Deletes a row in this layout.
dirty - Variable in class info.clearthought.layout.TableLayout
Indicates whether or not the size of the cells are known for the last known size of the container.
disconnect() - Method in class org.jogre.client.ClientConnectionThread
Stop the thread.
dragPoint - Variable in class org.jogre.client.awt.AbstractBoardComponent
Stores the value of where the point is being dragged.
drawBoardBackground(Graphics) - Method in class org.jogre.client.awt.AbstractBoardComponent
Draws the board background (all the various cells).
drawBorder(Graphics) - Method in class org.jogre.client.awt.AbstractBoardComponent
This method wipes the board and draws the border.
draws - Variable in class org.jogre.common.User
Score rating of User.

E

EIGHT - Static variable in class org.jogre.common.games.Card
 
ENGLISH - Static variable in class org.jogre.common.JogreGlobals
 
ERROR - Static variable in interface org.jogre.common.comm.Comm
Header token of a CommError communications object.
ERROR - Static variable in interface org.jogre.common.util.IJogreLog
Level 1 priority (high).
EXIT_TABLE - Static variable in interface org.jogre.common.comm.Comm
Header token of a CommExitTable communications object.
enableBorder(boolean) - Method in class org.jogre.client.awt.ColouredSquare
Method to turn the border enabling on / off.
enumerateAttributeNames() - Method in class nanoxml.XMLElement
Enumerates the attribute names.
enumerateChildren() - Method in class nanoxml.XMLElement
Enumerates the child elements.
enumeratePropertyNames() - Method in class nanoxml.XMLElement
Deprecated. Use enumerateAttributeNames instead.
equals(Object) - Method in class org.jogre.common.User
Customer equals method to compare User objects
equals(Object) - Method in class org.jogre.common.games.Card
Tells whether two cards are equal or not.
error(String, String) - Method in class org.jogre.common.util.JogreLogger
Log an error message.
expectedInput(String) - Method in class nanoxml.XMLElement
Creates a parse exception for when the next character read is not the character that was expected.

F

FILL - Static variable in interface info.clearthought.layout.TableLayoutConstants
Indicates that the row/column should fill the available space
FIVE - Static variable in class org.jogre.common.games.Card
 
FOUR - Static variable in class org.jogre.common.games.Card
 
FRAME_HEIGHT - Static variable in class org.jogre.client.awt.JogreClientPanel
 
FRAME_WIDTH - Static variable in class org.jogre.client.awt.JogreClientPanel
 
FRENCH - Static variable in class org.jogre.common.JogreGlobals
 
FULL - Static variable in class info.clearthought.layout.SingleFiledLayout
Full justify components
FULL - Static variable in interface info.clearthought.layout.TableLayoutConstants
Indicates that the component is full justified in its cell
FileUtils - class org.jogre.common.util.FileUtils.
Bundle of useful file operations such as creating directories if they dont exist etc.
FileUtils() - Constructor for class org.jogre.common.util.FileUtils
 
filePriority - Variable in class org.jogre.common.util.JogreLogger
Priority of file logging.
finished() - Method in class org.jogre.client.awt.SwingWorker
Called on the event dispatching thread (not on the worker thread) after the construct method has returned.
finishedLoaded() - Static method in class org.jogre.client.awt.GameImages
Set true that this class has finished loading.
flatten() - Method in class org.jogre.common.Game
Flatten this object.
flatten() - Method in class org.jogre.common.JogreModel
Returns the state/snapshot of a particular game.
flatten() - Method in class org.jogre.common.Player
Transmittable String representation of this object (XML).
flatten() - Method in class org.jogre.common.PlayerList
Flatten the String so that it can be transmitted.
flatten() - Method in class org.jogre.common.Table
Flatten the table object.
flatten() - Method in class org.jogre.common.TableList
Flatten the current list of logged on users.
flatten() - Method in class org.jogre.common.User
Flatten the User object for transmission.
flatten() - Method in class org.jogre.common.UserList
Flatten the current list of logged on users.
flatten() - Method in class org.jogre.common.comm.CommChatGame
Transmittable String representation of this object.
flatten() - Method in class org.jogre.common.comm.CommChatPrivate
Flatten this object class to an XML message.
flatten() - Method in class org.jogre.common.comm.CommChatTable
Transmittable String representation of this object.
flatten() - Method in class org.jogre.common.comm.CommControllerObject
 
flatten() - Method in class org.jogre.common.comm.CommControllerProperty
Flatten communciation object.
flatten() - Method in class org.jogre.common.comm.CommDisconnect
Flatten disconnect object.
flatten() - Method in class org.jogre.common.comm.CommError
 
flatten() - Method in class org.jogre.common.comm.CommExitTable
Flatten the String for transmission purposes.
flatten() - Method in class org.jogre.common.comm.CommGameConnect
Flatten the connect object into a XML communication object.
flatten(String) - Method in class org.jogre.common.comm.CommGameMessage
Create a generic (nameless) XMLElement which sub classes can use.
flatten() - Method in class org.jogre.common.comm.CommGameOver
Flatten communciation object.
flatten() - Method in class org.jogre.common.comm.CommInvite
Flatten this offer draw object.
flatten() - Method in class org.jogre.common.comm.CommJoinTable
Flatten the String for transmission purposes.
flatten() - Method in class org.jogre.common.comm.CommMasterServerConnect
Flatten this object into an XML String.
flatten() - Method in class org.jogre.common.comm.CommMasterServerMessage
Flatten this object into an XML String.
flatten() - Method in class org.jogre.common.comm.CommNewTable
Flatten the String for transmission purposes.
flatten() - Method in class org.jogre.common.comm.CommNextPlayer
Flatten the String for transmission purposes.
flatten() - Method in class org.jogre.common.comm.CommOfferDraw
Flatten the String.
flatten() - Method in class org.jogre.common.comm.CommPlayerState
Flatten this to an XMLElement.
flatten() - Method in class org.jogre.common.comm.CommReadyToStart
Flatten the String for transmission purposes.
flatten() - Method in class org.jogre.common.comm.CommRequestData
Flatten the object into an XMLElement.
flatten() - Method in class org.jogre.common.comm.CommSitDown
Flatten the String for transmission purposes.
flatten() - Method in class org.jogre.common.comm.CommStandUp
Flatten the String for transmission purposes.
flatten() - Method in class org.jogre.common.comm.CommStartGame
Flatten the String for transmission purposes.
flatten(String) - Method in class org.jogre.common.comm.CommTableMessage
Create an abstract XMLElement which sub classes can use.
flatten() - Method in class org.jogre.common.comm.CommTableProperty
Flatten to an object and set its key and value.
flatten() - Method in interface org.jogre.common.comm.ITransmittable
This method flattens an ITransmittable object into a XMLElement which can be transmitted.
flatten() - Method in class org.jogre.common.games.Card
Flatten this object.
flatten() - Method in class org.jogre.common.games.Deck
Flatten this object.

G

GAME - Static variable in interface org.jogre.common.comm.Comm
Header token of the data class Game.
GAME_CONNECT - Static variable in interface org.jogre.common.comm.Comm
Header token of a CommConnect communications object.
GAME_NOT_SUPPORTED - Static variable in class org.jogre.common.comm.CommError
Server doesn't support game.
GAME_OVER - Static variable in interface org.jogre.common.comm.Comm
Header token of a CommGameOver communications object.
GAME_STARTED - Static variable in class org.jogre.common.playerstate.PlayerState
Player is in the middle of a game at a table.
GAME_TYPE_REAL_TIME - Static variable in interface org.jogre.client.IJogreModel
Real time game type i.e.
GAME_TYPE_TURN_BASED - Static variable in interface org.jogre.client.IJogreModel
Type based game type i.e.
GENERAL_ERROR - Static variable in class org.jogre.common.comm.CommError
General error.
Game - class org.jogre.common.Game.
Game class which extends the data class.
Game(String, int, int) - Constructor for class org.jogre.common.Game
Constructor to a Game object.
Game(XMLElement) - Constructor for class org.jogre.common.Game
Game constructor which takes an XMLElement as a parameter.
GameImages - class org.jogre.client.awt.GameImages.
Contains a list of images for a particular game.
GameLabels - class org.jogre.common.util.GameLabels.
This class provides an easy and effective point for accessing to each game resource bundle (game_labels_*_*.properties).
GameList - class org.jogre.common.GameList.
A GameList contains a number of Game objects.
GameList() - Constructor for class org.jogre.common.GameList
Constructor to a game list.
GameOver - class org.jogre.common.GameOver.
Game over class which describes what has happened when a game was over.
GameOver(String[], int[]) - Constructor for class org.jogre.common.GameOver
Constructor which takes a list of players, results, old and new ratings (the ratings arrays will return an empty integer array of size 0).
GameOver(String[], int[], int[], int[]) - Constructor for class org.jogre.common.GameOver
Constructor which takes a list of players, results, old and new ratings.
GameProperties - class org.jogre.common.util.GameProperties.
This class provides an easy and effective point for accessing to each game resource bundle (game.properties).
game - Variable in class org.jogre.client.ClientConnectionThread
Game associated with this connection thread (will be mirrored to that on the server.
gameController - Variable in class org.jogre.client.awt.JogreTableFrame
 
gameID - Variable in class org.jogre.client.ClientConnectionThread
Current game ID.
gameID - Variable in class org.jogre.common.comm.CommGameConnect
Game ID of game client is playing.
gameKey - Variable in class org.jogre.common.Game
Game key - e.g.
gameMainView - Variable in class org.jogre.client.awt.JogreTableFrame
 
gameModel - Variable in class org.jogre.client.awt.JogreTableFrame
 
gameOver() - Method in class org.jogre.common.Table
Game over.
gameType - Variable in class org.jogre.common.JogreModel
Game type from IJogreModel e.g.
gamelist - Variable in class org.jogre.common.GameList
HashMap containing a number of Game objects.
gap - Variable in class info.clearthought.layout.SingleFiledLayout
Space between components in pixels
get() - Method in class org.jogre.client.awt.SwingWorker
Return the value created by the construct method.
get(int) - Method in class org.jogre.common.games.Deck
Get card from deck by index
get(String) - Method in class org.jogre.common.util.AbstractProperties
Return the "value" for a specified "key" inside the resource bundle as a String.
get(String, String) - Method in class org.jogre.common.util.AbstractProperties
Return the "value" for a specified "key" inside the resource bundle as a String.
get(String, Object[]) - Method in class org.jogre.common.util.AbstractProperties
Return the "value" for a specified "key" inside the resource bundle as an String value, in case "value" contains "variables".
getAttribute(String) - Method in class nanoxml.XMLElement
Returns an attribute of the element.
getAttribute(String, Object) - Method in class nanoxml.XMLElement
Returns an attribute of the element.
getAttribute(String, Hashtable, String, boolean) - Method in class nanoxml.XMLElement
Returns an attribute by looking up a key in a hashtable.
getBackgroundColour() - Static method in class org.jogre.common.util.GameProperties
Return the background colour of the JOGRE table frame.
getBoardCoords(int, int) - Method in class org.jogre.client.awt.AbstractBoardComponent
This methods returns a board co-ordinate (in the top-left) from a screen point.
getBoolean(String) - Method in class org.jogre.common.util.AbstractProperties
Return a boolean value from a key.
getBoolean(String, boolean) - Method in class org.jogre.common.util.AbstractProperties
Return a boolean value from a key.
getBooleanAttribute(String, String, String, boolean) - Method in class nanoxml.XMLElement
Returns an attribute of the element.
getBorderWidth() - Method in class org.jogre.client.awt.AbstractBoardComponent
Return the width of the border in pixels.
getCard() - Method in class org.jogre.common.games.Card
Getter for card string value.
getCards() - Method in class org.jogre.common.games.Deck
Getter for getting all the cards in the deck.
getCellSize() - Method in class org.jogre.client.awt.AbstractBoardComponent
Return the size of each cell in pixels.
getCellSpacing() - Method in class org.jogre.client.awt.AbstractBoardComponent
Return the spacing between each cell in pixels.
getChat() - Method in class org.jogre.common.comm.CommChatGame
Return the content of the message.
getChat() - Method in class org.jogre.common.comm.CommChatTable
Return the text of the message.
getChatPrivateDialog(String, ClientConnectionThread) - Method in interface org.jogre.client.awt.IJogreClientGUI
Return a private chat dialog.
getChatPrivateDialog(String, ClientConnectionThread) - Method in class org.jogre.client.awt.JogreClientApplet
Method for returning the correct chat dialog.
getChatPrivateDialog(String, ClientConnectionThread) - Method in class org.jogre.client.awt.JogreClientFrame
Delegate method for receiving a private chat message.
getChildren() - Method in class nanoxml.XMLElement
Returns the child elements as a Vector.
getClientConnectionThread() - Method in class org.jogre.client.TableConnectionThread
Return the client connection thread which is a field.
getClientTitle() - Static method in class org.jogre.common.util.GameLabels
Return the client title.
getColorDelta(Color, int) - Static method in class org.jogre.common.util.JogreUtils
Return a new Color from an existing color by add each of its rgb values with an integer delta amount.
getColour(String) - Static method in class org.jogre.common.util.JogreUtils
Return a Color object from a String of "r,g,b"
getColumn() - Method in class info.clearthought.layout.TableLayout
Gets the sizes of columns in this layout.
getColumn(int) - Method in class info.clearthought.layout.TableLayout
Gets the width of a single column in this layout.
getComponentOrientation(Container) - Method in class info.clearthought.layout.TableLayout
Gets the container's component orientation.
getConstraints(Component) - Method in class info.clearthought.layout.TableLayout
Gets the constraints of a given component.
getContent() - Method in class nanoxml.XMLElement
Returns the PCDATA content of the object.
getContents() - Method in class nanoxml.XMLElement
Deprecated. Use getContent instead.
getController() - Method in class org.jogre.client.awt.JogreTableFrame
Accessor for the game controller.
getCurrentPlayer() - Method in class org.jogre.client.JogreController
Return the current player.
getCurrentPlayer() - Method in class org.jogre.common.PlayerList
Return the currrent layer at a turned based table.
getCurrentPlayer() - Method in class org.jogre.common.comm.CommStartGame
Return the current player.
getCurrentPlayerName() - Method in class org.jogre.common.PlayerList
Return the currrent layer at a turned based table.
getCurrentPlayerSeatNum() - Method in class org.jogre.client.JogreController
Return the player num (between 0 and the number of players).
getData() - Method in class org.jogre.common.comm.CommControllerObject
Return the data back to the user.
getDataType() - Method in class org.jogre.common.comm.CommRequestData
Return the data type that the user wishes to receive.
getDoubleAttribute(String) - Method in class nanoxml.XMLElement
Returns an attribute of the element.
getDoubleAttribute(String, double) - Method in class nanoxml.XMLElement
Returns an attribute of the element.
getDoubleAttribute(String, Hashtable, String, boolean) - Method in class nanoxml.XMLElement
Returns an attribute by looking up a key in a hashtable.
getDragPoint() - Method in class org.jogre.client.awt.AbstractBoardComponent
Sets the drag point of a mouse.
getDraws() - Method in class org.jogre.common.User
Return the number of draws a user has had.
getError(int) - Static method in class org.jogre.common.util.JogreLabels
Return an error string from an error number.
getGame() - Method in class org.jogre.client.ClientConnectionThread
Return the game object which should be mirrored to that on the server.
getGame() - Method in class org.jogre.client.TableConnectionThread
Return the game object on this connection.
getGame(String) - Method in class org.jogre.common.GameList
Return a Game object from a game key.
getGameID() - Method in class org.jogre.common.comm.CommGameConnect
Return the game ID.
getGameID() - Static method in class org.jogre.common.util.GameProperties
Return the game ID.
getGameKeys() - Method in class org.jogre.common.GameList
Return the game keys.
getGameNoID() - Static method in class org.jogre.common.util.GameProperties
Return the game label on its own.
getGameOver() - Method in class org.jogre.common.comm.CommGameOver
Return the score.
getGameStr() - Method in class org.jogre.common.Game
Return the game part of the game key.
getGamesPlayed() - Method in class org.jogre.common.User
Return the number of games this player has played.
getHGap() - Method in class info.clearthought.layout.TableLayout
Gets the horizontal gap between colunns.
getImage(int) - Static method in class org.jogre.client.awt.GameImages
Return a image from a specified index.
getImageIcon(int) - Static method in class org.jogre.client.awt.GameImages
Return an image icon from a specified index.
getImageInfo() - Static method in class org.jogre.common.util.GameProperties
Return a vector of images where images are defined as image.0, image.1, ...
getInGamePlayers() - Method in class org.jogre.common.PlayerList
Convience method to return in-game players sorted by seat and in the form of Strings (just the players usernames)
getIndexFromRating(boolean, int) - Method in class org.jogre.client.awt.RatingSquare
Return the index from a rating.
getInstance() - Static method in class org.jogre.client.awt.GameImages
Return an instance of the GameImages class.
getInstance() - Static method in class org.jogre.common.util.GameLabels
Accessor to singleton instance of this class.
getInstance() - Static method in class org.jogre.common.util.GameProperties
Accessor to singleton instance of this class.
getInstance() - Static method in class org.jogre.common.util.JogreLabels
Accessor to singleton instance of this class.
getInt(String) - Method in class org.jogre.common.util.AbstractProperties
Return the "value" for a specified "key" inside the resource bundle as an int value.
getInt(String, int) - Method in class org.jogre.common.util.AbstractProperties
Return the "value" for a specified "key" inside the resource bundle as an int value.
getIntAttribute(String) - Method in class nanoxml.XMLElement
Returns an attribute of the element.
getIntAttribute(String, int) - Method in class nanoxml.XMLElement
Returns an attribute of the element.
getIntAttribute(String, Hashtable, String, boolean) - Method in class nanoxml.XMLElement
Returns an attribute by looking up a key in a hashtable.
getIntProperty(String, Hashtable, String) - Method in class nanoxml.XMLElement
Deprecated. Use getIntAttribute instead.
getInvalidEntry() - Method in class info.clearthought.layout.TableLayout
Determines whether or not there are any components with invalid constraints.
getInviteDialog() - Method in class org.jogre.client.awt.JogreTableFrame
Get invite dialog
getJogreLabelIndexByName(Vector, String) - Method in class org.jogre.client.awt.JogrePropertyDialog
Get Jogre Label index from vector of labels
getJogreTableFrame(TableConnectionThread) - Method in interface org.jogre.client.awt.IJogreClientGUI
Return the JOGRE table frame.
getJogreTableFrame(TableConnectionThread) - Method in class org.jogre.client.awt.JogreClientApplet
This must be overwritten to get a handle on the correct table frame.
getJogreTableFrame(TableConnectionThread) - Method in class org.jogre.client.awt.JogreClientFrame
This must be overwritten to get a handle on the correct table frame.
getKey() - Method in class org.jogre.common.Game
Return the key of the game.
getKey() - Method in class org.jogre.common.comm.CommControllerProperty
Return the key.
getKey() - Method in class org.jogre.common.comm.CommTableProperty
Return the property key.
getLayoutAlignmentX(Container) - Method in class info.clearthought.layout.TableLayout
Returns the alignment along the x axis.
getLayoutAlignmentY(Container) - Method in class info.clearthought.layout.TableLayout
Returns the alignment along the y axis.
getLineNr() - Method in class nanoxml.XMLElement
Returns the line nr in the source data on which the element is found.
getLineNr() - Method in class nanoxml.XMLParseException
Where the error occurred, or NO_LINE if the line number is unknown.
getLocale() - Static method in class org.jogre.common.JogreGlobals
Return the locale.
getLosses() - Method in class org.jogre.common.User
Return the number of losses a user has had.
getMaxNumOfPlayers() - Method in class org.jogre.common.Game
Return the minimum number of players in a game.
getMaxNumOfTables() - Static method in class org.jogre.common.util.GameProperties
Return the minimum number of players in a game.
getMaxNumOfTablesPerUser() - Static method in class org.jogre.common.util.GameProperties
Return the maximum number of tables that a user can create.
getMessageComponent() - Method in class org.jogre.client.awt.JogreTableFrame
Accessor for the small message box with each table.
getMinNumOfPlayers() - Method in class org.jogre.common.Game
Return the minimum number of players in a game.
getModel() - Method in class org.jogre.client.awt.JogreTableFrame
Accessor for the game controller.
getModel() - Method in class org.jogre.common.Table
Retrieve the model from the server (if its being used).
getModelState() - Method in class org.jogre.common.comm.CommJoinTable
Return the model state.
getName() - Method in class nanoxml.XMLElement
Returns the name of the element.
getNewRatings() - Method in class org.jogre.common.GameOver
Return an integer array of new ratings.
getNumColumn() - Method in class info.clearthought.layout.TableLayout
Gets the number of columns in this layout.
getNumOfPlayers() - Method in class org.jogre.common.Table
Return the number of players as specified by a client through a property.
getNumOfTablesUserOwns(String) - Method in class org.jogre.common.TableList
Return the number of tables that a specified user has created i.e.
getNumRow() - Method in class info.clearthought.layout.TableLayout
Gets the number of rows in this layout.
getOldRatings() - Method in class org.jogre.common.GameOver
Return an integer array of old ratings.
getOrderValue() - Method in class org.jogre.common.games.Card
Get order value of card.
getOverlappingEntry() - Method in class info.clearthought.layout.TableLayout
Gets a list of overlapping components and their constraints.
getOwner() - Method in class org.jogre.common.PlayerList
Return the owner of this table.
getOwner() - Method in class org.jogre.common.Table
Get the owner of this table.
getPassword() - Method in class org.jogre.common.comm.CommGameConnect
Return the password.
getPlayer(int) - Method in class org.jogre.client.JogreController
Return the player name from a seat num.
getPlayer(String) - Method in class org.jogre.common.PlayerList
Return a player.
getPlayer(int) - Method in class org.jogre.common.PlayerList
Return a player from a seat number.
getPlayerColour(int) - Static method in class org.jogre.common.util.GameProperties
Return the color of a player (each player has a specific colour which is used throughout the API).
getPlayerLabel(int) - Static method in class org.jogre.common.util.GameLabels
Return the color of a player (each player has a specific colour which is used throughout the API).
getPlayerList() - Method in class org.jogre.common.Table
Return a player list.
getPlayerList() - Method in class org.jogre.common.comm.CommJoinTable
Return the player list.
getPlayerName() - Method in class org.jogre.common.Player
Return the username of this Player object.
getPlayerStateCount(String) - Method in class org.jogre.common.PlayerList
Returns the number of players in a particular state.
getPlayers() - Method in class org.jogre.common.GameOver
Return a String array of players who were playing.
getPlayers() - Method in class org.jogre.common.PlayerList
Return a vector of players which arn't sorted.
getPlayersSortedBySeat(String) - Method in class org.jogre.common.PlayerList
Return a vector of all the players in this list which are currently actually playing a game.
getPlayersSortedBySeat() - Method in class org.jogre.common.PlayerList
Return a vector of all the players in this list which are sorted by seat number (used for the game logic).
getPressedPoint() - Method in class org.jogre.client.awt.AbstractBoardComponent
Return the point where a user has pressed on the board.
getPrivateMessageComponent(String) - Method in class org.jogre.client.awt.JogreClientPanel
Returns a private message for a particular user and creates one if it doesn't already exist.
getProperties() - Method in class org.jogre.common.Table
Return the properties hash.
getProperties() - Method in class org.jogre.common.comm.CommNewTable
 
getProperties() - Method in interface org.jogre.common.comm.ITransmittableWithProps
Return the properties hash.
getProperty(String) - Method in class nanoxml.XMLElement
Deprecated. Use getStringAttribute instead.
getProperty(String, String) - Method in class nanoxml.XMLElement
Deprecated. Use getStringAttribute instead.
getProperty(String, int) - Method in class nanoxml.XMLElement
Deprecated. Use getIntAttribute instead.
getProperty(String, double) - Method in class nanoxml.XMLElement
Deprecated. Use getDoubleAttribute instead.
getProperty(String, String, String, boolean) - Method in class nanoxml.XMLElement
Deprecated. Use getBooleanAttribute instead.
getProperty(String, Hashtable, String) - Method in class nanoxml.XMLElement
Deprecated. Use getAttribute instead.
getProperty(String, String) - Method in class org.jogre.common.Table
Return a property from a key.
getProperty(String) - Method in class org.jogre.common.Table
Return a property from a key.
getPropertyDialog(ClientConnectionThread) - Method in interface org.jogre.client.awt.IJogreClientGUI
Return a property dialog.
getPropertyDialog(ClientConnectionThread) - Method in class org.jogre.client.awt.JogreClientApplet
Delegate method for popping up a game property dialog box
getPropertyDialog(ClientConnectionThread) - Method in class org.jogre.client.awt.JogreClientFrame
Delegate method for popping up a game property dialog box
getRating() - Method in class org.jogre.common.User
Returns the rating of this particular user (currently not implemented).
getReadLock() - Method in class org.jogre.common.util.ReadWriteLock
A read lock can be issued if there is no currently issued write lock and there is no thread(s) currently waiting for the write lock.
getResourceBundle() - Method in class org.jogre.common.util.AbstractProperties
 
getResults() - Method in class org.jogre.common.GameOver
Return an integer array of results.
getRow() - Method in class info.clearthought.layout.TableLayout
Gets the height of a single row in this layout.
getRow(int) - Method in class info.clearthought.layout.TableLayout
Gets the sizes of a row in this layout.
getRulesDialog() - Method in interface org.jogre.client.awt.IJogreClientGUI
Return the rules dialog.
getRulesDialog() - Method in class org.jogre.client.awt.JogreClientApplet
Delegate method for creating the rules dialog.
getRulesDialog() - Method in class org.jogre.client.awt.JogreClientFrame
Delegate method for creating the rules dialog.
getRulesFilename() - Static method in class org.jogre.common.util.GameProperties
Return the name of the rules file
getScreenCoords(int, int) - Method in class org.jogre.client.awt.AbstractBoardComponent
This methods returns a screen co-ordinate (in the top-left) from a board point.
getSeatNum() - Method in class org.jogre.client.JogreController
Return the seat number of a user.
getSeatNum(String) - Method in class org.jogre.client.JogreController
Return the seat number of a specified player.
getSeatNum() - Method in class org.jogre.common.Player
Return the seat number of this player.
getSeatNum() - Method in class org.jogre.common.comm.CommPlayerState
Return the seat number.
getSeatNum() - Method in class org.jogre.common.comm.CommSitDown
Return the seat number.
getSelectedSeat() - Method in class org.jogre.client.awt.JAvailableSeats
 
getSelectedTable() - Method in class org.jogre.client.awt.JTableList
Return a Table object of the current selected table.
getSelectedTableNum() - Method in class org.jogre.client.awt.JTableList
Return the selected table number.
getSelectedUser() - Method in class org.jogre.client.awt.JUserList
Return the selected user as an object.
getSelectedUsername() - Method in class org.jogre.client.awt.JUserList
Return the selected user's username.
getServerName() - Method in class org.jogre.common.comm.CommMasterServerConnect
Return the server name.
getServerName() - Method in class org.jogre.common.comm.CommMasterServerMessage
Return the server name.
getSocket() - Method in class org.jogre.client.TableConnectionThread
Return the socket as a field.
getSocket() - Method in class org.jogre.common.AbstractConnectionThread
Returns the Socket of this connection.
getSpecialDoubleProperty(String, Hashtable, String) - Method in class nanoxml.XMLElement
Deprecated. Use getDoubleAttribute instead.
getSpecialIntProperty(String, Hashtable, String) - Method in class nanoxml.XMLElement
Deprecated. Use getIntAttribute instead.
getStartTime() - Method in class org.jogre.common.Table
Return the time this table was created.
getState() - Method in class org.jogre.common.Player
Returns the state of this player as a PlayerState object.
getState() - Method in class org.jogre.common.comm.CommPlayerState
Return this state.
getState(String) - Static method in class org.jogre.common.playerstate.PlayerStateFactory
Factory method which returns a PlayerState object from a specied integer state.
getStatus() - Method in class org.jogre.common.comm.CommGameMessage
Return the status.
getStatusStr() - Method in class org.jogre.common.Player
Returns the status of this player as a String.
getStreak() - Method in class org.jogre.common.User
Return the user streak.
getStringAttribute(String) - Method in class nanoxml.XMLElement
Returns an attribute of the element.
getStringAttribute(String, String) - Method in class nanoxml.XMLElement
Returns an attribute of the element.
getStringAttribute(String, Hashtable, String, boolean) - Method in class nanoxml.XMLElement
Returns an attribute by looking up a key in a hashtable.
getStringProperty(String, Hashtable, String) - Method in class nanoxml.XMLElement
Deprecated. Use getStringAttribute instead.
getSuit() - Method in class org.jogre.common.games.Card
Getter for the string value of the card suit.
getTable() - Method in class org.jogre.client.JogreController
Convience method for returning a table.
getTable() - Method in class org.jogre.client.TableConnectionThread
Return the table associated with this table connection class.
getTable(int) - Method in class org.jogre.common.TableList
Return a Table object from a specified table number.
getTableFrame(Table) - Method in class org.jogre.client.awt.JogreClientPanel
Return the correct JogreTableFrame.
getTableFrame(int) - Method in class org.jogre.client.awt.JogreClientPanel
Overloaded version when you are sure that the table exists (other wise returns null).
getTableList() - Method in class org.jogre.client.ClientConnectionThread
Return the table list object (should be the same as the server table list).
getTableList() - Method in class org.jogre.client.TableConnectionThread
Delegate method for returning the table list.
getTableList() - Method in class org.jogre.common.Game
Return the TableList object or table currently being played.
getTableNum() - Method in class org.jogre.client.JogreController
Return the table number.
getTableNum() - Method in class org.jogre.client.TableConnectionThread
Return the table number.
getTableNum() - Method in class org.jogre.common.Table
Get the number of this table.
getTableNum() - Method in class org.jogre.common.comm.CommInvite
Return the table number.
getTableNum() - Method in class org.jogre.common.comm.CommTableMessage
Return the table number for this table.
getTableNumsForUser(String) - Method in class org.jogre.common.TableList
Return a list of table numbers of a user.
getTableTitle() - Static method in class org.jogre.common.util.GameLabels
Return the title of this table.
getTablesNumbers() - Method in class org.jogre.common.TableList
Returns a list of all the table numbers.
getTagName() - Method in class nanoxml.XMLElement
Deprecated. Use getName instead.
getText() - Method in class org.jogre.client.awt.JogreButton
Return the text of the button.
getTimeFormatted() - Method in class org.jogre.common.Table
Return the time started as a String.
getUser(String) - Method in class org.jogre.common.UserList
Return a user object from a username.
getUserDialog(User) - Method in interface org.jogre.client.awt.IJogreClientGUI
Return a user information dialog.
getUserDialog(User) - Method in class org.jogre.client.awt.JogreClientApplet
Delegate method for create a user dialog.
getUserDialog(User) - Method in class org.jogre.client.awt.JogreClientFrame
Delegate method for create a user dialog.
getUserList() - Method in class org.jogre.client.ClientConnectionThread
Return the user list (should be the same as the server user list object).
getUserList() - Method in class org.jogre.client.TableConnectionThread
Delegate method for returning the user list.
getUserList() - Method in class org.jogre.common.Game
Returns the UserList object of current connected users.
getUserObjects() - Method in class org.jogre.common.UserList
Return the user objects.
getUsername() - Method in class org.jogre.client.TableConnectionThread
Delegate method for returning a username;
getUsername() - Method in class org.jogre.common.AbstractConnectionThread
Returns the username.
getUsername() - Method in class org.jogre.common.User
Return the username of this user.
getUsername() - Method in class org.jogre.common.comm.CommGameMessage
Return the optional usernameTo variable.
getUsernameTo() - Method in class org.jogre.common.comm.CommGameMessage
Return the optional usernameTo variable.
getUsers() - Method in class org.jogre.common.UserList
Returns a list of all the users.
getVGap() - Method in class info.clearthought.layout.TableLayout
Gets the vertical gap between rows.
getValue() - Method in class org.jogre.client.awt.SwingWorker
Get the value produced by the worker thread, or null if it hasn't been constructed yet.
getValue() - Method in class org.jogre.common.comm.CommControllerProperty
Return the value.
getValue() - Method in class org.jogre.common.comm.CommTableProperty
Return the property value.
getValue() - Method in class org.jogre.common.games.Card
Getter for the integer value of the card.
getWelcomeMessage() - Static method in class org.jogre.common.util.GameLabels
Return a welcome message.
getWins() - Method in class org.jogre.common.User
Return the number of wins a user has had.
getWriteLock() - Method in class org.jogre.common.util.ReadWriteLock
A write lock can be issued if there is no currently issued read or write lock.

H

HEART - Static variable in class org.jogre.common.games.Card
 
hAlign - Variable in class info.clearthought.layout.TableLayoutConstraints
Horizontal justification if component occupies just one cell
hGap - Variable in class info.clearthought.layout.TableLayout
Horizontal gap between columns

I

IClient - interface org.jogre.client.IClient.
Client interface between the ClientConnectionThread (which listens on network calls) and a JogreClientFrame which implements this interface.
IGameOver - interface org.jogre.common.IGameOver.
Interface which holds constants for a game over.
IJogre - interface org.jogre.common.IJogre.
Interface file to default values such as the number of players etc.
IJogreClientGUI - interface org.jogre.client.awt.IJogreClientGUI.
Inteface between JOGRE application / applet and client panel.
IJogreLog - interface org.jogre.common.util.IJogreLog.
Interface which compliments the JogreLog class.
IJogreModel - interface org.jogre.client.IJogreModel.
Interface containing some constants which are used with the JogreModel.
INFO - Static variable in interface org.jogre.common.util.IJogreLog
Level 2 priority (medium).
INVITE - Static variable in interface org.jogre.common.comm.Comm
Header token of a CommInvite communications object.
ITable - interface org.jogre.client.ITable.
Client which a GUI table extends to recieve communication objects.
ITransmittable - interface org.jogre.common.comm.ITransmittable.
Transmittable interface for all communication in the system.
ITransmittableWithProps - interface org.jogre.common.comm.ITransmittableWithProps.
This interfaces denotates that the ITransmittable object contains a JogrePropertiesHash instance as a field.
in - Variable in class org.jogre.common.AbstractConnectionThread
Buffered input.
info(String, String) - Method in class org.jogre.common.util.JogreLogger
Log an information message.
info.clearthought.layout - package info.clearthought.layout
This package contains the TableLayout component layout manager (v 1.0).
init(double[], double[]) - Method in class info.clearthought.layout.TableLayout
Initializes the TableLayout for all constructors.
init() - Method in class org.jogre.client.awt.JogreClientApplet
Initilise the applet.
insertColumn(int, double) - Method in class info.clearthought.layout.TableLayout
Inserts a column in this layout.
insertCr(int, int, double) - Method in class info.clearthought.layout.TableLayout
Inserts a cr for the methods insertRow or insertColumn.
insertRow(int, double) - Method in class info.clearthought.layout.TableLayout
Inserts a row in this layout.
interrupt() - Method in class org.jogre.client.awt.SwingWorker
A new method that interrupts the worker thread.
invalidValue(String, String) - Method in class nanoxml.XMLElement
Creates a parse exception for when an invalid value is given to a method.
invalidValueSet(String) - Method in class nanoxml.XMLElement
Creates a parse exception for when an invalid valueset is given to a method.
invalidateLayout(Container) - Method in class info.clearthought.layout.TableLayout
Invalidates the layout, indicating that if the layout manager has cached information it should be discarded.
invert(int) - Static method in class org.jogre.common.util.JogreUtils
Get invert of 0 or 1.
inviteButton - Variable in class org.jogre.client.awt.JogreTableFrame
 
isAlternateBackground - Variable in class org.jogre.client.awt.AbstractBoardComponent
Boolean to indicate alternate style background.
isApplet() - Static method in class org.jogre.common.util.GameProperties
Static method which return true if this is an applet.
isDrawLetters - Variable in class org.jogre.client.awt.AbstractBoardComponent
If true letters/numbers are drawn on the left and bottom of the board.
isFaceUp() - Method in class org.jogre.common.games.Card
Getter for if the card is face up.
isFinishedLoading() - Static method in class org.jogre.client.awt.GameImages
Inform if the images have finished loading.
isGamePlaying() - Method in class org.jogre.client.JogreController
Return true/false if the game is started or not.
isGamePlaying() - Method in class org.jogre.common.Table
Return true if a game is in progress.
isOwnerOfTable() - Method in class org.jogre.client.TableConnectionThread
Return thue if this user is the owner of the table.
isPlaying() - Method in class org.jogre.common.Player
Return true if this player is playing.
isProvisional() - Method in class org.jogre.common.User
Return true if a user is still provisional.
isPublic() - Method in class org.jogre.common.Table
Returns true if this is a public table.
isPublic() - Method in class org.jogre.common.comm.CommNewTable
Return true if this table is a public table or not.
isReady() - Method in class org.jogre.common.Player
Return true if this player is ready.
isReversed - Variable in class org.jogre.client.awt.AbstractBoardComponent
If this variable is true the board will be flipped.
isReversed() - Method in class org.jogre.client.awt.AbstractBoardComponent
Returns true if a board is reversed.
isSeatFree(int) - Method in class org.jogre.common.PlayerList
Return true if a seat at a table is free.
isSeated() - Method in class org.jogre.common.Player
Return true if this player is seated.
isThisPlayersTurn() - Method in class org.jogre.client.JogreController
Return new if it is this players turn.
isUsernameSet() - Method in class org.jogre.common.comm.CommGameMessage
Return true / false on the username being set.
isUsernameToSet() - Method in class org.jogre.common.comm.CommGameMessage
Return true / false on the usernameTo being set.
isViewing() - Method in class org.jogre.common.Player
Return true if this player is viewing.

J

JACK - Static variable in class org.jogre.common.games.Card
 
JAvailableSeats - class org.jogre.client.awt.JAvailableSeats.
Alternative component to JAvailableSeats.
JAvailableSeats(Player, PlayerList, Table) - Constructor for class org.jogre.client.awt.JAvailableSeats
Constructor which takes a username and a players object.
JOIN_TABLE - Static variable in interface org.jogre.common.comm.Comm
 
JRulesDialog - class org.jogre.client.awt.JRulesDialog.
Panel which displays rules.
JRulesDialog(String) - Constructor for class org.jogre.client.awt.JRulesDialog
Constructor for applets.
JRulesDialog(Frame, String) - Constructor for class org.jogre.client.awt.JRulesDialog
Constructor for applications.
JTableList - class org.jogre.client.awt.JTableList.
Visual list of all the tables currently being played.
JTableList(Game) - Constructor for class org.jogre.client.awt.JTableList
Constructor for the JTableList.
JTablePlayers - class org.jogre.client.awt.JTablePlayers.
List which shows the players at a particular table.
JTablePlayers(PlayerList) - Constructor for class org.jogre.client.awt.JTablePlayers
Constructor which takes connection to the server and table number.
JTreeXMLElement - class org.jogre.client.awt.JTreeXMLElement.
An element used for displaying XML entries in a JTree
JTreeXMLElement(XMLElement, String, int) - Constructor for class org.jogre.client.awt.JTreeXMLElement
Constructor
JUserInfoDialog - class org.jogre.client.awt.JUserInfoDialog.
Panel which displays user information such as games played, games won, lost, drawn and streak.
JUserInfoDialog(User) - Constructor for class org.jogre.client.awt.JUserInfoDialog
Constructor for applets.
JUserInfoDialog(Frame, User) - Constructor for class org.jogre.client.awt.JUserInfoDialog
Constructor for applications.
JUserList - class org.jogre.client.awt.JUserList.
Visual list of all the users logged on.
JUserList(Game) - Constructor for class org.jogre.client.awt.JUserList
Empty Constructor.
JUserList(Game, User) - Constructor for class org.jogre.client.awt.JUserList
Constructor with excluded user.
JogreAwt - class org.jogre.client.awt.JogreAwt.
Convience class which holds a number of static constants such as fonts etc.
JogreAwt() - Constructor for class org.jogre.client.awt.JogreAwt
 
JogreButton - class org.jogre.client.awt.JogreButton.
A custom ogre button which responds to mouse overs.
JogreButton(String, int, int) - Constructor for class org.jogre.client.awt.JogreButton
Constructor to this button.
JogreButton(String) - Constructor for class org.jogre.client.awt.JogreButton
Constructor which takes a String.
JogreClientApplet - class org.jogre.client.awt.JogreClientApplet.
Abstract JOGRE applet class.
JogreClientApplet() - Constructor for class org.jogre.client.awt.JogreClientApplet
Constructor for a client frame.
JogreClientFrame - class org.jogre.client.awt.JogreClientFrame.
This abstract class declares the main game frame where a user can see users of the left, tables on the top right and a broadcasting style message chat box on the bottom right.
JogreClientFrame(String[]) - Constructor for class org.jogre.client.awt.JogreClientFrame
Constructor for a client frame.
JogreClientPanel - class org.jogre.client.awt.JogreClientPanel.
Jogre panel which exists in can be put within an applet frame or a application frame.
JogreClientPanel(ClientConnectionThread, IJogreClientGUI) - Constructor for class org.jogre.client.awt.JogreClientPanel
Constructor for a client frame.
JogreComponent - Variable in class org.jogre.client.JogreController
Link to the JogreComponent this is controlling .
JogreComponent - class org.jogre.client.awt.JogreComponent.
This class creates the view in the JOGRE MVC (model/view/controller) architecture.
JogreComponent() - Constructor for class org.jogre.client.awt.JogreComponent
 
JogreController - class org.jogre.client.JogreController.
Adapter game controller class which creates empty methods for the MouseListener, MouseMotionListener and KeyListener event interfaces.
JogreController(JogreModel, JogreComponent) - Constructor for class org.jogre.client.JogreController
Default constructor class which doesn't set up the network connection.
JogreDialog - class org.jogre.client.awt.JogreDialog.
Jogre dialog with extends a JDialog.
JogreDialog() - Constructor for class org.jogre.client.awt.JogreDialog
A jogre dialog has a background of the game.
JogreDialog(Frame) - Constructor for class org.jogre.client.awt.JogreDialog
A jogre dialog has a background of the game.
JogreDialog(Frame, String, boolean) - Constructor for class org.jogre.client.awt.JogreDialog
A jogre dialog with an owner, title and model.
JogreGlobals - class org.jogre.common.JogreGlobals.
Class for setting global variables such as the current locale etc.
JogreGlobals() - Constructor for class org.jogre.common.JogreGlobals
 
JogreInviteDialog - class org.jogre.client.awt.JogreInviteDialog.
Jogre invite dialog.
JogreInviteDialog(Frame, String, boolean, TableConnectionThread) - Constructor for class org.jogre.client.awt.JogreInviteDialog
Constructor
JogreLabel - class org.jogre.client.awt.JogreLabel.
Simple extension of a label - this one
JogreLabel() - Constructor for class org.jogre.client.awt.JogreLabel
Constructor for creating a JogreLabel.
JogreLabel(String) - Constructor for class org.jogre.client.awt.JogreLabel
Constructor for creating a JogreLabel.
JogreLabels - class org.jogre.common.util.JogreLabels.
This class provides an easy and effective point for accessing the main JOGRE resource bundle (system_*_*.properties).
JogreLogger - class org.jogre.common.util.JogreLogger.
Custom logging was created for JOGRE so that is as flexible and as lightweight as possible (e.g.
JogreLogger(Class) - Constructor for class org.jogre.common.util.JogreLogger
Constructor which takes the class of the logged Class.
JogreModel - class org.jogre.common.JogreModel.
Abstract class which holds the state/model of a particular game when extended.
JogreModel() - Constructor for class org.jogre.common.JogreModel
Blank constructor which can be called by a sub class.
JogreModel(int) - Constructor for class org.jogre.common.JogreModel
Create a new jogre model which sets the game type.
JogrePanel - class org.jogre.client.awt.JogrePanel.
Jogre transparenty panel.
JogrePanel() - Constructor for class org.jogre.client.awt.JogrePanel
Constructor with no parameters.
JogrePanel(double[][]) - Constructor for class org.jogre.client.awt.JogrePanel
Convenience constructor which takes a table layout size.
JogrePanel(LayoutManager) - Constructor for class org.jogre.client.awt.JogrePanel
Convenience constructor which takes a BorderLayout.
JogrePropertyDialog - class org.jogre.client.awt.JogrePropertyDialog.
Generic properties dialog that contains some public hooks for future development of custom game properties.
JogrePropertyDialog(Frame, String, boolean, ClientConnectionThread) - Constructor for class org.jogre.client.awt.JogrePropertyDialog
Constructor
JogrePropertyHash - class org.jogre.common.util.JogrePropertyHash.
Convience class for storing key/values.
JogrePropertyHash() - Constructor for class org.jogre.common.util.JogrePropertyHash
Empty constructor which doesn't take any hash values.
JogrePropertyHash(String) - Constructor for class org.jogre.common.util.JogrePropertyHash
This constructor converts a String of format: "key1=value1, key2=value2, ...
JogreRadioButton - class org.jogre.client.awt.JogreRadioButton.
JOGRE radio button which is transparent.
JogreRadioButton(String, ButtonGroup) - Constructor for class org.jogre.client.awt.JogreRadioButton
Constructor which takes a name and a group.
JogreRadioButton(String, ButtonGroup, boolean) - Constructor for class org.jogre.client.awt.JogreRadioButton
Constructor which takes a name, group and a boolean default value.
JogreScrollBar - class org.jogre.client.awt.JogreScrollBar.
Custom JOGRE Scroll bar which overrides the standard
JogreScrollBar(Component) - Constructor for class org.jogre.client.awt.JogreScrollBar
Constructor which takes a component.
JogreScrollPane - class org.jogre.client.awt.JogreScrollPane.
Custom scroll pane which currently only supports vertical scrollbars.
JogreScrollPane(Component) - Constructor for class org.jogre.client.awt.JogreScrollPane
Constructor which takes a component.
JogreTableFrame - class org.jogre.client.awt.JogreTableFrame.
The important JogreTableFrame which is where each game is played.
JogreTableFrame(TableConnectionThread, int, int) - Constructor for class org.jogre.client.awt.JogreTableFrame
Constructor to a standard JogreGameFrame.
JogreTableFrame(TableConnectionThread) - Constructor for class org.jogre.client.awt.JogreTableFrame
Constructor which doesn't take a width and height.
JogreUtils - class org.jogre.common.util.JogreUtils.
Bunch of utilities which are used in several classes through the API.
JogreUtils() - Constructor for class org.jogre.common.util.JogreUtils
 
justification - Variable in class info.clearthought.layout.SingleFiledLayout
LEFT, TOP, CENTER, FULL, BOTTOM, RIGHT -- how should components of different sizes be aligned

K

KING - Static variable in class org.jogre.common.games.Card
 
keyPressed(KeyEvent) - Method in class org.jogre.client.JogreController
Invoked when a key has been pressed.
keyReleased(KeyEvent) - Method in class org.jogre.client.JogreController
Invoked when a key has been released.
keyTyped(KeyEvent) - Method in class org.jogre.client.JogreController
Invoked when a key has been typed.

L

LEADING - Static variable in interface info.clearthought.layout.TableLayoutConstants
Indicates that the component is leading justified in its cell.
LEFT - Static variable in class info.clearthought.layout.SingleFiledLayout
Left justify components
LEFT - Static variable in interface info.clearthought.layout.TableLayoutConstants
Indicates that the component is left justified in its cell
LIST_FONT - Static variable in class org.jogre.client.awt.JogreAwt
Font used in the user list, table list and player list boxes.
LIST_FONT_BOLD - Static variable in class org.jogre.client.awt.JogreAwt
Bold font used in the user list, table list and player list boxes.
LOSE - Static variable in interface org.jogre.common.IGameOver
Player losses a game.
layoutContainer(Container) - Method in class info.clearthought.layout.SingleFiledLayout
To lay out the specified container using this layout.
layoutContainer(Container) - Method in class info.clearthought.layout.TableLayout
To lay out the specified container using this layout.
leaveTable() - Method in class org.jogre.client.awt.JogreTableFrame
Player leaves the table.
length() - Method in class org.jogre.common.JogreModel
Return the number of tokens that this class creates when flattened.
list - Variable in class info.clearthought.layout.TableLayout
List of components and their sizes
loadImageFromJar(String, int) - Method in class org.jogre.client.awt.GameImages
Load image from the jar file.
loadImages() - Static method in class org.jogre.client.awt.GameImages
Method to load the images (simply calls singleton constructor).
loadStandardDeck() - Method in class org.jogre.common.games.Deck
Adds the standard 52 cards to the deck.
log(String) - Method in class org.jogre.common.util.JogreLogger
Simple log which will go in at INFO level.
loop - Variable in class org.jogre.common.AbstractConnectionThread
When the boolean loop becomes false the Thread finishes.
loses - Variable in class org.jogre.common.User
Score rating of User.

M

MASTER_SERVER_CONNECT - Static variable in interface org.jogre.common.comm.Comm
Header token of a CommMasterServerConnect communications object.
MASTER_SERVER_MESSAGE - Static variable in interface org.jogre.common.comm.Comm
Header token of a CommMasterServerMesssage communications object.
MASTER_SERVE_KEY - Static variable in interface org.jogre.common.IJogre
Key to the master server.
MINIMUM - Static variable in interface info.clearthought.layout.TableLayoutConstants
Indicates that the row/column should be allocated just enough space to accomidate the minimum size of all components contained completely within this row/column.
MODEL - Static variable in interface org.jogre.common.comm.Comm
Header token of the data class Table.
maximumLayoutSize(Container) - Method in class info.clearthought.layout.TableLayout
Returns the maximum dimensions for this layout given the components in the specified target container.
messageComponent - Variable in class org.jogre.client.awt.JogreTableFrame
 
messageInput - Variable in class org.jogre.client.awt.ChatGameComponent
Small message input box.
messageOutput - Variable in class org.jogre.client.awt.ChatGameComponent
Main message ouput box.
methodGetComponentOrientation - Static variable in class info.clearthought.layout.TableLayout
Method used to get component orientation while preserving compatability with earlier versions of java.awt.Container.
minimumLayoutSize(Container) - Method in class info.clearthought.layout.SingleFiledLayout
Determines the minimum size of the container argument using this layout.
minimumLayoutSize(Container) - Method in class info.clearthought.layout.TableLayout
Determines the minimum size of the container argument using this layout.
model - Variable in class org.jogre.client.JogreController
Link to the game model.
mouseBorderColour - Variable in class org.jogre.client.awt.AbstractBoardComponent
Colour of the mouse border.
mouseBorderWidth - Variable in class org.jogre.client.awt.AbstractBoardComponent
Width of the mouse border.
mouseClicked(MouseEvent) - Method in class org.jogre.client.JogreController
Invoked when the mouse has been clicked on a JogreComponent.
mouseClicked(MouseEvent) - Method in class org.jogre.client.awt.JogreButton
 
mouseDragged(MouseEvent) - Method in class org.jogre.client.JogreController
Invoked when a mouse button is pressed on a JogreComponent and then dragged.
mouseEntered(MouseEvent) - Method in class org.jogre.client.JogreController
Invoked when the mouse enters a JogreJogreComponent.
mouseEntered(MouseEvent) - Method in class org.jogre.client.awt.JogreButton
 
mouseExited(MouseEvent) - Method in class org.jogre.client.JogreController
Invoked when the mouse exits a JogreComponent.
mouseExited(MouseEvent) - Method in class org.jogre.client.awt.JogreButton
 
mouseMoved(MouseEvent) - Method in class org.jogre.client.JogreController
Invoked when the mouse button has been moved on a JogreComponent (with no buttons no down).
mousePressed(MouseEvent) - Method in class org.jogre.client.JogreController
Invoked when a mouse button has been pressed on a JogreComponent.
mousePressed(MouseEvent) - Method in class org.jogre.client.awt.JogreButton
 
mouseReleased(MouseEvent) - Method in class org.jogre.client.JogreController
Invoked when a mouse button has been released on a JogreComponent.
mouseReleased(MouseEvent) - Method in class org.jogre.client.awt.JogreButton
 

N

NANOXML_MAJOR_VERSION - Static variable in class nanoxml.XMLElement
Major version of NanoXML.
NANOXML_MINOR_VERSION - Static variable in class nanoxml.XMLElement
Minor version of NanoXML.
NEW_TABLE - Static variable in interface org.jogre.common.comm.Comm
Header token of a CommNewTable object.
NEXT_PLAYER - Static variable in interface org.jogre.common.comm.Comm
Header token of a CommNextPlayer object.
NINE - Static variable in class org.jogre.common.games.Card
 
NONE - Static variable in interface org.jogre.common.util.IJogreLog
No logging will be created.
NOT_SEATED - Static variable in class org.jogre.common.Player
Constant to show that a player hasn't been seated.
NO_LINE - Static variable in class nanoxml.XMLParseException
Indicates that no line number has been associated with this exception.
NO_PLAYER - Static variable in class org.jogre.common.PlayerList
 
NO_SEAT - Static variable in class org.jogre.common.comm.CommPlayerState
 
NO_TABLE - Static variable in class org.jogre.common.comm.CommTableMessage
No table being used in the message.
NUM_OF_HEADER_TOKENS - Static variable in class org.jogre.common.PlayerList
Number of header tokens.
NUM_OF_PLAYERS - Static variable in class org.jogre.common.Table
 
NUM_OF_TOKENS - Static variable in class org.jogre.common.PlayerList
Number of tokens which a PlayerList flattens to.
nanoxml - package nanoxml
Contains the NanoXML/Lite XML Parser (v 2.2.3).
nextPlayer() - Method in class org.jogre.client.JogreController
Method which tells the server that it is next players turn.
nextPlayer(String) - Method in class org.jogre.common.PlayerList
Sets the next player
nextPlayer(Player) - Method in class org.jogre.common.PlayerList
Sets the next player
nextPlayer() - Method in class org.jogre.common.PlayerList
Makes the current player equal to the next player.
nextPlayer(String) - Method in class org.jogre.common.Table
Sets the next player.
nextPlayer(Player) - Method in class org.jogre.common.Table
Sets the next player.
nextPlayer() - Method in class org.jogre.common.Table
Sets the next player username.
numOfCols - Variable in class org.jogre.client.awt.AbstractBoardComponent
Number of columns in the board.
numOfRows - Variable in class org.jogre.client.awt.AbstractBoardComponent
Number of rows in the board.

O

OFFER_DRAW - Static variable in interface org.jogre.common.comm.Comm
Header token of a CommOfferDraw communications object.
OFF_SCREEN_POINT - Static variable in class org.jogre.client.awt.AbstractBoardComponent
Constant to show a cell point is off the board (not selected).
offerDrawButton - Variable in class org.jogre.client.awt.JogreTableFrame
 
oldHeight - Variable in class info.clearthought.layout.TableLayout
Previous known height of the container
oldWidth - Variable in class info.clearthought.layout.TableLayout
Previous known width of the container
org.jogre.client - package org.jogre.client
This package contains non-visual classes which only the client makes use of including the network connection, the game model and controller.
org.jogre.client.awt - package org.jogre.client.awt
This package contains visual classes which aid the creation of games.
org.jogre.common - package org.jogre.common
This package contains classes which are common to both a client or a server.
org.jogre.common.comm - package org.jogre.common.comm
This package contains a number of communication objects (communication classes start with Comm) amd two Interface's which describe the protocol.
org.jogre.common.games - package org.jogre.common.games
This package contains game specific classes such as helper classes for cards.
org.jogre.common.playerstate - package org.jogre.common.playerstate
This package implements the "state" design pattern for each player at a particular table to easily keep state such as sitting, standing, ready to player etc.
org.jogre.common.util - package org.jogre.common.util
This package contain various utility classes.
orientation - Variable in class info.clearthought.layout.SingleFiledLayout
ROW or COLUMN -- should the components be aligned in a row or column
out - Variable in class org.jogre.common.AbstractConnectionThread
PrintStream for the output.

P

PLAYER - Static variable in interface org.jogre.common.comm.Comm
Header token of the data class Player.
PLAYER_LIST - Static variable in interface org.jogre.common.comm.Comm
Header token of the data class PlayerList.
PLAYER_STATE - Static variable in interface org.jogre.common.comm.Comm
Header token of a CommPlayerState communications object.
PREFERRED - Static variable in interface info.clearthought.layout.TableLayoutConstants
Indicates that the row/column should be allocated just enough space to accomidate the preferred size of all components contained completely within this row/column.
PRIORITY_STRS - Static variable in interface org.jogre.common.util.IJogreLog
String values of priorities
PROP_PLAYERS - Static variable in interface org.jogre.common.comm.Comm
Minimum number of user.
PROVISIONAL_COUNT - Static variable in interface org.jogre.common.IJogre
Number of games a user must complete not to be provisional.
Player - class org.jogre.common.Player.
This class contains information about a player, which is a user who has joined a table and wishes to play a game.
Player(String, PlayerState) - Constructor for class org.jogre.common.Player
Constructor requires both a player and a status as parameters and sets the seat number to NOT_SEATED.
Player(XMLElement) - Constructor for class org.jogre.common.Player
Constructor which creates a Player object from the flatten () method of another Player object.
PlayerList - class org.jogre.common.PlayerList.
This class contains a list of Player object.s
PlayerList(String) - Constructor for class org.jogre.common.PlayerList
Default constructor.
PlayerList(XMLElement) - Constructor for class org.jogre.common.PlayerList
Constructor which creates a Player object from the flatten () method of another Player object.
PlayerState - class org.jogre.common.playerstate.PlayerState.
Class which describes the state of the various player when they join a table.
PlayerState() - Constructor for class org.jogre.common.playerstate.PlayerState
 
PlayerStateFactory - class org.jogre.common.playerstate.PlayerStateFactory.
Factory which creates a state from an integer defined in integer defined in PlayerState.
PlayerStateFactory() - Constructor for class org.jogre.common.playerstate.PlayerStateFactory
 
PlayerStateGameStarted - class org.jogre.common.playerstate.PlayerStateGameStarted.
State object for a game started player state.
PlayerStateGameStarted() - Constructor for class org.jogre.common.playerstate.PlayerStateGameStarted
 
PlayerStateReady - class org.jogre.common.playerstate.PlayerStateReady.
State object for a player ready state.
PlayerStateReady() - Constructor for class org.jogre.common.playerstate.PlayerStateReady
 
PlayerStateSeated - class org.jogre.common.playerstate.PlayerStateSeated.
State object for a seated player state.
PlayerStateSeated() - Constructor for class org.jogre.common.playerstate.PlayerStateSeated
 
PlayerStateViewing - class org.jogre.common.playerstate.PlayerStateViewing.
State object for a viewing player state.
PlayerStateViewing() - Constructor for class org.jogre.common.playerstate.PlayerStateViewing
 
paintComponent(Graphics) - Method in class org.jogre.client.awt.AbstractBoardComponent
Draws the board.
paintComponent(Graphics) - Method in class org.jogre.client.awt.ColouredSquare
Override the paint component to set the colour of the box.
paintComponent(Graphics) - Method in class org.jogre.client.awt.JogreButton
Paint the button.
paintComponent(Graphics, int, int) - Method in class org.jogre.common.games.Card
 
paintComponent(Graphics, int, int, boolean) - Method in class org.jogre.common.games.Card
 
parse(XMLElement) - Method in class org.jogre.client.ClientConnectionThread
Parse method which reads the first token of the message and delegate to the implementating client.
parse(XMLElement) - Method in class org.jogre.common.AbstractConnectionThread
This abstract method must be overwritten by a child which extends this class.
parseCharArray(char[], int, int) - Method in class nanoxml.XMLElement
Reads one XML element from a char array and parses it.
parseCharArray(char[], int, int, int) - Method in class nanoxml.XMLElement
Reads one XML element from a char array and parses it.
parseCommandLineArguments(String[]) - Method in class org.jogre.client.awt.JogreClientFrame
This method parses the commands handed in from the command prompt.
parseFromReader(Reader) - Method in class nanoxml.XMLElement
Reads one XML element from a java.io.Reader and parses it.
parseFromReader(Reader, int) - Method in class nanoxml.XMLElement
Reads one XML element from a java.io.Reader and parses it.
parseString(String) - Method in class nanoxml.XMLElement
Reads one XML element from a String and parses it.
parseString(String, int) - Method in class nanoxml.XMLElement
Reads one XML element from a String and parses it.
parseString(String, int, int) - Method in class nanoxml.XMLElement
Reads one XML element from a String and parses it.
parseString(String, int, int, int) - Method in class nanoxml.XMLElement
Reads one XML element from a String and parses it.
password - Variable in class org.jogre.common.comm.CommGameConnect
Password if connecting to the JOGRE master server.
player - Variable in class org.jogre.client.awt.JogreTableFrame
 
playerName - Variable in class org.jogre.common.Player
Username of the user.
playerState - Variable in class org.jogre.common.Player
State of the player.
preferredLayoutSize(Container) - Method in class info.clearthought.layout.SingleFiledLayout
Determines the preferred size of the container argument using this layout.
preferredLayoutSize(Container) - Method in class info.clearthought.layout.TableLayout
Determines the preferred size of the container argument using this layout.
pressedPoint - Variable in class org.jogre.client.awt.AbstractBoardComponent
Stores the value of a mouse down.

Q

QUEEN - Static variable in class org.jogre.common.games.Card
 

R

R - Static variable in class info.clearthought.layout.TableLayout
Indicates a row
READY_TO_START - Static variable in interface org.jogre.common.comm.Comm
Header token of a CommReadyToStart communications object.
READY_TO_START - Static variable in class org.jogre.common.playerstate.PlayerState
Player is ready to start a table.
REQUEST - Static variable in class org.jogre.common.comm.CommInvite
User requests invite to a user.
REQUEST_DATA - Static variable in interface org.jogre.common.comm.Comm
Header token of a CommReadyToStart communications object.
RESULTS - Static variable in interface org.jogre.common.IGameOver
Player wins a game.
RIGHT - Static variable in class info.clearthought.layout.SingleFiledLayout
Right justify components
RIGHT - Static variable in interface info.clearthought.layout.TableLayoutConstants
Indicates that the component is right justified in its cell
ROW - Static variable in class info.clearthought.layout.SingleFiledLayout
Align components in a row
RatingSquare - class org.jogre.client.awt.RatingSquare.
Declare a constructor for a rating square which can take a rating.
RatingSquare(boolean, int) - Constructor for class org.jogre.client.awt.RatingSquare
Constructor for a ratings square which takes a colour.
RatingsPanel - class org.jogre.client.awt.RatingsPanel.
Ratings panel which contains.
RatingsPanel() - Constructor for class org.jogre.client.awt.RatingsPanel
Constructor.
ReadWriteLock - class org.jogre.common.util.ReadWriteLock.
Class for creating a read write designed for objects sitting on the server.
ReadWriteLock(Class) - Constructor for class org.jogre.common.util.ReadWriteLock
Constructor.
rating - Variable in class org.jogre.common.User
Score rating of User.
rb - Variable in class org.jogre.common.util.AbstractProperties
Resource bundle.
readChar() - Method in class nanoxml.XMLElement
Reads a character from a reader.
readDate(String, String) - Static method in class org.jogre.common.util.JogreUtils
Little helper method which reads as a String and formats it using a specified format String.
receiveDisconnect(CommDisconnect) - Method in class org.jogre.client.awt.JogreClientPanel
Receive disconnect.
receiveGameChat(CommChatGame) - Method in class org.jogre.client.awt.JogreClientPanel
Method which receives a message from the server (or user)
receiveGameMessage(XMLElement) - Method in interface org.jogre.client.IClient
Recieve a message specific to a particular game.
receiveGameMessage(XMLElement) - Method in class org.jogre.client.awt.ConnectionPanel
 
receiveGameMessage(XMLElement) - Method in class org.jogre.client.awt.JogreClientApplet
Delegate method for receiving a game message.
receiveGameMessage(XMLElement) - Method in class org.jogre.client.awt.JogreClientFrame
Delegate method for receiving a game message.
receiveGameMessage(XMLElement) - Method in class org.jogre.client.awt.JogreClientPanel
 
receiveInvite(CommInvite) - Method in class org.jogre.client.awt.JogreClientPanel
Recieve invite communications object.
receiveMessage(String, String) - Method in class org.jogre.client.awt.ChatGameComponent
Receives a message from the server.
receiveMessage(XMLElement) - Method in class org.jogre.client.awt.JogreClientPanel
Adapter method for receiving a custom message.
receiveMessage(XMLElement) - Method in class org.jogre.client.awt.JogreTableFrame
Adapter method for receiving a custom message.
receiveNewUser(User) - Method in class org.jogre.client.awt.JogreClientPanel
User has logged on so receive his User object.
receiveObject(XMLElement) - Method in class org.jogre.client.JogreController
Recieve object as XML from a client or server (use this when more advanced data is required from the server or a client).
receivePrivateChat(CommChatPrivate) - Method in class org.jogre.client.awt.JogreClientPanel
Receive private chat message.
receiveProperty(String, String) - Method in class org.jogre.client.JogreController
Adapter method for receiving property as a key and value from another client.
receiveProperty(String, int) - Method in class org.jogre.client.JogreController
Recieve property as a String key and integer value.
receiveProperty(String, int, int) - Method in class org.jogre.client.JogreController
Recieve property from another client as a co-ordinate (x and y integer).
receiveTableMessage(XMLElement) - Method in interface org.jogre.client.ITable
Recieve method which the client must over write.
receiveTableMessage(XMLElement) - Method in class org.jogre.client.awt.ConnectionPanel
 
receiveTableMessage(XMLElement) - Method in class org.jogre.client.awt.JogreClientApplet
Delegate method for receiving a table message.
receiveTableMessage(XMLElement) - Method in class org.jogre.client.awt.JogreClientFrame
Delegate method for receiving a table message.
receiveTableMessage(XMLElement) - Method in class org.jogre.client.awt.JogreClientPanel
Recieve a table message and delegate it to the correct frame.
receiveTableMessage(XMLElement) - Method in class org.jogre.client.awt.JogreTableFrame
Implementation of the ITable interface.
recieveMessage(String, String) - Method in class org.jogre.client.awt.ChatPrivateDialog
Recieve private message.
refresh() - Method in class org.jogre.client.awt.JTableList
Refresh method which updates the visual userlist.
refresh() - Method in class org.jogre.client.awt.JTablePlayers
Update method which updates the visual user list.
refresh() - Method in class org.jogre.client.awt.JUserList
Refresh the user list.
refresh(boolean, int) - Method in class org.jogre.client.awt.RatingSquare
Refresh the boxes.
refresh(User) - Method in class org.jogre.client.awt.UserLabel
Refresh a player label.
refreshObservers() - Method in class org.jogre.common.JogreModel
Refresh observers - calls the setChanged() and notifyObservers () methods in the Observable class.
refreshObservers() - Method in class org.jogre.common.PlayerList
Notify observers.
refreshObservers() - Method in class org.jogre.common.Table
Refresh observers - calls the setChanged() and notifyObservers () methods in the Observable class.
refreshObservers() - Method in class org.jogre.common.TableList
Refresh observers - calls the setChanged() and notifyObservers () methods in the Observable class.
refreshObservers() - Method in class org.jogre.common.UserList
Notify observers.
release() - Method in class org.jogre.common.util.ReadWriteLock
Used for releasing locks.
reload() - Method in class org.jogre.common.util.AbstractProperties
Reload all resource bundles (if there has been a
removeAttribute(String) - Method in class nanoxml.XMLElement
Removes an attribute.
removeChild(XMLElement) - Method in class nanoxml.XMLElement
Removes a child element.
removeChild(String) - Method in class nanoxml.XMLElement
Deprecated. Use removeAttribute instead.
removeLayoutComponent(Component) - Method in class info.clearthought.layout.SingleFiledLayout
Removes the specified component with the specified name from the layout.
removeLayoutComponent(Component) - Method in class info.clearthought.layout.TableLayout
Removes the specified component from the layout.
removePlayer(String) - Method in class org.jogre.common.PlayerList
Remove a player.
removePlayer(int, String) - Method in class org.jogre.common.TableList
Remove a player from a table.
removeProperty(String) - Method in class nanoxml.XMLElement
Deprecated. Use removeAttribute instead.
removeTable(int) - Method in class org.jogre.common.TableList
Remove table from the list.
removeUser(String) - Method in class org.jogre.common.UserList
Remove user from the list.
removeUserFromTables(String) - Method in class org.jogre.common.TableList
Remove a user from tables.
reset() - Method in class org.jogre.common.util.AbstractProperties
Recreates ResourceBundle
resetCurrentPlayer() - Method in class org.jogre.common.PlayerList
Sets the current player to the person with the smallest seat number.
resetPoints() - Method in class org.jogre.client.awt.AbstractBoardComponent
Reset the dragPoint and pressedPoint variables.
resignButton - Variable in class org.jogre.client.awt.JogreTableFrame
 
resolveEntity(StringBuffer) - Method in class nanoxml.XMLElement
Resolves an entity.
row1 - Variable in class info.clearthought.layout.TableLayoutConstraints
Cell in which the upper left corner of the component lays
row2 - Variable in class info.clearthought.layout.TableLayoutConstraints
Cell in which the lower right corner of the component lays
run() - Method in class org.jogre.common.AbstractConnectionThread
Run method - runs until an exception has occured or the loop variable becomes false.

S

SEATED - Static variable in class org.jogre.common.playerstate.PlayerState
Player is seated at a table.
SERVER_FULL - Static variable in class org.jogre.common.comm.CommError
Server full.
SEVEN - Static variable in class org.jogre.common.games.Card
 
SIT_DOWN - Static variable in interface org.jogre.common.comm.Comm
Header token of a CommSitDown communications object.
SIX - Static variable in class org.jogre.common.games.Card
 
SPACING - Static variable in class org.jogre.client.awt.JogreClientPanel
 
SPADE - Static variable in class org.jogre.common.games.Card
 
STAND_UP - Static variable in interface org.jogre.common.comm.Comm
Header token of a CommStandUp communications object.
START_GAME - Static variable in interface org.jogre.common.comm.Comm
Header token of a CommStartGame communications object.
SUPPORTED_LANGS - Static variable in class org.jogre.common.JogreGlobals
 
SingleFiledLayout - class info.clearthought.layout.SingleFiledLayout.
SingleFiledLayout lays out components singled filed.
SingleFiledLayout() - Constructor for class info.clearthought.layout.SingleFiledLayout
Constructs an instance of SingleFiledLayout that will align components in a column using the default gap and LEFT justification.
SingleFiledLayout(int) - Constructor for class info.clearthought.layout.SingleFiledLayout
Constructs an instance of SingleFiledLayout using the default gap and LEFT or TOP justification.
SingleFiledLayout(int, int, int) - Constructor for class info.clearthought.layout.SingleFiledLayout
Constructs an instance of SingleFiledLayout.
SwingWorker - class org.jogre.client.awt.SwingWorker.
This is the 3rd version of SwingWorker (also known as SwingWorker 3), an abstract class that you subclass to perform GUI-related work in a dedicated thread.
SwingWorker() - Constructor for class org.jogre.client.awt.SwingWorker
Start a thread that will call the construct method and then exit.
scanElement(XMLElement) - Method in class nanoxml.XMLElement
Scans an XML element.
scanIdentifier(StringBuffer) - Method in class nanoxml.XMLElement
Scans an identifier from the current reader.
scanPCData(StringBuffer) - Method in class nanoxml.XMLElement
Scans a #PCDATA element.
scanString(StringBuffer) - Method in class nanoxml.XMLElement
This method scans a delimited string from the current reader.
scanWhitespace() - Method in class nanoxml.XMLElement
This method scans an identifier from the current reader.
scanWhitespace(StringBuffer) - Method in class nanoxml.XMLElement
This method scans an identifier from the current reader.
seatNum - Variable in class org.jogre.common.Player
Seat number of the user e.g.
send(CommGameMessage) - Method in class org.jogre.client.ClientConnectionThread
Send a ITransmittable object from a client to the server.
send(CommTableMessage) - Method in class org.jogre.client.TableConnectionThread
 
send(CommGameMessage) - Method in class org.jogre.client.TableConnectionThread
Send a game message.
send(ITransmittable) - Method in class org.jogre.common.AbstractConnectionThread
Send a ITransmittable object to the output stream (could be server or client).
sendMessage() - Method in class org.jogre.client.awt.ChatGameComponent
Send a message.
sendMessage() - Method in class org.jogre.client.awt.ChatTableComponent
Overloaded version of the sendMessage method which uses a TableConnectionThread instead of a ClientConnectionThread.
sendObject(ITransmittable) - Method in class org.jogre.client.JogreController
Send a more complex object (any object which implements the ITransmittable interface).
sendObject(XMLElement) - Method in class org.jogre.client.JogreController
Send a more complex object (any object which implements the ITransmittable interface).
sendProperty(String, String) - Method in class org.jogre.client.JogreController
Send a normal String valued property.
sendProperty(String, int) - Method in class org.jogre.client.JogreController
Send a single integer property.
sendProperty(String, int, int) - Method in class org.jogre.client.JogreController
Send a co-ordinate property (x and y integer values).
setApplet(boolean) - Static method in class org.jogre.common.util.GameProperties
Static method for setting true/false if this is an applet.
setAttribute(String, Object) - Method in class nanoxml.XMLElement
Adds or modifies an attribute.
setCard(String) - Method in class org.jogre.common.games.Card
Setter for card string value.
setClientInterface(IClient) - Method in class org.jogre.client.ClientConnectionThread
Set the client interface.
setColor(Color) - Method in class org.jogre.client.awt.ColouredSquare
Update the colour of the component.
setColours(Color, Color, Color, Color) - Method in class org.jogre.client.awt.AbstractBoardComponent
Set up colours for this board.
setColumn(double[]) - Method in class info.clearthought.layout.TableLayout
Adjusts the number and sizes of rows in this layout.
setColumn(int, double) - Method in class info.clearthought.layout.TableLayout
Adjusts the width of a single column in this layout.
setConnection(TableConnectionThread) - Method in class org.jogre.client.JogreController
Set up a network connection for this controller.
setConstraints(Component, TableLayoutConstraints) - Method in class info.clearthought.layout.TableLayout
Sets the constraints of a given component.
setContent(String) - Method in class nanoxml.XMLElement
Changes the content string.
setController(JogreController) - Method in class org.jogre.client.awt.JogreComponent
Set the controller by adding a JogreController which implements a MouseListener, a MouseMotionListener and a KeyListener.
setCr(int, double[]) - Method in class info.clearthought.layout.TableLayout
Sets the sizes of rows or columns for the methods setRow or setColumn.
setCr(int, int, double) - Method in class info.clearthought.layout.TableLayout
Sets the sizes of rows or columns for the methods setRow or setColumn.
setCurrentPlayer(String) - Method in class org.jogre.common.PlayerList
Set current player.
setData(XMLElement) - Method in class org.jogre.common.comm.CommControllerObject
Set data.
setDoubleAttribute(String, double) - Method in class nanoxml.XMLElement
Adds or modifies an attribute.
setDragPoint(Point) - Method in class org.jogre.client.awt.AbstractBoardComponent
Sets the drag point.
setEnabled(boolean) - Method in class org.jogre.client.awt.ChatGameComponent
Sets the enabled status of component and message input box.
setEnabled(boolean) - Method in class org.jogre.client.awt.JogreButton
Override the setEnabled call to change the border from an etched to a plain line when enabled / disabled.
setFaceUp(boolean) - Method in class org.jogre.common.games.Card
Setter for if the card is face up or down.
setGame(Game) - Method in class org.jogre.client.ClientConnectionThread
Set the game object from the server.
setGamePanel(JogrePanel) - Method in class org.jogre.client.awt.JogreTableFrame
Set the empty panel in the screen equal to the game panel.
setHGap(int) - Method in class info.clearthought.layout.TableLayout
Sets the horizontal gap between colunns.
setIntAttribute(String, int) - Method in class nanoxml.XMLElement
Adds or modifies an attribute.
setLocale(String) - Static method in class org.jogre.common.JogreGlobals
Set the locale using a language or a language and country.
setModel(JogreModel) - Method in class org.jogre.common.Table
Set the game data.
setName(String) - Method in class nanoxml.XMLElement
Changes the name of the element.
setPlayerList(PlayerList) - Method in class org.jogre.common.Table
 
setPressedPoint(Point) - Method in class org.jogre.client.awt.AbstractBoardComponent
Sets pressed point in the board.
setReversed(boolean) - Method in class org.jogre.client.awt.AbstractBoardComponent
Sets if a board is reversed or not.
setRow(double[]) - Method in class info.clearthought.layout.TableLayout
Adjusts the number and sizes of rows in this layout.
setRow(int, double) - Method in class info.clearthought.layout.TableLayout
Adjusts the height of a single row in this layout.
setSeatNum(int) - Method in class org.jogre.common.Player
Set the seat number of this player (set when a player sits down).
setSocket(Socket) - Method in class org.jogre.common.AbstractConnectionThread
 
setState(XMLElement) - Method in class org.jogre.common.JogreModel
Set the state of the model (set values of the model equal to the values of this model by copying its values.
setState(PlayerState) - Method in class org.jogre.common.Player
Set the seat number of this player (set when a player sits down).
setSuit(char) - Method in class org.jogre.common.games.Card
Setter for the string value of the card suit.
setTableFramesHash(HashMap) - Method in class org.jogre.client.awt.JogreTableFrame
Set the link to the table frames hash in the JogreClientFrame (must be deleted when the client is removed).
setTableList(TableList) - Method in class org.jogre.client.ClientConnectionThread
Update the table list.
setTableList(TableList) - Method in class org.jogre.common.Game
Set the table list.
setTableNum(int) - Method in class org.jogre.common.comm.CommTableMessage
Set the table number - this is done in the API.
setTagName(String) - Method in class nanoxml.XMLElement
Deprecated. Use setName instead.
setText(String) - Method in class org.jogre.client.awt.JogreButton
Set the Text of the button.
setUITitle(String) - Method in interface org.jogre.client.awt.IJogreClientGUI
Sets the user interfaces title.
setUITitle(String) - Method in class org.jogre.client.awt.JogreClientApplet
Method for setting a title.
setUITitle(String) - Method in class org.jogre.client.awt.JogreClientFrame
Set the title of this frame.
setUpDialog() - Method in class org.jogre.client.awt.JogreDialog
Set up the dialog.
setUpGUI() - Method in class org.jogre.client.awt.JogreClientPanel
Sets up the graphical user interface.
setUserList(UserList) - Method in class org.jogre.client.ClientConnectionThread
Update the user list.
setUserList(UserList) - Method in class org.jogre.common.Game
Set the userlist.
setUsername(String) - Method in class org.jogre.common.AbstractConnectionThread
Set the username.
setUsername(String) - Method in class org.jogre.common.comm.CommGameMessage
Set the optional uesrname variable.
setUsernameTo(String) - Method in class org.jogre.client.awt.ChatGameComponent
Set the username to of this component (not required if the component is in broadcast mode).
setUsernameTo(String) - Method in class org.jogre.common.comm.CommGameMessage
Set the optional usernameTo variable.
setVGap(int) - Method in class info.clearthought.layout.TableLayout
Sets the vertical gap between rows.
setValue(int) - Method in class org.jogre.common.games.Card
Setter for the integer value of the card.
setVerbose(boolean) - Method in class org.jogre.common.util.ReadWriteLock
Turn locking verbose on / off.
setupMVC(JogreModel, JogreComponent, JogreController) - Method in class org.jogre.client.awt.JogreTableFrame
Sets up the MVC for this table.
showPriority - Variable in class org.jogre.common.util.JogreLogger
If this is true then show the priority of the log as a String.
shuffle() - Method in class org.jogre.common.games.Deck
Shuffles the deck one time.
sit() - Method in class org.jogre.common.Player
Player sits down at a table.
sit() - Method in class org.jogre.common.playerstate.PlayerState
Abstract method which defines what a player can do when they sit.
sit() - Method in class org.jogre.common.playerstate.PlayerStateGameStarted
 
sit() - Method in class org.jogre.common.playerstate.PlayerStateReady
 
sit() - Method in class org.jogre.common.playerstate.PlayerStateSeated
 
sit() - Method in class org.jogre.common.playerstate.PlayerStateViewing
If a player sits the state changes to seated.
sitButton - Variable in class org.jogre.client.awt.JogreTableFrame
 
size() - Method in class org.jogre.common.GameList
Return the number of games currently loaded up.
size() - Method in class org.jogre.common.PlayerList
Return the number of users playing at a particular table.
size() - Method in class org.jogre.common.TableList
Return the size of the table list.
size() - Method in class org.jogre.common.UserList
Return the number of users.
size() - Method in class org.jogre.common.games.Deck
Gets the number of cards in the deck.
skipComment() - Method in class nanoxml.XMLElement
Skips a comment.
skipSpecialTag(int) - Method in class nanoxml.XMLElement
Skips a special tag or comment.
socket - Variable in class org.jogre.common.AbstractConnectionThread
Socket between the server and the user.
sort() - Method in class org.jogre.common.games.Deck
Sorts the deck by suit, then by card order value.
spacingColour - Variable in class org.jogre.client.awt.AbstractBoardComponent
Colour of spacing colour.
spadesCompareTo(Card) - Method in class org.jogre.common.games.Card
Compares two Card objects in the game of spades.
stacktrace(Exception) - Method in class org.jogre.common.util.JogreLogger
Logs a stacktrace.
stand() - Method in class org.jogre.common.Player
Player stands up from a table.
stand() - Method in class org.jogre.common.playerstate.PlayerState
Abstract method which defines what a player can do when they stand up.
stand() - Method in class org.jogre.common.playerstate.PlayerStateGameStarted
 
stand() - Method in class org.jogre.common.playerstate.PlayerStateReady
 
stand() - Method in class org.jogre.common.playerstate.PlayerStateSeated
If a player stands his state goes back to viewing.
stand() - Method in class org.jogre.common.playerstate.PlayerStateViewing
 
standButton - Variable in class org.jogre.client.awt.JogreTableFrame
 
start() - Method in class org.jogre.client.JogreController
Reset method which is called every time a new game is created.
start() - Method in class org.jogre.client.awt.SwingWorker
Start the worker thread.
start() - Method in class org.jogre.common.Player
Player decides to start.
start() - Method in class org.jogre.common.playerstate.PlayerState
Abstract method which defines what a player can do when they start.
start() - Method in class org.jogre.common.playerstate.PlayerStateGameStarted
 
start() - Method in class org.jogre.common.playerstate.PlayerStateReady
 
start() - Method in class org.jogre.common.playerstate.PlayerStateSeated
Player state goes to ready to start.
start() - Method in class org.jogre.common.playerstate.PlayerStateViewing
 
startButton - Variable in class org.jogre.client.awt.JogreTableFrame
 
startGame() - Method in class org.jogre.client.awt.JogreTableFrame
Start the game (Empty adapter method).
status - Variable in class org.jogre.common.comm.CommGameMessage
Integer status of this comm message.
stop() - Method in class org.jogre.client.awt.JogreClientApplet
Stop the applet properly.
stopLoop() - Method in class org.jogre.common.AbstractConnectionThread
Stop the loop.
streak - Variable in class org.jogre.common.User
Score rating of User.
stringValue() - Method in class org.jogre.common.playerstate.PlayerState
Integer label of this state (see constants of this class).
stringValue() - Method in class org.jogre.common.playerstate.PlayerStateGameStarted
 
stringValue() - Method in class org.jogre.common.playerstate.PlayerStateReady
 
stringValue() - Method in class org.jogre.common.playerstate.PlayerStateSeated
 
stringValue() - Method in class org.jogre.common.playerstate.PlayerStateViewing
 
syntaxError(String) - Method in class nanoxml.XMLElement
Creates a parse exception for when a syntax error occured.

T

TABLE - Static variable in interface org.jogre.common.comm.Comm
Header token of the data class Table.
TABLE_LIST - Static variable in interface org.jogre.common.comm.Comm
Header token of the data class TableList.
TABLE_PROPERTY - Static variable in interface org.jogre.common.comm.Comm
Header token of a CommTableProperty communications object.
TEN - Static variable in class org.jogre.common.games.Card
 
THREE - Static variable in class org.jogre.common.games.Card
 
TOP - Static variable in class info.clearthought.layout.SingleFiledLayout
Top justify components
TOP - Static variable in interface info.clearthought.layout.TableLayoutConstants
Indicates that the component is top justified in its cell
TRAILING - Static variable in interface info.clearthought.layout.TableLayoutConstants
Indicates that the component is trailing justified in its cell.
TWO - Static variable in class org.jogre.common.games.Card
 
TYPE_INT - Static variable in class org.jogre.common.comm.CommControllerProperty
Type is an integer.
TYPE_INT_TWO - Static variable in class org.jogre.common.comm.CommControllerProperty
Type is two integer e.g.
TYPE_STRING - Static variable in class org.jogre.common.comm.CommControllerProperty
Type is a String.
Table - class org.jogre.common.Table.
Server side data object which holds information on various tables and their current users etc.
Table(int, String, boolean, JogrePropertyHash) - Constructor for class org.jogre.common.Table
Create a table and 1 user (owner)
Table(XMLElement) - Constructor for class org.jogre.common.Table
Create Table object from a String.
TableConnectionThread - class org.jogre.client.TableConnectionThread.
Convience class for sending message from a table client frame in JOGRE.
TableConnectionThread(ClientConnectionThread, int) - Constructor for class org.jogre.client.TableConnectionThread
Constructor which takes a ClientConnectionThread and a table number.
TableLayout - class info.clearthought.layout.TableLayout.
TableLayout is a layout manager that arranges components in rows and columns like a spreadsheet.
TableLayout() - Constructor for class info.clearthought.layout.TableLayout
Constructs an instance of TableLayout.
TableLayout(double[][]) - Constructor for class info.clearthought.layout.TableLayout
Constructs an instance of TableLayout.
TableLayout(double[], double[]) - Constructor for class info.clearthought.layout.TableLayout
Constructs an instance of TableLayout.
TableLayout.Entry - class info.clearthought.layout.TableLayout.Entry.
 
TableLayout.Entry(Component, TableLayoutConstraints) - Constructor for class info.clearthought.layout.TableLayout.Entry
Constructs an Entry that binds a component to a set of constraints.
TableLayoutConstants - interface info.clearthought.layout.TableLayoutConstants.
TableLayoutConstants define the constants used by all the TableLayout classes.
TableLayoutConstraints - class info.clearthought.layout.TableLayoutConstraints.
TableLayoutConstraints binds components to their constraints.
TableLayoutConstraints() - Constructor for class info.clearthought.layout.TableLayoutConstraints
Constructs an TableLayoutConstraints with the default settings.
TableLayoutConstraints(String) - Constructor for class info.clearthought.layout.TableLayoutConstraints
Constructs an TableLayoutConstraints from a string.
TableLayoutConstraints(int, int, int, int, int, int) - Constructor for class info.clearthought.layout.TableLayoutConstraints
Constructs an TableLayoutConstraints a set of constraints.
TableList - class org.jogre.common.TableList.
Contains a HashMap of all the Table objects currently in play.
TableList() - Constructor for class org.jogre.common.TableList
Default constructor which sets up a brand new TableList object with no Tables in its HashMap.
TableList(XMLElement) - Constructor for class org.jogre.common.TableList
Constructor which recreates a Table object using a String from the ITransmittable.flatten() method from another TableList object.
TransmissionException - exception org.jogre.common.TransmissionException.
 
TransmissionException() - Constructor for class org.jogre.common.TransmissionException
Empty constructor.
TransmissionException(String) - Constructor for class org.jogre.common.TransmissionException
Constructor which takes a message.
table - Variable in class org.jogre.client.awt.JogreTableFrame
 
tableList - Variable in class org.jogre.common.Game
List of tables current being played on this server.
tableNum - Variable in class org.jogre.client.JogreController
Table number which this controller is controlling.
tableNum - Variable in class org.jogre.client.awt.JogreTableFrame
 
tableNum - Variable in class org.jogre.common.comm.CommInvite
Table number.
tableNum - Variable in class org.jogre.common.comm.CommTableMessage
Table number.
tablelist - Variable in class org.jogre.common.TableList
HashMap containing a number of Table objects.
toString() - Method in class info.clearthought.layout.TableLayout.Entry
Gets the string representation of this Entry.
toString() - Method in class info.clearthought.layout.TableLayout
Converts this TableLayout to a string.
toString() - Method in class info.clearthought.layout.TableLayoutConstraints
Gets a string representation of this TableLayoutConstraints.
toString(boolean) - Method in class nanoxml.XMLElement
Writes the XML element to a string with the option of indentation.
toString() - Method in class nanoxml.XMLElement
Writes the XML element to a string.
toString() - Method in class org.jogre.client.awt.JTreeXMLElement
Transform the XML element into a string.
toString() - Method in class org.jogre.common.Game
Return the game as a String.
toString() - Method in class org.jogre.common.Player
String representation of this player.
toString() - Method in class org.jogre.common.PlayerList
 
toString() - Method in class org.jogre.common.Table
Return the String version of this table.
toString() - Method in class org.jogre.common.UserList
Return String version of the userList.
toString() - Method in class org.jogre.common.comm.CommGameMessage
Flatten a JOGRE message and indent it.
toString() - Method in class org.jogre.common.games.Card
Outputs the Card object in a string format
toString() - Method in class org.jogre.common.games.Deck
A string representation of the deck of cards.
toString() - Method in class org.jogre.common.playerstate.PlayerStateGameStarted
 
toString() - Method in class org.jogre.common.playerstate.PlayerStateReady
 
toString() - Method in class org.jogre.common.playerstate.PlayerStateSeated
 
toString() - Method in class org.jogre.common.playerstate.PlayerStateViewing
 
toString() - Method in class org.jogre.common.util.JogrePropertyHash
Return the contents of the HashMap of format: "key1=value1, key2=value2, ...

U

USER - Static variable in interface org.jogre.common.comm.Comm
Header token of the data class User.
USER_ALREADY_CONNECTED - Static variable in class org.jogre.common.comm.CommError
Status code for a user is already connected.
USER_LIST - Static variable in interface org.jogre.common.comm.Comm
Header token of the data class UserList.
USER_LOGON_INCORRECT - Static variable in class org.jogre.common.comm.CommError
Status code for a user login is incorrect (username / password).
USER_NOT_CONNECTED - Static variable in class org.jogre.common.comm.CommError
Status code for a user who is not connected but is trying to send a message.
USER_RESIGNS - Static variable in interface org.jogre.common.IGameOver
A user resigns.
User - class org.jogre.common.User.
Transmittable user data object.
User(String, int, int, int, int, int) - Constructor for class org.jogre.common.User
User constructor which takes a username, rating, number of wins, loses, draws and a user streak.
User(XMLElement) - Constructor for class org.jogre.common.User
Constructor which creates a User object from the flatten () method of another User object.
UserLabel - class org.jogre.client.awt.UserLabel.
Small class which shows a rating square beside a players name.
UserLabel() - Constructor for class org.jogre.client.awt.UserLabel
Create a user label with a blank user.
UserLabel(User) - Constructor for class org.jogre.client.awt.UserLabel
Create a new user label where the label size is of type TableLayout.PREFFERRED.
UserLabel(User, double) - Constructor for class org.jogre.client.awt.UserLabel
Create a new user label with a specified label width.
UserList - class org.jogre.common.UserList.
Transmittable user list data object.
UserList() - Constructor for class org.jogre.common.UserList
Default constructor of a UserList object.
UserList(XMLElement) - Constructor for class org.jogre.common.UserList
Constructor which reads a user list from a String.
unexpectedEndOfData() - Method in class nanoxml.XMLElement
Creates a parse exception for when the end of the data input has been reached.
unknownEntity(String) - Method in class nanoxml.XMLElement
Creates a parse exception for when an entity could not be resolved.
unreadChar(char) - Method in class nanoxml.XMLElement
Pushes a character back to the read-back buffer.
update(Observable, Object) - Method in class org.jogre.client.awt.JAvailableSeats
Refresh the available seats component.
update(Observable, Object) - Method in class org.jogre.client.awt.JTableList
Refresh when the data has been updated on the userlist.
update(Observable, Object) - Method in class org.jogre.client.awt.JTablePlayers
 
update(Observable, Object) - Method in class org.jogre.client.awt.JUserList
Refresh when the data has been updated on the userlist.
update(Observable, Object) - Method in class org.jogre.client.awt.JogreClientApplet
Delegate method for updating the GUI applet.
update(Observable, Object) - Method in class org.jogre.client.awt.JogreClientFrame
Delegate method for updating the panel.
update(Observable, Object) - Method in class org.jogre.client.awt.JogreClientPanel
Update method on observer when the data changes.
update(Observable, Object) - Method in class org.jogre.client.awt.JogreComponent
 
update(Observable, Object) - Method in class org.jogre.client.awt.JogreTableFrame
Update and refresh the buttons when the data changes.
update(int, int) - Method in class org.jogre.common.User
Update a user depending on a result type and their new rating.
updateTable(int, Table) - Method in class org.jogre.common.TableList
Update a table in the table list.
userList - Variable in class org.jogre.common.Game
List of users which are currently connected to the server.
userlist - Variable in class org.jogre.common.UserList
List of users.
username - Variable in class org.jogre.client.awt.JogreTableFrame
 
username - Variable in class org.jogre.common.AbstractConnectionThread
Username of the client.
username - Variable in class org.jogre.common.User
Username of User.
username - Variable in class org.jogre.common.comm.CommGameMessage
Username of the person who sent this message.
usernameFrom - Variable in class org.jogre.client.awt.ChatGameComponent
Sending username.
usernameTo - Variable in class org.jogre.client.awt.ChatGameComponent
Receiving username.
usernameTo - Variable in class org.jogre.common.comm.CommGameMessage
Username of the person who this is being sent to (if empty then no one).

V

VERSION - Static variable in interface org.jogre.common.IJogre
Link to the current version of JOGRE.
VIEWING - Static variable in class org.jogre.common.playerstate.PlayerState
Player is simply viewing a table.
vAlign - Variable in class info.clearthought.layout.TableLayoutConstraints
Verical justification if component occupies just one cell
vGap - Variable in class info.clearthought.layout.TableLayout
Vertical gap between rows
valueChanged(TreeSelectionEvent) - Method in class org.jogre.client.awt.JRulesDialog
This routine is called when the user selects a different entry of the tree.
valueOf(int[]) - Static method in class org.jogre.common.util.JogreUtils
Convert simple integer array to space delimited String.
valueOf(boolean[]) - Static method in class org.jogre.common.util.JogreUtils
Convert simple boolean array to space delimited String.
valueOf(String[]) - Static method in class org.jogre.common.util.JogreUtils
Convert simple String array to space delimited String.
valueOf(Date, String) - Static method in class org.jogre.common.util.JogreUtils
Return the data as a String formatted with a specified String.

W

WIN - Static variable in interface org.jogre.common.IGameOver
Player wins a game.
wins - Variable in class org.jogre.common.User
Score rating of User.
write(Writer, int) - Method in class nanoxml.XMLElement
Writes the XML element to a writer with indentation.
write(Writer) - Method in class nanoxml.XMLElement
Writes the XML element to a writer.
writeEncoded(Writer, String) - Method in class nanoxml.XMLElement
Writes a string encoded to a writer.

X

XMLElement - class nanoxml.XMLElement.
XMLElement is a representation of an XML object.
XMLElement() - Constructor for class nanoxml.XMLElement
Creates and initializes a new XML element.
XMLElement(String) - Constructor for class nanoxml.XMLElement
Constructor which takes a name and also sets ignoreCase to false.
XMLElement(Hashtable) - Constructor for class nanoxml.XMLElement
Creates and initializes a new XML element.
XMLElement(boolean) - Constructor for class nanoxml.XMLElement
Creates and initializes a new XML element.
XMLElement(Hashtable, boolean) - Constructor for class nanoxml.XMLElement
Creates and initializes a new XML element.
XMLElement(Hashtable, boolean, boolean) - Constructor for class nanoxml.XMLElement
Creates and initializes a new XML element.
XMLElement(Hashtable, boolean, boolean, boolean) - Constructor for class nanoxml.XMLElement
Creates and initializes a new XML element.
XMLParseException - exception nanoxml.XMLParseException.
An XMLParseException is thrown when an error occures while parsing an XML string.
XMLParseException(String, String) - Constructor for class nanoxml.XMLParseException
Creates an exception.
XMLParseException(String, int, String) - Constructor for class nanoxml.XMLParseException
Creates an exception.
XML_ATT_CARD_FACE_UP - Static variable in class org.jogre.common.games.Card
 
XML_ATT_CARD_INT_VALUE - Static variable in class org.jogre.common.games.Card
 
XML_ATT_CARD_STRING_VALUE - Static variable in class org.jogre.common.games.Card
 
XML_ATT_CARD_SUIT - Static variable in class org.jogre.common.games.Card
 
XML_ATT_DATA_TYPE - Static variable in class org.jogre.common.comm.CommRequestData
 
XML_ATT_NAME - Static variable in class org.jogre.common.Player
 
XML_ATT_POSITION - Static variable in class org.jogre.common.games.Deck
 
XML_ATT_PROPERTIES - Static variable in interface org.jogre.common.comm.ITransmittableWithProps
Attribute name of properties.
XML_ATT_SEAT - Static variable in class org.jogre.common.Player
 
XML_ATT_SEAT - Static variable in class org.jogre.common.comm.CommPlayerState
 
XML_ATT_STATE - Static variable in class org.jogre.common.Player
 
XML_ATT_STATE - Static variable in class org.jogre.common.comm.CommPlayerState
 
XML_ATT_STATUS - Static variable in class org.jogre.common.comm.CommGameMessage
Type of message is used to determine which layer the message is for.
XML_ATT_TABLE_NUM - Static variable in class org.jogre.common.comm.CommTableMessage
XML attribute for table number.
XML_ATT_USERNAME - Static variable in class org.jogre.common.comm.CommGameMessage
 
XML_ATT_USERNAME_TO - Static variable in class org.jogre.common.comm.CommGameMessage
 
XML_NAME - Static variable in class org.jogre.common.games.Card
 
XML_NAME - Static variable in class org.jogre.common.games.Deck
 
xmlElement - Variable in class org.jogre.client.awt.JTreeXMLElement
 

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