Serialized Form
-
Package net.sf.colossus.appmain
-
Class net.sf.colossus.appmain.GetPlayers
class GetPlayers extends KFrame implements Serializable-
Serialized Fields
-
byWebClient
boolean byWebClient
-
delayLabel
JLabel delayLabel
-
eventExpiringBox
JComboBox eventExpiringBox
-
mutex
Object mutex
-
mutexNotified
boolean mutexNotified
-
oldDelay
int oldDelay
-
oldLimit
int oldLimit
-
options
Options options
This is Game's options, which we will modify directly. -
playerNames
JComboBox[] playerNames
-
playerTypes
JComboBox[] playerTypes
-
quitAlreadyTried
boolean quitAlreadyTried
-
readme
JEditorPane readme
-
readmeScrollPane
JScrollPane readmeScrollPane
-
runningOnLabel
JLabel runningOnLabel
-
saveWindow
SaveWindow saveWindow
-
serveAtPort
int serveAtPort
-
serveAtPortBox
JComboBox serveAtPortBox
-
sPortChoices
TreeSet<String> sPortChoices
-
stOptions
Options stOptions
-
tabbedPane
JTabbedPane tabbedPane
-
timeLimitLabel
JLabel timeLimitLabel
-
typeChoices
Vector<String> typeChoices
-
variantBox
JComboBox variantBox
-
variantVector
Vector<String> variantVector
-
viewModeBox
JComboBox viewModeBox
-
whatNextManager
WhatNextManager whatNextManager
-
-
-
Class net.sf.colossus.appmain.NetworkClientDialog
class NetworkClientDialog extends KFrame implements Serializable-
Serialized Fields
-
hostBox
JComboBox hostBox
-
hostname
String hostname
-
mutex
Object mutex
-
nameBox
JComboBox nameBox
-
netclientOptions
Options netclientOptions
-
playerName
String playerName
-
port
int port
-
portBox
JComboBox portBox
-
saveWindow
SaveWindow saveWindow
-
stOptions
Options stOptions
-
whatNextManager
WhatNextManager whatNextManager
-
-
-
Class net.sf.colossus.appmain.WelcomeDialog
class WelcomeDialog extends KFrame implements Serializable
-
-
Package net.sf.colossus.client
-
Exception net.sf.colossus.client.Client.ConnectionInitException
class ConnectionInitException extends Exception implements Serializable -
Class net.sf.colossus.client.HexMap
class HexMap extends JPanel implements Serializable-
Serialized Fields
-
basicName
String basicName
-
cx
int cx
-
cy
int cy
-
displayName
String displayName
-
entrances
GUIBattleHex[] entrances
ne, e, se, sw, w, nw -
h
GUIBattleHex[][] h
-
hexes
List<GUIBattleHex> hexes
-
masterHex
MasterHex masterHex
-
scale
int scale
-
subtitle
String subtitle
-
-
-
-
Package net.sf.colossus.game
-
Class net.sf.colossus.game.MarkerComparator
class MarkerComparator extends Object implements Serializable-
Serialized Fields
-
shortColor
String shortColor
-
-
-
-
Package net.sf.colossus.gui
-
Class net.sf.colossus.gui.AbstractShowRecruits
class AbstractShowRecruits extends KDialog implements Serializable -
Class net.sf.colossus.gui.BattleBoard
class BattleBoard extends KFrame implements Serializable-
Serialized Fields
-
alreadyConceded
boolean alreadyConceded
-
battleMap
BattleMap battleMap
-
concedeBattleAction
AbstractAction concedeBattleAction
-
dicePanel
BattleBoard.DicePanel dicePanel
-
doneWithPhaseAction
AbstractAction doneWithPhaseAction
-
gui
ClientGUI gui
-
helpMenu
JMenu helpMenu
-
infoPanel
BattleBoard.InfoPanel infoPanel
-
infoText
String infoText
-
menuBar
JMenuBar menuBar
-
phaseMenu
JMenu phaseMenu
-
saveWindow
SaveWindow saveWindow
-
selectedCritterTag
int selectedCritterTag
tag of the selected critter, or -1 if no critter is selected. -
showTerrainHazardAction
AbstractAction showTerrainHazardAction
-
undoAllAction
AbstractAction undoAllAction
-
undoLastAction
AbstractAction undoLastAction
-
-
-
Class net.sf.colossus.gui.BattleMap
class BattleMap extends HexMap implements Serializable -
Class net.sf.colossus.gui.BattleTerrainHazardWindow
class BattleTerrainHazardWindow extends KDialog implements Serializable-
Serialized Fields
-
creatures
SortedSet<CreatureType> creatures
-
hazardsDisplayed
Map<String,
HazardTerrain> hazardsDisplayed -
hex
MasterHex hex
-
hexsidesDisplayed
Map<String,
HazardHexside> hexsidesDisplayed -
variant
Variant variant
-
-
-
Class net.sf.colossus.gui.CCVFlowLayout
class CCVFlowLayout extends FlowLayout implements Serializable-
Serialized Fields
-
parentComponent
JComponent parentComponent
-
parentScrollPane
JScrollPane parentScrollPane
-
-
-
Class net.sf.colossus.gui.ColumnWidthPersistingJTable
class ColumnWidthPersistingJTable extends JTable implements Serializable -
Class net.sf.colossus.gui.ConnectionLogWindow
class ConnectionLogWindow extends KFrame implements Serializable-
Serialized Fields
-
document
Document document
-
options
Options options
-
scrollPane
JScrollPane scrollPane
-
textArea
JTextArea textArea
-
-
-
Class net.sf.colossus.gui.EditLegion.LegionEditPanel
class LegionEditPanel extends JPanel implements Serializable-
Serialized Fields
-
valueText
String valueText
-
-
-
Class net.sf.colossus.gui.GUIBattleChit
class GUIBattleChit extends Chit implements Serializable -
Class net.sf.colossus.gui.GUIBattleHex
-
Serialized Fields
-
cx
int cx
-
cy
int cy
-
map
Component map
-
neighbors
GUIBattleHex[] neighbors
Stores the neighboring views. This parallels the neighbors field in BattleHex, just on the view side. TODO check if we can avoid this -
scale
int scale
-
-
-
Class net.sf.colossus.gui.GUIHex
class GUIHex extends JComponent implements Serializable-
Serialized Fields
-
hexagon
GeneralPath hexagon
-
len
double len
-
model
H extends Hex model
-
rectBound
Rectangle rectBound
-
selected
boolean selected
-
xVertex
double[] xVertex
-
yVertex
double[] yVertex
-
-
-
Class net.sf.colossus.gui.GUIMasterHex
-
Serialized Fields
-
fontMetrics
FontMetrics fontMetrics
-
halfFontHeight
int halfFontHeight
-
highlightBorder
GeneralPath highlightBorder
-
inverted
boolean inverted
-
offCenter
Point offCenter
-
selectColor
Color selectColor
-
weakBoardRef
WeakReference<MasterBoard> weakBoardRef
-
-
-
Class net.sf.colossus.gui.HexRecruitTreePanel
class HexRecruitTreePanel extends Box implements Serializable-
Serialized Fields
-
chitToCreatureMap
Map<Chit,
CreatureType> chitToCreatureMap -
creatureWindows
List<ShowCreatureDetails> creatureWindows
-
gui
ClientGUI gui
-
ivariant
IVariant ivariant
-
parentFrame
JFrame parentFrame
-
variant
Variant variant
-
-
-
Class net.sf.colossus.gui.LegionInfoPanel
class LegionInfoPanel extends JPanel implements Serializable-
Serialized Fields
-
valueText
String valueText
-
-
-
Class net.sf.colossus.gui.LogWindow
class LogWindow extends JTextArea implements Serializable-
Serialized Fields
-
handler
SwingDocumentLogHandler handler
-
location
Point location
-
logFrame
JFrame logFrame
-
logger
Logger logger
-
options
Options options
-
saveWindow
SaveWindow saveWindow
-
scrollPane
JScrollPane scrollPane
-
size
Dimension size
-
-
-
Class net.sf.colossus.gui.Marker
class Marker extends Chit implements Serializable -
Class net.sf.colossus.gui.MasterBoard
class MasterBoard extends JPanel implements Serializable-
Serialized Fields
-
aboutAction
AbstractAction aboutAction
-
bottomBar
MasterBoard.BottomBar bottomBar
our own little bar implementation -
cachedPlayerName
String cachedPlayerName
-
checkboxes
Map<String,
JCheckBoxMenuItem> checkboxes -
checkConnectionAction
AbstractAction checkConnectionAction
-
chooseScreenAction
AbstractAction chooseScreenAction
-
cleanDisconnectAction
AbstractAction cleanDisconnectAction
-
clearRecruitChitsAction
AbstractAction clearRecruitChitsAction
-
client
Client client
-
closeBoardAction
AbstractAction closeBoardAction
-
contentPane
Container contentPane
-
defenderFleePhase
boolean defenderFleePhase
In that time while we got tellEngagement but nothing else (bottom bar just tells engaged, but no other visible notice of what's going on), we might be waiting for the opponent to think about whether to flee or not. So if user is impatient and clicks a hex with any (same, or other) engagement, inform him we are already engaged right now and probably opponent is currently thinking about whether to flee or not. Once we receive showConcede or showNegotiate messages, this time window is over, after that we don't say this about the "perhaps opponent is currently thinking whether to flee" any more. -
doneWithPhaseAction
AbstractAction doneWithPhaseAction
-
editLegionOngoing
EditLegion editLegionOngoing
-
editMenu
JMenu editMenu
-
enforcedDisconnectByServerAction
AbstractAction enforcedDisconnectByServerAction
-
engagingPendingHex
MasterHex engagingPendingHex
engage() has been sent to server but answer (tellEngagement()) not received yet; mostly we have this, to be able to react properly when user clicks on an engagement while there is still the server response missing for the last one -
forcedDoneWithPhaseAction
AbstractAction forcedDoneWithPhaseAction
-
gameOverStateReached
boolean gameOverStateReached
-
gui
ClientGUI gui
-
guiHexArray
GUIMasterHex[][] guiHexArray
-
iph
MasterBoard.InfoPopupHandler iph
-
itemHandler
ItemListener itemHandler
-
kickPhaseAction
AbstractAction kickPhaseAction
-
lastPoint
Point lastPoint
Last point clicked is needed for popup menus. -
legionFlyouts
JPanel[] legionFlyouts
-
legionToMarkerMap
LinkedHashMap<Legion,
Marker> legionToMarkerMap List of markers which are currently on the board, for painting in z-order => the end of the list is on top. Now synchronized access to prevent NPEs when EDT wants to paint a marker and asks for the legion for it, and legion has just been removed. I don't use a synchronizedList, because then I get into trouble in the recreateMarkers method. -
loadGameAction
AbstractAction loadGameAction
-
masterFrame
KFrame masterFrame
-
mbwh
MasterBoard.MasterBoardWindowHandler mbwh
-
newGameAction
AbstractAction newGameAction
-
nextLegionAction
AbstractAction nextLegionAction
-
offScreenBuffer
Image offScreenBuffer
-
overlayChanged
boolean overlayChanged
-
phaseMenu
JMenu phaseMenu
-
playerLabelDone
boolean playerLabelDone
-
popupMenu
JPopupMenu popupMenu
-
popupMenuWithLegions
JPopupMenu popupMenuWithLegions
-
possibleRecruitChits
Map<MasterHex,
List<Chit>> possibleRecruitChits -
preferencesAction
AbstractAction preferencesAction
-
quitGameAction
AbstractAction quitGameAction
-
recruitedChits
Map<Legion,
Chit> recruitedChits -
relocateOngoing
EditLegion relocateOngoing
-
saveDuringEngagementDialogMessageShown
boolean saveDuringEngagementDialogMessageShown
Show the message that "saving during engagement/battle will store the last commit point" only once each game - flag that it has been shown -
saveGameAction
AbstractAction saveGameAction
-
saveGameAsAction
AbstractAction saveGameAsAction
-
saveWindow
SaveWindow saveWindow
-
scrollPane
JScrollPane scrollPane
The scrollbarspanel, needed to correct lastPoint. -
showHelpDoc
ShowHelpDoc showHelpDoc
-
showReadme
ShowReadme showReadme
-
skipLegionAction
AbstractAction skipLegionAction
-
takeMulliganAction
AbstractAction takeMulliganAction
-
tryReconnectAction
AbstractAction tryReconnectAction
-
undoAllAction
AbstractAction undoAllAction
-
undoLastAction
AbstractAction undoLastAction
-
viewBattleMapAction
AbstractAction viewBattleMapAction
-
viewFullRecruitTreeAction
AbstractAction viewFullRecruitTreeAction
-
viewHelpDocAction
AbstractAction viewHelpDocAction
-
viewHexRecruitTreeAction
AbstractAction viewHexRecruitTreeAction
-
viewLegionsAction
AbstractAction viewLegionsAction
-
viewReadmeAction
AbstractAction viewReadmeAction
-
viewWebClientAction
AbstractAction viewWebClientAction
-
viewWelcomeAction
AbstractAction viewWelcomeAction
-
withdrawFromGameAction
AbstractAction withdrawFromGameAction
-
-
-
Class net.sf.colossus.gui.PickIntValue
class PickIntValue extends KDialog implements Serializable-
Serialized Fields
-
model
SpinnerNumberModel model
-
newValue
int newValue
-
saveWindow
SaveWindow saveWindow
-
spinner
JSpinner spinner
-
-
-
Class net.sf.colossus.gui.PlayerDetailsDialog
class PlayerDetailsDialog extends KDialog implements Serializable-
Serialized Fields
-
gui
ClientGUI gui
-
player
PlayerClientSide player
-
-
-
Class net.sf.colossus.gui.ShowCreatureDetails
class ShowCreatureDetails extends KDialog implements Serializable-
Serialized Fields
-
battleStrikeSS
BattleStrikeServerSide battleStrikeSS
-
hazards
Collection<Hazards> hazards
-
ivariant
IVariant ivariant
-
-
-
Class net.sf.colossus.gui.ShowHelpDoc
class ShowHelpDoc extends KFrame implements Serializable -
Class net.sf.colossus.gui.ShowReadme
class ShowReadme extends KFrame implements Serializable-
Serialized Fields
-
myReadme
JEditorPane myReadme
-
-
-
-
Package net.sf.colossus.guiutil
-
Class net.sf.colossus.guiutil.DummyFrameWithMenu
class DummyFrameWithMenu extends KFrame implements Serializable-
Serialized Fields
-
closeBoardAction
AbstractAction closeBoardAction
-
disposed
boolean disposed
-
id
String id
-
-
-
Class net.sf.colossus.guiutil.KDialog
class KDialog extends JDialog implements Serializable-
Serialized Fields
-
kSaveWindow
SaveWindow kSaveWindow
-
-
-
Class net.sf.colossus.guiutil.KFrame
class KFrame extends JFrame implements Serializable-
Serialized Fields
-
kSaveWindow
SaveWindow kSaveWindow
-
-
-
-
Package net.sf.colossus.util
-
Class net.sf.colossus.util.DevRandom
class DevRandom extends Random implements Serializable-
Serialized Fields
-
randomSource
File randomSource
-
randStream
FileInputStream randStream
-
source
String source
-
-
-
Exception net.sf.colossus.util.ObjectCreationException
class ObjectCreationException extends Exception implements Serializable
-
-
Package net.sf.colossus.webclient
-
Class net.sf.colossus.webclient.GameTableModel
class GameTableModel extends AbstractTableModel implements Serializable -
Class net.sf.colossus.webclient.WebClient
class WebClient extends KFrame implements Serializable-
Serialized Fields
-
adminTab
Box adminTab
-
atDateField
JTextField atDateField
-
atTimeField
JTextField atTimeField
-
autoGamePaneCB
JCheckBox autoGamePaneCB
-
autoGSCloseRB
JRadioButton autoGSCloseRB
-
autoGSHideRB
JRadioButton autoGSHideRB
-
autoGSNothingRB
JRadioButton autoGSNothingRB
-
autologinCB
JCheckBox autologinCB
-
balancedTowersCB
JCheckBox balancedTowersCB
-
beepCountField
JTextField beepCountField
-
beepIntervalField
JTextField beepIntervalField
-
cancelButton
JButton cancelButton
-
clientIsUp
boolean clientIsUp
-
clientStartFailed
boolean clientStartFailed
-
comingUpMutex
Object comingUpMutex
-
commandField
JTextField commandField
-
createGamesTab
Box createGamesTab
-
debugSubmitButton
JButton debugSubmitButton
-
defaultLocation
Point defaultLocation
-
deletedGames
HashSet<String> deletedGames
-
dumpInfoButton
JButton dumpInfoButton
-
durationField
JTextField durationField
-
enrollButton
JButton enrollButton
-
enrolledInstantGameId
String enrolledInstantGameId
-
eventExpiringBox
JComboBox eventExpiringBox
-
failedDueToDuplicateLogin
boolean failedDueToDuplicateLogin
-
failedDueToOwnCancel
boolean failedDueToOwnCancel
-
gameClient
Client gameClient
-
gameHash
HashMap<String,
GameInfo> gameHash NOTE: shared with SocketThread, because WCST needs it to restore game tokens to an GameInfo object -
gameNrField
JTextField gameNrField
-
gameRunner
RunGameInSameJVM gameRunner
-
gamesCards
JPanel gamesCards
-
gamesTablesPanel
JPanel gamesTablesPanel
-
gamesUpdates
ArrayList<GameInfo> gamesUpdates
-
generalChat
ChatHandler generalChat
-
hideButton
JButton hideButton
-
hideButtonText
JLabel hideButtonText
-
hostname
String hostname
-
infoTextLabel
JLabel infoTextLabel
-
isAdmin
boolean isAdmin
-
localServer
Server localServer
-
login
String login
-
loginField
JTextField loginField
-
loginLogoutButton
JButton loginLogoutButton
-
maxLabel
JLabel maxLabel
-
myDateFormat
DateFormat myDateFormat
-
myTimeFormat
DateFormat myTimeFormat
-
notifyMessageField
JTextField notifyMessageField
-
notifyUserField
JTextField notifyUserField
-
nowDateAndTimeLabel
JLabel nowDateAndTimeLabel
-
options
Options options
-
password
String password
-
passwordField
JPasswordField passwordField
-
port
int port
-
preferencesPane
JPanel preferencesPane
-
propGamesCard
JPanel propGamesCard
-
proposeButton
JButton proposeButton
-
proposedGameDataModel
GameTableModel proposedGameDataModel
-
proposedGameTable
JTable proposedGameTable
-
quitButton
JButton quitButton
-
receivedField
JLabel receivedField
-
registerOrPasswordButton
JButton registerOrPasswordButton
-
registerOrPasswordLabel
JLabel registerOrPasswordLabel
-
registerPanel
RegisterPasswordPanel registerPanel
-
rereadLoginMsgButton
JButton rereadLoginMsgButton
-
runGameDataModel
GameTableModel runGameDataModel
-
runGameTable
JTable runGameTable
-
runningGamesTab
Box runningGamesTab
-
scheduledGamesMode
boolean scheduledGamesMode
-
server
IWebServer server
-
serverTab
Box serverTab
-
shutdownButton
JButton shutdownButton
-
spinner1
JSpinner spinner1
-
spinner2
JSpinner spinner2
-
spinner3
JSpinner spinner3
-
startButton
JButton startButton
-
startedAtHost
String startedAtHost
-
startedAtPort
int startedAtPort
-
startedGameId
String startedGameId
-
startingGame
GameInfo startingGame
-
startLocallyButton
JButton startLocallyButton
-
state
int state
-
statusField
JLabel statusField
-
statusLabel
JLabel statusLabel
-
statusText
String statusText
-
summaryText
JTextField summaryText
-
tabbedPane
JTabbedPane tabbedPane
-
timeIsUp
boolean timeIsUp
-
unenrollButton
JButton unenrollButton
-
unlimitedMulligansCB
JCheckBox unlimitedMulligansCB
-
userinfoLabel
JLabel userinfoLabel
-
username
String username
-
usersDead
int usersDead
-
usersEnrolled
int usersEnrolled
-
usersLoggedIn
int usersLoggedIn
-
usersLogoffAgo
long usersLogoffAgo
-
usersPlaying
int usersPlaying
-
usersText
String usersText
-
variantBox
JComboBox variantBox
-
viewmodeBox
JComboBox viewmodeBox
-
watchButton
JButton watchButton
-
watchingInstantGameId
String watchingInstantGameId
-
wcst
WebClientSocketThread wcst
-
webserverHostField
JTextField webserverHostField
-
webserverPortField
JTextField webserverPortField
-
whatNextManager
WhatNextManager whatNextManager
-
-
-
Exception net.sf.colossus.webclient.WebClientSocketThread.WcstException
class WcstException extends Exception implements Serializable-
Serialized Fields
-
failedBecauseAlreadyLoggedIn
boolean failedBecauseAlreadyLoggedIn
-
wasCancelled
boolean wasCancelled
-
-
-
-
Package net.sf.colossus.webserver
-
Class net.sf.colossus.webserver.WebServerGUI
class WebServerGUI extends JFrame implements Serializable
-