Main Page
    Cookbook/Overview     ImageMeister     the jcprops file     Licensing
    Binary Installation & Configuration [ Win · Mac · Nix · OSX ]     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 · OSX ]     Distribution Issues

All Packages  This Package  Class Hierarchy  Class Search  Index

Class com.jconfig.mac.IconBundleFactoryMRJ
java.lang.Object
   |
   +----com.jconfig.mac.IconBundleFactoryMRJ

  Summary

class  IconBundleFactoryMRJ
     extends java.lang.Object
{
          // Fields 2
     private static final String copyrightString;
     private static final int kDefSelector;

          // Constructors 1
     private IconBundleFactoryMRJ();

          // Methods 3
     static IconBundle createFromFTAC(int, int, int);
     static IconBundle createFromFile(int, int, byte[]);
     static IconBundle createFromVolume(int);

}

Used to obtain the icons for files, volumes, and file types. For example, given the vRefNum of a volume, calls native code with the vRefNum to obtain a Mac icon suite for the volume, and then creates an IconBundleMRJ object to hold the icon suite.

Author:
Copyright (c) 1997-2002 Samizdat Productions. All Rights Reserved.




  Fields

· copyrightString

Summary  |  Top

   private static final String copyrightString


· kDefSelector

Summary  |  Top
   private static final int kDefSelector


  Constructors

· IconBundleFactoryMRJ

Summary  |  Top

   private IconBundleFactoryMRJ() 


  Methods

· createFromFTAC

Summary  |  Top
   static IconBundle createFromFTAC(int vRef, 
                                    int creator, 
                                    int type) 

Returns an IconBundle for a file type and creator.

Parameter Description
vRef the vRefNum of the volume that we search for the file type and creator
creator the creator code
type the type code



· createFromVolume

Summary  |  Top
   static IconBundle createFromVolume(int vRef) 

Returns an IconBundle for a volume

Parameter Description
vRef the vRefNum of the volume



· createFromFile

Summary  |  Top
   static IconBundle createFromFile(int vRef, 
                                    int parID, 
                                    byte[] pName) 

Returns an IconBundle for a file or folder.

Parameter Description
vRef the vRefNum of the file or folder
parID the parID of the file or folder
pName the name of the file or folder, as a Pascal string



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