Uses of Class
org.eclipse.jface.resource.FontDescriptor
Package
Description
Provides support for managing resources such as SWT
fonts and images.
-
Uses of FontDescriptor in org.eclipse.jface.resource
Modifier and TypeMethodDescriptionstatic 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 FontDatastatic 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.FontRegistry.defaultFontDescriptor()
Returns the font descriptor for the JFace default font.static FontDescriptor
JFaceResources.getDefaultFontDescriptor()
Returns the descriptor for JFace's standard font.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.Modifier and TypeMethodDescriptionfinal Font
ResourceManager.createFont
(FontDescriptor descriptor) Deprecated.useResourceManager.create(DeviceResourceDescriptor)
insteadfinal void
ResourceManager.destroyFont
(FontDescriptor descriptor) Deprecated.
createFrom(Font)