net.rim.device.api.system
Class WBMPEncodedImage

java.lang.Object
  |
  +--net.rim.device.api.system.EncodedImage
        |
        +--net.rim.device.api.system.WBMPEncodedImage

public final class WBMPEncodedImage
extends EncodedImage

Represents an image encoded in the WBMP format.

Since:
JDE 3.6.0

Fields inherited from class net.rim.device.api.system.EncodedImage
DECODE_ALPHA, DECODE_NATIVE, DECODE_READONLY, IMAGE_TYPE_JPEG, IMAGE_TYPE_PNG, IMAGE_TYPE_WBMP
 
Method Summary
 int getAlphaType(int frameIndex)
          Gets the bitmap type for the given frame's alpha channel
 int getBitmapType(int frameIndex)
          Gets the bitmap type for the given frame.
 int getType()
          Returns the WBMP image type.
 
Methods inherited from class net.rim.device.api.system.EncodedImage
createEncodedImage, createEncodedImage, getBitmap, getBitmap, getData, getDecodeMode, getFrameCount, getFrameHeight, getFrameMonochrome, getFrameTransparency, getFrameWidth, getHeight, getImageType, getLength, getOffset, getScale, getScaledHeight, getScaledWidth, getSupportedMIMETypes, getWidth, hasTransparency, isMonochrome, setDecodeMode, setScale
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getType

public int getType()
Returns the WBMP image type.
Returns:
The WBMP image type.
Since:
JDE 3.6.0

getBitmapType

public int getBitmapType(int frameIndex)
Description copied from class: EncodedImage
Gets the bitmap type for the given frame.
Overrides:
getBitmapType in class EncodedImage
Since:
JDE 3.7.0

getAlphaType

public int getAlphaType(int frameIndex)
Description copied from class: EncodedImage
Gets the bitmap type for the given frame's alpha channel
Overrides:
getAlphaType in class EncodedImage
Since:
JDE 3.7.0


Copyright 1999-2002 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.