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.
-
copyrightString
-
-
kLargeIcon
- A large 8-bit color icon.
-
kLargeMask
- A large mask icon.
-
kSmallIcon
- A small 8-bit color icon.
-
kSmallMask
- A small mask icon.
-
getAppFile()
- Returns the AppFile which these icons are associated with.
-
getIcon(FileType, int)
- Returns a int array containing the RGB pixel data for the indicated icon.
-
getIconHeight(int)
- Returns the height of the indicated icon.
-
getIconWidth(int)
- Returns the width of the indicated icon.
copyrightString
public final static String copyrightString
kLargeMask
public final static int kLargeMask
- A large mask icon.
kSmallMask
public final static int kSmallMask
- A small mask icon.
kLargeIcon
public final static int kLargeIcon
- A large 8-bit color icon.
kSmallIcon
public final static int kSmallIcon
- A small 8-bit color icon.
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.
getAppFile
public abstract AppFile getAppFile()
- Returns the AppFile which these icons are associated with.
getIconWidth
public abstract int getIconWidth(int whichIcon)
- Returns the width of the indicated icon.
- Parameters:
- whichIcon - one of the previously listed icon styles.
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