Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
L
M
N
O
P
Q
R
S
T
U
W
X
Y
A
A
- Variable in class util.
ChartData
aboutDialog
- Variable in class gui.
SimulatorFrame
A dialog for an about window.
AccessPoint
- class agent.
AccessPoint
.
This class represents a wireless access point on the map.
AccessPoint(String, Point, int)
- Constructor for class agent.
AccessPoint
This constructor initializes the access with the given information
addAccessPoint(int)
- Method in class controller.
Controller
This method is for adding a new access point into the simulator.
addControllerListener(ControllerListener)
- Method in class controller.
Controller
This methods adds a listener to the list of listeners this controller knows about.
addDialog
- Variable in class gui.tray.
PnlTabAccessPoints
A popup dialog for adding new user.
addDialog
- Variable in class gui.tray.
PnlTabPeople
A popup dialog for adding new user.
addRefPoint(ReferencePoint)
- Method in class util.
ChartData
addSpace(String, int)
- Static method in class util.
ChartWord
addUser(int, int)
- Method in class controller.
Controller
This method is for adding a new user into the simulator.
addZero(String, int)
- Static method in class util.
ChartWord
agent
- package agent
Agent
- class agent.
Agent
.
This class represents an agent on the map.
Agent(Point, Position, int)
- Constructor for class agent.
Agent
This constructor initializes the agent with universal information
Agent(String, Point, Position, int)
- Constructor for class agent.
Agent
This constructor initializes the agent with universal information
B
B
- Variable in class util.
ChartData
bdrLayMain
- Variable in class gui.tray.
TrayDialog
The border layout to use for the Tray.
bLayMain
- Variable in class gui.
PropDialog
Layout used in this panel.
bLayMain
- Variable in class gui.tray.
PnlTabAccessPoints
Layout used in this panel.
bLayMain
- Variable in class gui.tray.
PnlTabPeople
Layout used in this panel.
bLayMain
- Variable in class gui.tray.
PnlTabTools
Layout used in this panel.
btdAdd_actionPerformed()
- Method in class gui.tray.
PnlTabAccessPoints
This method is called to add a new user to the simulation.
btdAdd_actionPerformed()
- Method in class gui.tray.
PnlTabPeople
This method is called to add a new user to the simulation.
btdClose_actionPerformed()
- Method in class gui.
PropDialog
btdDialogAdd_actionPerformed()
- Method in class gui.tray.
PnlTabAccessPoints
This method is
btdDialogAdd_actionPerformed()
- Method in class gui.tray.
PnlTabPeople
This method is
btdRemove_actionPerformed()
- Method in class gui.tray.
PnlTabAccessPoints
This method is called to remove a user from the simulation.
btdRemove_actionPerformed()
- Method in class gui.tray.
PnlTabPeople
This method is called to remove a user from the simulation.
btnAdd
- Variable in class gui.tray.
PnlTabAccessPoints
Add user button.
btnAdd
- Variable in class gui.tray.
PnlTabPeople
Add user button.
btnClose
- Variable in class gui.
PropDialog
btnPanel
- Variable in class gui.tray.
PnlTabAccessPoints
Panel for buttons
btnPanel
- Variable in class gui.tray.
PnlTabPeople
Panel for buttons
btnRefresh
- Variable in class gui.tray.
PnlTabTools
Button resets all data, deletes all agents.
btnRemove
- Variable in class gui.tray.
PnlTabAccessPoints
REmove user button.
btnRemove
- Variable in class gui.tray.
PnlTabPeople
REmove user button.
btnReset_actionPerformed()
- Method in class gui.tray.
PnlTabTools
This method is called to reset the simulation data.
btnShowRanges
- Variable in class gui.tray.
PnlTabTools
Button toggles the visiblity of wireless ranges.
btnShowRanges_actionPerformed()
- Method in class gui.tray.
PnlTabTools
This method is called to show/hide wireless ranges on the map.
C
C
- Variable in class util.
ChartData
calculateValue(DocumentEvent)
- Method in class gui.
PropDialog
Don't care about this method.
centerAgent(String)
- Method in class controller.
Controller
This method is for centering the given agent on the map.
centerScreen(Point)
- Method in class gui.
SimulatorFrame
This method take the given Point and changes the scroll position of the ScrollPane inorder to make the given Point the center of the view.
changeChart(String)
- Method in class controller.
Controller
This method changes the current map/chart used in the simulation.
changeChart(String)
- Method in class gui.
SimulatorFrame
This method changes the map image/data which the ChartComp is currently displaying.
changedUpdate(DocumentEvent)
- Method in class gui.
PropDialog
Don't care about this method.
changeSeparator(String)
- Static method in class util.
ChartWord
chart
- Variable in class controller.
Controller
The chart is the visual map.
chart
- Variable in class gui.
SimulatorFrame
The JComponent which is an image of a map.
ChartComp
- class gui.
ChartComp
.
This class is an extension of a JPanel.
ChartComp(Controller, boolean)
- Constructor for class gui.
ChartComp
The constructor sets up mouse listeners and sets up its own variables with the given ones.
chartdata
- Variable in class gui.
ChartComp
The chart data that contains map display and gps information.
ChartData
- class util.
ChartData
.
ChartData()
- Constructor for class util.
ChartData
ChartWord
- class util.
ChartWord
.
ChartWord()
- Constructor for class util.
ChartWord
clicked
- Variable in class gui.
ChartComp
True if when user clicks to move an agent on map.
cmbChangeMap
- Variable in class gui.tray.
PnlTabTools
Combo Box for changing the map.
cmbChangeMap_actionPerformed()
- Method in class gui.tray.
PnlTabTools
This method is called to change the map on the simulation frame.
cmbFind
- Variable in class gui.tray.
PnlTabTools
Combo Box for finding an agent.
cmbFind_actionPerformed()
- Method in class gui.tray.
PnlTabTools
This method is called to find an agent on the simulation map.
colNames
- Variable in class gui.tray.
PnlTabAccessPoints
The JTable's columns.
colNames
- Variable in class gui.tray.
PnlTabPeople
The JTable's columns.
compDatum
- Variable in class util.
ChartData
compLat
- Variable in class util.
ChartData
compLng
- Variable in class util.
ChartData
content
- Variable in class transport.protocol.
MulticastMessage
Content to send in this message.
controller
- package controller
controller
- Variable in class gui.
ChartComp
The controller of the simulation.
controller
- Variable in class gui.
PropDialog
The controller of the simulator.
controller
- Variable in class gui.
SimulatorFrame
The controller which controls the simulation and this frame.
controller
- Variable in class gui.tray.
PnlTabAccessPoints
The simulation controller that keeps all data.
controller
- Variable in class gui.tray.
PnlTabPeople
The simulation controller that keeps all data.
controller
- Variable in class gui.tray.
PnlTabs
The simulation controller.
controller
- Variable in class gui.tray.
PnlTabTools
The simulation controller that keeps all data.
controller
- Variable in class gui.tray.
TrayDialog
The controller of the simulator.
controller
- Variable in class transport.
SocketReceiver
The SocketReceiverListener object to pass messages to.
Controller
- class controller.
Controller
.
This class is the core of the simulator.
Controller.MessageSender
- class controller.
Controller.MessageSender
.
This class is used for Multicasting a message to all users in wireless range.
Controller.MessageSender(MulticastMessage)
- Constructor for class controller.
Controller.MessageSender
This Costructor preps the Thread for the given message to send.
Controller()
- Constructor for class controller.
Controller
This constructor initializes the controller by creating the interface components, so that the user can begin interacting with the simulator.
ControllerListener
- interface controller.
ControllerListener
.
This interface defines the methods that a PnlTabI must implement.
current_agent
- Variable in class controller.
Controller
The agent that is being moved, or has center of screen.
D
D
- Variable in class util.
ChartData
datum
- Variable in class util.
ChartData
db
- Variable in class util.
InputParser
The XML doc we create from given filename.
diff
- Variable in class util.
ChartData
diff(Point, Point)
- Method in class controller.
Controller
This method returns the pixel distance between two points.
diff(Point, Point)
- Method in class gui.
ChartComp
This method returns the pixel distance between two points.
DIRECTORY
- Static variable in class util.
InputParser
The directory where the configuration files are located.
doubleclick
- Variable in class gui.
ChartComp
A time for keeping track of double-clicking.
draw(Graphics, Vector, Vector)
- Method in class gui.
ChartComp
E
E
- Variable in class util.
ChartData
east
- Variable in class util.
ChartData
enterKeyPressed(KeyEvent)
- Method in class gui.tray.
PnlTabAccessPoints
Called when the enter key is pressed in the text fields.
enterKeyPressed(KeyEvent)
- Method in class gui.tray.
PnlTabPeople
Called when the enter key is pressed in the text fields.
errorDialog
- Variable in class gui.
PropDialog
An error notification if user types letters in the duration column.
F
F
- Variable in class util.
ChartData
findCalibrationParams()
- Method in class util.
ChartData
fireControllerChange()
- Method in class controller.
Controller
This method notifies all subscribed listeners that they must refresh themselves.
frame
- Variable in class controller.
Controller
The main frame which displays the map ChartComp.
from
- Variable in class transport.protocol.
Message
The port number of who sent the message.
G
gbagLayInfo
- Variable in class gui.
PropDialog
Layout used in this panel.
gbagLayInfo
- Variable in class gui.tray.
PnlTabAccessPoints
Layout used in this panel.
gbagLayInfo
- Variable in class gui.tray.
PnlTabPeople
Layout used in this panel.
gbagLayInfo
- Variable in class gui.tray.
PnlTabTools
Layout used in this panel.
getBorder()
- Method in class gui.
TTBorder
This method returns the border created in this class when it was the class was instantiated.
getBorder(String)
- Static method in class gui.
TTBorder
This method creates an returns an etched border with a title.
getChartComp()
- Method in class controller.
Controller
This method returns the ChartComp which holds the simulation map, and draws all the users.
getChartData()
- Method in class gui.
ChartComp
This method returns the chartdata kept inside this object used for turning pixel coordinates into real GPS coordinates.
getChartPane()
- Method in class gui.
SimulatorFrame
This method returns the ScrollPane kept inside this frame.
getContent()
- Method in class transport.protocol.
MulticastMessage
This method returns the object content of the message.
getCurrentAgent()
- Method in class controller.
Controller
This method returns the current agent in focus or being moved around in the simulator map.
getFirstWord(String)
- Static method in class util.
ChartWord
getFrame()
- Method in class controller.
Controller
This method returns the main JFrame for the iSIM application.
getFrom()
- Method in class transport.protocol.
Message
This method returns the port that the sender listens to.
getHeading()
- Method in class transport.protocol.
NMEAMessage
This method returns the heading of gps coordinate.
getHeading()
- Method in class util.
Position
getHops()
- Method in class transport.protocol.
MulticastMessage
This method returns the max number of hops for this message to take.
getLatitude()
- Method in class transport.protocol.
NMEAMessage
This method returns the latitude of gps coordinate.
getLatitude()
- Method in class util.
Position
getLocation()
- Method in class agent.
Agent
This method returns the current pixel location of the agent.
getLongitude()
- Method in class transport.protocol.
NMEAMessage
This method returns the longitude of gps coordinate.
getLongitude()
- Method in class util.
Position
getMapFilename()
- Method in class util.
InputParser
This method is for getting the filename of the map image.
getMessage()
- Method in class transport.protocol.
MulticastMessage
This method returns the String content of the message.
getName()
- Method in class agent.
Agent
This method returns the name of this agent.
getNmea()
- Method in class transport.protocol.
NMEAMessage
This method returns the String nmea message.
getPoints()
- Method in class controller.
Controller
This method returns the Vector of all current access points in the simulator.
getPort()
- Method in class agent.
User
This method returns the port this user is using.
getPosition()
- Method in class agent.
Agent
This method return the current gps position of the agent.
getPreferredSize()
- Method in class gui.
ChartComp
This method returns our preferred size which should be the size of the map image that this object displays.
getRange()
- Method in class agent.
Agent
This method returns the range of the agent.
getRefPoints()
- Method in class util.
InputParser
This method is for getting the ref points of the map.
getText(Element)
- Method in class util.
InputParser
This method takes in an Element and returns the concatenation of all of its text subnodes.
getTime()
- Method in class transport.protocol.
NMEAMessage
This method returns the time of gps coordinate.
getTime()
- Method in class util.
Position
getTo()
- Method in class transport.protocol.
Message
This method returns the port to send the message to.
getUsers()
- Method in class controller.
Controller
This method returns the Vector of all the current users in the simulator.
getWord(String, int)
- Static method in class util.
ChartWord
GpsSimulator
- class
GpsSimulator
.
This class is for starting the simulator.
GpsSimulator()
- Constructor for class
GpsSimulator
gui
- package gui
gui.tray
- package gui.tray
H
heading
- Variable in class transport.protocol.
NMEAMessage
The heading for the receiving agent.
heading
- Variable in class util.
Position
headingField
- Variable in class gui.
PropDialog
hops
- Variable in class transport.protocol.
MulticastMessage
The maximum number hops the message can make.
host
- Variable in class transport.
SocketSender
The host that the server (ipaq) is on.
I
icoLogo
- Variable in class gui.
PropDialog
img
- Variable in class gui.
ChartComp
Holds the map image.
imgFileName
- Variable in class util.
ChartData
incomingMessage(Message)
- Method in class controller.
Controller
This method is required by SocketReceiverListener and is called by the SocketReceiver object.
incomingMessage(Message)
- Method in interface transport.
SocketReceiverListener
This method is for notifying the listener that a message has arrived.
init()
- Method in class gui.
PropDialog
Initializes the GUI with components.
init()
- Method in class gui.
SimulatorFrame
This method sets up the components for the frame, the menus, and the CompChart to dispaly the map.
init()
- Method in class gui.tray.
PnlTabAccessPoints
Initializes this JPanel with Components.
init()
- Method in class gui.tray.
PnlTabPeople
Initializes this JPanel with Components.
init()
- Method in class gui.tray.
PnlTabs
Initializes this JPanel by setting the border, and adding the tabs to the tabbed pane.
init()
- Method in class gui.tray.
PnlTabTools
Initializes this JPanel with Components.
init()
- Method in class gui.tray.
TrayDialog
Initializes the GUI with components.
InputParser
- class util.
InputParser
.
This class reads in a given XML file and parses it for a variety of values which it will store in its private variables.
InputParser(String)
- Constructor for class util.
InputParser
This constructor builds up an XML Document of Nodes from the given XML file and then calls the method echo to retrieve the values of certain nodes.
insertUpdate(DocumentEvent)
- Method in class gui.
PropDialog
This method is called whenever user edits a value in JTextField.
isTrayAlive()
- Method in class controller.
Controller
This method simply tests to see if the tray is visible, if not visible then it is assumed to be dead.
L
lat
- Variable in class util.
Position
lat
- Variable in class util.
ReferencePoint
latField
- Variable in class gui.
PropDialog
latitude
- Variable in class transport.protocol.
NMEAMessage
The latitude position for the receiving agent.
lblPicture
- Variable in class gui.
PropDialog
listeners
- Variable in class controller.
Controller
Components that want to listen for when information changes in controller.
lng
- Variable in class util.
Position
lng
- Variable in class util.
ReferencePoint
lngField
- Variable in class gui.
PropDialog
loadChart(String)
- Method in class gui.
ChartComp
This method loads new chart data, by first reading the given xml file which contains map name and reference point information.
loadChartData(InputParser)
- Static method in class util.
ChartData
location
- Variable in class agent.
Agent
The current pixel location of this user.
locationChange(User)
- Method in class controller.
Controller
This method is called when a User's location has changed.
longitude
- Variable in class transport.protocol.
NMEAMessage
The longitude position for the receiving agent.
M
main(String[])
- Static method in class
GpsSimulator
The main method that creates an instance of Controller which will begin the simulation.
makeTray()
- Method in class controller.
Controller
This method creates a new TrayDialog for performing various functions in the simulator, and viewing information.
mapname
- Variable in class util.
InputParser
A default map.
MAX_EAST
- Static variable in class util.
ReferencePoint
Used to convert latitude/longitude String to double.
MAX_NORTH
- Static variable in class util.
ReferencePoint
Used to convert latitude/longitude String to double.
MAX_SOUTH
- Static variable in class util.
ReferencePoint
Used to convert latitude/longitude String to double.
MAX_WEST
- Static variable in class util.
ReferencePoint
Used to convert latitude/longitude String to double.
message
- Variable in class transport.
SocketSender
The message to send.
message
- Variable in class transport.protocol.
MulticastMessage
The string content of this Message.
Message
- class transport.protocol.
Message
.
This class defines the basic structure for a message used to send data between agents in the simulation.
Message(int, int)
- Constructor for class transport.protocol.
Message
This constructor initializes the Message.
mnuBar
- Variable in class gui.
SimulatorFrame
mnuEdit
- Variable in class gui.
SimulatorFrame
mnuFile
- Variable in class gui.
SimulatorFrame
mnuHelp
- Variable in class gui.
SimulatorFrame
mnuItmAbout
- Variable in class gui.
SimulatorFrame
mnuItmAbout_actionPerformed(ActionEvent)
- Method in class gui.
SimulatorFrame
This method is the performs the action when the user selects About from this frame menu.
mnuItmExit
- Variable in class gui.
SimulatorFrame
mnuItmExit_actionPerformed()
- Method in class gui.
SimulatorFrame
This method is called to ask for exit confirmation.
mnuItmTray
- Variable in class gui.
SimulatorFrame
mnuItmTray_actionPerformed(ActionEvent)
- Method in class gui.
SimulatorFrame
This method is the performs the action when the user selects Tray from this frame menu.
mouseClicked(MouseEvent)
- Method in class gui.
ChartComp
This method checks for two kinds of mouse clicks.
mouseDragged(MouseEvent)
- Method in class gui.
ChartComp
This method is for moving an Agent around on the map.
mouseEntered(MouseEvent)
- Method in class gui.
ChartComp
This method not used.
mouseExited(MouseEvent)
- Method in class gui.
ChartComp
This method not used.
mouseMoved(MouseEvent)
- Method in class gui.
ChartComp
This method not used.
mousePressed(MouseEvent)
- Method in class gui.
ChartComp
This method is used to get the offset position when we click and drag an agent on the map.
mouseReleased(MouseEvent)
- Method in class gui.
ChartComp
This method lets the object know that the user has released from a mouse drag.
movePoint(int, int)
- Method in class gui.
ChartComp
msg
- Variable in class controller.
Controller.MessageSender
The message to send in this thread.
MulticastMessage
- class transport.protocol.
MulticastMessage
.
This class represents a Multicast message.
MulticastMessage(String, int)
- Constructor for class transport.protocol.
MulticastMessage
This constructor initializes the Message.
MulticastMessage(String, int, int)
- Constructor for class transport.protocol.
MulticastMessage
This constructor initializes the Message.
N
name
- Variable in class agent.
Agent
The name of this agent.
nameField
- Variable in class gui.
PropDialog
nmea
- Variable in class transport.protocol.
NMEAMessage
Nmea formatted message string.
NMEAMessage
- class transport.protocol.
NMEAMessage
.
This class is a NMEAMessage.
NMEAMessage(int, int, double, double, double, long)
- Constructor for class transport.protocol.
NMEAMessage
This constructor initializes the nmea message.
NMEAMessage(String, int, int)
- Constructor for class transport.protocol.
NMEAMessage
This constructor initializes the .
north
- Variable in class util.
ChartData
nref
- Variable in class util.
ChartData
numLen(String)
- Static method in class util.
ReferencePoint
O
onChart(Position)
- Method in class util.
ChartData
P
paint()
- Method in class gui.
ChartComp
paint(Graphics)
- Method in class gui.
ChartComp
pane
- Variable in class gui.
SimulatorFrame
The scroll pane to put the ChartComp into.
parentFrame
- Variable in class gui.
PropDialog
The parent Frame that owns this JDialog.
parentFrame
- Variable in class gui.tray.
TrayDialog
The parent Frame that owns this JDialog.
parse(Document)
- Method in class util.
InputParser
This method takes in a Document node, which heads the XML tree structure.
parseLatLng(String, char, char)
- Static method in class util.
ReferencePoint
plottPos(Point, Vector, Vector)
- Method in class gui.
ChartComp
pnlAccessPoints
- Variable in class gui.tray.
PnlTabs
Access Point tab.
pnlMain
- Variable in class gui.
PropDialog
Main panel to hold all components
pnlMain
- Variable in class gui.tray.
PnlTabTools
Main panel to hold all components
pnlPeople
- Variable in class gui.tray.
PnlTabs
People tab.
PnlTabAccessPoints
- class gui.tray.
PnlTabAccessPoints
.
This class is the Access Points tab in the TrayDialog.
PnlTabAccessPoints(Controller)
- Constructor for class gui.tray.
PnlTabAccessPoints
Constructor sets up this Panel for a tab and calls init.
PnlTabPeople
- class gui.tray.
PnlTabPeople
.
This class is the People tab in the TrayDialog.
PnlTabPeople(Controller)
- Constructor for class gui.tray.
PnlTabPeople
Constructor sets up this Panel for a tab and calls init.
pnlTabs
- Variable in class gui.tray.
TrayDialog
The Tab component to hold all tabs.
PnlTabs
- class gui.tray.
PnlTabs
.
This class is a simple JPanel whose sole purpose is to hold a set Tabbed Panes.
PnlTabs(Controller)
- Constructor for class gui.tray.
PnlTabs
Constructor instantiates the individual tabs and calls init.
PnlTabTools
- class gui.tray.
PnlTabTools
.
This class suplies a few utilities for the user to perform on the simulatio such as finding agents, changes maps, toggling wireless ranges, etc.
PnlTabTools(Controller)
- Constructor for class gui.tray.
PnlTabTools
Constructor sets up this Panel for a tab and calls init.
pnlTools
- Variable in class gui.tray.
PnlTabs
Tool tab.
points
- Variable in class controller.
Controller
The list of all access points in the simulation.
port
- Variable in class agent.
User
The port to open a socket and send data to.
port
- Variable in class transport.
SocketReceiver
The port to listen on.
port_field
- Variable in class gui.tray.
PnlTabPeople
Field for user port number
portField
- Variable in class gui.
PropDialog
pos
- Variable in class gui.
ChartComp
The point of key/center agent for drawing.
position
- Variable in class agent.
Agent
The current gps Position of the agent.
Position
- class util.
Position
.
This class represents a gps position location, a gps position contains the latitude, longitude, heading, and other information.
Position()
- Constructor for class util.
Position
This constructor instantiates the GPS Position object with default values for the gps coordinate position.
propDialog
- Variable in class gui.
ChartComp
A Dialog Window for display User information.
PropDialog
- class gui.
PropDialog
.
This is the JDialog is designed to be a tool-tray for a the main frame in the GPS Simulator.
PropDialog(Controller, Frame)
- Constructor for class gui.
PropDialog
Constructor that creates this JDialog.
Q
quitDialog
- Variable in class gui.
SimulatorFrame
A dialog for an exit confirmation.
R
range
- Variable in class agent.
Agent
The wireless networking range of this agent.
range_field
- Variable in class gui.tray.
PnlTabAccessPoints
Field for uer range.
range_field
- Variable in class gui.tray.
PnlTabPeople
Field for uer range.
rangeField
- Variable in class gui.
PropDialog
ranges
- Variable in class gui.
ChartComp
True if this JComponent is to display wireless ranges.
readData(String)
- Method in class gui.
ChartComp
This method loads new chart data, by first reading the given xml file which contains map name and reference point information.
ref
- Variable in class util.
ChartData
ReferencePoint
- class util.
ReferencePoint
.
This class represents a reference point on a map image.
ReferencePoint(String, String, String, String)
- Constructor for class util.
ReferencePoint
refpoints
- Variable in class util.
InputParser
Our vector of reference points
refresh()
- Method in interface controller.
ControllerListener
This method is for notifying the listener that it needs to refresh its data.
refresh()
- Method in class gui.
PropDialog
refresh()
- Method in class gui.tray.
PnlTabAccessPoints
This method required by ControllerListener interface.
refresh()
- Method in class gui.tray.
PnlTabPeople
This method required by ControllerListener interface.
refresh()
- Method in class gui.tray.
PnlTabTools
This method required by ControllerListener interface.
removeAccessPoint(AccessPoint)
- Method in class controller.
Controller
This method is for removing a access point from the simulator.
removeControllerListener(ControllerListener)
- Method in class controller.
Controller
This method removes a listener from the list of listeners that this controller knows about.
removeUpdate(DocumentEvent)
- Method in class gui.
PropDialog
Don't care about this method.
removeUser(User)
- Method in class controller.
Controller
This method is for removing a user from the simulator.
reset()
- Method in class controller.
Controller
This method is for reseting the data insdie the controller.
run()
- Method in class controller.
Controller.MessageSender
This method excutes the thread.
run()
- Method in class transport.
SocketReceiver
This method opens a Socket and listens to it forever.
run()
- Method in class transport.
SocketSender
This method opens a Socket and trys to send the message stored in this class.
S
scanDirectory()
- Method in class gui.tray.
PnlTabTools
This method is a private method for this class only.
setContent(Object)
- Method in class transport.protocol.
MulticastMessage
This method sets the object data to send in this message.
setCurrentAgent(Agent)
- Method in class controller.
Controller
This method sets who the current is.
setHeading(double)
- Method in class util.
Position
setLat(String)
- Method in class util.
ReferencePoint
setLatitude(double)
- Method in class util.
Position
setLng(String)
- Method in class util.
ReferencePoint
setLocation(Point)
- Method in class agent.
Agent
This method sets the pixel location of the agent.
setLongitude(double)
- Method in class util.
Position
setName(String)
- Method in class agent.
Agent
This method sets the name of the agent.
setPort(int)
- Method in class agent.
User
This method sets the port to be used by this user.
setPosition(Position)
- Method in class agent.
Agent
This method sets the gps position of the agent.
setRange(int)
- Method in class agent.
Agent
This method sets the range of the agent.
setRanges(boolean)
- Method in class controller.
Controller
This method sets whether the wireless ranges should be displayed or not.
setRanges(boolean)
- Method in class gui.
ChartComp
This method to tell this object whether or not it should paint the wireless range for each agent in the simulation.
setTime(long)
- Method in class util.
Position
setTo(int)
- Method in class transport.protocol.
Message
This method sets the port to send the message to.
SimulatorFrame
- class gui.
SimulatorFrame
.
This class is a frame for the Simulator.
SimulatorFrame(Controller, ChartComp)
- Constructor for class gui.
SimulatorFrame
This constructor initializes the frame by taking in the controller/owner of this frame, and the ChartComp to be added to this frame.
skipWords(String, int)
- Static method in class util.
ChartWord
SocketReceiver
- class transport.
SocketReceiver
.
This class is used by the controller to receive Messages sent by ipaq clients.
SocketReceiver(SocketReceiverListener, int)
- Constructor for class transport.
SocketReceiver
This constructor initializes the Receiver, so that it is ready to begin listening for messages.
SocketReceiverListener
- interface transport.
SocketReceiverListener
.
This interface defines the methods that a SocketReceiverListener must implement.
SocketSender
- class transport.
SocketSender
.
This class is used by the controller to send messages to agents with a port number.
SocketSender(Message)
- Constructor for class transport.
SocketSender
This constructor initializes the SocketSender so that it can send a message.
SocketSender(Message, String)
- Constructor for class transport.
SocketSender
This constructor initializes the SocketSender so that it can send a message.
south
- Variable in class util.
ChartData
speed
- Variable in class util.
Position
spnUsers
- Variable in class gui.tray.
PnlTabAccessPoints
Scrollpane for JTable
spnUsers
- Variable in class gui.tray.
PnlTabPeople
Scrollpane for JTable
T
tableUsers
- Variable in class gui.tray.
PnlTabAccessPoints
JTable for displaying users
tableUsers
- Variable in class gui.tray.
PnlTabPeople
JTable for displaying users
tabMain
- Variable in class gui.tray.
PnlTabs
The tab pane that contains all tabs.
time
- Variable in class transport.protocol.
NMEAMessage
The time for the receiving agent.
time
- Variable in class util.
Position
timeOut()
- Method in class gui.
ChartComp
timeString(long)
- Static method in class util.
ChartWord
title
- Variable in class util.
ChartData
to
- Variable in class transport.protocol.
Message
The port number to whom the message is being sent.
toString()
- Method in class util.
ChartData
toString()
- Method in class util.
Position
This method returns a String of the GPS Position in a NMEA format.
toString()
- Method in class util.
ReferencePoint
toStringLatLng(double, char, char)
- Static method in class util.
ReferencePoint
track
- Variable in class util.
Position
transport
- package transport
transport.protocol
- package transport.protocol
transPos(Point)
- Method in class util.
ChartData
transPos(Position)
- Method in class util.
ChartData
transPosLat(int, int)
- Method in class util.
ChartData
transPosLng(int, int)
- Method in class util.
ChartData
transPosX(double, double)
- Method in class util.
ChartData
transPosY(double, double)
- Method in class util.
ChartData
tray
- Variable in class controller.
Controller
An interface component for viewing agent stats, etc.
TrayDialog
- class gui.tray.
TrayDialog
.
This is the JDialog is designed to be a tool-tray for a the main frame in the GPS Simulator.
TrayDialog(Controller, Frame)
- Constructor for class gui.tray.
TrayDialog
Constructor that creates this JDialog.
TTBorder
- class gui.
TTBorder
.
This class is simply to aid in create borders for the various interface componenets.
TTBorder(String)
- Constructor for class gui.
TTBorder
This Constructor creates an etched border with a title.
U
update(Graphics)
- Method in class gui.
ChartComp
updateAgentPosition(Agent)
- Method in class controller.
Controller
This method
updatePos(Point, Vector, Vector)
- Method in class gui.
ChartComp
User
- class agent.
User
.
This class represents a user on the map.
User(int)
- Constructor for class agent.
User
This constructor initializes the user.
User(Point, int)
- Constructor for class agent.
User
This constructor initializes the user.
User(String, Point, int)
- Constructor for class agent.
User
This constructor initializes the user.
users
- Variable in class controller.
Controller
The list of all users in the simulation.
util
- package util
W
west
- Variable in class util.
ChartData
X
x
- Variable in class util.
ReferencePoint
x_offset
- Variable in class gui.
ChartComp
Offset position on an agent when mouse-dragging.
Y
y
- Variable in class util.
ReferencePoint
y_offset
- Variable in class gui.
ChartComp
Offset position on an agent when mouse-dragging.
A
B
C
D
E
F
G
H
I
L
M
N
O
P
Q
R
S
T
U
W
X
Y
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes