com.croftsoft.core.media.jogl.render
Class JoglFrameRate

java.lang.Object
  extended by com.croftsoft.core.media.jogl.render.JoglFrameRate
All Implemented Interfaces:
JoglRenderer

public final class JoglFrameRate
extends Object
implements JoglRenderer

Displays the frame rate.

Since:
2008-02-15
Version:
$Id: JoglFrameRate.java,v 1.3 2008/02/24 23:54:24 croft Exp $
Author:
David Wallace Croft

Constructor Summary
JoglFrameRate()
           
 
Method Summary
 void destroy(GL gl)
           
 double getFrameRate()
           
 double getHeight()
           
 double getWidth()
           
 void init(GL gl)
           
 void render(GL gl)
           
 void setBounds(GL gl, int x, int y, int width, int height)
           
 void setFont(int font)
           
 void setHeight(double height)
           
 void setOffsetX(double offsetX)
           
 void setOffsetY(double offsetY)
           
 void setPollingPeriodNanos(long pollingPeriodNanos)
           
 void setWidth(double width)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoglFrameRate

public JoglFrameRate()
Method Detail

getFrameRate

public double getFrameRate()

getHeight

public double getHeight()

getWidth

public double getWidth()

setFont

public void setFont(int font)

setHeight

public void setHeight(double height)

setOffsetX

public void setOffsetX(double offsetX)

setOffsetY

public void setOffsetY(double offsetY)

setPollingPeriodNanos

public void setPollingPeriodNanos(long pollingPeriodNanos)

setWidth

public void setWidth(double width)

init

public void init(GL gl)
Specified by:
init in interface JoglRenderer

destroy

public void destroy(GL gl)
Specified by:
destroy in interface JoglRenderer

setBounds

public void setBounds(GL gl,
                      int x,
                      int y,
                      int width,
                      int height)
Specified by:
setBounds in interface JoglRenderer

render

public void render(GL gl)
Specified by:
render in interface JoglRenderer

CroftSoft Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)