Copyright 2011-09-18 Werner Randelshofer

test
Class DrawPolygonPainter

java.lang.Object
  extended by test.DrawPolygonPainter
All Implemented Interfaces:
Painter

public class DrawPolygonPainter
extends java.lang.Object
implements Painter

DrawPolygonPainter.

Version:
1.1 March 22, 2006 Use random object instead of Math.random():
1.0 March 4, 2006 Created.
Author:
Werner Randelshofer

Constructor Summary
DrawPolygonPainter()
           
 
Method Summary
 boolean isDefault()
           
 void paint(java.awt.Graphics2D g, int w, int h)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DrawPolygonPainter

public DrawPolygonPainter()
Method Detail

paint

public void paint(java.awt.Graphics2D g,
                  int w,
                  int h)
Specified by:
paint in interface Painter

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

isDefault

public boolean isDefault()
Specified by:
isDefault in interface Painter

Copyright 2011-09-18 Werner Randelshofer