Class ColorAndStyle

java.lang.Object
ghidra.app.util.ColorAndStyle

public class ColorAndStyle extends Object
A container class to hold a color and a style value.
  • Method Details

    • getColor

      public Color getColor()
    • getStyle

      public int getStyle()
    • isBold

      public boolean isBold()
    • isItalic

      public boolean isItalic()
    • toHtml

      public String toHtml(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