jwx!
v0.0.2


wx
Class Palette

java.lang.Object
  extended bywx.Object
      extended bywx.GDIObject
          extended bywx.Palette

public class Palette
extends GDIObject


Field Summary
static Palette NullPalette
           
 
Constructor Summary
Palette()
           
Palette(int n, short[] red, short[] green, short[] blue)
           
Palette(Palette palette)
           
 
Method Summary
 void delete()
           
 int getColoursCount()
           
 int getPixel(short red, short green, short blue)
           
 boolean getRGB(int pixel, short[] red, short[] green, short[] blue)
           
 boolean ok()
           
 
Methods inherited from class wx.Object
_, getTanslation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NullPalette

public static final Palette NullPalette
Constructor Detail

Palette

public Palette()

Palette

public Palette(Palette palette)

Palette

public Palette(int n,
               short[] red,
               short[] green,
               short[] blue)
Method Detail

delete

public void delete()
Overrides:
delete in class GDIObject

getColoursCount

public int getColoursCount()

getPixel

public int getPixel(short red,
                    short green,
                    short blue)

getRGB

public boolean getRGB(int pixel,
                      short[] red,
                      short[] green,
                      short[] blue)

ok

public boolean ok()

jwx!
v0.0.2


© 2006 Amit G Mendapara.