TV-Browser 2.7.5 API

webplugin.aclib.image.ico
Class BitmapIndexed8BPP

java.lang.Object
  extended by webplugin.aclib.image.ico.AbstractBitmap
      extended by webplugin.aclib.image.ico.AbstractBitmapIndexed
          extended by webplugin.aclib.image.ico.BitmapIndexed8BPP

public class BitmapIndexed8BPP
extends AbstractBitmapIndexed

Bitmap with 256 color palette (8 bits per sample).

Author:
© Christian Treber, ct@ctreber.com

Field Summary
 
Fields inherited from class webplugin.aclib.image.ico.AbstractBitmapIndexed
_pixels
 
Fields inherited from class webplugin.aclib.image.ico.AbstractBitmap
_descriptor
 
Constructor Summary
BitmapIndexed8BPP(BitmapDescriptor pDescriptor)
          Create a 8 BPP bitmap.
 
Method Summary
(package private)  void readBitmap(AbstractDecoder pDec)
          This functions is needed b/c all classes read the bitmap, but not always a color table and a mask.
 
Methods inherited from class webplugin.aclib.image.ico.AbstractBitmapIndexed
createImageIndexed, createImageRGB, getBytesPerScanLine, getColor, getColor, getPaletteIndex, read
 
Methods inherited from class webplugin.aclib.image.ico.AbstractBitmap
getColorCount, getDescriptor, getHeight, getWidth, setDescriptor, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BitmapIndexed8BPP

public BitmapIndexed8BPP(BitmapDescriptor pDescriptor)
Create a 8 BPP bitmap.

Parameters:
pDescriptor -
Method Detail

readBitmap

void readBitmap(AbstractDecoder pDec)
          throws IOException
Description copied from class: AbstractBitmapIndexed
This functions is needed b/c all classes read the bitmap, but not always a color table and a mask.

Specified by:
readBitmap in class AbstractBitmapIndexed
Parameters:
pDec - The decoder.
Throws:
IOException

TV-Browser 2.7.5 API

TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)