|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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.
| Constructor Summary | |
SyntaxStyle(java.awt.Color fgColor,
java.awt.Color bgColor,
java.awt.Font font)
Creates a new SyntaxStyle. |
|
| Method Summary | |
java.awt.Color |
getBackgroundColor()
Returns the background color. |
int |
getCharWidth()
Returns the character width of the monospaced font. |
java.awt.Font |
getFont()
Returns the style font. |
java.awt.Color |
getForegroundColor()
Returns the text color. |
void |
setCharWidth(int charWidth)
Sets the character width of the monospaced font. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SyntaxStyle(java.awt.Color fgColor,
java.awt.Color bgColor,
java.awt.Font font)
fgColor - The text colorbgColor - The background colorfont - The text font| Method Detail |
public java.awt.Color getForegroundColor()
public java.awt.Color getBackgroundColor()
public java.awt.Font getFont()
public int getCharWidth()
public void setCharWidth(int charWidth)
charWidth - The character width
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||