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.SJPEGViewerPlugin

    java.lang.Object
       |
       +----com.tolstoy.imagemeister.SJPEGViewerPlugin

Summary

    class  SJPEGViewerPlugin
         extends java.lang.Object
         implements com.tolstoy.imagemeister.PluginI
    {
              // Fields 2
         private static final int k4ccJPEG;
         private static final FileExtension kJPGExtension;

              // Constructors 1
         public SJPEGViewerPlugin();

              // Methods 12
         public boolean canCreateImageViewer(FileSpecifier);
         public boolean canCreateInfoViewer(FileSpecifier);
         public ImageViewerI createImageViewer(OwnedFrame, ImageViewerOwner, FileSpecifier, Rectangle);
         public InfoViewerI createInfoViewer(OwnedFrame, InfoViewerOwner, FileSpecifier, Rectangle);
         public PluginI[] getChildren();
         public FileExtension[] getFileExtension();
         public FinderInfo[] getFinderInfo();
         public IconPanel getIconPanel();
         public MIMEType[] getMIMEType();
         public String getName(int);
         public PluginI getParent();
         public VersionInfo getVersionInfo();
    }

A stock plugin for showing JPEGs. Uses a SImageViewer object to actually show the JPEG. Does not create InfoViewerI objects, only ImageViewerI objects.

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

Fields

### · k4ccJPEG | Summary | Top

       private static final int k4ccJPEG

### · kJPGExtension | Summary | Top

       private static final FileExtension kJPGExtension

Constructors

### · SJPEGViewerPlugin | Summary | Top

       public SJPEGViewerPlugin()

> Default constructor

Methods

### · canCreateImageViewer | Summary | Top

       public boolean canCreateImageViewer(FileSpecifier spec)

> Implements:
>   canCreateImageViewer in interface PluginI

### · createImageViewer | Summary | Top

       public ImageViewerI createImageViewer(OwnedFrame frame,
                                             ImageViewerOwner onr,
                                             FileSpecifier spec,
                                             Rectangle rect)

> Implements:
>   createImageViewer in interface PluginI

### · canCreateInfoViewer | Summary | Top

       public boolean canCreateInfoViewer(FileSpecifier spec)

> Implements:
>   canCreateInfoViewer in interface PluginI

### · createInfoViewer | Summary | Top

       public InfoViewerI createInfoViewer(OwnedFrame frame,
                                           InfoViewerOwner onr,
                                           FileSpecifier spec,
                                           Rectangle rect)

> Implements:
>   createInfoViewer in interface PluginI

### · getFinderInfo | Summary | Top

       public FinderInfo[] getFinderInfo()

> Implements:
>   getFinderInfo in interface PluginI

### · getFileExtension | Summary | Top

       public FileExtension[] getFileExtension()

> Implements:
>   getFileExtension in interface PluginI

### · getMIMEType | Summary | Top

       public MIMEType[] getMIMEType()

> Implements:
>   getMIMEType in interface PluginI

### · getVersionInfo | Summary | Top

       public VersionInfo getVersionInfo()

> Implements:
>   getVersionInfo in interface PluginI

### · getName | Summary | Top

       public String getName(int which)

> Implements:
>   getName in interface PluginI

### · getParent | Summary | Top

       public PluginI getParent()

> Implements:
>   getParent in interface PluginI

### · getChildren | Summary | Top

       public PluginI[] getChildren()

> Implements:
>   getChildren in interface PluginI

### · getIconPanel | Summary | Top

       public IconPanel getIconPanel()

> Implements:
>   getIconPanel in interface PluginI

    All Packages  This Package  Class Hierarchy  Class Search  Index

Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7