JHotDraw 6.0b1

org.jhotdraw.contrib.zoom
Class ZoomUpdateStrategy

java.lang.Object
  extended by org.jhotdraw.contrib.zoom.ZoomUpdateStrategy
All Implemented Interfaces:
java.io.Serializable, Painter

public class ZoomUpdateStrategy
extends java.lang.Object
implements Painter

A variant of the BufferedUpdateStrategy that handles clipping rectangles correctly in the presence of zooming.

See Also:
BufferedUpdateStrategy, Serialized Form

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

Constructor Detail

ZoomUpdateStrategy

public ZoomUpdateStrategy()
Method Detail

draw

public void draw(java.awt.Graphics g,
                 DrawingView view)
Draws the view contents.

Specified by:
draw in interface Painter

JHotDraw 6.0b1