A font registry owns all of the font objects registered with it, and automatically disposes of them when the SWT Display that creates the fonts is disposed. Because of this, clients do not need to (indeed, must not attempt to) dispose of font objects themselves.
A special constructor is provided for populating a font registry from a property files using the standard Java resource bundle mechanism.
Methods are provided for registering listeners that will be kept apprised of changes to list of registered fonts.
Clients may instantiate this class (it was not designed to be subclassed).
Since 3.0 this class extends ResourceRegistry. @noextend This class is not intended to be subclassed by clients.
|
|
|
|
|
|