org.herac.tuxguitar.song.models
Class RGBColor

java.lang.Object
  extended by org.herac.tuxguitar.song.models.RGBColor

public class RGBColor
extends java.lang.Object


Field Summary
static RGBColor BLACK
           
static RGBColor BLUE
           
static RGBColor GREEN
           
static RGBColor RED
           
static RGBColor WHITE
           
 
Constructor Summary
RGBColor(int r, int g, int b)
           
 
Method Summary
 java.lang.Object clone()
           
 int getB()
           
 int getG()
           
 int getR()
           
 boolean isEqual(RGBColor color)
           
 void setB(int b)
           
 void setG(int g)
           
 void setR(int r)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RED

public static final RGBColor RED

GREEN

public static final RGBColor GREEN

BLUE

public static final RGBColor BLUE

WHITE

public static final RGBColor WHITE

BLACK

public static final RGBColor BLACK
Constructor Detail

RGBColor

public RGBColor(int r,
                int g,
                int b)
Method Detail

getB

public int getB()

setB

public void setB(int b)

getG

public int getG()

setG

public void setG(int g)

getR

public int getR()

setR

public void setR(int r)

isEqual

public boolean isEqual(RGBColor color)

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object