JHotDraw 6.0b1

org.jhotdraw.contrib
Class ClippingUpdateStrategy

java.lang.Object
  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
ClippingUpdateStrategy()
           
 
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

ClippingUpdateStrategy

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

JHotDraw 6.0b1