Class CmpPainter<T extends JComponent>

java.lang.Object
ca.phon.ui.painter.CmpPainter<T>
All Implemented Interfaces:
ComponentPainter<T>

public class CmpPainter<T extends JComponent> extends Object implements ComponentPainter<T>
  • Constructor Details

    • CmpPainter

      public CmpPainter()
      Constructor
    • CmpPainter

      public CmpPainter(ComponentPainter<T>... painters)
  • Method Details

    • paint

      public void paint(Graphics2D g2d, T comp, int width, int height)
      Description copied from interface: ComponentPainter
      Paint the component
      Specified by:
      paint in interface ComponentPainter<T extends JComponent>
      Parameters:
      g2d - graphics context as a Graphics2D object
      comp - component
      width - width to paint
      height - height to paint