A D E G I M P R S T W

A

addEggTimerListener(EggTimerListener) - Method in class EggTimer.EggTimer
Add an EggTimerEvent listener

D

defaultTimeIntervalInSeconds - Static variable in class EggTimer.EggTimer
Length of time for which the timer runs, in seconds, by default.
defaultWindowWidth - Static variable in class EggTimer.EggTimer
 

E

EggTester - class EggTester.
A fun tester of egg timers.
EggTester() - Constructor for class EggTester
 
EggTimer - package EggTimer
 
EggTimer - class EggTimer.EggTimer.
A visible count-down timer.
EggTimer() - Constructor for class EggTimer.EggTimer
Create and display an egg timer with a default number of seconds.
EggTimer(double) - Constructor for class EggTimer.EggTimer
Create and display an egg timer with the requested number of seconds before expiring.
eggTimerChange(EggTimerChangeEvent) - Method in class EggTester
Stub for testing.
eggTimerChange(EggTimerChangeEvent) - Method in interface EggTimer.EggTimerListener
Method to be called when the egg timer changes.
EggTimerChangeEvent - class EggTimer.EggTimerChangeEvent.
 
EggTimerEvent - class EggTimer.EggTimerEvent.
An abstract superclass for concrete egg timer events.
EggTimerListener - interface EggTimer.EggTimerListener.
An interface to be implemented by classes that listen to EggTimers.
eggTimerRunout(EggTimerRunoutEvent) - Method in class EggTester
Method to be called when the egg timer runs out (expires).
eggTimerRunout(EggTimerRunoutEvent) - Method in interface EggTimer.EggTimerListener
Method to be called when the egg timer runs out (expires).
EggTimerRunoutEvent - class EggTimer.EggTimerRunoutEvent.
 

G

getElapsedTime() - Method in class EggTimer.EggTimer
Answer, how much time has the timer accumulated since being started?
getOriginallyRequestedTime() - Method in class EggTimer.EggTimer
Answer, how much time was originally requested for this timer?
getPercentUsed() - Method in class EggTimer.EggTimer
Answer, what percentage of the requested time has elapsed?
getTimeRemaining() - Method in class EggTimer.EggTimer
Answer the amount of time remaining before expiration.

I

isPaused() - Method in class EggTimer.EggTimer
Answer, is the timer currently paused?
isRunning() - Method in class EggTimer.EggTimer
Answer, is the timer running?
isStarted() - Method in class EggTimer.EggTimer
Answer, has the timer been started?
isStopped() - Method in class EggTimer.EggTimer
Answer, has the timer been stopped?

M

main(String[]) - Static method in class EggTester
Displays egg timers everywhere.
main(String[]) - Static method in class EggTimer.EggTimer
Just a little test method.
moveBy(int, int) - Method in class EggTimer.EggTimer
Move the visible timer by the given amount (pixels).

P

pauseEggTimer() - Method in class EggTimer.EggTimer
Freezes the time; elapsed time won't increase until timer is started again.
processEvent(AWTEvent) - Method in class EggTimer.EggTimer
Override the JCompoment's processEvent method.

R

removeEggTimerListener(EggTimerListener) - Method in class EggTimer.EggTimer
Remove the givien EggTimerListener
resumeEggTimer() - Method in class EggTimer.EggTimer
Resumes an egg timer; elapsed time continues where it left off.

S

startEggTimer() - Method in class EggTimer.EggTimer
Start the timer.
stopEggTimer() - Method in class EggTimer.EggTimer
Stop an egg timer, forever.

T

toString() - Method in class EggTimer.EggTimerEvent
 
toString() - Method in class EggTimer.EggTimer
Returns a String describing the egg timer.

W

windowBackgroundColor - Static variable in class EggTimer.EggTimer
 

A D E G I M P R S T W