A C G I M S T

A

AboutPanel - class com.redcarton.alarmclock.AboutPanel.
 
AboutPanel(AlarmClock, Container) - Constructor for class com.redcarton.alarmclock.AboutPanel
Instantiates a new instance of AboutPanel.
Alarm - class com.redcarton.alarmclock.Alarm.
 
Alarm(AlarmListener, boolean) - Constructor for class com.redcarton.alarmclock.Alarm
Instantiates a new instance of Alarm.
Alarm(AlarmListener, boolean, int, int) - Constructor for class com.redcarton.alarmclock.Alarm
Instantiates a new instance of Alarm with a default time.
AlarmClock - class com.redcarton.alarmclock.AlarmClock.
 
AlarmClock() - Constructor for class com.redcarton.alarmclock.AlarmClock
Instantiates a new instance of AlarmClock for 24hr format.
AlarmClock(boolean) - Constructor for class com.redcarton.alarmclock.AlarmClock
Instantiates a new instance of AlarmClock.
AlarmClockApplet - class com.redcarton.alarmclock.AlarmClockApplet.
 
AlarmClockApplet() - Constructor for class com.redcarton.alarmclock.AlarmClockApplet
 
AlarmClockFrame - class com.redcarton.alarmclock.AlarmClockFrame.
 
AlarmClockFrame(boolean) - Constructor for class com.redcarton.alarmclock.AlarmClockFrame
Instantiates a new instance of AlarmClockFrame.
AlarmListener - interface com.redcarton.alarmclock.AlarmListener.
AlarmListeners understands how listen to time changes and a fired alarm from Alarms.
actionPerformed(ActionEvent) - Method in class com.redcarton.alarmclock.AlarmClock
Do not call directly.
actionPerformed(ActionEvent) - Method in class com.redcarton.alarmclock.Time
Do not call directly.
alarmFired(Alarm) - Method in class com.redcarton.alarmclock.AlarmClock
Do not call directly.
alarmFired(Alarm) - Method in interface com.redcarton.alarmclock.AlarmListener
Called when a Alarm is fired/goes off.

C

com.redcarton.alarmclock - package com.redcarton.alarmclock
 

G

getAppletInfo() - Method in class com.redcarton.alarmclock.AlarmClockApplet
Returns information about this applet.
getHours() - Method in class com.redcarton.alarmclock.Alarm
Returns the alarm hour in the appropriate format (24hr or 12hr).
getHours() - Method in class com.redcarton.alarmclock.Time
Returns the current hour in the appropriate format (24hr or 12hr).
getMinutes() - Method in class com.redcarton.alarmclock.Alarm
Returns the alarm minutes from 0 through 59.
getMinutes() - Method in class com.redcarton.alarmclock.Time
Returns the current minutes from 0 through 59.
getParameterInfo() - Method in class com.redcarton.alarmclock.AlarmClockApplet
Returns information about the parameters that are understood by this applet.
getSeconds() - Method in class com.redcarton.alarmclock.Time
Returns the current seconds from 0 through 59.
getSlider() - Method in class com.redcarton.alarmclock.Alarm
Returns a slider for setting the alarm time.
getTitle() - Method in class com.redcarton.alarmclock.AboutPanel
Returns the panel's title.

I

init() - Method in class com.redcarton.alarmclock.AlarmClockApplet
Run to start alarm clock.
isAm() - Method in class com.redcarton.alarmclock.Alarm
Returns whether the alarm is in the AM.
isAm() - Method in class com.redcarton.alarmclock.Time
Returns whether it is currently in the AM.
isTwentyFourHourFormat() - Method in class com.redcarton.alarmclock.Alarm
Returns whether the alarm's display should be in 24hr format.
isTwentyFourHourFormat() - Method in class com.redcarton.alarmclock.Time
Returns whether the time is reported in 24hr format.

M

main(String[]) - Static method in class com.redcarton.alarmclock.AlarmClockFrame
Run to start alarm clock.

S

setTwentyFourHourFormat(boolean) - Method in class com.redcarton.alarmclock.Time
Sets whether to use 24hr format.
snooze() - Method in class com.redcarton.alarmclock.Alarm
Snoozes the alarm.
start() - Method in class com.redcarton.alarmclock.Time
Starts the time.
stateChanged(ChangeEvent) - Method in class com.redcarton.alarmclock.Alarm
Do not call directly.
stop() - Method in class com.redcarton.alarmclock.Time
Stops the time.

T

Time - class com.redcarton.alarmclock.Time.
 
Time(TimeListener) - Constructor for class com.redcarton.alarmclock.Time
Instantiates a new instance of Time in 24hr format.
Time(TimeListener, boolean) - Constructor for class com.redcarton.alarmclock.Time
Instantiates a new instance of Time.
TimeListener - interface com.redcarton.alarmclock.TimeListener.
TimeListener understands how listen to time changes from Times.
timeChanged(Time) - Method in class com.redcarton.alarmclock.AlarmClock
Do not call directly.
timeChanged(Alarm) - Method in class com.redcarton.alarmclock.AlarmClock
Do not call directly.
timeChanged(Alarm) - Method in interface com.redcarton.alarmclock.AlarmListener
Called when a Alarm's time has changed.
timeChanged(Time) - Method in interface com.redcarton.alarmclock.TimeListener
Called when a Time's time has changed.

A C G I M S T