Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
G
H
I
J
L
M
N
P
R
S
T
U
W
A
act(Monopoly)
- Method in class Monopoly.
Card
Executes the action described by the card's text.
act(Monopoly)
- Method in class Monopoly.
Cell
Empty method.
act(Monopoly)
- Method in class Monopoly.
GetFromEveryPlayer
Executes the action described by the card's text.
act(Monopoly)
- Method in class Monopoly.
GetMoneyCard
Executes the action described by the card's text.
act(Monopoly)
- Method in class Monopoly.
GetOutOfJailCard
Executes the action described by the card's text.
act(Monopoly)
- Method in class Monopoly.
GoToJail
Forces the player to go to the "Jail" cell.
act(Monopoly)
- Method in class Monopoly.
GoToJailCard
Executes the action described by the card's text.
act(Monopoly)
- Method in interface Monopoly.
Interactive
Performs the action of the Interactive object.
act(Monopoly)
- Method in class Monopoly.
MoneyCard
Executes the action described by the card's text.
act(Monopoly)
- Method in class Monopoly.
MoveBackCard
Executes the action described by the card's text.
act(Monopoly)
- Method in class Monopoly.
MoveToCard
Executes the action described by the card's text.
act(Monopoly)
- Method in class Monopoly.
NearestCompanyCard
Executes the action described by the card's text.
act(Monopoly)
- Method in class Monopoly.
NearestTrainStationCard
Executes the action described by the card's text.
act(Monopoly)
- Method in class Monopoly.
PayForEveryBuilding
Executes the action described by the card's text.
act(Monopoly)
- Method in class Monopoly.
PayMoneyCard
Executes the action described by the card's text.
act(Monopoly)
- Method in class Monopoly.
PayToEveryPlayer
Executes the action described by the card's text.
act(Monopoly)
- Method in class Monopoly.
PickCard
Makes the player to pick a card from the collection of the cards.
act(Monopoly)
- Method in class Monopoly.
Property
Makes a player to buy the property or pay the rent for it.
act(Monopoly)
- Method in class Monopoly.
Taxes
Forces the player to pay a specific amount of money to the bank.
actionPerformed(ActionEvent)
- Method in class GUI.
GUI
Method invoked when user has clicked on the roll button.
actionPerformed(ActionEvent)
- Method in class GUI.
GUITrade
actionPerformed(ActionEvent)
- Method in class GUI.
MenuWorker
Method implementing actionPerformed method in the actionListener interface.
actionPerformed(ActionEvent)
- Method in class GUI.
WelcomeWindow
Method used to handle all actions that performs during the players import thread.
activePlayer()
- Method in class Monopoly.
Monopoly
Returns the player who is playing (Accessor).
addCellSeparator(GridBagConstraints, int)
- Method in class GUI.
GUICell
Method used to add a Cell Separator in this cell.
addDescription(String)
- Method in class GUI.
GUICell
Method used to configure the Tool Tip Text in this Cell.
addDescription(String, int)
- Method in class GUI.
GUICell
Method used to configure the Tool Tip Text in this Cell (which is in fact a tax Cell).
addDescription(String, String, int)
- Method in class GUI.
GUICell
Method used to configure the Tool Tip Text in this Cell.
addDescription(String, String, int, int)
- Method in class GUI.
GUICell
Method used to configure the Tool Tip Text in this Cell.
addDescription(String, String, int, int, int)
- Method in class GUI.
GUICell
Method used to configure the Tool Tip Text in this Cell (which is in fact a Street Cell).
addHotel()
- Method in class GUI.
GUIStreet
Method used when a player buys a hotel (fifth house) in a street.
addHouse()
- Method in class GUI.
GUIStreet
Method used when a player buys a house in a street.
addinPosition(int)
- Method in class GUI.
GUICell
Method used to add a players icon in this cell.
addPlayersPosition(GridBagConstraints, int, int)
- Method in class GUI.
GUICell
Method used to add a Players Position panel in "this" cell.
B
bankrupt()
- Method in class Monopoly.
Monopoly
Removes the active player from the game after having notified him, and made all of his properties available for collection.
bankruptWindow(String)
- Static method in class GUI.
GUIOptionPane
Method invoked whether a player has declared bunkrupcy.
board
- Variable in class Monopoly.
Monopoly
buy(Property)
- Method in class Monopoly.
Player
Purchase a property (Transformer).
buyHouse(int, int)
- Method in class GUI.
GUI
Method invoked when a user would like to buy a house on a street.
buyHouse(Street)
- Method in class Monopoly.
Monopoly
Notifies the active player that a house purchase request occured.
buyHouse(Street)
- Method in class Monopoly.
Player
Purchase a house for a Street (Transformer).
C
Card
- Class in
Monopoly
Abstract class Card.
Card(String, int)
- Constructor for class Monopoly.
Card
Creates a new Card object.
Cell
- Class in
Monopoly
This class represents one cell on the board of Monopoly.
Cell()
- Constructor for class Monopoly.
Cell
Constructs an empty cell.
Cell(String, int)
- Constructor for class Monopoly.
Cell
Constructs an new cell with a specific name and location.
CenterCell
- Variable in class GUI.
GUI
CenterCellPanel
- Variable in class GUI.
GUI
CentralViewWindow
- Class in
GUI
Class used to provide implementation for method that handles and transform as necessary the central panel of the GUI's main frame.
CentralViewWindow()
- Constructor for class GUI.
CentralViewWindow
checkScreenRes()
- Method in class GUI.
ScreenResErrorWindow
Method that checks the current screen resolution user uses in his/her computer.This is made possible by a Toolkit object.
chooseTrader()
- Method in class GUI.
GUITrade
Method that prompts the current playeer to choose which player he/she would like to trade with.
collect(int)
- Method in class Monopoly.
Player
Receive an amount of money (Transformer).
Collectable
- Interface in
Monopoly
This is the interface of all the instances that can be collected.
Company
- Class in
Monopoly
This class represents the company cells.
Company(String, int, int)
- Constructor for class Monopoly.
Company
Constructs a new company cell with a specific name, location and price
compareTo(Object)
- Method in class Monopoly.
Player
Compares this player with the specified object for order.
D
dept(int)
- Method in class Monopoly.
Monopoly
Notifies the user (GUI) that the active player owes.
deptWindow(Monopoly, int)
- Static method in class GUI.
GUIOptionPane
Method invoked to handle the case in which a player has a dept.
Dice
- Class in
Monopoly
This class represents the dices in the game of Monopoly.
Dice()
- Constructor for class Monopoly.
Dice
disableMenu()
- Method in class GUI.
MenuWorker
Method rensponsible for disabling the menu of the program.
E
enableMenu()
- Method in class GUI.
MenuWorker
Method rensponsible for enabling the menu of the program.
ExitingWindow()
- Static method in class GUI.
GUIOptionPane
Method invoked whether program is about to exit.
G
getCells()
- Method in class Monopoly.
Monopoly
Returns the Cell Array which contains the cells of the game (Accessor).
getColor()
- Method in class Monopoly.
Card
Get the color of the card (Accessor).
getColor()
- Method in class Monopoly.
PickCard
Get the color of the card (Accessor).
getColor()
- Method in class Monopoly.
Street
Returns the color of the Street cell (Accessor).
getCommandCard()
- Method in class Monopoly.
Monopoly
Searches and returns the first Command Card (Accessor).
getCommandCards()
- Method in class Monopoly.
Monopoly
Returns the Collection of the Property Cards (Accessor).
getDecisionCard()
- Method in class Monopoly.
Monopoly
Searches and returns the first Decision Card (Accessor).
getDecisionCards()
- Method in class Monopoly.
Monopoly
Returns the Collection of the Decisions Cards (Accessor).
getFortune()
- Method in class Monopoly.
Player
Get this player's total fortune (property value plus cash).
GetFromEveryPlayer
- Class in
Monopoly
This is the class GetFromEveryPlayer.
GetFromEveryPlayer(int, String, int)
- Constructor for class Monopoly.
GetFromEveryPlayer
Creates a new GetFromEveryPlayer object.
getHouseNames()
- Method in class Monopoly.
Monopoly
Get the names of the streets which belong to the active player and can have a house removed from.
getIsInJail()
- Method in class Monopoly.
Player
Get the player's isInJail status (Accessor).
getJail()
- Method in class Monopoly.
Monopoly
Returns the Jail Cell (Accessor).
getJailCard()
- Method in class Monopoly.
Player
Get the first instance of GetOutOfJailCard that can be found in the player's properties (Accessor).
getLocation()
- Method in class Monopoly.
Cell
Returns the cardinal number of the cell (Accessor).
getLocation()
- Method in class Monopoly.
Player
Get the player's location (Accessor).
getMoney()
- Method in class Monopoly.
Player
Get the player's cash (Accessor).
GetMoneyCard
- Class in
Monopoly
This is the class GetMoneyCard.
GetMoneyCard(int, String, int)
- Constructor for class Monopoly.
GetMoneyCard
Creates a new GetMoneyCard object.
getMortaged()
- Method in class Monopoly.
Monopoly
Get the names of the properties which belong to the active player and are mortaged.
getName()
- Method in class Monopoly.
Cell
Returns the name of the cell (Accessor).
getName()
- Method in class Monopoly.
Player
Get the name of the player (Accessor).
getNumber()
- Method in class Monopoly.
Player
Get the cardinal number of the player (Accessor).
getNumOfDoubles()
- Method in class Monopoly.
Player
Get the number of doubles this player has rolled (Accessor).
GetOutOfJailCard
- Class in
Monopoly
This is the class GetOutOfJailCard.
GetOutOfJailCard(String, int)
- Constructor for class Monopoly.
GetOutOfJailCard
Creates a new GetOutOfJailCard object.
getOwner()
- Method in interface Monopoly.
Collectable
Returns the player who is owner of the Property or GetOutOfJailCard.
getOwner()
- Method in class Monopoly.
GetOutOfJailCard
Get the owner of this card (Accessor).
getOwner()
- Method in class Monopoly.
Property
Returns the owner of the property cell (Accessor).
getOwnerName()
- Method in class Monopoly.
Property
Returns the name of the cell's owner (Accessor).
getPlayer(String)
- Method in class Monopoly.
Monopoly
Returns a Player with the given name (Accessor).
getPlayers()
- Method in class GUI.
GUI
Method used to return the private ArrayList PlayerNames.
getPlayers()
- Method in class Monopoly.
Monopoly
Returns the Players Collection (Accessor).
getPlayersNames()
- Method in class Monopoly.
Monopoly
Get the names of all the players apart from the active one.
getPrice()
- Method in class Monopoly.
Property
Returns the price of the property cell (Accessor).
getProperties()
- Method in class Monopoly.
Player
Get the collection of properties of that player (Accessor).
getProperty(String)
- Method in class Monopoly.
Monopoly
Returns a Property cell with the given name (Accessor).
getProperty(String)
- Method in class Monopoly.
Player
Get the property (Collectable) of this player that matches the given String (Accessor).
getRent()
- Method in class Monopoly.
Company
Returns the rent to be paid by a player who lands on this company (Accessor).
getRent()
- Method in class Monopoly.
Property
Calculates and returns the rent of the property cell that someone must pay if he goes at the exact cell (Accessor).
getRent()
- Method in class Monopoly.
Street
Returns the rent to be paid by a player who lands on this street (Accessor).
getRent()
- Method in class Monopoly.
TrainStation
Returns the rent to be paid by a player who lands on this train station (Accessor).
getRoll()
- Method in class Monopoly.
Monopoly
Returns the result of the roll of the dice (Accessor).
getRounds()
- Static method in class GUI.
GUIOptionPane
Method invoked in the beginning of every new game to prompt user to enter the game rounds.
getStreet(String)
- Method in class Monopoly.
Monopoly
Returns a Street cell with the given name (Accessor).
getStreetsNames()
- Method in class Monopoly.
Monopoly
Get the names of the streets which belong to the active player and can be built on.
getTax()
- Method in class Monopoly.
Taxes
Returns the amount of money a player must pay if he lands on the Taxes cell (Accessor).
getText()
- Method in class Monopoly.
Card
Get the text of the card (Accessor).
getTradable(Player)
- Method in class Monopoly.
Monopoly
Get the names of the properties which belong to the given Player and can be traded.
getUnmortaged()
- Method in class Monopoly.
Monopoly
Get the names of the properties which belong to the active player and can be mortaged.
getValue()
- Method in class Monopoly.
MoneyCard
Returns the amount of money to be payed or received.
GoToJail
- Class in
Monopoly
This class represents the cell of Monopoly which sent the player to the Jail.
GoToJail(String, int)
- Constructor for class Monopoly.
GoToJail
Constructs a new "Go to jail" cell.
GoToJailCard
- Class in
Monopoly
This is the class GoToJailCard.
GoToJailCard(String, int)
- Constructor for class Monopoly.
GoToJailCard
Creates a new GoToJailCard object.
GUI
- package GUI
GUI
- Class in
GUI
Class rensonsible for managing the whole graphical user interface of the program.
GUI(Monopoly)
- Constructor for class GUI.
GUI
Constructor of the GUI object.
GUICell
- Class in
GUI
Class used to provide declaration and implementation of all methods used by all cells in the Monopoly Grid.
GUICell()
- Constructor for class GUI.
GUICell
GUICommandCard
- Class in
GUI
Class used to graphically represent the Command Card cells.
GUICommandCard(Cell, int)
- Constructor for class GUI.
GUICommandCard
Constructor of a GUICommandCard object.
GUICompanyCell
- Class in
GUI
Class used to graphically represent the Company objects.
GUICompanyCell(Cell)
- Constructor for class GUI.
GUICompanyCell
Constructor of a GUICompanyCell object.
GUIDecisionCard
- Class in
GUI
Class used to graphically represent the Decision Card objects.
GUIDecisionCard(Cell, int)
- Constructor for class GUI.
GUIDecisionCard
Constructor of a GUIStreet object.
GUIFreeParking
- Class in
GUI
Class used to graphically represent the Free Parking Cell object.
GUIFreeParking()
- Constructor for class GUI.
GUIFreeParking
Constructor of a GUIFreeParking object.
GUIGotoJail
- Class in
GUI
Class used to graphically represent the Go to Jail Cell object.
GUIGotoJail()
- Constructor for class GUI.
GUIGotoJail
Constructor of a GUIGotoJail object.
GUIOptionPane
- Class in
GUI
Class rensponsible for creating and showing all the appropriate windows to the screen.
GUIOptionPane()
- Constructor for class GUI.
GUIOptionPane
GUIPrison
- Class in
GUI
Class used to graphically represent the Prison Cell object.
GUIPrison()
- Constructor for class GUI.
GUIPrison
Constructor of a GUIPrison object.
GUIStartCell
- Class in
GUI
Class used to graphically represent the Start Cell object.
GUIStartCell()
- Constructor for class GUI.
GUIStartCell
Constructor of a GUIStart object.
GUIStreet
- Class in
GUI
Class used to graphically represent the Street objects.
GUIStreet(Cell, int)
- Constructor for class GUI.
GUIStreet
Constructor of a GUIStreet object.
GUITaxes
- Class in
GUI
Class used to graphically represent the Tax objects.
GUITaxes(Cell)
- Constructor for class GUI.
GUITaxes
Constructor of a GUITax object.
GUITrade
- Class in
GUI
Class which is instantized whenever a trade must occur between two players.
GUITrade(Monopoly)
- Constructor for class GUI.
GUITrade
Constructor of a new GUITrade object.
GUITrainStation
- Class in
GUI
Class used to graphically represent the Train Station objects.
GUITrainStation(Cell, int)
- Constructor for class GUI.
GUITrainStation
Constructor of a GUIStreet object.
H
houseAction(Object[], String)
- Static method in class GUI.
GUIOptionPane
Method invoked when user decides that he wants to buy(or sell) a house to one of his/her streets.
housePrice()
- Method in class Monopoly.
Street
Returns the price of a house which can be build on the street (Accessor).
I
Interactive
- Interface in
Monopoly
This interface has the characteristicts of all the cells or cards of Monopoly which can perform an action.
isDoubles()
- Method in class Monopoly.
Dice
Returns whether doubles were rolled.
ismortaged()
- Method in class Monopoly.
Property
Returns whether a property is mortaged or not (Accessor).
J
jailWindow(boolean, String)
- Static method in class GUI.
GUIOptionPane
Method invoked when user has previously sent to jail.
L
list1
- Variable in class GUI.
GUITrade
list2
- Variable in class GUI.
GUITrade
M
Main
- Class in
Monopoly
Write a description of class Main here.
Main()
- Constructor for class Monopoly.
Main
main(String[])
- Static method in class Monopoly.
Main
MenuWorker
- Class in
GUI
Class rensponsible for managing the menus of the program.
MenuWorker(GUI)
- Constructor for class GUI.
MenuWorker
Constructor of a new MenuWorker object.
MoneyCard
- Class in
Monopoly
This is the abstract class MoneyCard.
MoneyCard(int, String, int)
- Constructor for class Monopoly.
MoneyCard
Creates a new MoneyCard object.
Monopoly
- package Monopoly
Monopoly
- Class in
Monopoly
Invariant: Once created and until destroyed, this instance represents a Monopoly game with its grafical representation.
Monopoly()
- Constructor for class Monopoly.
Monopoly
Creates a new Monopoly object.
mortage()
- Method in class GUI.
GUICompanyCell
mortage()
- Method in class GUI.
GUIStreet
mortage()
- Method in class GUI.
GUITrainStation
mortage()
- Method in interface GUI.
Mortageable
Mortages the graphical representation of a mortagable graphical object (A part of the object will be colored grey).
mortage(Property)
- Method in class Monopoly.
Player
Mortage a property (Transformer).
mortage()
- Method in class Monopoly.
Property
Mortages the property cell (Transformer).
Mortageable
- Interface in
GUI
This is the interface of all the street instances that can be mortaged (and thus be unmortaged).
mortageProperty(int)
- Method in class GUI.
GUI
Method invoked when a user would like to mortage a property.
mortageProperty(Object[], String)
- Static method in class GUI.
GUIOptionPane
Method invoked when user decides that he wants to mortage one of his/her properties .
mortageProperty(Property)
- Method in class Monopoly.
Monopoly
Notifies the active player that a mortage request occured.
move(int, Monopoly)
- Method in class Monopoly.
Player
Move the player for a number of steps (Transformer).
MoveBackCard
- Class in
Monopoly
This is the class MoveBackCard.
MoveBackCard(String, int)
- Constructor for class Monopoly.
MoveBackCard
Creates a new MoveBackCard object.
movePlayer(int, int, int)
- Method in class GUI.
GUI
Method responsible for depicting a player's move in the GUI grid.
movePlayer(int, int, int)
- Method in class Monopoly.
Monopoly
Notifies the GUI that the active player has moved.
moveTo(Cell, Monopoly)
- Method in class Monopoly.
Player
Move the player to a location (Transformer).
MoveToCard
- Class in
Monopoly
This is the class MoveToCard.
MoveToCard(String, String, int)
- Constructor for class Monopoly.
MoveToCard
Creates a new MoveToCard object.
Mrmon
- Variable in class GUI.
GUI
mygame
- Variable in class GUI.
GUI
N
NearestCompanyCard
- Class in
Monopoly
This is the class NearestCompanyCard.
NearestCompanyCard(String, int)
- Constructor for class Monopoly.
NearestCompanyCard
Creates a new NearestCompanyCard object.
NearestTrainStationCard
- Class in
Monopoly
This is the class NearestTrainStationCard.
NearestTrainStationCard(String, int)
- Constructor for class Monopoly.
NearestTrainStationCard
Creates a new NearestTrainStationCard object.
NewGameWindow()
- Static method in class GUI.
GUIOptionPane
Method invoked when a new game is about to start.
newPlayers(ArrayList)
- Method in class Monopoly.
Monopoly
Initializes the players collection, giving each new Player instance a String name and integer number.
nextPlayer()
- Method in class Monopoly.
Monopoly
Returns the player who will play after the active player (Accessor).
notEnoughMoney()
- Static method in class GUI.
GUIOptionPane
Method invoked when a player is trying to perform an action and he/she doesn't have enough money to do so.
notEnoughMoney()
- Method in class Monopoly.
Monopoly
Notifies the user (GUI) that he does not have enough money for the action he requested.
numOfHouses()
- Method in class Monopoly.
Street
Returns the number of the Street cell's houses (Accessor).
P
pay(int)
- Method in class Monopoly.
Player
Pay an amount of money to the Bank (Transformer).
pay(Player, int)
- Method in class Monopoly.
Player
Pay an amount of money to another Player (Transformer).
PayForEveryBuilding
- Class in
Monopoly
This is the class PayForEveryBuilding.
PayForEveryBuilding(int, int, String, int)
- Constructor for class Monopoly.
PayForEveryBuilding
Creates a new PayForEveryBuilding object.
PayMoneyCard
- Class in
Monopoly
This is the class PayMoneyCard.
PayMoneyCard(int, String, int)
- Constructor for class Monopoly.
PayMoneyCard
Creates a new PayMoneyCard object.
PayToEveryPlayer
- Class in
Monopoly
This is the class PayToEveryPlayer.
PayToEveryPlayer(int, String, int)
- Constructor for class Monopoly.
PayToEveryPlayer
Creates a new PayToEveryPlayer object.
PickCard
- Class in
Monopoly
This class represents the cell which makes the player to pick a card.
PickCard(String, int, int)
- Constructor for class Monopoly.
PickCard
Constructs a new "Pick card" cell.
Player
- Class in
Monopoly
This is the class Player.
Player(String, int)
- Constructor for class Monopoly.
Player
Creates a new Player object for the monopoly game.
playersicon
- Variable in class GUI.
WelcomeWindow
PlayersIcons
- Static variable in class GUI.
GUI
playerslist
- Variable in class GUI.
WelcomeWindow
playersposition
- Variable in class GUI.
GUICell
playTurn()
- Method in class Monopoly.
Monopoly
Moves the game to the next round.
Property
- Class in
Monopoly
This abstract class represents any cell which can be owned by a player of Monopoly
Property(String, int, int)
- Constructor for class Monopoly.
Property
Constructs a new cell which can be owned by a player.
purchaseProperty(Monopoly)
- Static method in class GUI.
GUIOptionPane
Method invoked whether user must decide whether he/she wants to buy a property cell.
purchaseProperty()
- Method in class Monopoly.
Monopoly
Notifies the user (GUI) that the active player can purchase a property.
R
refresh(int, String, String, int, int, int)
- Method in class GUI.
GUI
Method used when a change have occured in the content of an emerging menu.
refresh(int, String, String, int, int, int)
- Method in class Monopoly.
Monopoly
Notifies the GUI that a change has occured on the popup menus.
refreshCP(String, int, String, int, int[])
- Method in class GUI.
GUI
Method rensponsible for refreshing the central panel of GUI when a change occures in one of it's components.
releaseProperties()
- Method in class Monopoly.
Player
Set the owner of this player's properties as null.
removefromPosition(int)
- Method in class GUI.
GUICell
Method used to remove a players icon from this cell.
rollDice()
- Method in class Monopoly.
Dice
Rolls the dice.
RollTab
- Variable in class GUI.
GUI
S
ScreenResErrorWindow
- Class in
GUI
Class used in order to inform user that the game can not run in the current screen resolution.
ScreenResErrorWindow()
- Constructor for class GUI.
ScreenResErrorWindow
Constructor of the ExitingWindow object.
sell(Collectable)
- Method in class Monopoly.
Player
Give a Collectable object on a trade (Transformer).
sellHotel()
- Method in class GUI.
GUIStreet
Method used when a player sells a hotel in a street.
sellHouse(int, int)
- Method in class GUI.
GUI
Method invoked when a user would like to sell a house from a street.
sellHouse()
- Method in class GUI.
GUIStreet
Method used when a player sells a house in a street.
sellHouse(Street)
- Method in class Monopoly.
Monopoly
Notifies the active player that a house sail request occured.
sellHouse(Street)
- Method in class Monopoly.
Player
Sell a house of a Street (Transformer).
setConstraints(GridBagConstraints, int, int, int, int, double, double, int)
- Method in class GUI.
GUICell
Method used to set the GridBagConstaints object of each cell
setIsInJail(boolean)
- Method in class Monopoly.
Player
Set the player's isInJail status (Transformer).
setNumOfDoubles(int)
- Method in class Monopoly.
Player
Set the number of doubles this player has rolled (Transformer).
setOwner(Player)
- Method in interface Monopoly.
Collectable
Sets the owner of the Property or GetOutOfJailCard.
setOwner(Player)
- Method in class Monopoly.
GetOutOfJailCard
Set the owner of this card (Transformer).
setOwner(Player)
- Method in class Monopoly.
Property
Sets the given player as the owner of the property cell (Transformer).
setPropertiesPanel()
- Method in class GUI.
GUITrade
Method that initializes the properties panel of the trade window.
setTimes(int)
- Method in class Monopoly.
Player
Set the number of rounds this player has been in prison (Transformer).
showAct()
- Method in class Monopoly.
Monopoly
Show an action on the GUI Central Window.
showAct(Card)
- Method in class Monopoly.
Monopoly
Show an action on the GUI Central Window.
showAct(Taxes)
- Method in class Monopoly.
Monopoly
Show an action on the GUI Central Window.
showCentralPanel(GUI, Card)
- Static method in class GUI.
CentralViewWindow
Method implemented when a card must be viewed on the central panel.
showCentralPanel(GUI, Taxes)
- Static method in class GUI.
CentralViewWindow
Method implemented when tax info must be viewed on the central panel.
showCentralPanel(GUI)
- Static method in class GUI.
CentralViewWindow
Method implemented when the go to jail tab must be viewed on the central panel.
showIntro()
- Static method in class GUI.
GUIOptionPane
Method used to create and show the intro window in the screen, which contains information about the designers of the game.
showRent(GUI, String)
- Static method in class GUI.
GUIOptionPane
Method invoked when user is about to pay rent.
showRent(String)
- Method in class Monopoly.
Monopoly
Inform the user (GUI) for a rent pay with a window.
Street
- Class in
Monopoly
This class represents the Street cells on the Monopoly board.
Street(String, int, int, int, int, int)
- Constructor for class Monopoly.
Street
Constructs a new Street cell
T
Taxes
- Class in
Monopoly
This class represents the cells which make a player who lands on them to pay a tax.
Taxes(String, int, int)
- Constructor for class Monopoly.
Taxes
Constructs a new Tax cell with specific name location and tax to be paid.
temp
- Variable in class GUI.
WelcomeWindow
timesInJail()
- Method in class Monopoly.
Player
Get the number of rounds this player has been in prison (Accessor).
toString()
- Method in class Monopoly.
Card
Get a String identifying the card.
toString()
- Method in class Monopoly.
Property
Returns the name of the Property cell (Accessor).
trade(Collectable)
- Method in class Monopoly.
Player
Obtain a Collectable object from a trade (Transformer).
TrainStation
- Class in
Monopoly
This class represents the TrainStation cells.
TrainStation(String, int, int, int)
- Constructor for class Monopoly.
TrainStation
Constructs a new TrainStation cell with a specific name, location, price and rent
U
unMortage()
- Method in class GUI.
GUICompanyCell
unMortage()
- Method in class GUI.
GUIStreet
unMortage()
- Method in class GUI.
GUITrainStation
unMortage()
- Method in interface GUI.
Mortageable
Mortages the graphical representation of a mortagable graphical object.
unmortage(Property)
- Method in class Monopoly.
Player
Unmortage a property (Transformer).
unmortage()
- Method in class Monopoly.
Property
Unmortages the property cell (Transformer).
unmortageProperty(int)
- Method in class GUI.
GUI
Method invoked when a user would like to unmortage a property.
unmortageProperty(Property)
- Method in class Monopoly.
Monopoly
Notifies the active player that an unmortage request occured.
use(Monopoly)
- Method in class Monopoly.
GetOutOfJailCard
Releases the owner of this card from prison.
W
WelcomeWindow
- Class in
GUI
Class used in order to get the number of players and information concerning their name and their symbol.
WelcomeWindow()
- Constructor for class GUI.
WelcomeWindow
Constuctor of a new WelcomeWindow object.This method is responsible of the construction of all necessary containers and panels inside the welcome window object.
windowActivated(WindowEvent)
- Method in class GUI.
GUI
Method implemented only due to the fact that it is declared in the WindowListener Interface.
windowClosed(WindowEvent)
- Method in class GUI.
GUI
Method implemented only due to the fact that it is declared in the WindowListener Interface.
windowClosing(WindowEvent)
- Method in class GUI.
GUI
Method implemented due to the fact that it is declared in the WindowListener interface.
windowDeactivated(WindowEvent)
- Method in class GUI.
GUI
Method implemented only due to the fact that it is declared in the WindowListener Interface.
windowDeiconified(WindowEvent)
- Method in class GUI.
GUI
Method implemented only due to the fact that it is declared in the WindowListener Interface.
windowIconified(WindowEvent)
- Method in class GUI.
GUI
Method implemented only due to the fact that it is declared in the WindowListener Interface.
windowOpened(WindowEvent)
- Method in class GUI.
GUI
Method implemented only due to the fact that it is declared in the WindowListener Interface.
WonWindow(String, int)
- Static method in class GUI.
GUIOptionPane
Method invoked whether a player has won a game (and thus all other player have lost).
A
B
C
D
E
G
H
I
J
L
M
N
P
R
S
T
U
W
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes