Serialized Form
state
boolean state
- determines the color of the field
dim
java.awt.Dimension dim
- size of the field
trueColor
java.awt.Color trueColor
- color when state == true
falseColor
java.awt.Color falseColor
- color when state == false
inputLines
Queue inputLines
- Buffer for input lines not yet read.
ta
java.awt.TextArea ta
c
java.awt.Component c
- The Component to display.
defaultDimension
java.awt.Dimension defaultDimension
- Default Frame dimensions. Initialized in constructor
c
java.awt.Component c
- The Component (view) to display.
gc
GameControllable gc
- The controls for this component.
defaultDimension
java.awt.Dimension defaultDimension
- Default Frame dimensions. Initialized in constructor
text
java.lang.String text
- the string to be displayed
mode
int mode
clientRadioButton
javax.swing.JRadioButton clientRadioButton
hostLabel
javax.swing.JLabel hostLabel
hostTextField
javax.swing.JTextField hostTextField
jLabel3
javax.swing.JLabel jLabel3
jPanel1
javax.swing.JPanel jPanel1
jPanel3
javax.swing.JPanel jPanel3
leftPanel
javax.swing.JPanel leftPanel
modeButtons
javax.swing.ButtonGroup modeButtons
okButton
javax.swing.JButton okButton
portLabel
javax.swing.JLabel portLabel
portTextField
javax.swing.JTextField portTextField
serverRadioButton
javax.swing.JRadioButton serverRadioButton
standaloneRadioButton
javax.swing.JRadioButton standaloneRadioButton
message
java.lang.String message
fields
java.lang.String[] fields
values
java.lang.String[] values
entries
java.awt.TextComponent[] entries
ok
java.awt.Button ok
Package cs101.io.connection |
Package cs101.util.semaphore |
busy
boolean busy
- The current state of the semaphore.
true => busy , false => free
sqr
ColorField sqr
- The graphical display of the semaphore
size
int size
- the length of the semaphore
busy
int busy
- how much of the semaphore is in use
fields
ColorField[] fields
myNumber
int myNumber
- my number in the InstanceCount(er)
label
java.awt.Label label
- label for the semaphore
display
java.awt.Panel display
- display panel for the semaphore
readObject
public java.lang.Object readObject()
throws ChannelEmptyException,
ChannelDisabledException
- Read an object from the channel.
- Throws:
ChannelEmptyException
- if no objects are present in the
channel or the oldest object has not propigated through the
channel yet (due to a non-zero latency).
ChannelDisabledException
- if the channel is diabled
writeObject
public void writeObject(java.lang.Object o)
throws ChannelFullException,
ChannelDisabledException
- Insert an object into the channel.
- Throws:
ChannelFullException
- if the number of objects in the
channel already equals or exceeds the capacity.
ChannelDisabledException
- if the channel is currently
disabled
capacity
int capacity
latency
int latency
name
java.lang.String name
startNode
Node startNode
stopNode
Node stopNode
enabled
boolean enabled
destroyed
boolean destroyed
p1
java.awt.Point p1
p2
java.awt.Point p2
poly1
java.awt.Polygon poly1
poly2
java.awt.Polygon poly2
x_diff
int x_diff
y_diff
int y_diff
myVector
java.util.Vector myVector
owner
Node owner
Class nodenet.Main extends javax.swing.JApplet implements Serializable |
me
NodeNetFrame me
Class nodenet.Node extends java.lang.Object implements Serializable |
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Custom de-serialization. Get NodeBehavior & color, then start
Thread.
pos
java.awt.Point pos
enabled
boolean enabled
destroyed
boolean destroyed
stopped
boolean stopped
name
java.lang.String name
myBehaviorStr
java.lang.String myBehaviorStr
inputChannels
InputChannelVector inputChannels
outputChannels
OutputChannelVector outputChannels
myConfig
NodeConfigurationBean myConfig
nodeName
java.lang.String nodeName
dest
java.lang.String dest
displayNodeName
boolean displayNodeName
propertySupport
java.beans.PropertyChangeSupport propertySupport
vetos
java.beans.VetoableChangeSupport vetos
destVal
DestinationValidator destVal
destDetailLabel
javax.swing.JLabel destDetailLabel
destinationLabel
javax.swing.JLabel destinationLabel
destinationPanel
javax.swing.JPanel destinationPanel
destinationTextField
javax.swing.JTextField destinationTextField
nameDisplayCheckBox
javax.swing.JCheckBox nameDisplayCheckBox
nameLabel
javax.swing.JLabel nameLabel
namePanel
javax.swing.JPanel namePanel
nameTextField
javax.swing.JTextField nameTextField
sp
SimulationPanel sp
jsp
javax.swing.JSplitPane jsp
nts
NodeTypeSelector nts
cl
java.lang.ClassLoader cl
uLoad
java.net.URLClassLoader uLoad
propertyChangeSupport
java.beans.PropertyChangeSupport propertyChangeSupport
- Utility field used by bound properties.
nodeBehaviors
java.lang.Class[] nodeBehaviors
- Holds value of property nodeBehaviors.
selectedBehavior
java.lang.Class selectedBehavior
- Holds value of property selectedBehavior.
generator
java.lang.Class generator
- Holds the default generator behavior
terminator
java.lang.Class terminator
- Holds the default terminator behavior
minSize
java.awt.Dimension minSize
- holds the minimum size to display ourselves
behaviorButtons
javax.swing.ButtonGroup behaviorButtons
buttonPanel
javax.swing.JPanel buttonPanel
buttonScrollPane
javax.swing.JScrollPane buttonScrollPane
moveDownMenuItem
javax.swing.JMenuItem moveDownMenuItem
moveUpMenuItem
javax.swing.JMenuItem moveUpMenuItem
popup
javax.swing.JPopupMenu popup
myVector
java.util.Vector myVector
owner
Node owner
Package nodenet.registrar |
readResolve
private java.lang.Object readResolve()
throws java.io.ObjectStreamException