Interface ComponentPainter<T extends JComponent>

All Known Implementing Classes:
CmpPainter

public interface ComponentPainter<T extends JComponent>
A painter interface similar to the SwingX painter setup. Can be used by custom UI components to help with painting.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    paint(Graphics2D g2d, T comp, int width, int height)
    Paint the component
  • Method Details

    • paint

      void paint(Graphics2D g2d, T comp, int width, int height)
      Paint the component
      Parameters:
      g2d - graphics context as a Graphics2D object
      comp - component
      width - width to paint
      height - height to paint