Serialized Form


Package ks.common.command

Class ks.common.command.Command extends ArgumentList implements Serializable

Serialized Fields

quittable

boolean quittable
Does the execution of this command cause the client to quit? Default to False


error

boolean error
Is this a type of Error.

Class ks.common.command.ErrorCommand extends Command implements Serializable

Class ks.common.command.HelpCommand extends Command implements Serializable

Class ks.common.command.QuitCommand extends Command implements Serializable


Package ks.protocol

Class ks.protocol.BulkLoginMessage extends Message implements Serializable

Serialized Fields

users

java.util.ArrayList users
Arraylist of users.

Class ks.protocol.ChatCommand extends Command implements Serializable

Class ks.protocol.CreateCommand extends Command implements Serializable

Class ks.protocol.FingerCommand extends Command implements Serializable

Class ks.protocol.GameOverCommand extends Command implements Serializable

Class ks.protocol.JoinCommand extends Command implements Serializable

Class ks.protocol.LeaveTableCommand extends Command implements Serializable

Class ks.protocol.LogoutCommand extends Command implements Serializable

Class ks.protocol.OutputCommand extends Command implements Serializable

Class ks.protocol.PlugInManagerCommand extends Command implements Serializable

Class ks.protocol.PlugInManagerMessage extends Message implements Serializable

Class ks.protocol.ProtocolCommand extends Command implements Serializable

Class ks.protocol.RejoinCommand extends Command implements Serializable

Class ks.protocol.ShoutCommand extends Command implements Serializable

Class ks.protocol.TableManagerCommand extends Command implements Serializable

Class ks.protocol.TablesCommand extends Command implements Serializable

Class ks.protocol.TellCommand extends Command implements Serializable

Class ks.protocol.UserManagerCommand extends Command implements Serializable

Class ks.protocol.UserManagerMessage extends Message implements Serializable

Class ks.protocol.WhoCommand extends Command implements Serializable


Package ks.common.view

Class ks.common.view.Container extends java.awt.Canvas implements Serializable

Serialized Fields

widgets

Widget[] widgets
Widgets stored by this container.


numWidgets

int numWidgets
number of widgets.


potentialSize

int potentialSize
Growth/initial size of the array


game

Solitaire game
The game to be played.


activeDraggingObject

Widget activeDraggingObject
Manage an object that is currently being dragged (if at all).


cards

CardImages cards
The card images used in this container (as specified by the plugin).

Since:
V2.1

users

java.util.ArrayList users
Knows the set of users (by String) that are on the table. Note that this is accessed via updateGameInformationFromContainer(container) method as found in the Solitaire class.

Since:
V2.2

dragSource

Widget dragSource
The source widget from which a drag originated.

Since:
v1.6

draggingAnchor

java.awt.Point draggingAnchor
if an entity is being dragged, this point reflects the anchor Point within the widget (useful for ensuring smooth drags).


mouseManager

MouseManager mouseManager
Every container must have a mouseManager to coordinate reactions that don't occur in a widget.


backgroundImage

RectangleHierarchy backgroundImage
The hierarchy that remembers the background images to be redrawn.


visitor

RectangleHierarchyVisitor visitor
Visitor to be used for this container.


lastDrag

java.awt.Point lastDrag
What was the point of the last drag.


dragging

boolean dragging
Has a widget told us that a drag is in progress?


status

Status status
Status of the game in the container. Also maintains numerous statistics.


gameInterface

IGameInterface gameInterface
Container's external interface for speaking to the KombatSolitaire server.


active

boolean active
A Container is active once the game has started. Prior to that all events are disabled.


currentUser

java.lang.String currentUser
Container knows the name of the current user on which Container is being played.

Since:
V2.2


Package ks.common.gui

Class ks.common.gui.ConfirmActionDialog extends java.awt.Dialog implements Serializable

Serialized Fields

confirm

boolean confirm

ivjactionField

java.awt.TextField ivjactionField

ivjContentsPane

java.awt.Panel ivjContentsPane

ivjEventHandler

ConfirmActionDialog.IvjEventHandler ivjEventHandler

ivjnoButton

java.awt.Button ivjnoButton

ivjtextLabel

java.awt.Label ivjtextLabel

ivjyesButton

java.awt.Button ivjyesButton


Package ks.common

Class ks.common.ArgumentList extends java.lang.Object implements Serializable

Serialized Fields

multiValues

java.util.Hashtable multiValues
MultiValues hash of ArrayList of Strings. key=paramName value=ArrayList of Strings. Must be protected to properly enable serializability to work!


singleValues

java.util.Hashtable singleValues
SingleValues hash of ArrayList of Strings. key=paramName value=String Must be protected to properly enable serializability to work!


Package ks.common.message

Class ks.common.message.ClientMessage extends Message implements Serializable

Class ks.common.message.LoginMessage extends Message implements Serializable

Class ks.common.message.LogoutMessage extends Message implements Serializable

Class ks.common.message.Message extends ArgumentList implements Serializable

Serialized Fields

scope

java.lang.String scope
The scope for this message.


user

java.lang.String user
The user from which this message originates.


target

java.lang.String target
The user for which this message is intended.

Class ks.common.message.OutputMessage extends Message implements Serializable

Serialized Fields

msg

java.lang.String msg
Message to be output on the client.

Class ks.common.message.QuitMessage extends Message implements Serializable


Package ks.domain

Class ks.domain.GameResult extends java.lang.Object implements Serializable

Serialized Fields

allStats

java.util.Vector allStats
Hold players stats.


gameType

java.lang.String gameType
type of game.


numPlayers

int numPlayers
numPlayers.


gameStartTime

java.util.Date gameStartTime
starting time.

Class ks.domain.GameStat extends java.lang.Object implements Serializable

Serialized Fields

user

java.lang.String user
The user.


score

int score
Score for the user.


didWin

boolean didWin
Did the player win.

Class ks.domain.Status extends java.lang.Object implements Serializable

Serialized Fields

numCardsLeft

int numCardsLeft
Number of cards left in the deck.


currentScore

int currentScore
Score for the current game.


numWins

int numWins
Number of wins so far.


numLosses

int numLosses
Number of losses so far.


numResetHands

int numResetHands
Number of times user clicked on Reset Hands.


numUndoRequests

int numUndoRequests
Number of times user requested to undo.


newHands

int newHands
Number of times user has selected a new hand.


overallScore

int overallScore
Represents total score over all hands played on this table.


user

java.lang.String user
User for whom these statistics were calculated.

Class ks.domain.Table extends java.lang.Object implements Serializable

Serialized Fields

count

int count
Current number of players [ACTIVE INFORMATION]


userName

java.lang.String[] userName
user names. [ACTIVE INFORMATION]


name

java.lang.String name
Name of table. (alphanumeric, no spaces)


type

java.lang.String type
Type of table.


numPlayers

int numPlayers
Desired number of players in the table, or actual number once active. (1..6)


seed

int seed
Initial game seed. (1 .. Integer.MAX_VALUE)


increment

int increment
Game increment (1..300).


active

boolean active
Is this game active?


gameLength

int gameLength
Length of a game (minGameLength .. maxGameLength)


access

java.lang.String access
Access permissions for Table.


moderator

java.lang.String moderator
Moderator for table (since V1.7.3).


innerPlayers

java.util.Vector innerPlayers
Generated on the fly to speed up players() method.