Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

ImagePanel.java

00001 package gov.nasa.arc.ase.ltl;
00002 
00003 // Written by ckong - Sept 6, 2001
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 }

Generated at Thu Feb 7 06:46:34 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001