com.jpemartin.jgt
Class FrameSpeedBar
java.lang.Object
com.jpemartin.jgt.FrameSpeedBar
public class FrameSpeedBar
- extends java.lang.Object
Graphically displays the time it took to draw a frame.
The yellow bar is the instant reading; the white tab indicates maximum (decays),
and the yellow text is the average over the last 10 frames.
|
Method Summary |
void |
show(java.awt.Graphics g,
long sample,
int x,
int y)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FrameSpeedBar
public FrameSpeedBar()
FrameSpeedBar
public FrameSpeedBar(java.lang.String label,
long graphDivisor)
show
public void show(java.awt.Graphics g,
long sample,
int x,
int y)