Class MemoryMonitor.History

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, MemoryMonitor.MemoryChangeListener
Enclosing class:
MemoryMonitor

public static class MemoryMonitor.History extends JPanel implements MemoryMonitor.MemoryChangeListener
Displays the memory usage history in a chart.
See Also:
  • Field Details

    • PREFERRED_WIDTH

      public static final int PREFERRED_WIDTH
      The preferred width.
      See Also:
    • PREFERRED_HEIGHT

      public static final int PREFERRED_HEIGHT
      The preferred height.
      See Also:
    • GRID_LINES_STROKE

      protected static final Stroke GRID_LINES_STROKE
      The grid lines stroke.
    • CURVE_STROKE

      protected static final Stroke CURVE_STROKE
      The curve stroke.
    • BORDER_STROKE

      protected static final Stroke BORDER_STROKE
      The border stroke.
    • gridLinesColor

      protected Color gridLinesColor
      The grid lines color.
    • curveColor

      protected Color curveColor
      The curve color.
    • borderColor

      protected Color borderColor
      The border color.
    • data

      protected List data
      The data.
    • xShift

      protected int xShift
      The vertical lines shift.
    • totalMemory

      protected long totalMemory
      The total memory.
    • freeMemory

      protected long freeMemory
      The free memory.
    • path

      protected GeneralPath path
      The curve representation.
  • Constructor Details

    • History

      public History()
      Creates a new History object.
  • Method Details