org.apache.batik.util.gui
public static class MemoryMonitor.History extends JPanel implements MemoryMonitor.MemoryChangeListener
| Field Summary | |
|---|---|
| protected Color | borderColor
The border color. |
| protected static Stroke | BORDER_STROKE
The border stroke. |
| protected Color | curveColor
The curve color. |
| protected static Stroke | CURVE_STROKE
The curve stroke. |
| protected List | data
The data. |
| protected long | freeMemory
The free memory. |
| protected Color | gridLinesColor
The grid lines color. |
| protected static Stroke | GRID_LINES_STROKE
The grid lines stroke. |
| protected GeneralPath | path
The curve representation. |
| static int | PREFERRED_HEIGHT
The preferred height. |
| static int | PREFERRED_WIDTH
The preferred width. |
| protected long | totalMemory
The total memory. |
| protected int | xShift
The vertical lines shift. |
| Constructor Summary | |
|---|---|
| History()
Creates a new History object. | |
| Method Summary | |
|---|---|
| void | memoryStateChanged(long total, long free)
Indicates that the memory state has changed. |
| protected void | paintComponent(Graphics g)
To paint the component. |
Parameters: total The total amount of memory. free The free memory.