APIdia Launch Partner
Top Description Fields Constructors Methods
sun.font

public final Class FontManagerFactory

extends Object
Class Inheritance

Factory class used to retrieve a valid FontManager instance for the current platform. A default implementation is given for Linux, Mac OS and Windows.

Field Summary

Modifier and TypeField and Description
private static volatile FontManager
instance

Our singleton instance.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static FontManager

Returns:

a valid FontManager instance for the current platform
getInstance
()

Get a valid FontManager implementation for the current platform.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

instanceback to summary
private static volatile FontManager instance

Our singleton instance.

Constructor Detail

FontManagerFactoryback to summary
public FontManagerFactory()

Method Detail

getInstanceback to summary
public static FontManager getInstance()

Get a valid FontManager implementation for the current platform.

Returns:FontManager

a valid FontManager instance for the current platform