org.xith3d.loop
Class FrameFPSListener

java.lang.Object
  extended by org.xith3d.loop.TitleFPSListener
      extended by org.xith3d.loop.FrameFPSListener
All Implemented Interfaces:
ConsciousFPSListener, FPSListener

public class FrameFPSListener
extends TitleFPSListener

This FPSListener prints the cought FPS to the Canvas3D's title. This is of course only visible in windowed mode.


Constructor Summary
FrameFPSListener(java.awt.Frame frame)
           
 
Method Summary
protected  void onDetachedFromRenderLoop()
          This is called when the listener has been detaced from teh RenderLoop.
protected  void setTitle(java.lang.String title)
          
 
Methods inherited from class org.xith3d.loop.TitleFPSListener
getBaseTitle, getDynamicTitlePart, getLimitedString, getRenderLoop, isLimited, onFPSCountIntervalHit, setBaseTitle, setRenderLoop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FrameFPSListener

public FrameFPSListener(java.awt.Frame frame)
Method Detail

onDetachedFromRenderLoop

protected final void onDetachedFromRenderLoop()
This is called when the listener has been detaced from teh RenderLoop.

Specified by:
onDetachedFromRenderLoop in class TitleFPSListener

setTitle

protected void setTitle(java.lang.String title)

Specified by:
setTitle in class TitleFPSListener