TV-Browser 2.7.5 API

webplugin.aclib.image.ico
Class BitmapIndexed1BPP

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

public class BitmapIndexed1BPP
extends AbstractBitmapIndexed

Bitmap with 2 color palette (black and white icon). Not tested, but seems to work.

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
BitmapIndexed1BPP(BitmapDescriptor pDescriptor)
          Create a 1BPP 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

BitmapIndexed1BPP

public BitmapIndexed1BPP(BitmapDescriptor pDescriptor)
Create a 1BPP 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)