KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > swing > Timer

javax.swing
Class Timer

java.lang.Object
  extended by javax.swing.Timer
All Implemented Interfaces:
Serializable
See Also:
Top Examples, Source Code, XMLEncoder, java.util.Timer

public void addActionListener(ActionListener listener)
See Also:
Timer(int, java.awt.event.ActionListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void fireActionPerformed(ActionEvent e)
See Also:
EventListenerList
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ActionListener[] getActionListeners()
See Also:
removeActionListener(java.awt.event.ActionListener), addActionListener(java.awt.event.ActionListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getDelay()
See Also:
getInitialDelay(), setDelay(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getInitialDelay()
See Also:
setDelay(int), setInitialDelay(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public <T extends EventListener> T[] getListeners(Class<T> listenerType)
See Also:
removeActionListener(java.awt.event.ActionListener), addActionListener(java.awt.event.ActionListener), getActionListeners(), ClassCastException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static boolean getLogTimers()
See Also:
setLogTimers(boolean)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isCoalesce()
See Also:
setCoalesce(boolean)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isRepeats()
See Also:
setRepeats(boolean)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isRunning()
See Also:
start()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected EventListenerList listenerList
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeActionListener(ActionListener listener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void restart()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setCoalesce(boolean flag)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setDelay(int delay)
See Also:
setInitialDelay(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setInitialDelay(int initialDelay)
See Also:
setDelay(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static void setLogTimers(boolean flag)
See Also:
getLogTimers()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setRepeats(boolean flag)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void start()
See Also:
stop()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void stop()
See Also:
start()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Timer(int delay,
             ActionListener listener)
See Also:
setRepeats(boolean), setInitialDelay(int), addActionListener(java.awt.event.ActionListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags