Generated by
JDiff

Class javax.swing.Timer

Documentation changed from old to new.

Changed Constructors
Timer(int, ActionListener) Documentation changed from old to new.
Creates a Timer that will notify its listeners every delay milliseconds.
 

Added Methods
ActionListener[] getActionListeners() Returns an array of all the action listeners registered on this timer.
 

Changed Methods
void addActionListener(ActionListener) Documentation changed from old to new.
Adds an action listener to the Timer.
void fireActionPerformed(ActionEvent) Documentation changed from old to new.
Notifies all listeners that have registered interest for notification on this event type.
int getDelay() Documentation changed from old to new.
Returns the delay in milliseconds between firings of action events.
int getInitialDelay() Documentation changed from old to new.
Returns the Timer's initial delay.
EventListener[] getListeners(Class) Documentation changed from old to new.
Returns an array of all the objects currently registered as FooListeners upon this Timer.
boolean getLogTimers() Documentation changed from old to new.
Returns true if logging is enabled.
boolean isCoalesce() Documentation changed from old to new.
Returns true if the Timer coalesces multiple pending action events.
boolean isRepeats() Documentation changed from old to new.
Returns true (the default) if the Timer will send an action event to its listeners multiple times.
boolean isRunning() Documentation changed from old to new.
Returns true if the Timer is running.
void removeActionListener(ActionListener) Documentation changed from old to new.
Removes the specified action listener from the Timer.
void restart() Documentation changed from old to new.
Restarts the Timer canceling any pending firings and causing it to fire with its initial delay.
void setCoalesce(boolean) Documentation changed from old to new.
Sets whether the Timer coalesces multiple pending ActionEvent firings.
void setDelay(int) Documentation changed from old to new.
Sets the Timer's delay the number of milliseconds between successive action events.
void setInitialDelay(int) Documentation changed from old to new.
Sets the Timer's initial delay which by default is the same as the between-event delay.
void setLogTimers(boolean) Documentation changed from old to new.
Enables or disables the timer log.
void setRepeats(boolean) Documentation changed from old to new.
If flag is false instructs the Timer to send only one action event to its listeners.
void start() Documentation changed from old to new.
Starts the Timer causing it to start sending action events to its listeners.
void stop() Documentation changed from old to new.
Stops the Timer causing it to stop sending action events to its listeners.