# Uses of Class
org.eclipse.jface.resource.FontDescriptor

Packages that use FontDescriptor
Package
Description
org.eclipse.jface.resource
Provides support for managing resources such as SWT fonts and images.

## Uses of FontDescriptor in org.eclipse.jface.resource

Methods in org.eclipse.jface.resource that return FontDescriptor
Modifier and Type
Method
Description
`static FontDescriptor`
FontDescriptor.`createFrom(String name, int height, int style)`
Creates a new FontDescriptor given an OS-specific font name, height, and style.
`static FontDescriptor`
FontDescriptor.`createFrom(Font font)`
Creates a FontDescriptor that describes an existing font.
`static FontDescriptor`
FontDescriptor.`createFrom(FontData data)`
Creates a new FontDescriptor given the associated FontData
`static FontDescriptor`
FontDescriptor.`createFrom(FontData[] data)`
Creates a new FontDescriptor given the an array of FontData that describes the font.
`static FontDescriptor`
FontDescriptor.`createFrom(Font font, Device originalDevice)`
Deprecated.
use `createFrom(Font)`
`FontDescriptor`
FontRegistry.`defaultFontDescriptor()`
Returns the font descriptor for the JFace default font.
`static FontDescriptor`
JFaceResources.`getDefaultFontDescriptor()`
Returns the descriptor for JFace's standard font.
`FontDescriptor`
FontRegistry.`getDescriptor(String symbolicName)`
Returns the font descriptor for the font with the given symbolic font name.
`static FontDescriptor`
JFaceResources.`getDialogFontDescriptor()`
Returns the descriptor for JFace's dialog font.
`static FontDescriptor`
JFaceResources.`getFontDescriptor(String symbolicName)`
Returns the font descriptor for in JFace's font registry with the given symbolic name.
`static FontDescriptor`
JFaceResources.`getHeaderFontDescriptor()`
Returns the descriptor for JFace's header font.
`static FontDescriptor`
JFaceResources.`getTextFontDescriptor()`
Returns the descriptor for JFace's text font.
`final FontDescriptor`
FontDescriptor.`increaseHeight(int heightDelta)`
Returns a FontDescriptor that is equivalent to the receiver, but whose height is larger by the given number of points.
`final FontDescriptor`
FontDescriptor.`setHeight(int height)`
Returns a new FontDescriptor that is equivalent to the receiver, but has the given height.
`final FontDescriptor`
FontDescriptor.`setStyle(int style)`
Returns a FontDescriptor that is equivalent to the receiver, but uses the given style bits.
`final FontDescriptor`
FontDescriptor.`withStyle(int style)`
Returns a FontDescriptor that is equivalent to the receiver, but has the given style bits, in addition to any styles the receiver already has.
Methods in org.eclipse.jface.resource with parameters of type FontDescriptor
Modifier and Type
Method
Description
`final Font`
ResourceManager.`createFont(FontDescriptor descriptor)`
Returns the Font described by the given FontDescriptor.
`final void`
ResourceManager.`destroyFont(FontDescriptor descriptor)`
Undoes everything that was done by a previous call to `ResourceManager.createFont(FontDescriptor)`.