StarOffice 5.2 API
reverse engineered by classdoc

com.sun.star.lib.image
Class Palette

java.lang.Object
  |
  +--com.sun.star.lib.image.Palette

synchronized class Palette
extends java.lang.Object


Field Summary
private static boolean DEBUG
           
private  java.awt.image.ColorModel colorModel
           
private  int minColors
           
 
Constructor Summary
(package private) Palette()
           
(package private) Palette(int i1, int i2, byte[] b1, byte[] b2, byte[] b3, byte[] b4, int i3)
           
 
Method Summary
private static void DEBUG(java.lang.String s)
           
 java.awt.image.ColorModel getColorModel()
           
 int getColors()
           
 void read(java.io.DataInput di, int i1, int i2)
           
 void set(int i1, int i2, byte[] b1, byte[] b2, byte[] b3, byte[] b4, int i3)
           
 void set(java.awt.image.ColorModel cm, int i)
           
 int sizeInBytes()
           
 void write(java.io.DataOutput do)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

private static final boolean DEBUG

colorModel

private java.awt.image.ColorModel colorModel

minColors

private int minColors
Constructor Detail

Palette

Palette()

Palette

Palette(int i1,
        int i2,
        byte[] b1,
        byte[] b2,
        byte[] b3,
        byte[] b4,
        int i3)
Method Detail

DEBUG

private static final void DEBUG(java.lang.String s)

getColorModel

public java.awt.image.ColorModel getColorModel()

getColors

public int getColors()

read

public void read(java.io.DataInput di,
                 int i1,
                 int i2)
          throws java.io.IOException

set

public void set(int i1,
                int i2,
                byte[] b1,
                byte[] b2,
                byte[] b3,
                byte[] b4,
                int i3)

set

public void set(java.awt.image.ColorModel cm,
                int i)

sizeInBytes

public int sizeInBytes()

write

public void write(java.io.DataOutput do)
           throws java.io.IOException

StarOffice 5.2 API
reverse engineered by classdoc