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)
Creates a FontDescriptor that describes an existing font.
|
static FontDescriptor |
FontDescriptor.createFrom(String name,
int height,
int style)
Creates a new FontDescriptor given an OS-specific font name, height, and style.
|
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 createFont().
|
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.