de.rico.engine.util
Class HeapSizeDrawer

java.lang.Object
  extended by de.rico.engine.util.HeapSizeDrawer

public class HeapSizeDrawer
extends java.lang.Object

This class can be used to draw the currently occupied heap space.

Author:
Frank Bruns

Constructor Summary
HeapSizeDrawer(int y, int rightMargin)
          Creates new heap space drawer.
 
Method Summary
 void draw(javax.media.opengl.GL gl)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeapSizeDrawer

public HeapSizeDrawer(int y,
                      int rightMargin)
Creates new heap space drawer.

Parameters:
y - y coordinate
rightMargin - distance from right screen margin
Method Detail

draw

public void draw(javax.media.opengl.GL gl)