soot.tagkit
Class ColorTag

java.lang.Object
  extended by soot.tagkit.ColorTag
All Implemented Interfaces:
Tag

public class ColorTag
extends 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 color, boolean fg)
           
ColorTag(int color, boolean fg, String type)
           
ColorTag(int r, int g, int b)
           
ColorTag(int r, int g, int b, boolean fg)
           
ColorTag(int r, int g, int b, boolean fg, String type)
           
ColorTag(int r, int g, int b, String type)
           
ColorTag(int color, String type)
           
 
Method Summary
 String getAnalysisType()
           
 int getBlue()
           
 int getGreen()
           
 String getName()
          Returns the tag name.
 int getRed()
           
 byte[] getValue()
          Returns the tag raw data.
 boolean isForeground()
           
 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
See Also:
Constant Field Values

GREEN

public static final int GREEN
See Also:
Constant Field Values

YELLOW

public static final int YELLOW
See Also:
Constant Field Values

BLUE

public static final int BLUE
See Also:
Constant Field Values

ORANGE

public static final int ORANGE
See Also:
Constant Field Values

PURPLE

public static final int PURPLE
See Also:
Constant Field Values
Constructor Detail

ColorTag

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

ColorTag

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

ColorTag

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

ColorTag

public ColorTag(int r,
                int g,
                int b,
                boolean fg,
                String type)

ColorTag

public ColorTag(int color,
                String type)

ColorTag

public ColorTag(int color,
                boolean fg,
                String type)

ColorTag

public ColorTag(int color)

ColorTag

public ColorTag(int color,
                boolean fg)
Method Detail

getAnalysisType

public String getAnalysisType()

getRed

public int getRed()

getGreen

public int getGreen()

getBlue

public int getBlue()

isForeground

public boolean isForeground()

getName

public 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 String toString()
Overrides:
toString in class Object