Back to index

moin  1.9.0~rc2
SimpleUpdateStrategy.java
Go to the documentation of this file.
00001 /*
00002  * @(#)SimpleUpdateStrategy.java 5.1
00003  *
00004  */
00005 
00006 package CH.ifa.draw.standard;
00007 
00008 import java.awt.*;
00009 import CH.ifa.draw.framework.*;
00010 
00016 public  class SimpleUpdateStrategy implements Painter {
00017 
00018     /*
00019      * Serialization support. In JavaDraw only the Drawing is serialized.
00020      * However, for beans support SimpleUpdateStrategy supports
00021      * serialization
00022      */
00023     private static final long serialVersionUID = -7539925820692134566L;
00024 
00028     public void draw(Graphics g, DrawingView view) {
00029         view.drawAll(g);
00030     }
00031 }