JHotDraw 6.0b1

org.jhotdraw.samples.javadraw
Class PatternPainter

java.lang.Object
  extended by org.jhotdraw.samples.javadraw.PatternPainter
All Implemented Interfaces:
java.io.Serializable, Painter

public class PatternPainter
extends java.lang.Object
implements Painter

PatternDrawer a background that can be added to a drawing.

See Also:
DrawingView, Painter, Serialized Form

Constructor Summary
PatternPainter(java.awt.Image image)
           
 
Method Summary
 void draw(java.awt.Graphics g, DrawingView view)
          Draws into the given DrawingView.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatternPainter

public PatternPainter(java.awt.Image image)
Method Detail

draw

public void draw(java.awt.Graphics g,
                 DrawingView view)
Description copied from interface: Painter
Draws into the given DrawingView.

Specified by:
draw in interface Painter

JHotDraw 6.0b1