Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
R
S
U
W
_
G
getCanvas()
- Method in class ballwar.model.
BallModel
getCanvas()
- Method in interface ballwar.model.
IBallEnvironment
Gets the Component that the Balls will be painted on.
getCanvas()
- Method in interface ballwar.model.
IViewCtrlAdapter
getCanvas()
- Method in class ballwar.view.
BallGUI
Accessor method for the panel upon which the balls are to be drawn
getCanvasHeight()
- Method in interface ballwar.model.
IViewCtrlAdapter
Gets the height of the GUI component upon which the balls are painted.
getCanvasWidth()
- Method in interface ballwar.model.
IViewCtrlAdapter
Gets the width of the GUI component upon which the balls are painted.
getColor()
- Method in class ballwar.model.
Ball
Returns the current color of this Ball.
getDblVal()
- Method in class util.
SineMaker
Returns a different value each time it is called.
getDispatcher()
- Method in class ballwar.model.
BallModel
Get the dispatcher used to notify all the balls to execute a supplied command.
getDispatcher()
- Method in interface ballwar.model.
IBallEnvironment
Get the ball dispatcher used by the system.
getDisplayStr(String)
- Method in class ballwar.model.
BallModel
Called by the view to get the current display string.
getDisplayStr(String)
- Method in interface ballwar.view.
IBallCtrlAdapter
Asks that the models augment or replace the current given display string.
getDownKey()
- Method in interface ballwar.model.
IMovementKeys
Get the name of the key that controls downward movement.
getEnv()
- Method in class ballwar.model.
Ball
Get the ball's environment
getHeight()
- Method in class ballwar.model.
BallModel
Gets the height of the ball's environment
getHeight()
- Method in interface ballwar.model.
IBallEnvironment
Get the height of the ball's environment.
getIntVal()
- Method in class util.
SineMaker
Same as getDblVal, but returns the result rounded to the nearest integer.
getLeftKey()
- Method in interface ballwar.model.
IMovementKeys
Get the name of the key that controls leftward movement.
getLocation()
- Method in class ballwar.model.
Ball
Returns the current center of this Ball.
getLocation()
- Method in interface ballwar.model.
IMoveable
The current location of the moveable object.
getMass()
- Method in class ballwar.model.
Ball
Get the ball's mass
getMovementKeys()
- Method in interface ballwar.model.
IPlayer
Get the set of movement keys associated with this player.
getName()
- Method in interface ballwar.model.
IPlayer
Get the player's name.
getPaintStrategy()
- Method in class ballwar.model.
Ball
Returns the current paint strategy of this Ball
getRadius()
- Method in class ballwar.model.
Ball
Returns the current radius for this Ball.
getRightKey()
- Method in interface ballwar.model.
IMovementKeys
Get the name of the key that controls right ward movement.
getScore()
- Method in interface ballwar.model.
IPlayer
Get the player's score
getSelectedItem()
- Method in class ballwar.view.
OptionPanel
Returns the selected item from the drop list without removing it from the list.
getSelectedPlayer()
- Method in class ballwar.model.
BallModel
Get the currently selected player from the view.
getSelectedPlayer()
- Method in interface ballwar.model.
IBallEnvironment
Get the currently selected player.
getSelectedPlayer()
- Method in interface ballwar.model.
IViewCtrlAdapter
Returns the currently selected player on the GUI.
getSelectedPlayer()
- Method in class ballwar.view.
BallGUI
Returns the selected player (held in a drop list) .
getStopKey()
- Method in interface ballwar.model.
IMovementKeys
Get the name of the key that stops the movement.
getStrategy()
- Method in class ballwar.model.
Ball
Returns the current strategy of this Ball
getUpKey()
- Method in interface ballwar.model.
IMovementKeys
Get the name of the key that controls upward movement.
getVelocity()
- Method in class ballwar.model.
Ball
Returns the current velocity of this Ball.
getWidth()
- Method in class ballwar.model.
BallModel
Get's the width of the ball's environment.
getWidth()
- Method in interface ballwar.model.
IBallEnvironment
Get the width of the ball's environment.
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
R
S
U
W
_