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.
| Modifier and Type | Method and Description |
|---|---|
| public Font[] | |
| public TreeMap | getCreatedFontFamilyNames()
Similar to getCreatedFonts, but returns a TreeMap of fonts by family name. |
| public Font[] | |
| public String[] | |
| public void |
| getAllInstalledFonts | back to summary |
|---|---|
| public Font[] getAllInstalledFonts() Returns all fonts installed in this environment. | |
| getCreatedFontFamilyNames | back to summary |
|---|---|
| public TreeMap Similar to getCreatedFonts, but returns a TreeMap of fonts by family name. | |
| getCreatedFonts | back to summary |
|---|---|
| public Font[] getCreatedFonts() Return an array of created Fonts, or null, if no fonts were created yet. | |
| getInstalledFontFamilyNames | back to summary |
|---|---|
| public String[] getInstalledFontFamilyNames(Locale requestedLocale) | |
| useAlternateFontforJALocales | back to summary |
|---|---|
| public void useAlternateFontforJALocales() | |