Serialized Form


Package info.clearthought.layout

Class info.clearthought.layout.SingleFiledLayout extends Object implements Serializable

Serialized Fields

orientation

int orientation
ROW or COLUMN -- should the components be aligned in a row or column


justification

int justification
LEFT, TOP, CENTER, FULL, BOTTOM, RIGHT -- how should components of different sizes be aligned


gap

int gap
Space between components in pixels

Class info.clearthought.layout.TableLayout extends Object implements Serializable

Serialized Fields

crSpec

double[][] crSpec
Sizes of crs expressed in absolute and relative terms


crSize

int[][] crSize
Sizes of crs in pixels


crOffset

int[][] crOffset
Offsets of crs in pixels. The left boarder of column n is at crOffset[C][n] and the right boarder is at cr[C][n + 1] for all columns including the last one. crOffset[C].length = crSize[C].length + 1


list

LinkedList list
List of components and their sizes


dirty

boolean dirty
Indicates whether or not the size of the cells are known for the last known size of the container. If dirty is true or the container has been resized, the cell sizes must be recalculated using calculateSize.


oldWidth

int oldWidth
Previous known width of the container


oldHeight

int oldHeight
Previous known height of the container


hGap

int hGap
Horizontal gap between columns


vGap

int vGap
Vertical gap between rows


Package nanoxml

Class nanoxml.XMLParseException extends RuntimeException implements Serializable

Serialized Fields

lineNr

int lineNr
The line number in the source code where the error occurred, or NO_LINE if the line number is unknown.
Invariants:
  • lineNr > 0 || lineNr == NO_LINE


Package org.jogre.client.awt

Class org.jogre.client.awt.AbstractBoardComponent extends JogreComponent implements Serializable

Serialized Fields

BORDER_LETTERS

String[] BORDER_LETTERS

letterFont

Font letterFont

fontMetrics

FontMetrics fontMetrics

numOfRows

int numOfRows
Number of rows in the board.


numOfCols

int numOfCols
Number of columns in the board.


cellSize

int cellSize
Size of cell in pixels.


cellSpacing

int cellSpacing
Spacing between cells in pixels.


borderWidth

int borderWidth
Width of the border in pixels.


mouseBorderWidth

int mouseBorderWidth
Width of the mouse border.


isDrawLetters

boolean isDrawLetters
If true letters/numbers are drawn on the left and bottom of the board.


isAlternateBackground

boolean isAlternateBackground
Boolean to indicate alternate style background. i.e. chess style board.


isReversed

boolean isReversed
If this variable is true the board will be flipped.


cellColour1

Color cellColour1
Colour of cell one.


cellColour2

Color cellColour2
Colour of cell two.


spacingColour

Color spacingColour
Colour of spacing colour.


mouseBorderColour

Color mouseBorderColour
Colour of the mouse border.


pressedPoint

Point pressedPoint
Stores the value of a mouse down.


dragPoint

Point dragPoint
Stores the value of where the point is being dragged.

Class org.jogre.client.awt.ChatGameComponent extends JPanel implements Serializable

Serialized Fields

messageOutput

JTextArea messageOutput
Main message ouput box.


messageInput

JTextField messageInput
Small message input box.


scrolledMessageOutput

JScrollPane scrolledMessageOutput

sendButton

JButton sendButton

conn

ClientConnectionThread conn

usernameFrom

String usernameFrom
Sending username.


usernameTo

String usernameTo
Receiving username.

Class org.jogre.client.awt.ChatPrivateDialog extends JDialog implements Serializable

Serialized Fields

messageComponent

ChatGameComponent messageComponent

Class org.jogre.client.awt.ChatTableComponent extends ChatGameComponent implements Serializable

Serialized Fields

conn

TableConnectionThread conn

Class org.jogre.client.awt.ConnectionDialog extends JDialog implements Serializable

Serialized Fields

usernameTextField

JTextField usernameTextField

serverTextField

JTextField serverTextField

portTextField

JTextField portTextField

statusLabel

JLabel statusLabel

okButton

JButton okButton

cancelButton

JButton cancelButton

connection

Socket connection

error

boolean error

Class org.jogre.client.awt.JAvailableSeats extends JComboBox implements Serializable

Serialized Fields

conn

TableConnectionThread conn
Link to the ClientConnectionThread (PlayerList is of interest).


tableNum

int tableNum
Table number.


seatsStr

String[] seatsStr
Visual text which makes up this combo box.

Class org.jogre.client.awt.JogreButton extends JComponent implements Serializable

Serialized Fields

width

int width

height

int height

bgColor

Color bgColor

textColor

Color textColor

lineColor

Color lineColor

mouseUp

boolean mouseUp

text

String text

Class org.jogre.client.awt.JogreClientFrame extends JFrame implements Serializable

Serialized Fields

conn

ClientConnectionThread conn

tableListBox

JTableList tableListBox

userListBox

JUserList userListBox

visiblityCombo

JComboBox visiblityCombo

infoButton

JButton infoButton

messageButton

JButton messageButton

newGameButton

JButton newGameButton

joinButton

JButton joinButton

inviteButton

JButton inviteButton

messageBox

ChatGameComponent messageBox

tableFramesHash

HashMap tableFramesHash

privateMessagesHash

HashMap privateMessagesHash

jogreLabels

JogreLabels jogreLabels

gameProperties

GameProperties gameProperties

Class org.jogre.client.awt.JogreComponent extends JComponent implements Serializable

Class org.jogre.client.awt.JogreTableFrame extends JFrame implements Serializable

Serialized Fields

tableUpdateRefreshesModel

boolean tableUpdateRefreshesModel
Boolean to indicate that a table update will refresh the model in that particular table.


title

String title

username

String username

conn

TableConnectionThread conn

tableNum

int tableNum

gameModel

JogreModel gameModel

gameController

JogreController gameController

gameMainView

JogreComponent gameMainView

gamePanel

JPanel gamePanel

topPanel

JPanel topPanel

messageComponent

ChatTableComponent messageComponent

sitButton

JButton sitButton

standButton

JButton standButton

startButton

JButton startButton

offerDrawButton

JButton offerDrawButton

resignButton

JButton resignButton

availablePlayers

JAvailableSeats availablePlayers

tablePlayers

JTablePlayers tablePlayers

Class org.jogre.client.awt.JTableList extends JList implements Serializable

Serialized Fields

conn

ClientConnectionThread conn
Data (table list).

Class org.jogre.client.awt.JTablePlayers extends JList implements Serializable

Serialized Fields

conn

TableConnectionThread conn

tableNum

int tableNum

Class org.jogre.client.awt.JUserList extends JList implements Serializable

Serialized Fields

conn

ClientConnectionThread conn


Package org.jogre.common

Class org.jogre.common.TransmissionException extends Exception implements Serializable


Package org.jogre.common.util

Class org.jogre.common.util.JogrePropertyHash extends HashMap implements Serializable