JHotDraw 6.0b1

Class ClippingUpdateStrategy

  extended by org.jhotdraw.contrib.ClippingUpdateStrategy
All Implemented Interfaces:
java.io.Serializable, Painter

public class ClippingUpdateStrategy
extends java.lang.Object
implements Painter

The ClippingUpdateStrategy will only draw those Figures in the DrawingView which intersect the Graphic's clipping rectangle.

See Also:
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 ClippingUpdateStrategy()
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
See Also:
Painter.draw(Graphics, DrawingView)

JHotDraw 6.0b1