Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
B
C
D
I
O
P
R
S
U
X
Y
B
BouncingBall
- Class in
<Unnamed>
A class shows a ball moving inside a rectangular box
BouncingBall()
- Constructor for class
BouncingBall
bouncingThread
- Variable in class
BouncingBall
The thread that keeps the ball bouncing
C
color
- Variable in class
BouncingBall
The ball color
D
d
- Variable in class
BouncingBall
Size of the viewing area
delay
- Variable in class
BouncingBall
If no parameter passed then we set interval between two consecutive frames
dx
- Variable in class
BouncingBall
The distance that ball passed during the move
dy
- Variable in class
BouncingBall
The distance that ball passed during the move
I
image
- Variable in class
BouncingBall
Off-screen image
init()
- Method in class
BouncingBall
The initialization of the object
O
offscreen
- Variable in class
BouncingBall
Off-screen graphics
P
paint(Graphics)
- Method in class
BouncingBall
Paints the box and the ball
R
radius
- Variable in class
BouncingBall
The ball radius
run()
- Method in class
BouncingBall
Contains inifinite loop and periodically calls repaint method
S
start()
- Method in class
BouncingBall
Activates the applet
stop()
- Method in class
BouncingBall
Deactivates the applet
U
update(Graphics)
- Method in class
BouncingBall
Representation of the ball movement
X
x
- Variable in class
BouncingBall
The ball coordinates of current position
Y
y
- Variable in class
BouncingBall
The ball coordinates of current position
B
C
D
I
O
P
R
S
U
X
Y
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes