prefuse.util.display
Class DebugStatsPainter
java.lang.Object
prefuse.util.display.DebugStatsPainter
- All Implemented Interfaces:
- java.util.EventListener, PaintListener
public class DebugStatsPainter
- extends java.lang.Object
- implements PaintListener
PinatListener that paints useful debugging statistics over a prefuse
display. This includes the current frame rate, the number of visible
items, memory usage, and display navigation information.
- Author:
- jeffrey heer
Method Summary |
void |
postPaint(Display d,
java.awt.Graphics2D g)
Prints a debugging statistics string in the Display. |
void |
prePaint(Display d,
java.awt.Graphics2D g)
Does nothing. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DebugStatsPainter
public DebugStatsPainter()
prePaint
public void prePaint(Display d,
java.awt.Graphics2D g)
- Does nothing.
- Specified by:
prePaint
in interface PaintListener
- Parameters:
d
- the Display about to paint itselfg
- the Graphics context for the Display- See Also:
PaintListener.prePaint(prefuse.Display, java.awt.Graphics2D)
postPaint
public void postPaint(Display d,
java.awt.Graphics2D g)
- Prints a debugging statistics string in the Display.
- Specified by:
postPaint
in interface PaintListener
- Parameters:
d
- the Display about to paint itselfg
- the Graphics context for the Display- See Also:
PaintListener.postPaint(prefuse.Display, java.awt.Graphics2D)
Copyright © 2007 Regents of the University of California