public class AWTFontManager extends AbstractFontManager
IFontManager.FontStyle
currentFontIndex
Constructor and Description |
---|
AWTFontManager()
Make a manager for fonts in AWT, with a minimum font size of 9.
|
Modifier and Type | Method and Description |
---|---|
Font |
getFont()
Get the current font.
|
protected void |
makeFonts()
Make widget-specific fonts.
|
void |
setFontForZoom(double zoom)
For a particular zoom level, set the appropriate font size to use.
|
atLowerBoundary, atMax, atMin, atUpperBoundary, decreaseFontSize, getFontName, getFontSizeForZoom, getFontStyle, getNumberOfFontSizes, increaseFontSize, inLower, inRange, inUpper, registerFontSizeMapping, resetVirtualCounts, setFontName, setFontStyle, toMiddle
public AWTFontManager()
protected void makeFonts()
makeFonts
in class AbstractFontManager
public void setFontForZoom(double zoom)
zoom
- a real number in the range (0.0, INF)public Font getFont()
Copyright © 2018. All Rights Reserved.