Serialized Form
mySlopedLine
SlopedLine mySlopedLine
curWeight
java.awt.TextField curWeight
curPos
java.awt.TextField curPos
firstCons
java.lang.reflect.Constructor firstCons
secondCons
java.lang.reflect.Constructor secondCons
defaultBalancer
java.lang.String defaultBalancer
- Alternative Balancer when <2 command line args given.
ends
int[] ends
- The co-ordinates (x, y) of the ends of the line, on a scale from
0 to LENGTH.
allowMoves
boolean allowMoves
- This flag needed because the AnimateBalancer object will always
send requests, and we want to be able to pause the GUI.
myWeight
Weight myWeight
- All SlopedLines have weights attached
oldY1
int oldY1
oldY2
int oldY2
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