Inherited Method Summary |
void | addActionListener(ActionListener listener)
Adds the specified action listener to the timer.
|
int | getDelay()
Returns the timer delay.
|
boolean | isRepeats()
Returns true if the timer repeats.
|
boolean | isRunning()
Returns true if the timer is running.
|
void | removeActionListener(ActionListener listener)
Removes the specified action listener from the timer.
|
void | setDelay(int delay)
Sets the timer delay in milliseconds.
|
void | setRepeats(boolean flag)
Sets whether the timer repeats or is a one-shot event.
|
void | start()
Starts the timer.
|
void | stop()
Stops the timer.
|