| java.lang.Object org.gjt.sp.jedit.syntax.SyntaxStyle
SyntaxStyle | public class SyntaxStyle (Code) | | A simple text style class. It can specify the color, italic flag,
and bold flag of a run of text.
author: Slava Pestov version: $Id: SyntaxStyle.java 5184 2005-02-13 17:22:46Z spestov $ |
SyntaxStyle | public SyntaxStyle(Color fgColor, Color bgColor, Font font)(Code) | | Creates a new SyntaxStyle.
Parameters: fgColor - The text color Parameters: bgColor - The background color Parameters: font - The text font |
getBackgroundColor | public Color getBackgroundColor()(Code) | | Returns the background color.
|
getFont | public Font getFont()(Code) | | Returns the style font.
|
getForegroundColor | public Color getForegroundColor()(Code) | | Returns the text color.
|
|
|