Package ghidra.app.util
Class ColorAndStyle
- java.lang.Object
- 
- ghidra.app.util.ColorAndStyle
 
- 
 public class ColorAndStyle extends java.lang.ObjectA container class to hold a color and a style value.
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.ColorgetColor()intgetStyle()booleanisBold()booleanisItalic()java.lang.StringtoHtml(java.lang.String text)Wraps the given text with HTML markup for each attribute and color defined by this class.
 
- 
- 
- 
Method Detail- 
getColorpublic java.awt.Color getColor() 
 - 
getStylepublic int getStyle() 
 - 
isBoldpublic boolean isBold() 
 - 
isItalicpublic boolean isItalic() 
 - 
toHtmlpublic java.lang.String toHtml(java.lang.String text) Wraps the given text with HTML markup for each attribute and color defined by this class. The returned result will not be prepended with<HTML>.- Parameters:
- text- the text to wrap
- Returns:
- the wrapped text
 
 
- 
 
-