Skip navigation links
A B C F G R S U 

A

actionPerformed(ActionEvent) - Method in class Clock
Handle actionPerformed events (required by ActionListener)

B

beep() - Method in class Clock
Play the default "beep" on the system speaker.

C

Clock - Class in <Unnamed>
A GUI window that contains a digital clock.
Clock() - Constructor for class Clock
Default Constructor.
Clock(String) - Constructor for class Clock
Explicit Value Constuctor.

F

formatTime(int, int, int, String) - Static method in class Clock
Create an appropriately formatted String representation of a time.

G

getAMPM() - Method in class Clock
Get the time period (either "AM" or "PM").
getHour() - Method in class Clock
Get the current hour [1, 12].
getMinute() - Method in class Clock
Get the current minute [0, 59].
getSecond() - Method in class Clock
Get the current second [0, 59].

R

reverseColors() - Method in class Clock
Reverse this Clock object's colors.

S

setText(String) - Method in class Clock
Set the text that appears below the location.

U

updateTime() - Method in class Clock
Update the time displayed on the clock.
A B C F G R S U 
Skip navigation links