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

A

addDrawable(Drawable). Method in class jovial.slotCar.animator.Animator
Add to the list of things that we draw
Animatee(). Constructor for class jovial.slotCar.animator.Animatee
Animator(). Constructor for class jovial.slotCar.animator.Animator
Initialize a new animator.

C

canMove(). Method in class jovial.slotCar.Car
canMove(). Method in class jovial.slotCar.animator.Drawable
canMove(). Method in class jovial.slotCar.track.TrackSegment
Car(TrackPosition, Color, Color, GasPedal). Constructor for class jovial.slotCar.Car
Create a new car
color(). Method in class jovial.slotCar.track.Track
color(). Method in class jovial.slotCar.track.TrackSegment
createFigureEightTrack(Animator). Static method in class jovial.slotCar.track.Track
Create a Figure 8 track.

D

distance(). Method in class jovial.slotCar.track.TrackPosition
Drawable(). Constructor for class jovial.slotCar.animator.Drawable

E

erase(Graphics). Method in class jovial.slotCar.Car
Erase this Car
erase(Graphics). Method in class jovial.slotCar.animator.Drawable
Erase this drawable.
erase(Graphics). Method in class jovial.slotCar.track.TrackSegment
Erase this drawable.

F

firstSegment(). Method in class jovial.slotCar.track.FigureEightTrack
firstSegment(). Method in class jovial.slotCar.track.Track
firstSlotIsNearOrigin(). Method in class jovial.slotCar.track.TrackSegment

G

getThrottle(). Method in interface jovial.slotCar.GasPedal
Tell us how far the throttle is down return Number in the range 0..1, where 1 is full-throttle
getThrottle(). Method in class jovial.slotCar.RandomGasPedal

H

handleEvent(Event). Method in class jovial.slotCar.Race
Handle an event from one of our widgets
height(). Method in class jovial.slotCar.Car
height(). Method in class jovial.slotCar.animator.Drawable
height(). Method in class jovial.slotCar.track.TrackPosition
height(). Method in class jovial.slotCar.track.TrackSegment
Give the height of this Drawable

I

init(Animatee). Method in class jovial.slotCar.animator.Animator
Initialize us with an animatee.

M

main(String[]). Static method in class jovial.slotCar.Race
Run the program
move(long). Method in class jovial.slotCar.animator.Animatee
Cause the scene being animated to move ahead in time by deltaT milliseconds.
move(long). Method in class jovial.slotCar.Car
Move the car ahead in time
move(long). Method in class jovial.slotCar.RaceView
Move the race along in time
moveBy(double). Method in class jovial.slotCar.track.TrackPosition
Move our position
movePositionBy(TrackPosition, double). Method in class jovial.slotCar.track.TrackSegment
Move a position along the track, possibly progressing to next segment.

N

next(). Method in class jovial.slotCar.track.TrackSegment
Get the next segment

O

orientation(). Method in class jovial.slotCar.track.TrackPosition
Report the orientation of an object going down the track at the position we represent

P

paint(Graphics). Method in class jovial.slotCar.animator.Animator
Paint this canvas
paint(Graphics). Method in class jovial.slotCar.Car
Paint this car
paint(Graphics). Method in class jovial.slotCar.animator.Drawable
Paint this drawable
position(). Method in class jovial.slotCar.track.TrackPosition
Report the x,y position we represent
preferredSize(). Method in class jovial.slotCar.animator.Animatee
Give the size our view will want to be
preferredSize(). Method in class jovial.slotCar.animator.Animator
Give our preferred size
preferredSize(). Method in class jovial.slotCar.RaceView
Give the size our view will want to be

R

Race(). Constructor for class jovial.slotCar.Race
RaceApplet(). Constructor for class jovial.slotCar.RaceApplet
Set up applet
RaceView(Animator). Constructor for class jovial.slotCar.RaceView
Initialize a new RaceView
RandomGasPedal(). Constructor for class jovial.slotCar.RandomGasPedal
run(). Method in class jovial.slotCar.animator.Animator
Cause this animator to start running.

S

setCurrSegment(TrackSegment). Method in class jovial.slotCar.track.TrackPosition
Change the current track segment.
setDistance(double). Method in class jovial.slotCar.track.TrackPosition
Change our distance along segment.
setFirstSlotIsNearOrigin(boolean). Method in class jovial.slotCar.track.TrackSegment
Set if slot 0 is near the origin.
setHeight(int). Method in class jovial.slotCar.track.TrackSegment
Set the height of this segment
setNext(TrackSegment). Method in class jovial.slotCar.track.TrackSegment
Set the next segment pointer.
setOrientation(double). Method in class jovial.slotCar.track.TrackPosition
Change the value of orientation.
setPosition(Point). Method in class jovial.slotCar.track.TrackPosition
Change our position.
slot(). Method in class jovial.slotCar.track.TrackPosition
start(). Method in class jovial.slotCar.RaceApplet
Start this applet
stop(). Method in class jovial.slotCar.RaceApplet
Stop running this applet

T

Track(). Constructor for class jovial.slotCar.track.Track
TrackPosition(int, TrackSegment). Constructor for class jovial.slotCar.track.TrackPosition
Initialize a new position