JIDE 3.5.15

com.jidesoft.editor
Interface FontStyle

All Superinterfaces:
Style
All Known Implementing Classes:
SyntaxStyle

public interface FontStyle
extends Style

FontStyle is an interface for font. It allows user to define the font style - plain, bold, italic or bolditalic.


Method Summary
 int getFontStyle()
          Gets the font style.
 void setFontStyle(int fontStyle)
          Sets the font style.
 

Method Detail

setFontStyle

void setFontStyle(int fontStyle)
Sets the font style. Font style is defined in Font such as Font.PLAIN, Font.BOLD, Font.ITALIC, or even Font.BOLD | Font.ITALIC.

Parameters:
fontStyle - the font style.

getFontStyle

int getFontStyle()
Gets the font style.

Returns:
the font style.

JIDE 3.5.15