soot.tagkit
Class ColorTag
java.lang.Object
soot.tagkit.ColorTag
- All Implemented Interfaces:
- Tag
- public class ColorTag
- extends java.lang.Object
- implements Tag
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
ColorTag
public ColorTag(int r,
int g,
int b,
boolean fg)
ColorTag
public ColorTag(int r,
int g,
int b)
ColorTag
public ColorTag(int color)
ColorTag
public ColorTag(int color,
boolean fg)
getRed
public int getRed()
getGreen
public int getGreen()
getBlue
public int getBlue()
isForeground
public boolean isForeground()
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()