A B C D E F G H I L M N O P Q R S T U V W X Y

A

accept(File) - Method in class ExampleFileFilter
Return true if this file should be shown in the directory pane, false if it shouldn't.
actionPerformed(ActionEvent) - Method in class MentalMaps
 
actionPerformed(ActionEvent) - Method in class mm
 
actionPerformed(ActionEvent) - Method in class QuestionDialog
 
addEdge(Object) - Method in class TriEdgeArray
override the ArrayList's add method (only add an edge if it doesn't intersect any of the edges currently found in the TEA)
addExtension(String) - Method in class ExampleFileFilter
Adds a filetype "dot" extension to filter against.
addLocation(int, int, int[], String, String, int, int) - Method in class DataBase
adds a location to the database listing
addLocation(Object) - Method in class InfoBase
// method : addLocation // description : adds a Location to the InfoBase
addMap(String, String, String, String) - Method in class Config
adds a map (Which can be selected by the user) into the simulation
addOption(String) - Method in class Config
adds an option to the simulation
addQuestion(Question) - Method in class InfoBase
// method : addquestion // description : adds information to the infoBase (a question)
addQuestion(Question, int, int) - Method in class InfoBase
// method : addquestion // description : adds information to the infoBase (a question)
addQuestion(String, String, String, int, int) - Method in class InfoBase
// method : addquestion // description : adds information to the infoBase (a question)
addTriangle(ArcEdge, ArcEdge) - Method in class TriangleList
 
adjacent - Variable in class AdjacentEdgeList
 
AdjacentEdgeList - class AdjacentEdgeList.
A list of all the adjacent edges
AdjacentEdgeList(int) - Constructor for class AdjacentEdgeList
 
Answer - Variable in class Location
 
APPLET - Static variable in class MentalMaps
 
APPLET_CONFIG_FILENAME - Static variable in class MentalMaps
 
APPLICATION - Static variable in class MentalMaps
 
ArcEdge - class ArcEdge.
this class holds an edge which can be comparable by the angle the line is at it is required so that you can traverse edges leaving a point in clockwise or counter-clockwise order
ArcEdge(Edge) - Constructor for class ArcEdge
 
askLocation() - Method in class QuizBase
ask the next question (Location) in the Quiz

B

backbuttonfilename - Variable in class MentalMaps
 

C

chain - class chain.
this class holds a vector of points which are to be connected in sequece by edges
chain() - Constructor for class chain
 
chain(int) - Constructor for class chain
 
chainMap - class chainMap.
this class holds a vector of chain objects which make up a map
chainMap() - Constructor for class chainMap
 
chainMap(int) - Constructor for class chainMap
 
columnNames - Variable in class QuestionResults
 
compareTo(Object) - Method in class ArcEdge
used to sorrt the edges clockwise
compareTo(Object) - Method in class Edge
mehtod: compareTo description: used to allow the edges to be sorted in order by weight
Config - class Config.
Stores all of the MentalMaps Configuration Information
Config(int) - Constructor for class Config
 
convert(chain) - Method in class TransformationTriangle
Method: convert convert as much of this chain as possible, returning the chain when the current point on the chain no longer lies within the triangle NOTE: this method modifies values in the chain's array of points and the currentpoint value in the chain object.
convert(Point2D.Double) - Method in class TransformationMatrix
 
copy() - Method in class chain
creates and returns a copy of itself
copy() - Method in class chainMap
makes and returns a copy of itself
copyMap() - Method in class DataBase
creats a copy of the borderMap (Which will be used for warping)
createQuiz(int, int, boolean[]) - Method in class DataBase
creates and returns a quizbase object based on the number of locations and questions selected by the user
createSlider(int, int, String) - Method in class QuestionDialog
// method : createSlider // description : creates a Jsliderbar for a question and returns it
createTEA() - Method in class Triangulate
 
createTextField(int, int, String) - Method in class QuestionDialog
// method : createTextField // description : creates a textfield for the users answer to appear in, and returns it
currentmap - Variable in class Config
 
currentoption - Variable in class Config
 
currentpoint - Variable in class chain
 

D

data - Variable in class QuestionResults
 
DataBase - class DataBase.
Stores ALL of the information about the Locations and Questions of a Map
DataBase(int) - Constructor for class DataBase
 
degenerate - Variable in class TransformationMatrix
 
display(Graphics) - Method in class AdjacentEdgeList
 
display(Graphics) - Method in class ArcEdge
displays the edge on the screen
display(Graphics) - Method in class chain
display the group of points connected by edges
display(Graphics) - Method in class chainMap
display the map on the screen
display(Graphics) - Method in class Edge
method: dispaly description: Display the vertex on the screen
display(Graphics) - Method in class Triangle
 
display(Graphics) - Method in class TriangleList
 
display(Graphics) - Method in class Vertex
 
displayactual - Variable in class QuizBase
 
displayLocations(Graphics) - Method in class QuizBase
//Method: displayLocations // 1)displays all of the user entered points // 2)displays the actual locations (if selected) // 3)displays the vectors form user to actual locations (if selected) // 4)displays the warped map (if selected)
displayMap(Graphics) - Method in class DataBase
displays the border map
displayResults - Variable in class QuizBase
 
displayvector - Variable in class QuizBase
 
distortedmapbuttonfilename - Variable in class MentalMaps
 
done - Variable in class QuizBase
 

E

Edge - class Edge.
Class: Edge //Author: M.
Edge(intPoint, intPoint, int, int) - Constructor for class Edge
 
edges - Variable in class Triangulate
 
EPSILON - Static variable in class TransformationMatrix
 
ExampleFileFilter - class ExampleFileFilter.
A convenience implementation of FileFilter that filters out all files except for those type extensions that it knows about.
ExampleFileFilter() - Constructor for class ExampleFileFilter
Creates a file filter.
ExampleFileFilter(String) - Constructor for class ExampleFileFilter
Creates a file filter that accepts files with the given extension.
ExampleFileFilter(String[]) - Constructor for class ExampleFileFilter
Creates a file filter from the given string array.
ExampleFileFilter(String[], String) - Constructor for class ExampleFileFilter
Creates a file filter from the given string array and description.
ExampleFileFilter(String, String) - Constructor for class ExampleFileFilter
Creates a file filter that accepts the given file type.

F

FEQUAL(double, double) - Method in class TransformationMatrix
 
findAdjacent(int, TriEdgeArray, ArrayList) - Method in class AdjacentEdgeList
find all of the adjacent edges and put them in a list
findAllAdjacent(TriEdgeArray, ArrayList) - Method in class AdjacentEdgeList
find all of the triangles which can be made given the edges and verticies
findRatioRelativeTo(Vertex) - Method in class ArcEdge
find the rise/run ratio relative to a pivot point
findSharedVertex(ArcEdge) - Method in class ArcEdge
find the shared vertex from one ArcEdge to another
findTriangleContaining(Point2D.Double) - Method in class TriangleList
 
findTriangles(TriEdgeArray) - Method in class AdjacentEdgeList
find all of the triangles and list them which can be made given the triangles edge array list
finish() - Method in class QuizBase
finishes the simulation

G

GetApplet(JApplet) - Method in class MentalMaps
 
getAppletConfig() - Method in class MentalMaps
// method : getAppletConfig // description : reads in the applet configuration file
getApplicationConfig() - Method in class MentalMaps
// method : getAppletConfig // description : reads in the applet configuration file
getBounds2D() - Method in class ArcEdge
 
getBounds2D() - Method in class Edge
 
getDescription() - Method in class ExampleFileFilter
Returns the human readable description of this filter.
getEdge(int, int) - Method in class TriEdgeArray
 
getEndPoint() - Method in class ArcEdge
 
getEndPoint() - Method in class Edge
 
getEndVertex() - Method in class ArcEdge
 
getEndVertex() - Method in class Edge
 
getExtension(File) - Method in class ExampleFileFilter
Return the extension portion of the file's name .
getLabel() - Method in class Vertex
 
getLocationInfo(StringTokenizer) - Method in class MentalMaps
// method : getLocationInfo // description : gets the x and y coordinates of the locations, as well as the answers // to questions and label x,y coordinates.
getMapCfgFileName(int) - Method in class Config
gets the Map Config file name for a Map with a certain index
getMapCfgFileName(String) - Method in class Config
gets the configuration file name for a Map with a certain title
getMapFileName(String) - Method in class Config
gets the Border Map file name for a Map with a certain title
getNewLocation(ArrayList) - Method in class DataBase
gets a new unused random location
getOtherVertex(Vertex) - Method in class ArcEdge
after it is determined that this arcedge has a shared vertex, return the unsharded vertex
getP1() - Method in class ArcEdge
 
getP1() - Method in class Edge
 
getP2() - Method in class ArcEdge
 
getP2() - Method in class Edge
 
getPoint(int) - Method in class chain
gets a point at a certain index
getQuestionInfo(String) - Method in class MentalMaps
// method : getQuestionInfo // description : Based on the information read in from the Map (Locations) // populates the questions drop down menu
getrandom(int) - Method in class DataBase
returns a random number between 0 and numlocations
getStartPoint() - Method in class ArcEdge
 
getStartPoint() - Method in class Edge
 
getStartVertex() - Method in class ArcEdge
 
getStartVertex() - Method in class Edge
 
getTitles() - Method in class Config
gets the titles of all the maps
getURL(String) - Method in class MentalMaps
// method : getURL // description : returns a URL given a string
getVerticies() - Method in class Triangulate
 
getWarpFileName(String) - Method in class Config
gets the Warp Map file name for a Map with a certain title NOTE: sometimes the map top be warped will be different from the border shown to the user (i.e.
getX() - Method in class intPoint
 
getX() - Method in class Vertex
 
getX1() - Method in class ArcEdge
 
getX1() - Method in class Edge
 
getX2() - Method in class ArcEdge
 
getX2() - Method in class Edge
 
getXLabel() - Method in class Triangle
 
getY() - Method in class intPoint
 
getY() - Method in class Vertex
 
getY1() - Method in class ArcEdge
 
getY1() - Method in class Edge
 
getY2() - Method in class ArcEdge
 
getY2() - Method in class Edge
 
getYLabel() - Method in class Triangle
 
getZLabel() - Method in class Triangle
 

H

hideActualVectors() - Method in class QuizBase
 
HtmlPanel - class HtmlPanel.
this class is used in the help system (When the simulation is run in application mode) to pull up a hypertext document in a "Browser" type window
HtmlPanel() - Constructor for class HtmlPanel
 
HtmlPanel(URL) - Constructor for class HtmlPanel
 
hyperlinkUpdate(HyperlinkEvent) - Method in class HtmlPanel
Notification of a change relative to a hyperlink.

I

InfoBase - class InfoBase.
this class is the superclass of DataBase and QuizBase which stores information about the a map currently selected
InfoBase() - Constructor for class InfoBase
 
InfoBase(int) - Constructor for class InfoBase
 
InfoBase(int, int) - Constructor for class InfoBase
 
init() - Method in class chainMap
Method: init this method will initialize all of the chains in the chainMap so that the currentpointer will be 0 this is done before converting the map...
init() - Method in class DataBase
initializes the database so that all locations are available to be picked from
init() - Method in class MentalMaps
// method : init // description : initialize the Simulation for the APPLET
init() - Method in class mm
// method : init // description : initializes the button on the screen
initApplication() - Method in class MentalMaps
// method : initApplication // description : initialize the simulation for the APPLICATION
initSimulation() - Method in class MentalMaps
// method : initSimulation // description : when the user has selected the map, locations, and questions // start the simulation by asking the first question/location
intPoint - class intPoint.
class for modelling a point with integer x,y coordinates
intPoint(int, int) - Constructor for class intPoint
 
isConverted() - Method in class chain
returns whether the current chain has been converted by warping
isExtensionListInDescription() - Method in class ExampleFileFilter
Returns whether the extension list (.jpg, .gif, etc) should show up in the human readable description.
isFinished() - Method in class QuizBase
returns whether the Quiz is Finished
isInside(Point2D.Double) - Method in class TransformationTriangle
Method: isInside determine whether a point lies within this triangle
isWarped - Variable in class QuizBase
 

L

labx - Variable in class Location
 
laby - Variable in class Location
 
LEGEND_ENTRIES - Static variable in class MentalMaps
 
linkActivated(URL) - Method in class HtmlPanel
Follows the reference in an link.
Location - class Location.
this class models an x,y Location on a map and info about this location
Location(int, int) - Constructor for class Location
 
Location(String, String, int, int, int, int[], int, int) - Constructor for class Location
 
Location(String, String, int, int, int, int, int) - Constructor for class Location
 
locationresultsbuttonfilename - Variable in class MentalMaps
 
locationsAnswered - Variable in class QuizBase
 
logUserPoint(int, int) - Method in class QuizBase
save the Users entry to a location

M

main(String[]) - Static method in class MentalMaps
 
map - Variable in class Config
 
map - Variable in class QuizBase
 
Map - class Map.
this class saves information about a Map to be used in the MentalMaps Simulation
Map(String, String, String, String) - Constructor for class Map
 
MAXMAPS - Static variable in class MentalMaps
 
MentalMaps - class MentalMaps.
This class is the main class for the MentalMaps Simulation it handles most of the user input and drives the simulation
MentalMaps() - Constructor for class MentalMaps
 
MentalMaps(boolean) - Constructor for class MentalMaps
 
mm - class mm.
This class is the button which instantiates the main class for the MentalMaps Simulation it is utilized only when the program is run in the applet version
mm() - Constructor for class mm
 
mode - Variable in class MentalMaps
 
mouseClicked(MouseEvent) - Method in class MentalMaps
 
mouseEntered(MouseEvent) - Method in class MentalMaps
 
mouseExited(MouseEvent) - Method in class MentalMaps
 
mousePressed(MouseEvent) - Method in class MentalMaps
 
mouseReleased(MouseEvent) - Method in class MentalMaps
 
moveToNextLocation() - Method in class QuizBase
ask information about the next point

N

name - Variable in class Location
 
NO_ANSWER - Static variable in class QuestionDialog
 
NO_ANSWER - Static variable in class QuestionResults
 
numAnswers - Variable in class Location
 
nummaps - Variable in class Config
 
numoptions - Variable in class Config
 
numpoints - Variable in class chain
 
numtriangles - Variable in class TriangleList
 
numverticies - Variable in class TriEdgeArray
 

O

optionString - Variable in class Config
 

P

parseMap(String) - Method in class chainMap
Method: parseMap this mthod accepts a String (which must be in the required format) and returns a chainMap object.
parseMap(String) - Method in class MentalMaps
// method : parseMap // description : parses the file read in to instantiate a new chainmap (Map Border)
points - Variable in class chain
 
print() - Method in class ArcEdge
 
print() - Method in class DataBase
 
print() - Method in class Edge
 
print() - Method in class intPoint
 
print() - Method in class Location
 
print() - Method in class Question
 
print() - Method in class QuizBase
 
print() - Method in class QuizLocation
 
print() - Method in class TransformationMatrix
 
print() - Method in class Triangle
 
print() - Method in class Vertex
 
printOutput(String) - Method in class QuizBase
 
printToFile() - Method in class DataBase
 
printToFile(RandomAccessFile) - Method in class Location
 
printToFile(RandomAccessFile) - Method in class QuizBase
prints the actual and user answers to all the questions in a quiz to a file specified by the user
printToFile(RandomAccessFile) - Method in class QuizLocation
// method : printToFile // description : prints out the actual answers as well as the users answers to a file

Q

quadrant - Variable in class ArcEdge
 
Question - class Question.
This class stores information about questions to ask the user
Question(String, String, String) - Constructor for class Question
 
Question(String, String, String, int, int) - Constructor for class Question
 
QuestionDialog - class QuestionDialog.
This class creates a Dialog Box which has multiple sliderbars on it
QuestionDialog(Frame, String, Question[], int, QuizLocation, MentalMaps) - Constructor for class QuestionDialog
 
questionResults - Variable in class QuizBase
 
QuestionResults - class QuestionResults.
This class creates a new Frame with a table of the user answers and the actual answers on it.
QuestionResults(int, int, Object[], Question[]) - Constructor for class QuestionResults
 
questionresultsbuttonfilename - Variable in class MentalMaps
 
QuizBase - class QuizBase.
Description: this object tracks the user answers for the Quiz and stores the actual answers.
QuizBase() - Constructor for class QuizBase
 
QuizBase(int) - Constructor for class QuizBase
 
QuizBase(int, int) - Constructor for class QuizBase
 
QuizLocation - class QuizLocation.
this class extends the basic Location object to store the user answers to questions and x and y locations on the map if the program is run in application mode the user can print the results to an output file...
QuizLocation(Location, int, boolean[]) - Constructor for class QuizLocation
 

R

readDatabase(String) - Method in class MentalMaps
// method : readDatabase // description : reads in the information about the Locations
readMap(String) - Method in class MentalMaps
// method : readMap // description : reads in the Map information
removeoldquestions() - Method in class MentalMaps
// method : removeoldQuestions // description : removes the questions from the Questions drop down menu // when the map is changed
restartbuttonfilename - Variable in class MentalMaps
 

S

saveMap(JFrame) - Method in class QuizBase
saves the Map as a JPEG image to a file specified by the user
saveResults(JFrame) - Method in class QuizBase
 
setAnswer(int, int) - Method in class Location
 
setAnswers(int[]) - Method in class Location
 
setBorderColor(Color) - Method in class DataBase
sets the color of the border map to be displayed
setDescription(String) - Method in class ExampleFileFilter
Sets the human readable description of this filter.
setExtensionListInDescription(boolean) - Method in class ExampleFileFilter
Determines whether the extension list (.jpg, .gif, etc) should show up in the human readable description.
setlabx(int) - Method in class Location
 
setlaby(int) - Method in class Location
 
setLine(double, double, double, double) - Method in class ArcEdge
 
setLine(double, double, double, double) - Method in class Edge
 
setLocation(double, double) - Method in class Vertex
 
setMap(chainMap) - Method in class DataBase
sets the border map to be displayed
setMap(chainMap) - Method in class QuizBase
sets the map to be warped
setMaxValue(int) - Method in class Question
 
setMinValue(int) - Method in class Question
 
setName(String) - Method in class Location
 
setNumAnswers(int) - Method in class Location
 
setNumLocations(int) - Method in class DataBase
sets the number of locations available for this map
setNumLocations(int) - Method in class InfoBase
// method : setNumLocations // description : sets the number of Locations available
setNumOptions(int) - Method in class Config
sets the number of options the user has for the simulation
setScale(int) - Method in class Map
 
setState(String) - Method in class Location
 
setTextField(JTextField) - Method in class QuizBase
 
setTransformationMatrix(TransformationMatrix) - Method in class TransformationTriangle
 
setupButtons() - Method in class MentalMaps
// method : setupButtons // description : sets up the INITIAL buttons on the Interface for the user
setupLocationsMenu(StringTokenizer) - Method in class MentalMaps
// method : setupLocationsMenu // description : sets up the Locations Drop down Menu based on the information // in Config File.
setupMapMenu(StringTokenizer) - Method in class MentalMaps
// method : setupMapMenu // description : sets up and populates the Map Combo box from the config file info
setupMenus(String) - Method in class MentalMaps
// method : setupMenus // description : sets up the initial Menus which appear when the user starts the program
setupNewToolBar() - Method in class MentalMaps
// method : setupNewToolbar // description : sets up a new toolbar which is present when simultaion is done // to allow the user to review thier results
setupToolbar() - Method in class MentalMaps
// method : setupToolbar // description : sets up the main toolbar for the user of this program
setupUI() - Method in class MentalMaps
// method : setupUI // description : sets up the user Interface for the user of this program
setv2x(double) - Method in class Triangle
 
setv2y(double) - Method in class Triangle
 
setv3x(double) - Method in class Triangle
 
setv3y(double) - Method in class Triangle
 
setWeight(double) - Method in class ArcEdge
 
setWeight(double) - Method in class Edge
 
shareVertex(Edge) - Method in class ArcEdge
 
shareVertex(Edge) - Method in class Edge
method: shareVertex description: returns true if this edge shares a vertex with another edge
showEdges(Graphics) - Method in class Triangulate
 
showWarpedMap - Variable in class QuizBase
 
sortAdjacent(int) - Method in class AdjacentEdgeList
sort all of the edges in clockwise order in the listing
Start() - Method in class QuizBase
begins asking questions in the quiz
startbuttonfilename - Variable in class MentalMaps
 
state - Variable in class Location
 
stateChanged(ChangeEvent) - Method in class QuestionDialog
// method : stateChanged // description : update the textfield when the user moves slider
status - Variable in class QuizBase
 

T

TEA - Variable in class TriangleList
 
toggleActual() - Method in class QuizBase
turns whether the actual locations are shown on or off
toggleActualShown() - Method in class QuizBase
 
toggleResults() - Method in class QuizBase
turns whether the results are shown or hidden
toggleVectors() - Method in class QuizBase
turns whether the vectors from the users locations to actual locations are shown on or off
toggleWarped() - Method in class QuizBase
turns whether the warped map is shown or hidden
Trans - Variable in class TransformationMatrix
 
TransformationMatrix - class TransformationMatrix.
This class is used to warp the map it stores with it the transformation matrix associated with a given triangle
TransformationMatrix(Triangle, Triangle) - Constructor for class TransformationMatrix
 
TransformationTriangle - class TransformationTriangle.
This class is used to warp the map it stores with it the transformation matrix associated by what the actual triangle should look like, and allows all map points inside this trianghle to be transformed by the matrix...
TransformationTriangle(intPoint, intPoint, intPoint, int, int, int) - Constructor for class TransformationTriangle
 
TransformationTriangle(Vertex, Vertex, Vertex) - Constructor for class TransformationTriangle
 
Triangle - class Triangle.
models a simple triangle
triangle_transform(Triangle, Triangle) - Method in class TransformationMatrix
ComPute the transformation matrix from triangle P.
Triangle() - Constructor for class Triangle
 
Triangle(intPoint, intPoint, intPoint, int, int, int) - Constructor for class Triangle
 
Triangle(Vertex, Vertex, Vertex) - Constructor for class Triangle
 
TriangleList - class TriangleList.
A list of all Triangles used in warping
TriangleList(int, TriEdgeArray) - Constructor for class TriangleList
 
Triangulate - class Triangulate.
set up the points to make the Trianlge Edge Array
Triangulate(int, intPoint[]) - Constructor for class Triangulate
 
TriEdgeArray - class TriEdgeArray.
A list of all edges which will make up triangles for warping
TriEdgeArray(int) - Constructor for class TriEdgeArray
 

U

UNDEFINED - Static variable in class ArcEdge
 
UNDEFINED - Static variable in class DataBase
 
UNDEFINED - Static variable in class QuizLocation
 
UNUSED - Static variable in class Triangulate
 
used - Variable in class TriangleList
 
used - Variable in class TriEdgeArray
 
USED - Static variable in class Triangulate
 

V

v1x() - Method in class Triangle
 
v1y() - Method in class Triangle
 
v2x() - Method in class Triangle
 
v2y() - Method in class Triangle
 
v3x() - Method in class Triangle
 
v3y() - Method in class Triangle
 
Vertex - class Vertex.
class which models a single point
Vertex(int, int, int) - Constructor for class Vertex
 
verticies - Variable in class TriangleList
 
verticies - Variable in class Triangulate
 

W

Warped - Variable in class QuizBase
 
WarpMap - Variable in class MentalMaps
 
WarpMap() - Method in class QuizBase
warps the map

X

x - Variable in class Location
 

Y

y - Variable in class Location
 

A B C D E F G H I L M N O P Q R S T U V W X Y