org.herac.tuxguitar.song.models
Class TGColor

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

public abstract class TGColor
extends java.lang.Object


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

Field Detail

RED

public static final TGColor RED

GREEN

public static final TGColor GREEN

BLUE

public static final TGColor BLUE

WHITE

public static final TGColor WHITE

BLACK

public static final TGColor BLACK
Constructor Detail

TGColor

public TGColor()
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(TGColor color)

clone

public TGColor clone(TGFactory factory)

copy

public void copy(TGColor color)

newColor

public static TGColor newColor(int r,
                               int g,
                               int b)