org.herac.tuxguitar.song.models

Class RGBColor

public class RGBColor extends Object

Field Summary
static RGBColorBLACK
static RGBColorBLUE
static RGBColorGREEN
static RGBColorRED
static RGBColorWHITE
Constructor Summary
RGBColor(int r, int g, int b)
Method Summary
Objectclone()
intgetB()
intgetG()
intgetR()
booleanisEqual(RGBColor color)
voidsetB(int b)
voidsetG(int g)
voidsetR(int r)

Field Detail

BLACK

public static final RGBColor BLACK

BLUE

public static final RGBColor BLUE

GREEN

public static final RGBColor GREEN

RED

public static final RGBColor RED

WHITE

public static final RGBColor WHITE

Constructor Detail

RGBColor

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

Method Detail

clone

public Object clone()

getB

public int getB()

getG

public int getG()

getR

public int getR()

isEqual

public boolean isEqual(RGBColor color)

setB

public void setB(int b)

setG

public void setG(int g)

setR

public void setR(int r)