1 18 package org.apache.batik.bridge; 19 20 import java.awt.image.BufferedImage ; 21 import java.util.EventObject ; 22 import java.util.List ; 23 24 31 public class UpdateManagerEvent extends EventObject { 32 33 36 protected BufferedImage image; 37 38 41 protected List dirtyAreas; 42 43 47 protected boolean clearPaintingTransform; 48 49 56 public UpdateManagerEvent(Object source, BufferedImage bi, 57 List das) { 58 super(source); 59 this.image = bi; 60 this.dirtyAreas = das; 61 this.clearPaintingTransform = false; 62 } 63 64 73 public UpdateManagerEvent(Object source, BufferedImage bi, 74 List das, boolean cpt) { 75 super(source); 76 this.image = bi; 77 this.dirtyAreas = das; 78 this.clearPaintingTransform = cpt; 79 } 80 81 84 public BufferedImage getImage() { 85 return image; 86 } 87 88 91 public List getDirtyAreas() { 92 return dirtyAreas; 93 } 94 95 99 public boolean getClearPaintingTransform() { 100 return clearPaintingTransform; 101 } 102 } 103 | Popular Tags |