A B C D G I K M P R S T

A

addTo(GWindow) - Method in class TransitBusSymbol
Add this symbol to the given GWindow.

B

BusDisplay - class BusDisplay.
This class manages the process of reading bus events and displaying them.
BusDisplay() - Constructor for class BusDisplay
 
BusReader - class BusReader.
This class reads lines of text from an input stream reader and interprets them as bus events.
BusReader(String) - Constructor for class BusReader
Create a new BusReader object with which to read from a file.
BusReader(String, int) - Constructor for class BusReader
Create a new BusReader object with which to read a network port.

C

close() - Method in class BusReader
Close the stream.

D

doClickAction() - Method in class TransitBusSymbol
This method is called whenever this Prop is clicked on.

G

getNextTransitBusEvent() - Method in class BusReader
Read one line from the input stream, decode it, construct a new TransitBusEvent, and return that to the caller.

I

intersects(Shape) - Method in class TransitBusSymbol
Decide if the other Shape intersects this symbol.

K

keyPressed(GWindowEvent) - Method in class TransitMap
Process notification of KeyPressed events
keyReleased(GWindowEvent) - Method in class TransitMap
Process notification of KeyReleased events

M

main(String[]) - Static method in class BusDisplay
This program can read bus event records from a file or from a network port.
mouseDragged(GWindowEvent) - Method in class TransitMap
Process notification of MouseDragged events
mousePressed(GWindowEvent) - Method in class TransitMap
Process notification of MousePressed events
mouseReleased(GWindowEvent) - Method in class TransitMap
Process notification of MouseReleased events

P

pixelX(double) - Method in class TransitMap
Convert a longitude value to an X-pixel address
pixelY(double) - Method in class TransitMap
Convert a latitude value to a Y-pixel address
processBusEvent(TransitBusEvent) - Method in class TransitMap
Given a new bus event, check to see if we already have a symbol for it.

R

removeFromWindow() - Method in class TransitBusSymbol
Remove this symbol from the GWindow it was added to earlier.

S

setVehicleLocation(TransitMap, double, double) - Method in class TransitBusSymbol
Set the Location of the LocatedVehicle we are tracking, based on new latitude and longitude values.

T

timerExpired(GWindowEvent) - Method in class TransitMap
Process notification of TimerExpired events
toString() - Method in class TransitBusSymbol
Provide a String representing this symbol.
TransitBusSymbol - class TransitBusSymbol.
This class holds all the parts of a symbol that represents a bus on a map.
TransitBusSymbol(TransitBusEvent) - Constructor for class TransitBusSymbol
Create a new TransitBusSymbol.
TransitMap - class TransitMap.
This class creates and updates a display of bus locations.
TransitMap(String, double, double, double, double) - Constructor for class TransitMap
Create a new TransitMap using the given image.

A B C D G I K M P R S T