Package | Description |
---|---|
org.eclipse.jface.resource |
Provides support for managing resources such as SWT
fonts and images.
|
Modifier and Type | Method and Description |
---|---|
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) |
static FontDescriptor |
FontDescriptor.createFrom(String name,
int height,
int style)
Creates a new FontDescriptor given an OS-specific font name, height, and style.
|
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.
|
FontDescriptor |
FontDescriptor.increaseHeight(int heightDelta)
Returns a FontDescriptor that is equivalent to the reciever, but whose height
is larger by the given number of points.
|
FontDescriptor |
FontDescriptor.setHeight(int height)
Returns a new FontDescriptor that is equivalent to the reciever, but
has the given height.
|
FontDescriptor |
FontDescriptor.setStyle(int style)
Returns a FontDescriptor that is equivalent to the reciever, but uses
the given style bits.
|
FontDescriptor |
FontDescriptor.withStyle(int style)
Returns a FontDescriptor that is equivalent to the reciever, but
has the given style bits, in addition to any styles the reciever already has.
|
Modifier and Type | Method and Description |
---|---|
Font |
ResourceManager.createFont(FontDescriptor descriptor)
Returns the Font described by the given FontDescriptor.
|
void |
ResourceManager.destroyFont(FontDescriptor descriptor)
Undoes everything that was done by a previous call to
ResourceManager.createFont(FontDescriptor) . |
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.