A B C D E F G H I M N P R S T U V

A

actionPerformed(ActionEvent) - Method in class PeopleListApplet.PeopleListApplet
 
actionPerformed(ActionEvent) - Method in class SetsApplet.SetDisplayCanvas
Handles a button press.
actionPerformed(ActionEvent) - Method in class StandByApplet.StandByManager
 
add(String) - Method in class PeopleListApplet.PeopleListApplet
Add a name to the Collection of names.
addAdjacency(Vertex, Vertex) - Method in class Graph.Graph
Adds the edge.
addEdge(Vertex, Edge) - Method in class Graph.Path
Add an edge to the start of the path.
addEdge(Vertex, Vertex) - Method in class Graph.Graph
Adds a new edge.
addVertex(Vertex) - Method in class Graph.Graph
Adds a new vertex.
adjacency - Variable in class Graph.Graph
 
assignPoints() - Method in class SetsApplet.SetDisplayCanvas
Builds a random set of points inside the canvas.

B

buildRects() - Method in class SetsApplet.SetDisplayCanvas
Builds the Rectangles.

C

calculatePoints() - Method in class SetsApplet.SetDisplayCanvas
Builds a random set of points, and calculate the intersections with rectA, rectB.
checkInTime - Variable in class StandByApplet.StandByPassenger
 
clear - Variable in class StandByApplet.StandByApplet
 
clear() - Method in class StandByApplet.StandByManager
Clears the input fields.
clubID - Variable in class StandByApplet.StandByPassenger
 
clubLabel - Variable in class StandByApplet.StandByApplet
 
clubNumber - Variable in class StandByApplet.StandByApplet
 
color - Variable in class SetsApplet.ColoredPoint
 
colorAll(Color) - Method in class SetsApplet.ColoredPointSet
Sets all points to be a particular color.
ColoredPoint - class SetsApplet.ColoredPoint.
A Point with a Color attribute.
ColoredPoint(int, int) - Constructor for class SetsApplet.ColoredPoint
 
ColoredPointSet - class SetsApplet.ColoredPointSet.
A set of ColoredPoints.
ColoredPointSet() - Constructor for class SetsApplet.ColoredPointSet
 
ColoredPointSet(ColoredPointSet) - Constructor for class SetsApplet.ColoredPointSet
 
colorSets() - Method in class SetsApplet.SetDisplayCanvas
Write this method to set the color of all points.
compareTo(Object) - Method in class StandByApplet.StandByPassenger
Compares to another StandByPassenger.
connectedComponents() - Method in class Graph.Graph
You should implement the algorithm described in the notes
containedIn(Rectangle) - Method in class SetsApplet.ColoredPointSet
Returns a subset view of Points contained in the given Rectangle.

D

disp - Variable in class SetsApplet.SetsApplet
 
DRAW_CHAR - Static variable in class SetsApplet.SetDisplayCanvas
 
drawPoint(Graphics, ColoredPoint) - Method in class SetsApplet.SetDisplayCanvas
Draws a point.

E

Edge - class Graph.Edge.
Represents an edge.
Edge(Vertex) - Constructor for class Graph.Edge
 
equals(Object) - Method in class StandByApplet.StandByPassenger
Overrides Object.equals so the natural ordering consistent with equals.

F

fFLabel - Variable in class StandByApplet.StandByApplet
 
fFNumber - Variable in class StandByApplet.StandByApplet
 
findPath(Vertex, Vertex) - Method in class Graph.Graph
Returns a path from v1 to v2.
frequentFlyerID - Variable in class StandByApplet.StandByPassenger
 

G

generateGraph(List) - Static method in class Graph.Graph
Builds a sample Graph object.
getPassengerAt(int) - Method in class StandByApplet.StandByManager
Finds a passenger by position.
Graph - package Graph
 
Graph - class Graph.Graph.
Represents a graph...in this case, the connections between cities.
Graph() - Constructor for class Graph.Graph
 

H

hashCode() - Method in class StandByApplet.StandByPassenger
Returns the hashcode for this StandByPassenger.

I

init() - Method in class PeopleListApplet.PeopleListApplet
 
init() - Method in class SetsApplet.SetsApplet
 
init() - Method in class StandByApplet.StandByApplet
 
initialized - Variable in class SetsApplet.SetDisplayCanvas
 
itemStateChanged(ItemEvent) - Method in class StandByApplet.StandByManager
The user selected an item from the list.

M

main(String[]) - Static method in class Graph.Graph
Tests the Graph class.
mgr - Variable in class StandByApplet.StandByApplet
 

N

name - Variable in class Graph.Vertex
 
name - Variable in class StandByApplet.StandByPassenger
 
names - Variable in class PeopleListApplet.PeopleListApplet
 
namesDisplay - Variable in class PeopleListApplet.PeopleListApplet
 
namesDisplay - Variable in class StandByApplet.StandByApplet
 
newLabel - Variable in class PeopleListApplet.PeopleListApplet
 
newName - Variable in class PeopleListApplet.PeopleListApplet
 
newPassenger(Date) - Method in class StandByApplet.StandByManager
Creates a new passenger.
NUM_POINTS - Static variable in class SetsApplet.SetDisplayCanvas
 

P

paint(Graphics) - Method in class SetsApplet.SetDisplayCanvas
Paints the canvas.
paintBoundaries(Graphics) - Method in class SetsApplet.SetDisplayCanvas
Draws the boundaries of the regions.
paintSet(Graphics) - Method in class SetsApplet.SetDisplayCanvas
Draws a set of points.
passengerLabel - Variable in class StandByApplet.StandByApplet
 
passengerName - Variable in class StandByApplet.StandByApplet
 
passengers - Variable in class StandByApplet.StandByManager
 
Path - class Graph.Path.
Represents a path...in this case, the connections between cities.
Path(Vertex) - Constructor for class Graph.Path
The only constructor.
PeopleListApplet - package PeopleListApplet
 
PeopleListApplet - class PeopleListApplet.PeopleListApplet.
Modify the PeopleListApplet so that it maintains a list of friends.
PeopleListApplet() - Constructor for class PeopleListApplet.PeopleListApplet
 
points - Variable in class SetsApplet.SetDisplayCanvas
 

R

rand - Variable in class SetsApplet.SetDisplayCanvas
 
rectA - Variable in class SetsApplet.SetDisplayCanvas
 
rectB - Variable in class SetsApplet.SetDisplayCanvas
 
remove - Variable in class PeopleListApplet.PeopleListApplet
 
remove - Variable in class StandByApplet.StandByApplet
 
remove() - Method in class StandByApplet.StandByManager
 
remove(Collection) - Method in class PeopleListApplet.PeopleListApplet
Remove names from the Collection of names.
resetDisplay() - Method in class PeopleListApplet.PeopleListApplet
Clears the input and redisplays the list of names.
resetDisplay() - Method in class StandByApplet.StandByManager
Re-lists the passengers.
run - Variable in class SetsApplet.SetsApplet
 

S

SetDisplayCanvas - class SetsApplet.SetDisplayCanvas.
A Canvas that draws two intersecting rectangles and a number of randomly placed points, drawn black.
SetDisplayCanvas() - Constructor for class SetsApplet.SetDisplayCanvas
 
SetsApplet - package SetsApplet
 
SetsApplet - class SetsApplet.SetsApplet.
The applet currently draws two intersecting rectangles and a number of randomly placed points, drawn black.
SetsApplet() - Constructor for class SetsApplet.SetsApplet
 
StandByApplet - package StandByApplet
 
StandByApplet - class StandByApplet.StandByApplet.
Complete the applet this simulates maintaining a list of passengers waiting for a flight.
StandByApplet() - Constructor for class StandByApplet.StandByApplet
 
StandByManager - class StandByApplet.StandByManager.
The control class for the StandbyApplet.
StandByManager(StandByApplet) - Constructor for class StandByApplet.StandByManager
 
StandByPassenger - class StandByApplet.StandByPassenger.
A passenger waiting for a flight.
StandByPassenger(String, String, String, String, Date) - Constructor for class StandByApplet.StandByPassenger
 
start - Variable in class Graph.Path
 

T

theApplet - Variable in class StandByApplet.StandByManager
 
ticket - Variable in class StandByApplet.StandByPassenger
 
ticketLabel - Variable in class StandByApplet.StandByApplet
 
ticketNumber - Variable in class StandByApplet.StandByApplet
 
title - Variable in class PeopleListApplet.PeopleListApplet
 
title - Variable in class SetsApplet.SetsApplet
 
title - Variable in class StandByApplet.StandByApplet
 
toString() - Method in class Graph.Graph
Convert to a String.
toString() - Method in class Graph.Vertex
 
toString() - Method in class Graph.Edge
 
toString() - Method in class Graph.Path
 
toString() - Method in class StandByApplet.StandByPassenger
Convert to a String to make displaying easy in a java.awt.List

U

update() - Method in class StandByApplet.StandByManager
Modifies an existing passenger or add a new passenger.
updatePassenger(int) - Method in class StandByApplet.StandByManager
Updates an existing passenger.

V

v2 - Variable in class Graph.Edge
 
Vertex - class Graph.Vertex.
Represents a vertex in the graph...in this case a City name.
Vertex(String) - Constructor for class Graph.Vertex
 

A B C D E F G H I M N P R S T U V