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

A

acceptTrade(boolean) - Method in class client.domestic.DomesticTradeController
 
acceptTrade(boolean) - Method in interface client.domestic.IDomesticTradeController
Called by the accept trade overlay when the user either accepts or rejects a trade.
AcceptTradeOverlay - Class in client.domestic
Implementation of the "accept trade" overlay, which is used to let the user accept or reject a trade
AcceptTradeOverlay() - Constructor for class client.domestic.AcceptTradeOverlay
 
add(AbstractButton) - Method in class client.devcards.ButtonGroupPanel
 
add(DevCardType, JToggleButton) - Method in class client.devcards.DevelopmentCardChooser
 
add(AbstractButton) - Method in interface client.devcards.IButtonGroup
 
addAI() - Method in interface client.join.IPlayerWaitingController
Called when the "Add AI" button is clicked in the player waiting view
addAI() - Method in class client.join.PlayerWaitingController
 
addGetResource(ResourceType, int) - Method in class client.domestic.AcceptTradeOverlay
 
addGetResource(ResourceType, int) - Method in interface client.domestic.IAcceptTradeOverlay
Adds a resource that the player will receive to the view.
addGiveResource(ResourceType, int) - Method in class client.domestic.AcceptTradeOverlay
 
addGiveResource(ResourceType, int) - Method in interface client.domestic.IAcceptTradeOverlay
Adds a resource that the player will give to the view.
addHex(HexLocation, HexType) - Method in interface client.map.IMapView
This method adds a hex to the map.
addHex(HexLocation, HexType) - Method in class client.map.MapComponent
 
addHex(HexLocation, HexType) - Method in class client.map.MapView
 
addNumber(HexLocation, int) - Method in interface client.map.IMapView
This method adds a number to the map.
addNumber(HexLocation, int) - Method in class client.map.MapComponent
 
addNumber(HexLocation, int) - Method in class client.map.MapView
 
addPlayer(PlayerInfo) - Method in class client.data.GameInfo
 
addPort(EdgeLocation, PortType) - Method in interface client.map.IMapView
This method adds a port to the map.
addPort(EdgeLocation, PortType) - Method in class client.map.MapView
 

B

brickImg - Variable in class client.maritime.MaritimeTradeOverlay
 
buildCity() - Method in interface client.resources.IResourceBarController
Called by the view then the user requests to build a city
buildCity() - Method in class client.resources.ResourceBarController
 
buildRoad() - Method in interface client.resources.IResourceBarController
Called by the view then the user requests to build a road
buildRoad() - Method in class client.resources.ResourceBarController
 
buildSettlement() - Method in interface client.resources.IResourceBarController
Called by the view then the user requests to build a settlement
buildSettlement() - Method in class client.resources.ResourceBarController
 
ButtonGroupPanel - Class in client.devcards
 
ButtonGroupPanel() - Constructor for class client.devcards.ButtonGroupPanel
 
ButtonGroupPanelListener - Interface in client.devcards
 
buyCard() - Method in class client.devcards.DevCardController
 
buyCard() - Method in interface client.devcards.IDevCardController
This method is called when the user buys a development card.
buyCard() - Method in interface client.resources.IResourceBarController
Called by the view then the user requests to buy a card
buyCard() - Method in class client.resources.ResourceBarController
 
BuyDevCardView - Class in client.devcards
"Buy dev card" view implementation
BuyDevCardView() - Constructor for class client.devcards.BuyDevCardView
 

C

cancelBuyCard() - Method in class client.devcards.DevCardController
 
cancelBuyCard() - Method in interface client.devcards.IDevCardController
This method is called when the user cancels out of buying a development card.
cancelCreateNewGame() - Method in interface client.join.IJoinGameController
Called by the new game view when the user clicks the "Cancel" button
cancelCreateNewGame() - Method in class client.join.JoinGameController
 
cancelDrop() - Method in class client.map.MapComponent
 
cancelJoinGame() - Method in interface client.join.IJoinGameController
Called by the select color view when the user clicks the "Cancel" button
cancelJoinGame() - Method in class client.join.JoinGameController
 
cancelMove() - Method in interface client.map.IMapController
This method is called from the modal map overlay when the cancel button is pressed.
cancelMove() - Method in class client.map.MapController
 
cancelPlayCard() - Method in class client.devcards.DevCardController
 
cancelPlayCard() - Method in interface client.devcards.IDevCardController
This method is called when the user cancels out of playing a development card.
cancelTrade() - Method in class client.domestic.DomesticTradeController
 
cancelTrade() - Method in interface client.domestic.IDomesticTradeController
Called by the domestic trade overlay when the user cancels a trade.
cancelTrade() - Method in interface client.maritime.IMaritimeTradeController
Called by the maritime trade overlay when the user cancels a trade.
cancelTrade() - Method in class client.maritime.MaritimeTradeController
 
canPlaceCity(VertexLocation) - Method in interface client.map.IMapController
This method is called whenever the user is trying to place a city on the map.
canPlaceCity(VertexLocation) - Method in class client.map.MapController
 
canPlaceRoad(EdgeLocation) - Method in interface client.map.IMapController
This method is called whenever the user is trying to place a road on the map.
canPlaceRoad(EdgeLocation) - Method in class client.map.MapController
 
canPlaceRobber(HexLocation) - Method in interface client.map.IMapController
This method is called whenever the user is trying to place the robber on the map.
canPlaceRobber(HexLocation) - Method in class client.map.MapController
 
canPlaceSettlement(VertexLocation) - Method in interface client.map.IMapController
This method is called whenever the user is trying to place a settlement on the map.
canPlaceSettlement(VertexLocation) - Method in class client.map.MapController
 
Catan - Class in client.main
Main entry point for the Catan program
Catan() - Constructor for class client.main.Catan
 
CatanColor - Enum in shared.definitions
 
CatanPanel - Class in client.catan
 
CatanPanel() - Constructor for class client.catan.CatanPanel
 
ChatController - Class in client.communication
Chat controller implementation
ChatController(IChatView) - Constructor for class client.communication.ChatController
 
ChatView - Class in client.communication
Chat view implementation
ChatView() - Constructor for class client.communication.ChatView
Creates a new chat view component.
clearSelection() - Method in class client.devcards.ButtonGroupPanel
 
clearSelection() - Method in interface client.devcards.IButtonGroup
 
client.base - package client.base
 
client.catan - package client.catan
 
client.communication - package client.communication
 
client.custom.cwt - package client.custom.cwt
 
client.data - package client.data
 
client.devcards - package client.devcards
 
client.discard - package client.discard
 
client.domestic - package client.domestic
 
client.join - package client.join
 
client.login - package client.login
 
client.main - package client.main
 
client.map - package client.map
 
client.maritime - package client.maritime
 
client.misc - package client.misc
 
client.points - package client.points
 
client.resources - package client.resources
 
client.roll - package client.roll
 
client.turntracker - package client.turntracker
 
client.utils - package client.utils
 
closeModal() - Method in interface client.base.IOverlayView
Closes the modal overlay view.
closeModal() - Method in class client.base.OverlayView
Hides the top-most overlay
ComponentView - Class in client.base
Base class for JComponent-based views
ComponentView() - Constructor for class client.base.ComponentView
 
Controller - Class in client.base
Base class for controllers
Controller(IView) - Constructor for class client.base.Controller
 
copy() - Method in class client.map.MapComponent
 
createNewGame() - Method in interface client.join.IJoinGameController
Called by the new game view when the user clicks the "Create Game" button
createNewGame() - Method in class client.join.JoinGameController
 

D

decreaseAmount(ResourceType) - Method in class client.discard.DiscardController
 
decreaseAmount(ResourceType) - Method in interface client.discard.IDiscardController
This method is called when the user decreases the amount of the specified resource.
decreaseResourceAmount(ResourceType) - Method in class client.domestic.DomesticTradeController
 
decreaseResourceAmount(ResourceType) - Method in interface client.domestic.IDomesticTradeController
Called by the domestic trade overlay when the user decreases the amount of a resource.
DEFAULT_IMAGE - Static variable in class client.utils.ImageUtils
 
DevCardController - Class in client.devcards
"Dev card" controller implementation
DevCardController(IPlayDevCardView, IBuyDevCardView, IAction, IAction) - Constructor for class client.devcards.DevCardController
DevCardController constructor
DevCardType - Enum in shared.definitions
 
DevelopmentCardChooser - Class in client.devcards
 
DevelopmentCardChooser() - Constructor for class client.devcards.DevelopmentCardChooser
 
discard() - Method in class client.discard.DiscardController
 
discard() - Method in interface client.discard.IDiscardController
This method is called when the user clicks the discard button.
DiscardController - Class in client.discard
Discard controller implementation
DiscardController(IDiscardView, IWaitView) - Constructor for class client.discard.DiscardController
DiscardController constructor
DiscardView - Class in client.discard
Discard view implementation
DiscardView() - Constructor for class client.discard.DiscardView
 
DomesticTradeController - Class in client.domestic
Domestic trade controller implementation
DomesticTradeController(IDomesticTradeView, IDomesticTradeOverlay, IWaitView, IAcceptTradeOverlay) - Constructor for class client.domestic.DomesticTradeController
DomesticTradeController constructor
DomesticTradeOverlay - Class in client.domestic
Implementation of the domestic trade overlay, which allows the user to propose a domestic trade
DomesticTradeOverlay() - Constructor for class client.domestic.DomesticTradeOverlay
 
DomesticTradeView - Class in client.domestic
Implementation of the domestic trade view, which contains the "Domestic Trade" button
DomesticTradeView() - Constructor for class client.domestic.DomesticTradeView
 

E

EdgeDirection - Enum in shared.locations
 
EdgeLocation - Class in shared.locations
Represents the location of an edge on a hex map
EdgeLocation(HexLocation, EdgeDirection) - Constructor for class shared.locations.EdgeLocation
 
enableDomesticTrade(boolean) - Method in class client.domestic.DomesticTradeView
 
enableDomesticTrade(boolean) - Method in interface client.domestic.IDomesticTradeView
Enables or disables the domestic trade button.
enableMaritimeTrade(boolean) - Method in interface client.maritime.IMaritimeTradeView
Enables or disables the maritime trade button.
enableMaritimeTrade(boolean) - Method in class client.maritime.MaritimeTradeView
 
endTurn() - Method in interface client.turntracker.ITurnTrackerController
This is called when the local player ends their turn
endTurn() - Method in class client.turntracker.TurnTrackerController
 
equals(Object) - Method in class client.data.PlayerInfo
 
equals(Object) - Method in class shared.locations.EdgeLocation
 
equals(Object) - Method in class shared.locations.HexLocation
 
equals(Object) - Method in class shared.locations.VertexLocation
 
execute() - Method in interface client.base.IAction
Execute the action

F

FontUtils - Class in client.utils
 
FontUtils() - Constructor for class client.utils.FontUtils
 

G

GameFinishedView - Class in client.points
Implementation for the game finished view, which is displayed when the game is over
GameFinishedView() - Constructor for class client.points.GameFinishedView
 
GameHistoryController - Class in client.communication
Game history controller implementation
GameHistoryController(IGameHistoryView) - Constructor for class client.communication.GameHistoryController
 
GameHistoryView - Class in client.communication
Game history view implementation
GameHistoryView() - Constructor for class client.communication.GameHistoryView
 
GameInfo - Class in client.data
Used to pass game information into views

PROPERTIES:
Id: Unique game ID Title: Game title (non-empty string) Players: List of players who have joined the game (can be empty)
GameInfo() - Constructor for class client.data.GameInfo
 
GameStatePanel - Class in client.catan
 
GameStatePanel() - Constructor for class client.catan.GameStatePanel
 
getAcceptOverlay() - Method in class client.domestic.DomesticTradeController
 
getAvailables - Variable in class client.maritime.MaritimeTradeOverlay
 
getButtonCount() - Method in class client.devcards.ButtonGroupPanel
 
getButtonCount() - Method in interface client.devcards.IButtonGroup
 
getBuyCardView() - Method in class client.devcards.DevCardController
 
getChatView() - Method in class client.catan.LeftPanel
 
getColor() - Method in class client.communication.LogEntry
 
getColor() - Method in class client.data.PlayerInfo
 
getController() - Method in class client.base.ComponentView
 
getController() - Method in interface client.base.IView
Controller getter
getController() - Method in class client.base.PanelView
 
getController() - Method in class client.communication.ChatView
 
getController() - Method in class client.communication.GameHistoryView
 
getController() - Method in class client.devcards.BuyDevCardView
 
getController() - Method in class client.devcards.PlayDevCardView
 
getController() - Method in class client.discard.DiscardView
 
getController() - Method in class client.domestic.AcceptTradeOverlay
 
getController() - Method in class client.domestic.DomesticTradeOverlay
 
getController() - Method in class client.domestic.DomesticTradeView
 
getController() - Method in class client.join.JoinGameView
 
getController() - Method in class client.join.NewGameView
 
getController() - Method in class client.join.PlayerWaitingView
 
getController() - Method in class client.join.SelectColorView
 
getController() - Method in class client.login.LoginView
 
getController() - Method in class client.map.MapComponent
 
getController() - Method in class client.map.MapView
 
getController() - Method in class client.map.RobView
 
getController() - Method in class client.maritime.MaritimeTradeOverlay
 
getController() - Method in class client.maritime.MaritimeTradeView
 
getController() - Method in class client.points.GameFinishedView
 
getController() - Method in class client.points.PointsView
 
getController() - Method in class client.resources.ResourceBarView
 
getController() - Method in class client.roll.RollResultView
 
getController() - Method in class client.roll.RollView
 
getController() - Method in class client.turntracker.TurnTrackerView
 
getDir() - Method in class shared.locations.EdgeLocation
 
getDir() - Method in class shared.locations.VertexLocation
 
getDiscardView() - Method in class client.discard.DiscardController
 
getElements() - Method in class client.devcards.ButtonGroupPanel
 
getElements() - Method in interface client.devcards.IButtonGroup
 
getFinishedView() - Method in class client.points.PointsController
 
getGameStatePanel() - Method in class client.catan.MidPanel
 
getHexLoc() - Method in class shared.locations.EdgeLocation
 
getHexLoc() - Method in class shared.locations.VertexLocation
 
getHistoryView() - Method in class client.catan.LeftPanel
 
getId() - Method in class client.data.GameInfo
 
getId() - Method in class client.data.PlayerInfo
 
getJavaColor() - Method in enum shared.definitions.CatanColor
 
getJoinAction() - Method in class client.join.JoinGameController
Returns the action to be executed when the user joins a game
getJoinGameView() - Method in class client.join.JoinGameController
 
getLoginAction() - Method in class client.login.LoginController
Returns the action to be executed when the user logs in
getLoginPassword() - Method in interface client.login.ILoginView
Returns the value of the login password field
getLoginPassword() - Method in class client.login.LoginView
 
getLoginUsername() - Method in interface client.login.ILoginView
Returns the value of the login username field
getLoginUsername() - Method in class client.login.LoginView
 
getLoginView() - Method in class client.login.LoginController
 
getMapController() - Method in class client.catan.MidPanel
 
getMessage() - Method in class client.communication.LogEntry
 
getMessageView() - Method in class client.join.JoinGameController
 
getMessageView() - Method in class client.login.LoginController
 
getName() - Method in class client.data.PlayerInfo
 
getNeighborLoc(EdgeDirection) - Method in class shared.locations.HexLocation
 
getNewGameView() - Method in class client.join.JoinGameController
 
getNormalizedLocation() - Method in class shared.locations.EdgeLocation
Returns a canonical (i.e., unique) value for this edge location.
getNormalizedLocation() - Method in class shared.locations.VertexLocation
Returns a canonical (i.e., unique) value for this vertex location.
getNumCards() - Method in class client.data.RobPlayerInfo
 
getOppositeDirection() - Method in enum shared.locations.EdgeDirection
 
getOppositeDirection() - Method in enum shared.locations.VertexDirection
 
getPlaceholder() - Method in class client.communication.PlaceholderTextField
 
getPlayCardView() - Method in class client.devcards.DevCardController
 
getPlayerIndex() - Method in class client.data.PlayerInfo
 
getPlayers() - Method in class client.data.GameInfo
 
getPointsView() - Method in class client.points.PointsController
 
getRandomlyPlaceHexes() - Method in interface client.join.INewGameView
Gets the value of the randomly place hexes check box
getRandomlyPlaceHexes() - Method in class client.join.NewGameView
 
getRandomlyPlaceNumbers() - Method in interface client.join.INewGameView
Gets the value of the randomly place numbers check box
getRandomlyPlaceNumbers() - Method in class client.join.NewGameView
 
getRegisterPassword() - Method in interface client.login.ILoginView
Returns the value of the register password field
getRegisterPassword() - Method in class client.login.LoginView
 
getRegisterPasswordRepeat() - Method in interface client.login.ILoginView
Returns the value of the register password repeat field
getRegisterPasswordRepeat() - Method in class client.login.LoginView
 
getRegisterUsername() - Method in interface client.login.ILoginView
Returns the value of the register username field
getRegisterUsername() - Method in class client.login.LoginView
 
getResultView() - Method in class client.roll.RollController
 
getRollView() - Method in class client.roll.RollController
 
getScale() - Method in class client.map.MapComponent
 
getSelectColorView() - Method in class client.join.JoinGameController
 
getSelectedAI() - Method in interface client.join.IPlayerWaitingView
Returns the type of AI selected by the user
getSelectedAI() - Method in class client.join.PlayerWaitingView
 
getSelectedColor() - Method in interface client.join.ISelectColorView
Returns the color selected by the user
getSelectedColor() - Method in class client.join.SelectColorView
 
getSelectedDevCard() - Method in class client.devcards.DevelopmentCardChooser
 
getSelectedResourceCard() - Method in class client.devcards.ResourceCardChooser
 
getSelection() - Method in class client.devcards.ButtonGroupPanel
 
getSelection() - Method in interface client.devcards.IButtonGroup
 
getTitle() - Method in class client.data.GameInfo
 
getTitle() - Method in interface client.join.INewGameView
Gets the value of the title field
getTitle() - Method in class client.join.NewGameView
 
getTradeOverlay() - Method in class client.domestic.DomesticTradeController
 
getTradeOverlay() - Method in class client.maritime.MaritimeTradeController
 
getTradeView() - Method in class client.domestic.DomesticTradeController
 
getTradeView() - Method in class client.maritime.MaritimeTradeController
 
getTurnView() - Method in class client.catan.LeftPanel
 
getUseRandomPorts() - Method in interface client.join.INewGameView
Gets the value of the use random ports check box
getUseRandomPorts() - Method in class client.join.NewGameView
 
getView() - Method in class client.base.Controller
 
getView() - Method in interface client.base.IController
View getter
getView() - Method in class client.communication.ChatController
 
getView() - Method in class client.communication.GameHistoryController
 
getView() - Method in class client.join.PlayerWaitingController
 
getView() - Method in class client.map.MapController
 
getView() - Method in class client.resources.ResourceBarController
 
getView() - Method in class client.turntracker.TurnTrackerController
 
getWaitOverlay() - Method in class client.domestic.DomesticTradeController
 
getWaitView() - Method in class client.discard.DiscardController
 
getX() - Method in class shared.locations.HexLocation
 
getY() - Method in class shared.locations.HexLocation
 
giveAvailables - Variable in class client.maritime.MaritimeTradeOverlay
 

H

hashCode() - Method in class client.data.PlayerInfo
 
hashCode() - Method in class shared.locations.EdgeLocation
 
hashCode() - Method in class shared.locations.HexLocation
 
hashCode() - Method in class shared.locations.VertexLocation
 
HEX_IMAGE_HEIGHT - Static variable in class client.map.MapComponent
 
HEX_IMAGE_WIDTH - Static variable in class client.map.MapComponent
 
HexLocation - Class in shared.locations
Represents the location of a hex on a hex map
HexLocation(int, int) - Constructor for class shared.locations.HexLocation
 
HexType - Enum in shared.definitions
 
hideGetOptions() - Method in interface client.maritime.IMaritimeTradeOverlay
Hides the "get" resources and undo components.
hideGetOptions() - Method in class client.maritime.MaritimeTradeOverlay
 
hideGiveOptions() - Method in interface client.maritime.IMaritimeTradeOverlay
Hides the "give" resources and undo components.
hideGiveOptions() - Method in class client.maritime.MaritimeTradeOverlay
 

I

IAcceptTradeOverlay - Interface in client.domestic
Interface for the accept trade overlay, which allows the user to accept or reject a proposed trade
IAction - Interface in client.base
Generic action interface
IButtonGroup - Interface in client.devcards
 
IBuyDevCardView - Interface in client.devcards
"Buy dev card" view interface
IChatController - Interface in client.communication
Chat controller interface
IChatView - Interface in client.communication
Chat view interface
IController - Interface in client.base
Base controller interface
IDevCardController - Interface in client.devcards
"Dev card" controller interface
IDiscardController - Interface in client.discard
Discard controller interface
IDiscardView - Interface in client.discard
Discard view interface
IDomesticTradeController - Interface in client.domestic
Interface for the domestic trade controller
IDomesticTradeOverlay - Interface in client.domestic
Implementation of the domestic trade overlay, which allows the user to propose a domestic trade
IDomesticTradeView - Interface in client.domestic
Interface of the domestic trade view, which contains the "Domestic Trade" button
IGameFinishedView - Interface in client.points
Interface for the game finished view, which is displayed when the game is over
IGameHistoryController - Interface in client.communication
Game history controller interface
IGameHistoryView - Interface in client.communication
Game history view interface
IJoinGameController - Interface in client.join
Interface for the join game controller
IJoinGameView - Interface in client.join
Interface for the join game view, which lets the user select a game to join
ILoginController - Interface in client.login
Interface for the login controller
ILoginView - Interface in client.login
Interface for the login view, which lets the user create a new account and login
ImageUtils - Class in client.utils
 
ImageUtils() - Constructor for class client.utils.ImageUtils
 
IMapController - Interface in client.map
Interface for the map controller
IMapView - Interface in client.map
Interface for the map view
IMaritimeTradeController - Interface in client.maritime
Interface for the maritime trade controller
IMaritimeTradeOverlay - Interface in client.maritime
Interface for the maritime trade overlay, which lets the user make a maritime trade
IMaritimeTradeView - Interface in client.maritime
Interface for the maritime trade view, which displays the "Maritime Trade" button
IMessageView - Interface in client.misc
Interface for the message view, which is used to display messages to the user
increaseAmount(ResourceType) - Method in class client.discard.DiscardController
 
increaseAmount(ResourceType) - Method in interface client.discard.IDiscardController
This method is called when the user increases the amount of the specified resource.
increaseResourceAmount(ResourceType) - Method in class client.domestic.DomesticTradeController
 
increaseResourceAmount(ResourceType) - Method in interface client.domestic.IDomesticTradeController
Called by the domestic trade overlay when the user increases the amount of a resource.
INewGameView - Interface in client.join
Interface for the new game view, which lets the user enter parameters for a new game
initFromModel() - Method in class client.map.MapController
 
initializePlayer(int, String, CatanColor) - Method in interface client.turntracker.ITurnTrackerView
Initializes the properties for a player in the turn tracker display
initializePlayer(int, String, CatanColor) - Method in class client.turntracker.TurnTrackerView
 
IOverlayView - Interface in client.base
Base interface for overlay views
IPlayDevCardView - Interface in client.devcards
"Play dev card" view interface
IPlayerWaitingController - Interface in client.join
Interface for the player waiting controller
IPlayerWaitingView - Interface in client.join
Interface for the player waiting view, which is displayed when the user is waiting for other players to join their game
IPointsController - Interface in client.points
Interface for the points controller
IPointsView - Interface in client.points
Interface for the points view, which displays the user's victory points
IResourceBarController - Interface in client.resources
Interface for the resource bar controller
IResourceBarView - Interface in client.resources
Interface for the resource bar view
IRobView - Interface in client.map
Interface for the rob view, which lets the user select a player to rob
IRollController - Interface in client.roll
Interface for the roll controller
IRollResultView - Interface in client.roll
Interface for the roll result view, which displays the result of a roll
IRollView - Interface in client.roll
Interface for the roll view, which allows the user to roll the dice
ISelectColorView - Interface in client.join
Interface for the select color view, which lets the user select the desired color when they join a game
isModalShowing() - Method in interface client.base.IOverlayView
Indicates whether or not the overlay is currently showing.
isModalShowing() - Method in class client.base.OverlayView
Is the overlay currently showing?
isSelected(ButtonModel) - Method in class client.devcards.ButtonGroupPanel
 
isSelected(ButtonModel) - Method in interface client.devcards.IButtonGroup
 
ITurnTrackerController - Interface in client.turntracker
Interface for the turn tracker controller
ITurnTrackerView - Interface in client.turntracker
Interface for the turn tracker view, which displays whose turn it is, and what state the game is in
IView - Interface in client.base
Base interface for views
IWaitView - Interface in client.misc
Interface for the wait view, which is used to display wait dialogs to the user

J

joinGame(CatanColor) - Method in interface client.join.IJoinGameController
Called by the select color view when the user clicks the "Join Game" button
joinGame(CatanColor) - Method in class client.join.JoinGameController
 
JoinGameController - Class in client.join
Implementation for the join game controller
JoinGameController(IJoinGameView, INewGameView, ISelectColorView, IMessageView) - Constructor for class client.join.JoinGameController
JoinGameController constructor
JoinGameView - Class in client.join
Implementation for the join game view, which lets the user select a game to join
JoinGameView() - Constructor for class client.join.JoinGameView
 

L

LeftPanel - Class in client.catan
 
LeftPanel(TitlePanel, GameStatePanel) - Constructor for class client.catan.LeftPanel
 
loadImage(String) - Static method in class client.utils.ImageUtils
 
LogComponent - Class in client.communication
Custom component that displays a log of messages.
LogComponent() - Constructor for class client.communication.LogComponent
 
LogEntry - Class in client.communication
Message (or entry) displayed in the LogComponent
LogEntry(CatanColor, String) - Constructor for class client.communication.LogEntry
 
LoginController - Class in client.login
Implementation for the login controller
LoginController(ILoginView, IMessageView) - Constructor for class client.login.LoginController
LoginController constructor
LoginView - Class in client.login
Implementation for the login view, which lets the user create a new account and login
LoginView() - Constructor for class client.login.LoginView
 

M

main(String[]) - Static method in class client.login.LoginView
 
main(String[]) - Static method in class client.main.Catan
 
makeTrade() - Method in interface client.maritime.IMaritimeTradeController
Make the specified trade with the bank.
makeTrade() - Method in class client.maritime.MaritimeTradeController
 
MapComponent - Class in client.map
 
MapComponent() - Constructor for class client.map.MapComponent
 
MapController - Class in client.map
Implementation for the map controller
MapController(IMapView, IRobView) - Constructor for class client.map.MapController
 
MapView - Class in client.map
Implementation for the map view
MapView() - Constructor for class client.map.MapView
 
MaritimeTradeController - Class in client.maritime
Implementation for the maritime trade controller
MaritimeTradeController(IMaritimeTradeView, IMaritimeTradeOverlay) - Constructor for class client.maritime.MaritimeTradeController
 
MaritimeTradeOverlay - Class in client.maritime
Implementation for the maritime trade overlay, which lets the user make a maritime trade
MaritimeTradeOverlay() - Constructor for class client.maritime.MaritimeTradeOverlay
 
MaritimeTradeView - Class in client.maritime
Implementation for the maritime trade view, which displays the "Maritime Trade" button
MaritimeTradeView() - Constructor for class client.maritime.MaritimeTradeView
 
MessageView - Class in client.misc
Implementation for the message view, which is used to display messages to the user
MessageView() - Constructor for class client.misc.MessageView
 
MidPanel - Class in client.catan
 
MidPanel() - Constructor for class client.catan.MidPanel
 

N

NewGameView - Class in client.join
Implementation for the new game view, which lets the user enter parameters for a new game
NewGameView() - Constructor for class client.join.NewGameView
 
notifySelectedButtonChanged() - Method in class client.devcards.ButtonGroupPanel
 

O

oreImg - Variable in class client.maritime.MaritimeTradeOverlay
 
OverlayView - Class in client.base
Base class for overlay views
OverlayView() - Constructor for class client.base.OverlayView
 

P

paint(Graphics) - Method in class client.custom.cwt.RoundedButton
 
paintComponent(Graphics) - Method in class client.communication.LogComponent
 
paintComponent(Graphics) - Method in class client.communication.PlaceholderTextField
 
paintComponent(Graphics) - Method in class client.domestic.AcceptTradeOverlay
 
paintComponent(Graphics) - Method in class client.map.MapComponent
 
paintComponent(Graphics) - Method in class client.points.PointsView
 
PanelView - Class in client.base
Base class for JPanel-based views
PanelView() - Constructor for class client.base.PanelView
 
PieceType - Enum in shared.definitions
 
placeCity(VertexLocation) - Method in interface client.map.IMapController
This method is called when the user clicks the mouse to place a city.
placeCity(VertexLocation, CatanColor) - Method in interface client.map.IMapView
This method places a city on the map.
placeCity(VertexLocation, CatanColor) - Method in class client.map.MapComponent
 
placeCity(VertexLocation) - Method in class client.map.MapController
 
placeCity(VertexLocation, CatanColor) - Method in class client.map.MapView
 
PlaceholderTextField - Class in client.communication
JTextField that supports adding a placeholder text
PlaceholderTextField() - Constructor for class client.communication.PlaceholderTextField
 
placePort(EdgeLocation, PortType) - Method in class client.map.MapComponent
 
placeRoad(EdgeLocation) - Method in interface client.map.IMapController
This method is called when the user clicks the mouse to place a road.
placeRoad(EdgeLocation, CatanColor) - Method in interface client.map.IMapView
This method places a road on the map.
placeRoad(EdgeLocation, CatanColor) - Method in class client.map.MapComponent
 
placeRoad(EdgeLocation) - Method in class client.map.MapController
 
placeRoad(EdgeLocation, CatanColor) - Method in class client.map.MapView
 
placeRobber(HexLocation) - Method in interface client.map.IMapController
This method is called when the user clicks the mouse to place the robber.
placeRobber(HexLocation) - Method in interface client.map.IMapView
This method places the robber on the map.
placeRobber(HexLocation) - Method in class client.map.MapComponent
 
placeRobber(HexLocation) - Method in class client.map.MapController
 
placeRobber(HexLocation) - Method in class client.map.MapView
 
placeSettlement(VertexLocation) - Method in interface client.map.IMapController
This method is called when the user clicks the mouse to place a settlement.
placeSettlement(VertexLocation, CatanColor) - Method in interface client.map.IMapView
This method places a settlement on the map.
placeSettlement(VertexLocation, CatanColor) - Method in class client.map.MapComponent
 
placeSettlement(VertexLocation) - Method in class client.map.MapController
 
placeSettlement(VertexLocation, CatanColor) - Method in class client.map.MapView
 
playCard() - Method in interface client.resources.IResourceBarController
Called by the view then the user requests to play a card
playCard() - Method in class client.resources.ResourceBarController
 
PlayDevCardView - Class in client.devcards
"Play dev card" view implementation
PlayDevCardView() - Constructor for class client.devcards.PlayDevCardView
 
PlayerInfo - Class in client.data
Used to pass player information into views

PROPERTIES:
Id: Unique player ID PlayerIndex: Player's order in the game [0-3] Name: Player's name (non-empty string) Color: Player's color (cannot be null)
PlayerInfo() - Constructor for class client.data.PlayerInfo
 
PlayerWaitingController - Class in client.join
Implementation for the player waiting controller
PlayerWaitingController(IPlayerWaitingView) - Constructor for class client.join.PlayerWaitingController
 
PlayerWaitingView - Class in client.join
Implementation for the player waiting view, which is displayed when the user is waiting for other players to join their game
PlayerWaitingView() - Constructor for class client.join.PlayerWaitingView
 
playMonopolyCard(ResourceType) - Method in class client.devcards.DevCardController
 
playMonopolyCard(ResourceType) - Method in interface client.devcards.IDevCardController
This method is called when the user plays a monopoly development card.
playMonumentCard() - Method in class client.devcards.DevCardController
 
playMonumentCard() - Method in interface client.devcards.IDevCardController
This method is called when the user plays a monument development card.
playRoadBuildCard() - Method in class client.devcards.DevCardController
 
playRoadBuildCard() - Method in interface client.devcards.IDevCardController
This method is called when the user plays a road build development card.
playRoadBuildingCard() - Method in interface client.map.IMapController
This method is called when the user plays a "road building" progress development card.
playRoadBuildingCard() - Method in class client.map.MapController
 
playSoldierCard() - Method in class client.devcards.DevCardController
 
playSoldierCard() - Method in interface client.devcards.IDevCardController
This method is called when the user plays a soldier development card.
playSoldierCard() - Method in interface client.map.IMapController
This method is called when the user plays a "soldier" development card.
playSoldierCard() - Method in class client.map.MapController
 
playYearOfPlentyCard(ResourceType, ResourceType) - Method in class client.devcards.DevCardController
 
playYearOfPlentyCard(ResourceType, ResourceType) - Method in interface client.devcards.IDevCardController
This method is called when the user plays a year of plenty development card.
PointsController - Class in client.points
Implementation for the points controller
PointsController(IPointsView, IGameFinishedView) - Constructor for class client.points.PointsController
PointsController constructor
PointsView - Class in client.points
Implementation for the points view, which displays the user's victory points
PointsView() - Constructor for class client.points.PointsView
 
PortType - Enum in shared.definitions
 

R

register() - Method in interface client.login.ILoginController
Called when the user clicks the "Register" button in the login view
register() - Method in class client.login.LoginController
 
reloadImg - Variable in class client.maritime.MaritimeTradeOverlay
 
remove(AbstractButton) - Method in class client.devcards.ButtonGroupPanel
 
remove(AbstractButton) - Method in interface client.devcards.IButtonGroup
 
reset() - Method in interface client.devcards.IPlayDevCardView
Resets the view to its initial state.
reset() - Method in class client.devcards.PlayDevCardView
 
reset() - Method in class client.domestic.AcceptTradeOverlay
 
reset() - Method in class client.domestic.DomesticTradeOverlay
 
reset() - Method in interface client.domestic.IAcceptTradeOverlay
Resets the overlay back to the original settings.
reset() - Method in interface client.domestic.IDomesticTradeOverlay
Resets the view to its initial state.
reset() - Method in interface client.maritime.IMaritimeTradeOverlay
Resets the view to its initial state.
reset() - Method in class client.maritime.MaritimeTradeOverlay
 
resize(BufferedImage, int, int) - Static method in class client.maritime.MaritimeTradeOverlay
 
resizeImage(BufferedImage, int, int) - Static method in class client.utils.ImageUtils
 
ResourceBarController - Class in client.resources
Implementation for the resource bar controller
ResourceBarController(IResourceBarView) - Constructor for class client.resources.ResourceBarController
 
ResourceBarElement - Enum in client.resources
 
ResourceBarView - Class in client.resources
Implementation for the resource bar view
ResourceBarView() - Constructor for class client.resources.ResourceBarView
 
ResourceCardChooser - Class in client.devcards
 
ResourceCardChooser() - Constructor for class client.devcards.ResourceCardChooser
 
resourceImageFolder - Variable in class client.maritime.MaritimeTradeOverlay
 
ResourceType - Enum in shared.definitions
 
RightPanel - Class in client.catan
 
RightPanel(IMapController) - Constructor for class client.catan.RightPanel
 
robPlayer(RobPlayerInfo) - Method in interface client.map.IMapController
This method is called by the Rob View when a player to rob is selected via a button click.
robPlayer(RobPlayerInfo) - Method in class client.map.MapController
 
RobPlayerInfo - Class in client.data
Used to pass player information into the rob view

PROPERTIES:
Id: Unique player ID PlayerIndex: Player's order in the game [0-3] Name: Player's name (non-empty string) Color: Player's color (cannot be null) NumCards: Number of development cards the player has (>= 0)
RobPlayerInfo() - Constructor for class client.data.RobPlayerInfo
 
RobView - Class in client.map
Implementation for the rob view, which lets the user select a player to rob
RobView() - Constructor for class client.map.RobView
 
RollController - Class in client.roll
Implementation for the roll controller
RollController(IRollView, IRollResultView) - Constructor for class client.roll.RollController
RollController constructor
rollDice() - Method in interface client.roll.IRollController
Called when the user clicks the "Roll!" button in the roll view
rollDice() - Method in class client.roll.RollController
 
RollResultView - Class in client.roll
Implementation for the roll result view, which displays the result of a roll
RollResultView() - Constructor for class client.roll.RollResultView
 
RollView - Class in client.roll
Implementation for the roll view, which allows the user to roll the dice
RollView() - Constructor for class client.roll.RollView
 
RoundedButton - Class in client.custom.cwt
 
RoundedButton() - Constructor for class client.custom.cwt.RoundedButton
 
RoundedButton(String) - Constructor for class client.custom.cwt.RoundedButton
 

S

SelectColorView - Class in client.join
Implementation for the select color view, which lets the user select the desired color when they join a game
SelectColorView() - Constructor for class client.join.SelectColorView
 
selectedButtonChanged(ButtonGroupPanel) - Method in interface client.devcards.ButtonGroupPanelListener
 
selectGetOption(ResourceType, int) - Method in interface client.maritime.IMaritimeTradeOverlay
Selects the resource the user has selected to receive.
selectGetOption(ResourceType, int) - Method in class client.maritime.MaritimeTradeOverlay
 
selectGiveOption(ResourceType, int) - Method in interface client.maritime.IMaritimeTradeOverlay
Selects the resource the user has selected to give.
selectGiveOption(ResourceType, int) - Method in class client.maritime.MaritimeTradeOverlay
 
sendMessage(String) - Method in class client.communication.ChatController
 
sendMessage(String) - Method in interface client.communication.IChatController
Called by the view when a message is sent
sendTradeOffer() - Method in class client.domestic.DomesticTradeController
 
sendTradeOffer() - Method in interface client.domestic.IDomesticTradeController
Called by the domestic trade overlay when the user clicks the trade button.
setAcceptEnabled(boolean) - Method in class client.domestic.AcceptTradeOverlay
 
setAcceptEnabled(boolean) - Method in interface client.domestic.IAcceptTradeOverlay
Enables or disables the accept button
setAcceptOverlay(IAcceptTradeOverlay) - Method in class client.domestic.DomesticTradeController
 
setAIChoices(String[]) - Method in interface client.join.IPlayerWaitingView
Sets the list of AI types from which the user may select
setAIChoices(String[]) - Method in class client.join.PlayerWaitingView
 
setButtonAction(IAction) - Method in class client.catan.GameStatePanel
 
setCancelEnabled(boolean) - Method in class client.domestic.DomesticTradeOverlay
 
setCancelEnabled(boolean) - Method in interface client.domestic.IDomesticTradeOverlay
Enables or disables the cancel button.
setCancelEnabled(boolean) - Method in interface client.maritime.IMaritimeTradeOverlay
Enables or disables the cancel button.
setCancelEnabled(boolean) - Method in class client.maritime.MaritimeTradeOverlay
 
setCardAmount(DevCardType, int) - Method in class client.devcards.DevelopmentCardChooser
 
setCardAmount(DevCardType, int) - Method in interface client.devcards.IPlayDevCardView
Sets the amount for the specified card type.
setCardAmount(DevCardType, int) - Method in class client.devcards.PlayDevCardView
 
setCardEnabled(DevCardType, boolean) - Method in class client.devcards.DevelopmentCardChooser
 
setCardEnabled(DevCardType, boolean) - Method in interface client.devcards.IPlayDevCardView
Sets the enable/disable state for the specified card type.
setCardEnabled(DevCardType, boolean) - Method in class client.devcards.PlayDevCardView
 
setColor(CatanColor) - Method in class client.communication.LogEntry
 
setColor(CatanColor) - Method in class client.data.PlayerInfo
 
setColorEnabled(CatanColor, boolean) - Method in interface client.join.ISelectColorView
Enables or disables the specified color.
setColorEnabled(CatanColor, boolean) - Method in class client.join.SelectColorView
 
setController(IController) - Method in class client.base.ComponentView
 
setController(IController) - Method in interface client.base.IView
Controller setter
setController(IController) - Method in class client.base.PanelView
 
setController(IController) - Method in class client.map.MapComponent
 
setController(IController) - Method in class client.map.MapView
 
setController(IController) - Method in class client.turntracker.TurnTrackerView
 
setDiscardButtonEnabled(boolean) - Method in class client.discard.DiscardView
Used to enable or disable the discard button.
setDiscardButtonEnabled(boolean) - Method in interface client.discard.IDiscardView
Used to enable or disable the discard button.
setElementAction(ResourceBarElement, IAction) - Method in class client.resources.ResourceBarController
Sets the action to be executed when the specified resource bar element is clicked by the user
setElementAmount(ResourceBarElement, int) - Method in interface client.resources.IResourceBarView
Sets the amount for the specified resource bar element
setElementAmount(ResourceBarElement, int) - Method in class client.resources.ResourceBarView
 
setElementEnabled(ResourceBarElement, boolean) - Method in interface client.resources.IResourceBarView
Sets the enable/disable state for the specified resource bar element
setElementEnabled(ResourceBarElement, boolean) - Method in class client.resources.ResourceBarView
 
setEnabled(boolean) - Method in class client.devcards.ButtonGroupPanel
 
setEnabled(boolean) - Method in class client.devcards.ResourceCardChooser
 
setEntries(List<LogEntry>) - Method in class client.communication.ChatView
 
setEntries(List<LogEntry>) - Method in class client.communication.GameHistoryView
 
setEntries(List<LogEntry>) - Method in interface client.communication.IChatView
Sets the chat messages to be displayed in the view.
setEntries(List<LogEntry>) - Method in interface client.communication.IGameHistoryView
Sets the history messages to be displayed in the view.
setEntries(List<LogEntry>) - Method in class client.communication.LogComponent
 
setFinishedView(IGameFinishedView) - Method in class client.points.PointsController
 
setFont(JComponent, int) - Static method in class client.utils.FontUtils
 
setGames(GameInfo[], PlayerInfo) - Method in interface client.join.IJoinGameView
Sets the list of available games to be displayed
setGames(GameInfo[], PlayerInfo) - Method in class client.join.JoinGameView
 
setGetResource(ResourceType) - Method in interface client.maritime.IMaritimeTradeController
Called when the user selects the resource to get.
setGetResource(ResourceType) - Method in class client.maritime.MaritimeTradeController
 
setGiveResource(ResourceType) - Method in interface client.maritime.IMaritimeTradeController
Called when the user selects the resource to give.
setGiveResource(ResourceType) - Method in class client.maritime.MaritimeTradeController
 
setId(int) - Method in class client.data.GameInfo
 
setId(int) - Method in class client.data.PlayerInfo
 
setJoinAction(IAction) - Method in class client.join.JoinGameController
Sets the action to be executed when the user joins a game
setListener(ButtonGroupPanelListener) - Method in class client.devcards.ButtonGroupPanel
 
setLocalPlayerColor(CatanColor) - Method in class client.catan.TitlePanel
 
setLocalPlayerColor(CatanColor) - Method in interface client.turntracker.ITurnTrackerView
Sets the color to display for the local player
setLocalPlayerColor(CatanColor) - Method in class client.turntracker.TurnTrackerView
 
setLoginAction(IAction) - Method in class client.login.LoginController
Sets the action to be executed when the user logs in
setMessage(String) - Method in class client.communication.LogEntry
 
setMessage(String) - Method in interface client.misc.IMessageView
Sets the message to be displayed.
setMessage(String) - Method in interface client.misc.IWaitView
Sets the message displayed by the wait view.
setMessage(String) - Method in class client.misc.MessageView
 
setMessage(String) - Method in class client.misc.WaitView
 
setMessage(String) - Method in interface client.roll.IRollView
Sets the message displayed in the roll view
setMessage(String) - Method in class client.roll.RollView
 
setMessageView(IMessageView) - Method in class client.join.JoinGameController
 
setName(String) - Method in class client.data.PlayerInfo
 
setNewGameView(INewGameView) - Method in class client.join.JoinGameController
 
setNumCards(int) - Method in class client.data.RobPlayerInfo
 
setPlaceholder(String) - Method in class client.communication.PlaceholderTextField
 
setPlayerIndex(int) - Method in class client.data.PlayerInfo
 
setPlayerName(String) - Method in class client.domestic.AcceptTradeOverlay
 
setPlayerName(String) - Method in interface client.domestic.IAcceptTradeOverlay
Sets the name of the player offering the trade.
setPlayers(PlayerInfo[]) - Method in class client.domestic.DomesticTradeOverlay
 
setPlayers(PlayerInfo[]) - Method in interface client.domestic.IDomesticTradeOverlay
Sets the opponents the local player may trade with.
setPlayers(PlayerInfo[]) - Method in interface client.join.IPlayerWaitingView
Sets the list of players who have already joined the game
setPlayers(PlayerInfo[]) - Method in class client.join.PlayerWaitingView
 
setPlayers(RobPlayerInfo[]) - Method in interface client.map.IRobView
 
setPlayers(RobPlayerInfo[]) - Method in class client.map.RobView
 
setPlayerSelectionEnabled(boolean) - Method in class client.domestic.DomesticTradeOverlay
 
setPlayerSelectionEnabled(boolean) - Method in interface client.domestic.IDomesticTradeOverlay
Enables or disables the ability to select a player to trade with.
setPlayerToTradeWith(int) - Method in class client.domestic.DomesticTradeController
 
setPlayerToTradeWith(int) - Method in interface client.domestic.IDomesticTradeController
Called by the domestic trade overlay when the user selects a player to trade with.
setPoints(int) - Method in interface client.points.IPointsView
Sets the number of victory points the player has
setPoints(int) - Method in class client.points.PointsView
 
setRandomlyPlaceHexes(boolean) - Method in interface client.join.INewGameView
Sets the value of the randomly place hexes check box
setRandomlyPlaceHexes(boolean) - Method in class client.join.NewGameView
 
setRandomlyPlaceNumbers(boolean) - Method in interface client.join.INewGameView
Sets the value of the randomly place numbers check box
setRandomlyPlaceNumbers(boolean) - Method in class client.join.NewGameView
 
setResourceAmount(ResourceType, String) - Method in class client.domestic.DomesticTradeOverlay
 
setResourceAmount(ResourceType, String) - Method in interface client.domestic.IDomesticTradeOverlay
Sets the amount displayed for a resource.
setResourceAmountChangeEnabled(ResourceType, boolean, boolean) - Method in class client.discard.DiscardView
Used to specify whether or not the discard amount of the specified resource can be increased and decreased.
setResourceAmountChangeEnabled(ResourceType, boolean, boolean) - Method in interface client.discard.IDiscardView
Used to specify whether or not the discard amount of the specified resource can be increased and decreased.
setResourceAmountChangeEnabled(ResourceType, boolean, boolean) - Method in class client.domestic.DomesticTradeOverlay
 
setResourceAmountChangeEnabled(ResourceType, boolean, boolean) - Method in interface client.domestic.IDomesticTradeOverlay
Enables or disables the ability to increase and decrease a resource's amount.
setResourceDiscardAmount(ResourceType, int) - Method in class client.discard.DiscardView
Sets the discard amount displayed for the specified resource.
setResourceDiscardAmount(ResourceType, int) - Method in interface client.discard.IDiscardView
Sets the discard amount displayed for the specified resource.
setResourceMaxAmount(ResourceType, int) - Method in class client.discard.DiscardView
Sets the maximum amount displayed for the specified resource.
setResourceMaxAmount(ResourceType, int) - Method in interface client.discard.IDiscardView
Sets the maximum amount displayed for the specified resource.
setResourceSelectionEnabled(boolean) - Method in class client.domestic.DomesticTradeOverlay
 
setResourceSelectionEnabled(boolean) - Method in interface client.domestic.IDomesticTradeOverlay
Enables or disables the ability to select resources to trade.
setResourceToReceive(ResourceType) - Method in class client.domestic.DomesticTradeController
 
setResourceToReceive(ResourceType) - Method in interface client.domestic.IDomesticTradeController
Called by the domestic trade overlay when the user selects a resource to be received.
setResourceToSend(ResourceType) - Method in class client.domestic.DomesticTradeController
 
setResourceToSend(ResourceType) - Method in interface client.domestic.IDomesticTradeController
Called by the domestic trade overlay when the user selects a resource to be sent.
setResultView(IRollResultView) - Method in class client.roll.RollController
 
setRollValue(int) - Method in interface client.roll.IRollResultView
Sets the value rolled by the user
setRollValue(int) - Method in class client.roll.RollResultView
 
setSelectColorView(ISelectColorView) - Method in class client.join.JoinGameController
 
setSelected(ButtonModel, boolean) - Method in class client.devcards.ButtonGroupPanel
 
setSelected(ButtonModel, boolean) - Method in interface client.devcards.IButtonGroup
 
setStateMessage(String) - Method in class client.discard.DiscardView
Sets the state message, which indicates how many cards a player has set to discard, and how many remain to set.
setStateMessage(String) - Method in interface client.discard.IDiscardView
Sets the state message, which indicates how many cards a player has set to discard, and how many remain to set.
setStateMessage(String) - Method in class client.domestic.DomesticTradeOverlay
 
setStateMessage(String) - Method in interface client.domestic.IDomesticTradeOverlay
Sets the message on the button indicating the state of the trade.
setStateMessage(String) - Method in interface client.maritime.IMaritimeTradeOverlay
Sets the message on the button indicating the state of the trade.
setStateMessage(String) - Method in class client.maritime.MaritimeTradeOverlay
 
setTitle(String) - Method in class client.data.GameInfo
 
setTitle(String) - Method in interface client.join.INewGameView
Sets the value of the title field
setTitle(String) - Method in class client.join.NewGameView
 
setTitle(String) - Method in interface client.misc.IMessageView
Sets the title to be displayed.
setTitle(String) - Method in class client.misc.MessageView
 
setTradeEnabled(boolean) - Method in class client.domestic.DomesticTradeOverlay
 
setTradeEnabled(boolean) - Method in interface client.domestic.IDomesticTradeOverlay
Enables or disables the trade button.
setTradeEnabled(boolean) - Method in interface client.maritime.IMaritimeTradeOverlay
Enables or disables the trade button.
setTradeEnabled(boolean) - Method in class client.maritime.MaritimeTradeOverlay
 
setTradeOverlay(IDomesticTradeOverlay) - Method in class client.domestic.DomesticTradeController
 
setTradeOverlay(IMaritimeTradeOverlay) - Method in class client.maritime.MaritimeTradeController
 
setUseRandomPorts(boolean) - Method in interface client.join.INewGameView
Sets the value of the use random ports check box
setUseRandomPorts(boolean) - Method in class client.join.NewGameView
 
setWaitOverlay(IWaitView) - Method in class client.domestic.DomesticTradeController
 
setWindow(JFrame) - Static method in class client.base.OverlayView
 
setWinner(String, boolean) - Method in class client.points.GameFinishedView
 
setWinner(String, boolean) - Method in interface client.points.IGameFinishedView
Sets the information about the winner displayed in the view
shared.definitions - package shared.definitions
 
shared.locations - package shared.locations
 
sheepImg - Variable in class client.maritime.MaritimeTradeOverlay
 
showGetOptions(ResourceType[]) - Method in interface client.maritime.IMaritimeTradeOverlay
Shows all the "get" resources, enabling the ones the player can receive, and disabling the ones he can't.
showGetOptions(ResourceType[]) - Method in class client.maritime.MaritimeTradeOverlay
 
showGiveOptions(ResourceType[]) - Method in interface client.maritime.IMaritimeTradeOverlay
Shows all the "give" resources, enabling the ones the player can give, and disabling the ones he can't.
showGiveOptions(ResourceType[]) - Method in class client.maritime.MaritimeTradeOverlay
 
showModal() - Method in interface client.base.IOverlayView
Displays the modal overlay view.
showModal() - Method in class client.base.OverlayView
Displays the overlay.
showModal() - Method in class client.devcards.PlayDevCardView
 
signIn() - Method in interface client.login.ILoginController
Called when the user clicks the "Sign in" button in the login view
signIn() - Method in class client.login.LoginController
 
start() - Method in interface client.join.IJoinGameController
Displays the join game view
start() - Method in interface client.join.IPlayerWaitingController
Displays the player waiting view
start() - Method in class client.join.JoinGameController
 
start() - Method in class client.join.PlayerWaitingController
 
start() - Method in interface client.login.ILoginController
Displays the login view
start() - Method in class client.login.LoginController
 
startBuyCard() - Method in class client.devcards.DevCardController
 
startBuyCard() - Method in interface client.devcards.IDevCardController
This method displays the "buy dev card" view.
startCreateNewGame() - Method in interface client.join.IJoinGameController
Called by the join game view when the user clicks "Create new game" button.
startCreateNewGame() - Method in class client.join.JoinGameController
 
startDrop(PieceType, CatanColor, boolean) - Method in interface client.map.IMapView
This method displays the modal map overlay and allows the player to place the specified type of piece.
startDrop(PieceType, CatanColor) - Method in class client.map.MapComponent
 
startDrop(PieceType, CatanColor, boolean) - Method in class client.map.MapView
 
startJoinGame(GameInfo) - Method in interface client.join.IJoinGameController
Called by the join game view when the user clicks a "Join" or "Re-join" button.
startJoinGame(GameInfo) - Method in class client.join.JoinGameController
 
startMove(PieceType, boolean, boolean) - Method in interface client.map.IMapController
This method is called when the user requests to place a piece on the map (road, city, or settlement)
startMove(PieceType, boolean, boolean) - Method in class client.map.MapController
 
startPlayCard() - Method in class client.devcards.DevCardController
 
startPlayCard() - Method in interface client.devcards.IDevCardController
This method displays the "play dev card" view.
startTrade() - Method in class client.domestic.DomesticTradeController
 
startTrade() - Method in interface client.domestic.IDomesticTradeController
Called by the domestic trade view when the user clicks the domestic trade button.
startTrade() - Method in interface client.maritime.IMaritimeTradeController
Called by the maritime trade view when the user clicks the maritime trade button.
startTrade() - Method in class client.maritime.MaritimeTradeController
 

T

TitlePanel - Class in client.catan
 
TitlePanel() - Constructor for class client.catan.TitlePanel
 
toString() - Method in class shared.locations.EdgeLocation
 
toString() - Method in class shared.locations.HexLocation
 
toString() - Method in class shared.locations.VertexLocation
 
TradePanel - Class in client.catan
 
TradePanel() - Constructor for class client.catan.TradePanel
 
TurnTrackerController - Class in client.turntracker
Implementation for the turn tracker controller
TurnTrackerController(ITurnTrackerView) - Constructor for class client.turntracker.TurnTrackerController
 
TurnTrackerView - Class in client.turntracker
Implementation for the turn tracker view, which displays whose turn it is, and what state the game is in
TurnTrackerView(TitlePanel, GameStatePanel) - Constructor for class client.turntracker.TurnTrackerView
 

U

unsetGetValue() - Method in interface client.maritime.IMaritimeTradeController
Called when the player "undoes" their get selection.
unsetGetValue() - Method in class client.maritime.MaritimeTradeController
 
unsetGiveValue() - Method in interface client.maritime.IMaritimeTradeController
Called when the player "undoes" their give selection.
unsetGiveValue() - Method in class client.maritime.MaritimeTradeController
 
unsetResource(ResourceType) - Method in class client.domestic.DomesticTradeController
 
unsetResource(ResourceType) - Method in interface client.domestic.IDomesticTradeController
Called by the domestic trade overlay when user selects "none" for a resource.
updateGameState(String, boolean) - Method in class client.catan.GameStatePanel
 
updateGameState(String, boolean) - Method in interface client.turntracker.ITurnTrackerView
Updates the game state button's message and enable state
updateGameState(String, boolean) - Method in class client.turntracker.TurnTrackerView
 
updatePlayer(int, int, boolean, boolean, boolean) - Method in interface client.turntracker.ITurnTrackerView
Updates the properties for a player in the turn tracker display
updatePlayer(int, int, boolean, boolean, boolean) - Method in class client.turntracker.TurnTrackerView
 

V

valueOf(String) - Static method in enum client.resources.ResourceBarElement
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum shared.definitions.CatanColor
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum shared.definitions.DevCardType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum shared.definitions.HexType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum shared.definitions.PieceType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum shared.definitions.PortType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum shared.definitions.ResourceType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum shared.locations.EdgeDirection
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum shared.locations.VertexDirection
Returns the enum constant of this type with the specified name.
values() - Static method in enum client.resources.ResourceBarElement
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum shared.definitions.CatanColor
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum shared.definitions.DevCardType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum shared.definitions.HexType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum shared.definitions.PieceType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum shared.definitions.PortType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum shared.definitions.ResourceType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum shared.locations.EdgeDirection
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum shared.locations.VertexDirection
Returns an array containing the constants of this enum type, in the order they are declared.
VertexDirection - Enum in shared.locations
 
VertexLocation - Class in shared.locations
Represents the location of a vertex on a hex map
VertexLocation(HexLocation, VertexDirection) - Constructor for class shared.locations.VertexLocation
 
victims - Variable in class client.map.RobView
 

W

WaitView - Class in client.misc
Implementation for the wait view, which is used to display wait dialogs to the user
WaitView() - Constructor for class client.misc.WaitView
 
wheatImg - Variable in class client.maritime.MaritimeTradeOverlay
 
woodImg - Variable in class client.maritime.MaritimeTradeOverlay
 
A B C D E F G H I J L M N O P R S T U V W