JHotDraw 6.0b1

Class NullPainter

  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
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


public NullPainter()
Method Detail


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