Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
G
H
I
L
M
N
P
R
S
T
U
W
X
Y
A
add(Object)
- Method in class
SyncList
add's an object to the tail of the queue
addFirst(Object)
- Method in class
SyncList
adds an Object to the head of the list
addPropertyChangeListener(PropertyChangeListener)
- Method in class
XMLSocket
adds a PropertyChangeListener for a message
addPropertyChangeListener(String, PropertyChangeListener)
- Method in class
XMLSocket
adds a PropertyChangeListener for a message
C
ChangedParser
- class
ChangedParser
.
ChangedParser is SAX XML Parser used for parsing changed messages.
ChangedParser()
- Constructor for class
ChangedParser
characters(char[], int, int)
- Method in class
XParser
writes some characters from the character stream to the char Array writer
close()
- Method in class
XMLSocket
closes the socket
contents
- Variable in class
XParser
The CharArrayWriter used to concatenate characters to in the DefaultHandler
currentHost
- Static variable in class
NetworkHandler
the host to connect to
currentPort
- Static variable in class
NetworkHandler
the port to connect to
D
disconnect(Connection)
- Method in class
NetworkHandler
disconnect from the Connection conn Fully Disconnect a Connection.
draggable()
- Method in class
PatchLine
Is this object draggable.
E
endElement(String, String, String)
- Method in class
ChangedParser
used when a tag closes
endElement(String, String, String)
- Method in class
ErrorParser
used when a tag closes
endElement(String, String, String)
- Method in class
UpdateParser
used when a tag Closes
endElement(String, String, String)
- Method in class
XParser
Called when an element is ending
ErrorParser
- class
ErrorParser
.
ErrorParser is SAX XML Parser used for parsing error messages.
ErrorParser()
- Constructor for class
ErrorParser
G
getCurrentHost()
- Static method in class
NetworkHandler
Get's the current Host
getCurrentPort()
- Static method in class
NetworkHandler
gets the current port
getError()
- Method in class
ErrorParser
returns an error
getInput()
- Method in class
PatchLine
gets the input ConnectionBox.
getLastUpdateTime()
- Method in class
NetworkHandler
sends the get last update time message and returns value in a callback.
getLastUpdateTime(int)
- Method in class
NetworkHandler
sends the get last update time message and returns value in a callback.
getName()
- Method in class
XMLString
getNextMessage()
- Method in class
XMLSocket
get the next message from the queue
getOutput()
- Method in class
PatchLine
gets the output ConnectionBox.
getView()
- Method in class
NetworkHandler
sends the get last update time message and returns value in a callback.
getViewObjects()
- Method in class
UpdateParser
Gets a list of View Objects consisting of ConnectionBoxes and PatchLines
getXML()
- Method in class
XMLString
H
hashCode()
- Method in class
PatchLine
Hashcode based on the input and output ids
hasMessage()
- Method in class
XMLSocket
is there a message waiting in the queue
I
isDone()
- Method in class
XMLSocket
Is the XMLSocket finished with the socket
isEmpty()
- Method in class
SyncList
is the queue is empty
L
Line
- class
Line
.
Simple Line struct class,
Line()
- Constructor for class
Line
M
messageHandle(XMLString)
- Method in class
NetworkHandler
MessagesHandler, handles XML messages.
N
NetworkHandler
- class
NetworkHandler
.
NetworkHandler handles the XMLSocket and executes network actions The NetworkHandler handles both the network messages as well as message construction and message parsing.
networkHandler(ViewWindow)
- Static method in class
NetworkHandler
Singleton, returns a network handler handling view.
P
paintOn(Graphics)
- Method in class
PatchLine
PaintOn the graphics g
parseXML(XParser, Reader)
- Method in class
XMLSocket
Parse XML with a parser, results are in the XParser
parseXML(XParser, String)
- Method in class
XMLSocket
Parse XML with a parser, results are in the XParser
patch(Connection, Connection)
- Method in class
NetworkHandler
Sends Connector a message to patch the connection represented by "connect1" to the connection represented by "connect2".
PatchLine
- class
PatchLine
.
PatchLine, a ViewObject, a line between ConnectionBoxes represents a patch.
PatchLine()
- Constructor for class
PatchLine
Default Constructor
PatchLine(ConnectionBox, ConnectionBox)
- Constructor for class
PatchLine
Default Constructor, sets the ConnectionBoxes for the relationship.
propertyChange(PropertyChangeEvent)
- Method in class
NetworkHandler
propertyChange listener accepts messages from XMLSocket
R
removeFirst()
- Method in class
SyncList
removes the first element from the list and returns it
run()
- Method in class
XMLSocket
reader thread, fires events
S
sendMessage(String)
- Method in class
XMLSocket
sends an string to the socket (preferrably XML)
setCurrentHost(InetAddress)
- Static method in class
NetworkHandler
set the current host with address i
setCurrentPort(int)
- Static method in class
NetworkHandler
set the current port with i
setInput(ConnectionBox)
- Method in class
PatchLine
sets the input ConnectionBox.
setOutput(ConnectionBox)
- Method in class
PatchLine
sets the output ConnectionBox.
setThrowEvent(boolean)
- Method in class
XMLSocket
tell the XMLSocket to fire newMessage events per each successful read or not.
shutDown()
- Method in class
NetworkHandler
sends the shutdown message to the server
startElement(String, String, String, Attributes)
- Method in class
UpdateParser
used when a tag opens
startElement(String, String, String, Attributes)
- Method in class
XParser
Called when an element is starting
startThread()
- Method in class
XMLSocket
Starts the Reader Thread
SyncList
- class
SyncList
.
SyncList is a synchronized Queue, it wraps a linkedList and allows for synchronization.
SyncList()
- Constructor for class
SyncList
T
toString()
- Method in class
XMLString
U
unPatch(Connection, Connection)
- Method in class
NetworkHandler
Unpatches and patch between connections "connect1" and "connect2"
unPopMessage(XMLString)
- Method in class
XMLSocket
Put a message at the start of the queue
UpdateParser
- class
UpdateParser
.
UpdateParser is SAX XML Parser used for parsing
UpdateParser()
- Constructor for class
UpdateParser
W
wasClicked(int, int)
- Method in class
PatchLine
Was this line clicked on? has a small margin of error
X
x1
- Variable in class
Line
point 1 x coord
x2
- Variable in class
Line
point 2 x coord
XMLSocket
- class
XMLSocket
.
XMLSocket is a socket wrapper which reads the socket to get XML blocks.
XMLSocket(Socket)
- Constructor for class
XMLSocket
Default constructor
XMLString
- class
XMLString
.
XMLString is a root node name and XML string of the root node, Simply the root node name and the string Used by XMLSocket
XMLString(String)
- Constructor for class
XMLString
The XMLString Constructor
XMLString(String, String)
- Constructor for class
XMLString
The XMLString Constructor
XParser
- class
XParser
.
XParser is DefaultHandler for parsing XML with SAX.
XParser()
- Constructor for class
XParser
Y
y1
- Variable in class
Line
point 1 y coord
y2
- Variable in class
Line
point 2 y coord
A
C
D
E
G
H
I
L
M
N
P
R
S
T
U
W
X
Y
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes