Interface COM.tolstoy.jconfig.IconBundle
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface COM.tolstoy.jconfig.IconBundle

public interface IconBundle
extends Object
Represents the icons associated with an application.

Variable Index

 o copyrightString
 o kLargeIcon
A large 8-bit color icon.
 o kLargeMask
A large mask icon.
 o kSmallIcon
A small 8-bit color icon.
 o kSmallMask
A small mask icon.

Method Index

 o getAppFile()
Returns the AppFile which these icons are associated with.
 o getIcon(FileType, int)
Returns a int array containing the RGB pixel data for the indicated icon.
 o getIconHeight(int)
Returns the height of the indicated icon.
 o getIconWidth(int)
Returns the width of the indicated icon.

Variables

 o copyrightString
  public final static String copyrightString
 o kLargeMask
  public final static int kLargeMask
A large mask icon.
 o kSmallMask
  public final static int kSmallMask
A small mask icon.
 o kLargeIcon
  public final static int kLargeIcon
A large 8-bit color icon.
 o kSmallIcon
  public final static int kSmallIcon
A small 8-bit color icon.

Methods

 o getIcon
  public abstract int[] getIcon(FileType fileType,
                                int whichIcon)
Returns a int array containing the RGB pixel data for the indicated icon. Returns null if that icon could not be found. Masks are returned unpacked; i.e., each int corresponds to one pixel, where the non-mask regions are 0x00000000, and the mask regions are 0xFFFFFFFF.
Parameters:
fileType - the file type whose icon is desired. Use 'APPL' to get the application icon.
whichIcon - one of the previously listed icon styles.
 o getAppFile
  public abstract AppFile getAppFile()
Returns the AppFile which these icons are associated with.
 o getIconWidth
  public abstract int getIconWidth(int whichIcon)
Returns the width of the indicated icon.
Parameters:
whichIcon - one of the previously listed icon styles.
 o getIconHeight
  public abstract int getIconHeight(int whichIcon)
Returns the height of the indicated icon.
Parameters:
whichIcon - one of the previously listed icon styles.

All Packages  Class Hierarchy  This Package  Previous  Next  Index