Serialized Form


Package com.palserv.clock

Class com.palserv.clock.BinaryClockApplet extends javax.swing.JApplet implements Serializable

serialVersionUID: 234567L

Serialized Fields

parms

java.lang.String[] parms
The parameters which are allowed on the applet param tag. The param element is a child of applet and has attributes name and value (with the obvious meanings). The first four control the colors. The last three control the size of each Bit and the little circles. The order must correspond to the order of the options array.


options

java.lang.String[] options
The (command line) options which correspond to the parms array. These are used to set options in BinaryClock. The order must correspond to the order of the parms array.


mClock

BinaryClock mClock

Class com.palserv.clock.Bit extends javax.swing.JLabel implements Serializable

serialVersionUID: 123456L

Serialized Fields

mValue

int mValue
Private member variables


mShowCircle

boolean mShowCircle

mHeight

int mHeight

mWidth

int mWidth

mRadius

int mRadius

mULCx

int mULCx
Calculated in setup, used in paint. This is the "x" value of the Upper Left Corner (ULC) of the bounding rectangle of the circle.


mULCy

int mULCy
Calculated in setup, used in paint. This is the "y" value of the Upper Left Corner (ULC) of the bounding rectangle of the circle.


mDiameter

int mDiameter
Calculated in setup, used in paint. This is the diameter of the circle.


colors

java.awt.Color[] colors
The array of colors. There should be exactly four. This array is indexed with constants defined in this class. The values of the array can be set from outside using the setColors method.