Class SyntaxStyle

java.lang.Object
org.gjt.sp.jedit.syntax.SyntaxStyle

public class SyntaxStyle extends Object
A simple text style class. It can specify the color, italic flag, and bold flag of a run of text.
Version:
$Id: SyntaxStyle.java 21831 2012-06-18 22:54:17Z ezust $
Author:
Slava Pestov
  • Constructor Details

    • SyntaxStyle

      public SyntaxStyle(Color fgColor, Color bgColor, Font font)
      Creates a new SyntaxStyle.
      Parameters:
      fgColor - The text color
      bgColor - The background color
      font - The text font
  • Method Details

    • getForegroundColor

      public Color getForegroundColor()
      Returns the text color.
    • getBackgroundColor

      public Color getBackgroundColor()
      Returns the background color.
    • getFont

      public Font getFont()
      Returns the style font.