com.jpemartin.jgt
Class FrameSpeedBar

java.lang.Object
  extended by 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.


Constructor Summary
FrameSpeedBar()
           
FrameSpeedBar(java.lang.String label, long graphDivisor)
           
 
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
 

Constructor Detail

FrameSpeedBar

public FrameSpeedBar()

FrameSpeedBar

public FrameSpeedBar(java.lang.String label,
                     long graphDivisor)
Method Detail

show

public void show(java.awt.Graphics g,
                 long sample,
                 int x,
                 int y)