jwx!
v0.0.2


wx
Class Colour

java.lang.Object
  extended bywx.Object
      extended bywx.Colour

public class Colour
extends Object


Field Summary
static Colour BLACK
           
static Colour BLUE
           
static Colour CYAN
           
static Colour GREEN
           
static Colour LIGHT_GREY
           
static Colour NullColour
           
static Colour RED
           
static Colour WHITE
           
 
Constructor Summary
Colour()
           
Colour(Colour col)
           
Colour(long colRGB)
           
Colour(short red, short green, short blue)
           
Colour(java.lang.String colourName)
           
 
Method Summary
 short blue()
           
 void delete()
           
 int getPixel()
           
 short green()
           
 boolean ok()
           
 short red()
           
 void set(long colRGB)
           
 void set(short red, short green, short blue)
           
 
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

BLACK

public static Colour BLACK

WHITE

public static Colour WHITE

RED

public static Colour RED

BLUE

public static Colour BLUE

GREEN

public static Colour GREEN

CYAN

public static Colour CYAN

LIGHT_GREY

public static Colour LIGHT_GREY

NullColour

public static final Colour NullColour
Constructor Detail

Colour

public Colour()

Colour

public Colour(short red,
              short green,
              short blue)

Colour

public Colour(long colRGB)

Colour

public Colour(java.lang.String colourName)

Colour

public Colour(Colour col)
Method Detail

delete

public void delete()
Overrides:
delete in class Object

ok

public boolean ok()

set

public void set(short red,
                short green,
                short blue)

set

public void set(long colRGB)

red

public short red()

green

public short green()

blue

public short blue()

getPixel

public int getPixel()

jwx!
v0.0.2


© 2006 Amit G Mendapara.