TV-Browser 2.7.5 API

webplugin.aclib.image.ico
Class BitmapIndexed4BPP

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

public class BitmapIndexed4BPP
extends AbstractBitmapIndexed

Bitmap with 16 color palette (4 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
BitmapIndexed4BPP(BitmapDescriptor pDescriptor)
          Create a 4 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

BitmapIndexed4BPP

public BitmapIndexed4BPP(BitmapDescriptor pDescriptor)
Create a 4 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)