com.croftsoft.core.media.jogl.render
Class JoglFrameRate
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JoglFrameRate
public JoglFrameRate()
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 Core Javadoc (2008-09-28 20:58:02)