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
java.lang.Object | +----com.jconfig.mac.IconBundleMRJ
Summary |
class IconBundleMRJ extends java.lang.Object implements com.jconfig.IconBundle { // Fields 2 private static final String copyrightString; private int hSuite; // Constructors 1 IconBundleMRJ(int); // Methods 5 void checkWhichIconValue(int); protected void finalize() throws Throwable; public int getIcon(int, int, int, int[]); public int getIconHeight(int); public int getIconWidth(int); }
Represents a Mac icon suite. Created with the icon suite handle, and calls native code to get one of the icons in the suite into an array of pixels.
Fields |
· copyrightString | Summary | Top |
private static final String copyrightString
· hSuite | Summary | Top |
private int hSuite
Constructors |
· IconBundleMRJ | Summary | Top |
IconBundleMRJ(int ste)
Create from an icon suite.
Parameter Description ste the icon suite handle
Methods |
· finalize | Summary | Top |
protected void finalize() throws Throwable
Try to get rid of the icon suite handle. Of course, not guaranteed to be called.
- Overrides:
- finalize in class Object
· getIcon | Summary | Top |
public int getIcon(int whichIcon, int xform, int align, int[] pData)
Get the bits of the icon, in Java's ARGB format, into the pData array.
Parameter Description whichIcon one of the icon sizes listed in IconBundle.java. xform one of the transform values listed in IconBundle.java align one of the alignment values listed in IconBundle.java pData an array of ints which will hold the Java format ARGB data for the icon This must have at least width * height elements
- Implements:
- getIcon in interface IconBundle
· checkWhichIconValue | Summary | Top |
void checkWhichIconValue(int whichIcon)
Throws an IllegalArgumentException if (whichIcon != ICON_LARGE && whichIcon != ICON_SMALL)
· getIconWidth | Summary | Top |
public int getIconWidth(int whichIcon)
- Implements:
- getIconWidth in interface IconBundle
· getIconHeight | Summary | Top |
public int getIconHeight(int whichIcon)
- Implements:
- getIconHeight in interface IconBundle
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7