TV-Browser 2.7.5 API

webplugin.aclib.image.ico
Class TypeCompression

java.lang.Object
  extended by webplugin.aclib.image.ico.TypeCompression

public final class TypeCompression
extends Object

Enumeration class for bitmap compression types.

Author:
© Christian Treber, ct@ctreber.com

Field Summary
static TypeCompression BI_BITFIELDS
          Uncompressed (16 & 32 BPP only).
static TypeCompression BI_RGB
          Uncompressed (any BPP).
static TypeCompression BI_RLE4
          4 Bit RLE Compression (4 BPP only).
static TypeCompression BI_RLE8
          8 Bit RLE Compression (8 BPP only).
 
Method Summary
 String getName()
          Get the symbolic name.
static TypeCompression getType(long pValue)
          Get a type for the specified numerical value.
 int getValue()
          Get the numerical value.
 String toString()
          Returns the name of the type and a comment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BI_RGB

public static final TypeCompression BI_RGB
Uncompressed (any BPP).


BI_RLE8

public static final TypeCompression BI_RLE8
8 Bit RLE Compression (8 BPP only).


BI_RLE4

public static final TypeCompression BI_RLE4
4 Bit RLE Compression (4 BPP only).


BI_BITFIELDS

public static final TypeCompression BI_BITFIELDS
Uncompressed (16 & 32 BPP only).

Method Detail

toString

public String toString()
Returns the name of the type and a comment.

Overrides:
toString in class Object
See Also:
Object.toString()

getName

public String getName()
Get the symbolic name.

Returns:
Returns the name.

getValue

public int getValue()
Get the numerical value.

Returns:
Returns the value.

getType

public static TypeCompression getType(long pValue)
Get a type for the specified numerical value.

Parameters:
pValue - Compression type integer value.
Returns:
Type for the value specified.

TV-Browser 2.7.5 API

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