Interface StatusDisplayBar.BarPainter

Enclosing class:
StatusDisplayBar

public static interface StatusDisplayBar.BarPainter
Interface for bars that need more complicated drawing than a simple color bar.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    paint​(Graphics2D g, int width, int height)
    Fill an area corresponding to a full bar.
  • Method Details

    • paint

      void paint(Graphics2D g, int width, int height)
      Fill an area corresponding to a full bar.
      Parameters:
      g - graphics
      width - width of the area
      height - height of the area