org.apache.batik.util.gui
public class MemoryMonitor extends JFrame implements ActionMap
Nested Class Summary | |
---|---|
protected class | MemoryMonitor.CloseButtonAction
The action associated with the 'Close' button of the memory monitor. |
protected class | MemoryMonitor.CollectButtonAction
The action associated with the 'Collect' button of the memory monitor. |
static class | MemoryMonitor.History
Displays the memory usage history in a chart. |
interface | MemoryMonitor.MemoryChangeListener
This interface allows the RepaintThread to notify an object that the
current memory state has changed. |
static class | MemoryMonitor.Panel
A panel composed of a Usage instance and a History instance. |
static class | MemoryMonitor.RepaintThread
This thread repaints a list of components. |
static class | MemoryMonitor.Usage
Displays the current memory usage. |
Field Summary | |
---|---|
protected static ResourceBundle | bundle
The resource bundle |
protected Map | listeners
The map that contains the listeners |
protected MemoryMonitor.Panel | panel
The Panel instance. |
protected static ResourceManager | resources
The resource manager |
protected static String | RESOURCE
The resource file name |
Constructor Summary | |
---|---|
MemoryMonitor()
Creates a new memory monitor frame.
| |
MemoryMonitor(long time)
Creates a new memory monitor frame. |
Method Summary | |
---|---|
Action | getAction(String key)
Returns the action associated with the given string
or null on error |
Parameters: time The time beetween two repaints in ms.
Parameters: key the key mapped with the action to get
Throws: MissingListenerException if the action is not found