Package org.gjt.sp.jedit.syntax
Class SyntaxStyle
java.lang.Object
org.gjt.sp.jedit.syntax.SyntaxStyle
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 Summary
ConstructorsConstructorDescriptionSyntaxStyle(Color fgColor, Color bgColor, Font font) Creates a new SyntaxStyle. -
Method Summary
Modifier and TypeMethodDescriptionReturns the background color.getFont()Returns the style font.Returns the text color.
-
Constructor Details
-
SyntaxStyle
Creates a new SyntaxStyle.- Parameters:
fgColor- The text colorbgColor- The background colorfont- The text font
-
-
Method Details
-
getForegroundColor
Returns the text color. -
getBackgroundColor
Returns the background color. -
getFont
Returns the style font.
-