JHotDraw 6.0b1

org.jhotdraw.standard
Class BufferedUpdateStrategy

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

public class BufferedUpdateStrategy
extends java.lang.Object
implements Painter

The BufferedUpdateStrategy implements an update strategy that first draws a view into a buffer followed by copying the buffer to the DrawingView.

See Also:
DrawingView, Serialized Form

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

BufferedUpdateStrategy

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