Index of all Fields and Methods
All Packages Class Hierarchy
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
Index of all Fields and Methods
- action(Event, Object).
Method in class LetsMakeADealApplet
- Deal with all other interface interaction (except doors)
- autoPlay().
Method in class LetsMakeADealApplet
- Plays the game automatically
- chooseFirstDoor(int).
Method in class LetsMakeADealApplet
- Marks given door as selected.
- clearEverything().
Method in class LetsMakeADealApplet
- Clears all counters and resets game
- DoorCanvas().
Constructor for class DoorCanvas
- Provided for convenience only.
- DoorCanvas(ImageCanvasEventHandler, Image, Image, Image).
Constructor for class DoorCanvas
- Creates a DoorCanvas.
- draw().
Method in class ImageCanvas
- Draws the ImageCanvas
- gameLogic(int).
Method in class LetsMakeADealApplet
- Decides what to do when the player selects a door.
- ImageCanvas().
Constructor for class ImageCanvas
- This is provided for convenience only.
- ImageCanvas(ImageCanvasEventHandler, Image).
Constructor for class ImageCanvas
- Creates an ImageCanvas with the specified event handler and
initial image.
- imageCanvasEvent(ImageCanvas).
Method in class LetsMakeADealApplet
- This method is a callback that's called when the player
clicks a door.
- init().
Method in class LetsMakeADealApplet
- Reads parameters from APPLET tag, loads images, lays out components,
initializes game.
- initGame().
Method in class LetsMakeADealApplet
- Initializes game.
- isBad().
Method in class DoorCanvas
- Is this door the booby prize?
- LetsMakeADealApplet().
Constructor for class LetsMakeADealApplet
-
- minimumSize().
Method in class ImageCanvas
-
- mouseDown(Event, int, int).
Method in class ImageCanvas
- Handles a mouseDown event by calling the ImageCanvas' callback
(set in the constructor).
- mouseUp(Event, int, int).
Method in class ImageCanvas
- Doesn't do anything right now
- paint(Graphics).
Method in class ImageCanvas
-
- paint(Graphics).
Method in class LetsMakeADealApplet
-
- preferredSize().
Method in class ImageCanvas
-
- setBad().
Method in class DoorCanvas
- Sets the DoorCanvas to the revealed booby prize state
- setImage(Image).
Method in class ImageCanvas
- Sets the ImageCanvas to a new Image.
- setSelected().
Method in class DoorCanvas
- Sets the DoorCanvas to the selected state
- setUnselected().
Method in class DoorCanvas
- Sets the DoorCanvas to the unselected state
- updateStats().
Method in class LetsMakeADealApplet
- Updates all statistics
- updateStayLose().
Method in class LetsMakeADealApplet
-
- updateStayWin().
Method in class LetsMakeADealApplet
-
- updateSwitchLose().
Method in class LetsMakeADealApplet
-
- updateSwitchWin().
Method in class LetsMakeADealApplet
-