org.apache.batik.util.gui

Class MemoryMonitor.Panel

public static class MemoryMonitor.Panel extends JPanel

A panel composed of a Usage instance and a History instance.
Field Summary
protected MemoryMonitor.RepaintThreadrepaintThread
The repaint thread.
Constructor Summary
Panel()
Creates a new memory monitor panel, composed of a Usage instance and a History instance.
Panel(long time)
Creates a new memory monitor panel, composed of a Usage instance and a History instance.
Method Summary
MemoryMonitor.RepaintThreadgetRepaintThread()
Returns the repaint thread.

Field Detail

repaintThread

protected MemoryMonitor.RepaintThread repaintThread
The repaint thread.

Constructor Detail

Panel

public Panel()
Creates a new memory monitor panel, composed of a Usage instance and a History instance. The time beetween two repaints is 1s.

Panel

public Panel(long time)
Creates a new memory monitor panel, composed of a Usage instance and a History instance. The repaint thread must be started by hands.

Parameters: time The time beetween two repaints in ms.

Method Detail

getRepaintThread

public MemoryMonitor.RepaintThread getRepaintThread()
Returns the repaint thread.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.