Class ColorPainter

  • All Implemented Interfaces:
    Painter

    public class ColorPainter
    extends java.lang.Object
    implements Painter
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.Paint paint()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ColorPainter

        public ColorPainter​(java.awt.Color color)
      • ColorPainter

        public ColorPainter​(Color color)
    • Method Detail

      • paint

        public java.awt.Paint paint()
        Specified by:
        paint in interface Painter