The dedicated font type which supports predefined font name in OPI builder font file. If the font name doesn't exist in the color file, the system font will be adopted.
Method Summary | |
---|---|
java.lang.String |
getFontMacroName()
Returns the Macro Name of the OPIFont. |
java.lang.String |
getFontName()
Returns the name of the Font. |
int |
getHeight()
Returns the height of the font in points. |
int |
getStyle()
Returns the style of the receiver which is a bitwise OR of one or more of the SWT constants NORMAL(0), BOLD(2)
and ITALIC(1). |
boolean |
isPreDefined()
Returns true if this is a predefined font in font macro file. |
Method Detail |
---|
public java.lang.String getFontMacroName()
public java.lang.String getFontName()
public int getHeight()
public int getStyle()
SWT
constants NORMAL(0), BOLD(2)
and ITALIC(1).
public boolean isPreDefined()