soot.tagkit
Class ColorTag

java.lang.Object
  |
  +--soot.tagkit.ColorTag

public class ColorTag
extends java.lang.Object
implements Tag


Field Summary
static int BLUE
           
static int GREEN
           
static int ORANGE
           
static int PURPLE
           
static int RED
           
static int YELLOW
           
 
Constructor Summary
ColorTag(int color)
           
ColorTag(int r, int g, int b)
           
 
Method Summary
 int getBlue()
           
 int getGreen()
           
 java.lang.String getName()
          Returns the tag name.
 int getRed()
           
 byte[] getValue()
          Returns the tag raw data.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RED

public static final int RED

GREEN

public static final int GREEN

YELLOW

public static final int YELLOW

BLUE

public static final int BLUE

ORANGE

public static final int ORANGE

PURPLE

public static final int PURPLE
Constructor Detail

ColorTag

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

ColorTag

public ColorTag(int color)
Method Detail

getRed

public int getRed()

getGreen

public int getGreen()

getBlue

public int getBlue()

getName

public java.lang.String getName()
Description copied from interface: Tag
Returns the tag name.
Specified by:
getName in interface Tag

getValue

public byte[] getValue()
Description copied from interface: Tag
Returns the tag raw data.
Specified by:
getValue in interface Tag

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object