APIdia Launch Partner
Top Description Fields Methods
sun.font

public Interface FontManagerForSGE

extends FontManager
Known Direct Implementers
sun.font.SunFontManager
Imports
java.awt.Font, java.util.Locale, .TreeMap

This is an extension of the FontManager interface which has to be implemented on systems that want to use SunGraphicsEnvironment. It adds a couple of methods that are only required by SGE. Graphics implementations that use their own GraphicsEnvironment are not required to implement this and can use plain FontManager instead.

Field Summary

Inherited from sun.font.FontManager:
LOGICAL_FALLBACKNO_FALLBACKPHYSICAL_FALLBACK

Method Summary

Modifier and TypeMethod and Description
public Font[]
getAllInstalledFonts()

Returns all fonts installed in this environment.

public TreeMap<String, String>
getCreatedFontFamilyNames()

Similar to getCreatedFonts, but returns a TreeMap of fonts by family name.

public Font[]
getCreatedFonts()

Return an array of created Fonts, or null, if no fonts were created yet.

public String[]
public void
Inherited from sun.font.FontManager:
createFont2DdeRegisterBadFontfindFont2DgetNewCompositepreferLocaleFontspreferProportionalFontsregisterFont

Method Detail

getAllInstalledFontsback to summary
public Font[] getAllInstalledFonts()

Returns all fonts installed in this environment.

getCreatedFontFamilyNamesback to summary
public TreeMap<String, String> getCreatedFontFamilyNames()

Similar to getCreatedFonts, but returns a TreeMap of fonts by family name.

getCreatedFontsback to summary
public Font[] getCreatedFonts()

Return an array of created Fonts, or null, if no fonts were created yet.

getInstalledFontFamilyNamesback to summary
public String[] getInstalledFontFamilyNames(Locale requestedLocale)
useAlternateFontforJALocalesback to summary
public void useAlternateFontforJALocales()