All Packages  Class Hierarchy

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Index of all Fields and Methods

A

action(Event, Object). Method in class DialClock
addLabelComp(Label, Component). Method in class LabelCompPanel
Adds a label and a generic component to this panel
addTextField(String, int). Method in class LabelCompPanel
Adds a label and textfield pair to this panel

C

cDayInDay. Variable in class TimeGrid
cHrInDay. Variable in class TimeGrid
cHrInHr. Variable in class TimeGrid
cMinInDay. Variable in class TimeGrid
cMinInHr. Variable in class TimeGrid
cMinInMin. Variable in class TimeGrid
cSecInDay. Variable in class TimeGrid
cSecInHr. Variable in class TimeGrid
cSecInMin. Variable in class TimeGrid

D

DialClock(). Constructor for class DialClock
DialClockFrame(). Constructor for class DialClockFrame
Constructor sets up frame and starts thread running for this newly created object.

F

format(double). Method in class NumFmt

G

getComp(). Method in class LabelCompPair
Returns the reference to the Component object in this pair.
getHeight(). Method in class PercentDial
The total height of the component in pixels.
getLabel(). Method in class LabelCompPair
Returns the reference to the Label object in this pair.
getMinimumSize(). Method in class PercentDial
Overrides Component.getMinimumSize to return the minimum size of the Percent Dial.
getOutlineColor(). Method in class PercentDial
Returns the color for the outline of the circle.
getPreferredSize(). Method in class PercentDial
Overrides Component.getPreferredSize to return the preferred size of the Percent Dial.
getThread(). Method in class DialClockFrame
Return the thread running the frame.
getThread(). Method in class TimeCalc
Used to get the thread in TimeCalc object (usually to stop() it).
getUnusedColor(). Method in class PercentDial
Returns the fill color for the portion of the circle which shows the fraction which is not used.
getUsedColor(). Method in class PercentDial
Returns the fill color for the portion of the circle which shows the fraction used.
getWidth(). Method in class PercentDial
The total width of the component in pixels.

H

handleEvent(Event). Method in class DialClockFrame

I

init(). Method in class DialClock

L

LabelCompPair(Label, Component). Constructor for class LabelCompPair
Contructs a pair using the references to existing Label l and existing Component c
LabelCompPanel(). Constructor for class LabelCompPanel
Create a panel with defaults that labels are right/top justified and components are left/top justtified in a GridBagLayout.

M

main(String[]). Static method in class NumFmt
minimumSize(). Method in class PercentDial
Still here for backward 1.0 compat

N

NumFmt(). Constructor for class NumFmt
NumFmt(int). Constructor for class NumFmt
NumFmt(int, char). Constructor for class NumFmt
NumFmt(int, int). Constructor for class NumFmt
NumFmt(int, int, char). Constructor for class NumFmt

P

paint(Graphics). Method in class DialClockFrame
Calls pack() to make the frame as small as possible regardless of any attempts to resize it.
paint(Graphics). Method in class PercentDial
Overrides paint() method to draw the percent dial.
PercentDial(int). Constructor for class PercentDial
Contructor which assumes the default border thickness.
PercentDial(int, int). Constructor for class PercentDial
Constructor which takes the width of the component (and incidentally the height) in pixels and the thickness of the border in pixels.
preferredSize(). Method in class PercentDial
Still here for backward 1.0 compat
printAllValues(). Method in class NumFmt

R

run(). Method in class DialClockFrame
Main loop for DialClockFrame.
run(). Method in class TimeCalc
Main loop of thread running for this object, called indirectly by the constructors call to start().

S

setAlignRight(boolean). Method in class NumFmt
If true, number is attempted to be aligned with the right side of the field.
setCurrFrac(double). Method in class PercentDial
Update the percent dial to show a new fraction of the circle.
setDecPlaces(int). Method in class NumFmt
setMinLen(int). Method in class NumFmt
setOutlineColor(Color). Method in class PercentDial
Sets the color for the outline of the circle.
setPadCharLeading(char). Method in class NumFmt
setPadCharTrailing(char). Method in class NumFmt
setPadIt(boolean). Method in class NumFmt
setRoundIt(boolean). Method in class NumFmt
setUnusedColor(Color). Method in class PercentDial
Sets the fill color for the portion of the circle which shows the fraction which is not used.
setUsedColor(Color). Method in class PercentDial
Sets the fill color for the portion of the circle which shows the fraction used.
start(). Method in class DialClock

T

tDayInDay. Variable in class TimeGrid
tHrInDay. Variable in class TimeGrid
tHrInHr. Variable in class TimeGrid
TimeCalc(long, long, DialClockFrame). Constructor for class TimeCalc
Contructor that takes a starting time in milliseconds offset from Jan 1, 1970, a delay in millis to wait before recalculating and a DialClockFrame object to notify when new data is available.
TimeGrid(). Constructor for class TimeGrid
tMinInDay. Variable in class TimeGrid
tMinInHr. Variable in class TimeGrid
tMinInMin. Variable in class TimeGrid
tSecInDay. Variable in class TimeGrid
tSecInHr. Variable in class TimeGrid
tSecInMin. Variable in class TimeGrid

U

update(TimeGrid). Method in class DialClockFrame
Called by TimeCalc (obserable object) when new TimeGrid info is available to that we don't have to continually poll.