JHotDraw 6.0b1

org.jhotdraw.standard
Class NullPainter

java.lang.Object
  extended by org.jhotdraw.standard.NullPainter
All Implemented Interfaces:
java.io.Serializable, Painter

public class NullPainter
extends java.lang.Object
implements Painter

Default implementation support for a Painter.


Design Patterns

 o NullObject
NullObject enables to treat handles that don't do anything in the same way as other handles.

See Also:
Painter, Serialized Form

Constructor Summary
NullPainter()
           
 
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

NullPainter

public NullPainter()
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