Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
<
A
B
C
D
E
F
G
H
I
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
_
<
()
- Static method in class support.Flight.
Map
A
addTickerEvent(TickerEvent)
- Method in class support.Ticker.
EventDisplayer
addTickerEvent(TickerEvent, Color)
- Method in class support.Ticker.
EventDisplayer
addTickerEvent(TickerEvent, Color, Color)
- Method in class support.Ticker.
EventDisplayer
Add another ticker event to the event displayer
AIRLINE
- Static variable in class support.Flight.
FlightSpecs
airline_
- Variable in class support.Flight.
FlightSpecs
airline()
- Method in class support.Flight.
FlightSpecs
AIRLINEEND
- Static variable in class support.Flight.
FlightSpecs
airportClickedCallback(String)
- Method in class support.Flight.
GUI
called by Map, to tell main GUI when an airport is selected
airportdict_
- Variable in class support.Flight.
Parser
airportInputted_
- Variable in class support.Flight.
GUI
airports()
- Method in class support.Flight.
Parser
Get results of parsing the airport database
AirportSpecs
- class support.Flight.
AirportSpecs
.
Data bucket holding information about an airport.
AirportSpecs(String)
- Constructor for class support.Flight.
AirportSpecs
#Fields: # 3 - Airport abbreviation # 1 -
# 5 - Time Offset (from GMT) # 1 -
# 3 - X coordinate on map # 1 -
# 3 - Y coordinate on map # 1 -
# remainder - Name of City/Airport i.e.
airportSpecs(Vertex)
- Method in class support.Flight.
FullFinder
Map from the given vertex to the AirportSpecs for the airport.
APP_BG
- Static variable in class support.Flight.
GUI
APP_FG
- Static variable in class support.Flight.
GUI
APP_FONT
- Static variable in class support.Flight.
GUI
APP_HEIGHT
- Static variable in class support.Flight.
GUI
APP_WIDTH
- Static variable in class support.Flight.
GUI
arrivalTime()
- Method in class support.Flight.
FlightSpecs
arrtime_
- Variable in class support.Flight.
FlightSpecs
awtComponent()
- Method in class support.Ticker.
EventDisplayer
B
background_
- Variable in class support.Flight.
Map
BLACK
- Static variable in interface support.Flight.
UserInterface
When colors are needed, use these constants, or just make a java.awt.Color using the java.awt.Color class itself.
BLUE
- Static variable in interface support.Flight.
UserInterface
BoughtEvent
- class support.Ticker.
BoughtEvent
.
BoughtEvent(int, int, int)
- Constructor for class support.Ticker.
BoughtEvent
buildFrame()
- Method in class support.Ticker.
UserInterface
buildGraph()
- Static method in class support.Flight.
Flight
buildGraph(Enumeration, Enumeration)
- Method in class support.Flight.
FullFinder
You need to modify this method.
Build the graph, given the list of airports and the list of flights.
buildingGraph()
- Method in interface support.Flight.
UserInterface
Displays a status report for the user.
buildingGraph()
- Method in class support.Flight.
GUI
Output a message to the message bar.
buildInputPanels(Container)
- Method in class support.Ticker.
UserInterface
buildLabelPanel()
- Method in class support.Ticker.
EventDisplayer
buildPendingPanel(Container, Color, Color)
- Method in class support.Ticker.
UserInterface
Builds the Ticker Pending panel that appears on the left side of the main frame (window).
buildRightPanel(Container)
- Method in class support.Ticker.
UserInterface
BUTTONBG
- Static variable in class support.Ticker.
UserInterface
BuyEvent
- class support.Ticker.
BuyEvent
.
BuyEvent(int, int, int)
- Constructor for class support.Ticker.
BuyEvent
buyOrder(int, int)
- Method in class support.Ticker.
RefMarketMaker
process a buy order
buyOrder(int, int)
- Method in class stockmarket.
MarketMaker
process a buy order
BuyOrders
- Variable in class support.Ticker.
RefMarketMaker
priority queue storing open buy orders
C
cancel(int)
- Method in class support.Ticker.
RefMarketMaker
cancel an order given its ID
CancelEvent
- class support.Ticker.
CancelEvent
.
CancelEvent(int, int, int)
- Constructor for class support.Ticker.
CancelEvent
clear()
- Method in class support.Flight.
FullFinder
Clear all decorations.
clear()
- Method in class support.Ticker.
EventDisplayer
clearAirports()
- Method in interface support.Flight.
UserInterface
Erases all airport vertices and flight edges displayed.
clearAirports()
- Method in class support.Flight.
GUI
clearAll()
- Static method in class support.Flight.
Flight
clearEdges()
- Method in class support.Flight.
Map
clearFlights()
- Method in interface support.Flight.
UserInterface
Erases all flight edges displayed.
clearFlights()
- Method in class support.Flight.
GUI
clearVertices()
- Method in class support.Flight.
Map
client_
- Variable in class support.Flight.
Map
CODE
- Static variable in class support.Flight.
AirportSpecs
code_
- Variable in class support.Flight.
AirportSpecs
code()
- Method in class support.Flight.
AirportSpecs
CODEEND
- Static variable in class support.Flight.
AirportSpecs
color
- Variable in class support.Flight.
GUIEdge
color
- Variable in class support.Flight.
GUIVertex
console_
- Variable in class support.Flight.
GUI
CONSOLE_WIDTH
- Static variable in class support.Flight.
GUI
createID(Locator)
- Method in class support.Ticker.
IDManager
crossOrders(Sequence)
- Method in class support.Ticker.
RefMarketMaker
execute a maximal series of trades by matching open buy and sell orders, and profit from spreads
crossOrders(Sequence)
- Method in class stockmarket.
MarketMaker
execute a maximal series of trades by matching open buy and sell orders, and profit from spreads
D
dbprefix
- Static variable in interface support.Flight.
Paths
departureTime()
- Method in class support.Flight.
FlightSpecs
deptime_
- Variable in class support.Flight.
FlightSpecs
DEST
- Static variable in class support.Flight.
FlightSpecs
destCode_
- Variable in class support.Flight.
FlightSpecs
DESTEND
- Static variable in class support.Flight.
FlightSpecs
destinationCode()
- Method in class support.Flight.
FlightSpecs
DESTTIME
- Static variable in class support.Flight.
FlightSpecs
DESTTIMEEND
- Static variable in class support.Flight.
FlightSpecs
destx
- Variable in class support.Flight.
GUIEdge
desty
- Variable in class support.Flight.
GUIEdge
dict_
- Variable in class support.Flight.
FullFinder
dict_
- Variable in class support.Ticker.
IDManager
dijkstra()
- Static method in class support.Flight.
Flight
displayOpenOrders()
- Method in class support.Ticker.
UserInterface
distance(Vertex)
- Method in class support.Flight.
FullFinder
Get the length of the shortest path so far to the airport represented by
v
.
draw()
- Method in class support.Ticker.
TickerEvent
drawAirport(AirportSpecs, Color)
- Method in interface support.Flight.
UserInterface
Draws or redraws an airport, with the specified color.
drawAirport(AirportSpecs, Color)
- Method in class support.Flight.
Map
drawAirport(AirportSpecs, Color)
- Method in class support.Flight.
GUI
drawAllAirports(Color)
- Method in interface support.Flight.
UserInterface
Colors all airports the same color
drawAllAirports(Color)
- Method in class support.Flight.
Map
drawAllAirports(Color)
- Method in class support.Flight.
GUI
drawEdge(GUIEdge, Graphics)
- Method in class support.Flight.
Map
drawFlight(FlightSpecs, Color)
- Method in interface support.Flight.
UserInterface
Draws or redraws a flight, with the specified color.
drawFlight(FlightSpecs, Color)
- Method in class support.Flight.
Map
drawFlight(FlightSpecs, Color)
- Method in class support.Flight.
GUI
drawVertex(GUIVertex, Graphics)
- Method in class support.Flight.
Map
E
EDGE
- Variable in class support.Flight.
FullFinder
edges_
- Variable in class support.Flight.
Map
EventDisplayer
- class support.Ticker.
EventDisplayer
.
EventDisplayer(Color, Color)
- Constructor for class support.Ticker.
EventDisplayer
exit()
- Method in interface support.Flight.
UserInterface
Call this just before your mainline exits.
exit()
- Method in class support.Flight.
GUI
Exit the program, closing all windows.
F
fareCodes()
- Method in class support.Flight.
FlightSpecs
FARES
- Static variable in class support.Flight.
FlightSpecs
fares_
- Variable in class support.Flight.
FlightSpecs
field_
- Variable in class support.Flight.
GUI
FIELD_BG
- Static variable in class support.Flight.
GUI
FIELD_HEIGHT
- Static variable in class support.Flight.
GUI
Flight
- class support.Flight.
Flight
.
Basically a bunch of procedural code, wrapped up in the OO manner that Java requires.
FLIGHT
- Static variable in class support.Flight.
FlightSpecs
Flight()
- Constructor for class support.Flight.
Flight
FLIGHTDB_PATH
- Static variable in class support.Flight.
Flight
FLIGHTEND
- Static variable in class support.Flight.
FlightSpecs
FlightException
- exception support.Flight.
FlightException
.
FlightException(String)
- Constructor for class support.Flight.
FlightException
flightNumber()
- Method in class support.Flight.
FlightSpecs
flights()
- Method in class support.Flight.
Parser
Get results of parsing the flight database
flightseq_
- Variable in class support.Flight.
Parser
FlightSpecs
- class support.Flight.
FlightSpecs
.
Data bucket that holds information about a flight.
flightSpecs(Edge)
- Method in class support.Flight.
FullFinder
Map from the given edge to the FlightSpecs for the flight.
FlightSpecs(String, Dictionary)
- Constructor for class support.Flight.
FlightSpecs
Parses a line from a file into a data object representing the flight info.
FRAMEHEIGHT
- Static variable in class support.Ticker.
UserInterface
FRAMEWIDTH
- Static variable in class support.Ticker.
UserInterface
FullFinder
- class support.Flight.
FullFinder
.
This class maintains the database of flights and handles shortest-path queries.
FullFinder()
- Constructor for class support.Flight.
FullFinder
The constructor.
G
g_
- Variable in class support.Flight.
FullFinder
GMT
- Static variable in class support.Flight.
AirportSpecs
GMTEND
- Static variable in class support.Flight.
AirportSpecs
gmtOff_
- Variable in class support.Flight.
AirportSpecs
GMToffset()
- Method in class support.Flight.
AirportSpecs
The GMT offset is the number of minutes to be added to transform from Greenwich Mean Time to local airport time.
GRAY
- Static variable in interface support.Flight.
UserInterface
GREEN
- Static variable in interface support.Flight.
UserInterface
GUI
- class support.Flight.
GUI
.
GUI implements the UserInterface interface with an AWT GUI.
GUI()
- Constructor for class support.Flight.
GUI
Construct an instance of this class.
GUIEdge
- class support.Flight.
GUIEdge
.
Just a data bucket, allowing us to maintain state about location and color of edges, for later redrawing if required.
GUIEdge(int, int, int, int, Color)
- Constructor for class support.Flight.
GUIEdge
GUIVertex
- class support.Flight.
GUIVertex
.
Just a data bucket, allowing us to maintain state about location and color of vertices, for later redrawing if required.
GUIVertex(int, int, Color, String)
- Constructor for class support.Flight.
GUIVertex
H
HEIGHT
- Static variable in class support.Flight.
Map
highlight()
- Static method in class support.Flight.
Flight
HOURLEN
- Static variable in class support.Flight.
StandardOps
HOUROFF
- Static variable in class support.Flight.
StandardOps
I
ibShouldSleep
- Static variable in class support.Flight.
Map
id
- Variable in class support.Flight.
GUIVertex
id_
- Variable in class support.Ticker.
TickerEvent
id()
- Method in class support.Ticker.
TickerEvent
id(Locator)
- Method in class support.Ticker.
RefMarketMaker
adaptor
id(Locator)
- Method in class stockmarket.
MarketMaker
adaptor
IDManager
- class support.Ticker.
IDManager
.
IDManager()
- Constructor for class support.Ticker.
IDManager
IDTable
- Variable in class support.Ticker.
RefMarketMaker
table that asociates order locators with order IDs
INFINITE
- Static variable in class support.Flight.
FullFinder
initializeGraph()
- Method in class support.Flight.
FullFinder
You need to modify this method.
Get the graph (which has already been built) ready for running the algorithm.
initializingGraph()
- Method in interface support.Flight.
UserInterface
Displays a status report for the user.
initializingGraph()
- Method in class support.Flight.
GUI
Output a message to the message bar.
INVISIBLE
- Static variable in interface support.Flight.
UserInterface
IOPANELBG
- Static variable in class support.Ticker.
UserInterface
IOPANELFG
- Static variable in class support.Ticker.
UserInterface
L
LABELFONT
- Static variable in class support.Ticker.
EventDisplayer
localarrtime_
- Variable in class support.Flight.
FlightSpecs
localdeptime_
- Variable in class support.Flight.
FlightSpecs
LOCATOR
- Variable in class support.Flight.
FullFinder
locator(int)
- Method in class support.Ticker.
IDManager
M
main(String[])
- Static method in class support.Flight.
Parser
A quick and dirty test to see that the above works.
main(String[])
- Static method in class support.Flight.
Flight
main(String[])
- Static method in class support.Ticker.
Ticker
map
- Static variable in interface support.Flight.
Paths
Map
- class support.Flight.
Map
.
Class that displays a map of the USA, draws vertices and edges on it when asked, and reports mouse interaction with the vertices.
map_
- Variable in class support.Flight.
GUI
MAP_IMAGE
- Static variable in class support.Flight.
Map
Map(GUI)
- Constructor for class support.Flight.
Map
MarketMaker
- class stockmarket.
MarketMaker
.
This class implements the actions of a market maker who handles all the trades for a certain stock.
MarketMaker()
- Constructor for class stockmarket.
MarketMaker
MERIDIANLEN
- Static variable in class support.Flight.
StandardOps
MERIDIANOFF
- Static variable in class support.Flight.
StandardOps
message_
- Variable in class support.Flight.
MessageBar
message(String)
- Method in class support.Flight.
MessageBar
MessageBar
- class support.Flight.
MessageBar
.
MessageBar()
- Constructor for class support.Flight.
MessageBar
MINUTELEN
- Static variable in class support.Flight.
StandardOps
MINUTEOFF
- Static variable in class support.Flight.
StandardOps
mouseClicked(MouseEvent)
- Method in class support.Flight.
Map
mouseDragged(MouseEvent)
- Method in class support.Flight.
Map
mouseEntered(MouseEvent)
- Method in class support.Flight.
Map
mouseExited(MouseEvent)
- Method in class support.Flight.
Map
mouseMoved(MouseEvent)
- Method in class support.Flight.
Map
mousePressed(MouseEvent)
- Method in class support.Flight.
Map
mouseReleased(MouseEvent)
- Method in class support.Flight.
Map
N
NAME
- Static variable in class support.Flight.
AirportSpecs
name_
- Variable in class support.Flight.
AirportSpecs
name()
- Method in class support.Flight.
AirportSpecs
name()
- Method in class support.Ticker.
TickerEvent
name()
- Method in class support.Ticker.
BoughtEvent
name()
- Method in class support.Ticker.
SpreadEvent
name()
- Method in class support.Ticker.
SellEvent
name()
- Method in class support.Ticker.
CancelEvent
name()
- Method in class support.Ticker.
BuyEvent
name()
- Method in class support.Ticker.
SoldEvent
newSpeed()
- Static method in class support.Flight.
Flight
nextID_
- Variable in class support.Ticker.
IDManager
NOON
- Static variable in class support.Flight.
StandardOps
nshares_
- Variable in class support.Ticker.
TickerEvent
number_
- Variable in class support.Flight.
FlightSpecs
O
offscreen_
- Variable in class support.Flight.
MessageBar
offscreen_
- Variable in class support.Flight.
Map
OpenOrders
- class support.Ticker.
OpenOrders
.
We use PQ-sort since the ticker events are coming from a PQ.
openOrders()
- Method in class support.Ticker.
RefMarketMaker
list open orders
openOrders()
- Method in class stockmarket.
MarketMaker
list open orders
OpenOrders()
- Constructor for class support.Ticker.
OpenOrders
originCode()
- Method in class support.Flight.
FlightSpecs
origx
- Variable in class support.Flight.
GUIEdge
origy
- Variable in class support.Flight.
GUIEdge
otherMessage(String)
- Method in interface support.Flight.
UserInterface
You can use this to give your own status reports or your own prompts.
otherMessage(String)
- Method in class support.Flight.
GUI
Output an arbitrary message to the message bar.
P
paint(Graphics)
- Method in class support.Flight.
MessageBar
paint(Graphics)
- Method in class support.Flight.
Map
parseFlights(String, Dictionary)
- Method in class support.Flight.
Parser
Parse the flights file.
parseGraph(String)
- Method in class support.Flight.
Parser
Parse the graph (airport) file.
parseInt(String)
- Static method in class support.Flight.
StandardOps
Parses the string as an integer.
Parser
- class support.Flight.
Parser
.
The methods in this class take the data stored in the flight databases and parse it, creating containers of AirportSpecs and FlightSpecs.
Parser(String, String)
- Constructor for class support.Flight.
Parser
Parses the data files into containers, so the Parser object is ready to have airports() or flights() called on it.
parseTime(String)
- Static method in class support.Flight.
StandardOps
Parses a String in the format of printTime(.) as a time.
parsing()
- Method in interface support.Flight.
UserInterface
Displays a status report for the user.
parsing()
- Method in class support.Flight.
GUI
Output a message to the message bar.
PathFinder
- class travelagent.
PathFinder
.
This class maintains the database of flights and handles shortest-path queries.
PathFinder()
- Constructor for class travelagent.
PathFinder
Paths
- interface support.Flight.
Paths
.
Constants for the file paths, useful if you move the project around.
pause(long)
- Method in interface support.Flight.
UserInterface
Freeze the GUI for a bit.
pause(long)
- Method in class support.Flight.
GUI
Pauses the program for the specified number of milliseconds.
PENDINGBG
- Static variable in class support.Ticker.
UserInterface
PENDINGBUYBG
- Static variable in class support.Ticker.
UserInterface
PENDINGBUYFG
- Static variable in class support.Ticker.
UserInterface
PENDINGFG
- Static variable in class support.Ticker.
UserInterface
PENDINGSELLBG
- Static variable in class support.Ticker.
UserInterface
PENDINGSELLFG
- Static variable in class support.Ticker.
UserInterface
PLANE
- Static variable in class support.Flight.
FlightSpecs
plane_
- Variable in class support.Flight.
FlightSpecs
PLANEEND
- Static variable in class support.Flight.
FlightSpecs
planeType()
- Method in class support.Flight.
FlightSpecs
pq_
- Variable in class support.Flight.
FullFinder
prefix
- Static variable in interface support.Flight.
Paths
price_
- Variable in class support.Ticker.
TickerEvent
price()
- Method in class support.Ticker.
TickerEvent
price(Locator)
- Method in class support.Ticker.
RefMarketMaker
adaptor
price(Locator)
- Method in class stockmarket.
MarketMaker
adaptor
printInt(int, int, char)
- Static method in class support.Flight.
StandardOps
Creates a string corresponding to the integer with the specified width and left-fill.
printInt(int, int, char)
- Static method in class support.Ticker.
TickerEvent
hacks around the lack of printf; stolen from StandardOps.java in Flight.
printInt(int, int, String)
- Static method in class support.Flight.
StandardOps
Similar to above, but fills with a String.
printString(String, int, char)
- Static method in class support.Ticker.
TickerEvent
also hacks printf: this does the equivalent of %14s
printStringRight(String, int, char)
- Static method in class support.Ticker.
TickerEvent
also hacks printf: this does the equivalent of %-14s
printTime(int)
- Static method in class support.Flight.
StandardOps
Creates a string corresponding to the time.
processBuySell()
- Method in class support.Ticker.
UserInterface
processCancel()
- Method in class support.Ticker.
UserInterface
processingQuery()
- Method in interface support.Flight.
UserInterface
Displays a status report for the user.
processingQuery()
- Method in class support.Flight.
GUI
Output a message to the message bar.
Q
queryingAirport_
- Variable in class support.Flight.
GUI
queryingText_
- Variable in class support.Flight.
GUI
R
RADIUS
- Static variable in class support.Flight.
Map
readAirport()
- Method in interface support.Flight.
UserInterface
Once called, this method doesn't return until the user has selected an airport.
readAirport()
- Method in class support.Flight.
GUI
Waits for the user to click on an airport.
readText()
- Method in interface support.Flight.
UserInterface
Once called, this method doesn't return until the user has typed in some text and hit enter.
readText()
- Method in class support.Flight.
GUI
Waits for the user to enter text into the text field.
RED
- Static variable in interface support.Flight.
UserInterface
RefMarketMaker
- class support.Ticker.
RefMarketMaker
.
This class implements the actions of a market maker who handles all the trades for a certain stock.
RefMarketMaker()
- Constructor for class support.Ticker.
RefMarketMaker
instantiate priority queues for the open buy and sell orders and the ID manager
relax(Edge)
- Method in class support.Flight.
FullFinder
You need to modify this method.
relax
the edge.
removeID(int)
- Method in class support.Ticker.
IDManager
removeTickerEvent(TickerEvent)
- Method in class support.Ticker.
EventDisplayer
Remove a ticker event from the event displayer
repaint()
- Method in class support.Flight.
Map
runDijkstra(int, Vertex, Vertex)
- Method in class support.Flight.
FullFinder
Run Dijkstra's shortest path algorithm to find the shortest itinerary to get from the origin to the destination.
S
SellEvent
- class support.Ticker.
SellEvent
.
SellEvent(int, int, int)
- Constructor for class support.Ticker.
SellEvent
sellOrder(int, int)
- Method in class support.Ticker.
RefMarketMaker
process a sell order
SellOrders
- Variable in class support.Ticker.
RefMarketMaker
priority queue storing open sell orders
setID(int)
- Method in class support.Ticker.
TickerEvent
setID(Locator, int)
- Method in class support.Ticker.
RefMarketMaker
adaptor
setID(Locator, int)
- Method in class stockmarket.
MarketMaker
adaptor
setPrice(int)
- Method in class support.Ticker.
TickerEvent
setSize(Dimension)
- Method in class support.Ticker.
EventDisplayer
setSize(int)
- Method in class support.Ticker.
TickerEvent
setSize(int, int)
- Method in class support.Ticker.
EventDisplayer
setSize(Locator, int)
- Method in class support.Ticker.
RefMarketMaker
adaptor
setSize(Locator, int)
- Method in class stockmarket.
MarketMaker
adaptor
setSpeed(int)
- Static method in class support.Flight.
Flight
SIDE
- Static variable in class support.Flight.
Map
size()
- Method in class support.Ticker.
TickerEvent
size(Locator)
- Method in class support.Ticker.
RefMarketMaker
adaptor
size(Locator)
- Method in class stockmarket.
MarketMaker
adaptor
SoldEvent
- class support.Ticker.
SoldEvent
.
SoldEvent(int, int, int)
- Constructor for class support.Ticker.
SoldEvent
sortOrders(Enumeration)
- Static method in class support.Ticker.
OpenOrders
SpreadEvent
- class support.Ticker.
SpreadEvent
.
SpreadEvent(int, int)
- Constructor for class support.Ticker.
SpreadEvent
SRC
- Static variable in class support.Flight.
FlightSpecs
srcCode_
- Variable in class support.Flight.
FlightSpecs
SRCEND
- Static variable in class support.Flight.
FlightSpecs
SRCTIME
- Static variable in class support.Flight.
FlightSpecs
SRCTIMEEND
- Static variable in class support.Flight.
FlightSpecs
StandardOps
- class support.Flight.
StandardOps
.
Some operations the support code likes to do.
StandardOps()
- Constructor for class support.Flight.
StandardOps
Can't construct one of these; don't need to, either.
status_
- Variable in class support.Flight.
GUI
STATUS_HEIGHT
- Static variable in class support.Flight.
GUI
stockmarket
- package stockmarket
support.Flight
- package support.Flight
support.Ticker
- package support.Ticker
T
textInputted_
- Variable in class support.Flight.
GUI
Ticker
- class support.Ticker.
Ticker
.
Ticker()
- Constructor for class support.Ticker.
Ticker
TICKERBG
- Static variable in class support.Ticker.
UserInterface
TickerEvent
- class support.Ticker.
TickerEvent
.
TickerEvent(int, int, int)
- Constructor for class support.Ticker.
TickerEvent
TICKERFG
- Static variable in class support.Ticker.
UserInterface
TICKEROTHERBG
- Static variable in class support.Ticker.
UserInterface
TICKEROTHERFG
- Static variable in class support.Ticker.
UserInterface
ticketString()
- Method in class support.Flight.
FlightSpecs
Gives a string in a form useful for printing out itineraries.
time(Vertex)
- Method in class support.Flight.
FullFinder
Get the earliest time we can get to the airport represented by
v
.
timeZone()
- Method in class support.Flight.
AirportSpecs
TITLESTRING
- Static variable in class support.Ticker.
UserInterface
toString()
- Method in class support.Flight.
FlightSpecs
Gives a string in a form useful for debugging.
toString()
- Method in class support.Flight.
AirportSpecs
Gives a string in a format useful for debugging.
toString()
- Method in class support.Ticker.
TickerEvent
travelagent
- package travelagent
U
ui_
- Variable in class support.Flight.
FullFinder
update(Graphics)
- Method in class support.Flight.
MessageBar
update(Graphics)
- Method in class support.Flight.
Map
updateTickerEvent(TickerEvent)
- Method in class support.Ticker.
EventDisplayer
updateTickerEvent(TickerEvent, Color)
- Method in class support.Ticker.
EventDisplayer
updateTickerEvent(TickerEvent, Color, Color)
- Method in class support.Ticker.
EventDisplayer
UserInterface
- interface support.Flight.
UserInterface
.
Specifies the services that a user interface provides to student code for the Flight assignment.
UserInterface
- class support.Ticker.
UserInterface
.
Graphical User Interface for the stock market ticker exercise.
UserInterface.UIWindowListener
- class support.Ticker.
UserInterface.UIWindowListener
.
UserInterface.UIWindowListener(UserInterface)
- Constructor for class support.Ticker.
UserInterface.UIWindowListener
UserInterface(MarketMaker)
- Constructor for class support.Ticker.
UserInterface
Create a GUI and prepare it for the interaction process.
V
vertex(String)
- Method in class support.Flight.
FullFinder
Map from the given 3-character string to the vertex which corresponds to that airport.
vertexAt(int, int)
- Method in class support.Flight.
Map
vertices_
- Variable in class support.Flight.
Map
W
waitingForAirport()
- Method in interface support.Flight.
UserInterface
Prompts the user to select an airport.
waitingForAirport()
- Method in class support.Flight.
GUI
Output a message to the message bar.
waitingForText()
- Method in interface support.Flight.
UserInterface
Prompts the user to type something.
waitingForText()
- Method in class support.Flight.
GUI
Output a message to the message bar.
weight(Edge)
- Method in class support.Flight.
FullFinder
Get the weight of the edge.
WIDTH
- Static variable in class support.Flight.
Map
windowActivated(WindowEvent)
- Method in class support.Ticker.
UserInterface.UIWindowListener
windowClosed(WindowEvent)
- Method in class support.Ticker.
UserInterface.UIWindowListener
windowClosing(WindowEvent)
- Method in class support.Ticker.
UserInterface.UIWindowListener
windowDeactivated(WindowEvent)
- Method in class support.Ticker.
UserInterface.UIWindowListener
windowDeiconified(WindowEvent)
- Method in class support.Ticker.
UserInterface.UIWindowListener
windowIconified(WindowEvent)
- Method in class support.Ticker.
UserInterface.UIWindowListener
windowOpened(WindowEvent)
- Method in class support.Ticker.
UserInterface.UIWindowListener
writeText(String)
- Method in interface support.Flight.
UserInterface
Prints the specified text for the user.
writeText(String)
- Method in class support.Flight.
GUI
X
x
- Variable in class support.Flight.
GUIVertex
X
- Static variable in class support.Flight.
AirportSpecs
x_
- Variable in class support.Flight.
AirportSpecs
x()
- Method in class support.Flight.
AirportSpecs
XEND
- Static variable in class support.Flight.
AirportSpecs
Y
y
- Variable in class support.Flight.
GUIVertex
Y
- Static variable in class support.Flight.
AirportSpecs
y_
- Variable in class support.Flight.
AirportSpecs
y()
- Method in class support.Flight.
AirportSpecs
YEND
- Static variable in class support.Flight.
AirportSpecs
_
_buy
- Variable in class support.Ticker.
UserInterface
_buysell
- Variable in class support.Ticker.
UserInterface
_cancelID
- Variable in class support.Ticker.
UserInterface
_component
- Variable in class support.Ticker.
EventDisplayer
_defaultBG
- Variable in class support.Ticker.
EventDisplayer
_defaultFG
- Variable in class support.Ticker.
EventDisplayer
_frame
- Variable in class support.Ticker.
UserInterface
_graph
- Static variable in class support.Flight.
Flight
_labels
- Variable in class support.Ticker.
EventDisplayer
_maker
- Variable in class support.Ticker.
UserInterface
_openDisplay
- Variable in class support.Ticker.
UserInterface
_panel
- Variable in class support.Ticker.
EventDisplayer
_price
- Variable in class support.Ticker.
UserInterface
_qty
- Variable in class support.Ticker.
UserInterface
_sell
- Variable in class support.Ticker.
UserInterface
_speed
- Static variable in class support.Flight.
Flight
_student
- Static variable in class support.Flight.
Flight
_ticker
- Variable in class support.Ticker.
UserInterface
_tickerbg
- Variable in class support.Ticker.
UserInterface
_tickerfg
- Variable in class support.Ticker.
UserInterface
_tickerOtherBG
- Variable in class support.Ticker.
UserInterface
_tickerOtherFG
- Variable in class support.Ticker.
UserInterface
_ui
- Static variable in class support.Flight.
Flight
<
A
B
C
D
E
F
G
H
I
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
_
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES