com.croftsoft.core.animation.updater
Class FrameRateUpdater
java.lang.Object
com.croftsoft.core.animation.updater.FrameRateUpdater
- All Implemented Interfaces:
- ComponentUpdater
public final class FrameRateUpdater
- extends Object
- implements ComponentUpdater
Samples and prints the frame rate.
- Since:
- 2003-02-12
- Version:
- $Date: 2008/04/19 21:27:14 $
- Author:
- David Wallace Croft
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FrameRateUpdater
public FrameRateUpdater(boolean printFrameRate)
FrameRateUpdater
public FrameRateUpdater()
update
public void update(JComponent component)
- Description copied from interface:
ComponentUpdater
- Updates the state of a JComponent and calls repaint() as required.
- Specified by:
update
in interface ComponentUpdater
getFrameRate
public double getFrameRate()
CroftSoft Core Javadoc (2008-09-28 20:58:02)