Main Page
    Cookbook/Overview     ImageMeister     the jcprops file     Licensing
    Binary Installation & Configuration [ Win · Mac · Nix ]     Changes
    Public API
    Source Code Main Page
        Java [ Common · Win · Mac · Nix ]     Native Code [ Common · Win · Mac · Nix ]     Manifest
        Native Code Overviews [ Common · Win · Mac · Nix · Strings ]     Macros [ General · Native Macros ]
        Walkthroughs [ Java only · Java and native ]     Building [ Win · Mac · Nix ]     Distribution Issues

All Packages  This Package  Class Hierarchy  Class Search  Index

Class com.tolstoy.imagemeister.SImageViewer
java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----com.tolstoy.imagemeister.SImageViewer

  Summary

class  SImageViewer
     extends java.awt.Panel
     implements com.tolstoy.imagemeister.ImageViewerI, 
                com.tolstoy.imagemeister.WindowOwner
{
          // Fields 5
     private ImageViewerOwner owner;
     private File theFile;
     private OwnedFrame theFrame;
     private Image theImage;
     private FileSpecifier theSpec;

          // Constructors 1
     public SImageViewer(OwnedFrame, ImageViewerOwner, FileSpecifier, Rectangle);

          // Methods 5
     public void closeWindow(Window);
     public FileSpecifier getFileSpecifier();
     public OwnedFrame getFrame();
     public void paint(Graphics);
     public void setVisible(boolean);
}

A very basic ImageViewerI implementation. This class is a Panel, and displays GIFs or JPEGs in itself.

Author:
Copyright (c) 1997,1998,1999,2000 Samizdat Productions. All Rights Reserved.




  Fields

· owner

Summary  |  Top

   private ImageViewerOwner owner


· theSpec

Summary  |  Top
   private FileSpecifier theSpec


· theFrame

Summary  |  Top
   private OwnedFrame theFrame


· theFile

Summary  |  Top
   private File theFile


· theImage

Summary  |  Top
   private Image theImage


  Constructors

· SImageViewer

Summary  |  Top

   public SImageViewer(OwnedFrame oldFrame, 
                       ImageViewerOwner onr, 
                       FileSpecifier spec, 
                       Rectangle rect) 


  Methods

· getFileSpecifier

Summary  |  Top
   public FileSpecifier getFileSpecifier() 
Implements:
getFileSpecifier in interface ImageViewerI


· getFrame

Summary  |  Top
   public OwnedFrame getFrame() 
Implements:
getFrame in interface ImageViewerI


· setVisible

Summary  |  Top
   public void setVisible(boolean bState) 
Overrides:
setVisible in class Component
Implements:
setVisible in interface ImageViewerI


· paint

Summary  |  Top
   public void paint(Graphics g) 
Overrides:
paint in class Container


· closeWindow

Summary  |  Top
   public void closeWindow(Window w) 
Implements:
closeWindow in interface WindowOwner


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7