00001 package gov.nasa.arc.ase.ltl;
00002
00003
00004 import java.awt.*;
00005 import java.awt.image.BufferedImage;
00006 import java.awt.geom.AffineTransform;
00007
00008 class ImagePanel extends ScrollPane {
00009 ImageCanvas canvas;
00010 Image image;
00011
00012 public ImagePanel() {
00013 super();
00014 canvas = new ImageCanvas(this);
00015 add(canvas);
00016 setSize(600, 600);
00017 }
00018 public void increase() {
00019 canvas.increase();
00020 }
00021 public void paint(Graphics g) {
00022 canvas.repaint();
00023 }
00024 public void reduce() {
00025 canvas.reduce();
00026 }
00027 public void setImage(Image imageIn) {
00028 canvas.setImage(imageIn);
00029 }
00030 public void setNormal() {
00031 canvas.setNormal();
00032 }
00033 }