| Package | Description |
|---|---|
| org.eclipse.swt.graphics | |
| org.eclipse.swt.widgets |
| Modifier and Type | Method and Description |
|---|---|
FontData[] |
Font.getFontData()
Returns an array of
FontDatas representing the receiver. |
FontData[] |
Device.getFontList(String faceName,
boolean scalable)
Returns
FontData objects which describe
the fonts that match the given arguments. |
static FontData |
FontData.win32_new(LOGFONT data,
float height)
Invokes platform specific functionality to allocate a new font data.
|
| Constructor and Description |
|---|
Font(Device device,
FontData fd)
Constructs a new font given a device and font data
which describes the desired font's appearance.
|
Font(Device device,
FontData[] fds)
Constructs a new font given a device and an array
of font data which describes the desired font's
appearance.
|
| Modifier and Type | Method and Description |
|---|---|
FontData |
FontDialog.getFontData()
Deprecated.
use #getFontList ()
|
FontData[] |
FontDialog.getFontList()
Returns a FontData set describing the font that was
selected in the dialog, or null if none is available.
|
FontData |
FontDialog.open()
Makes the dialog visible and brings it to the front
of the display.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FontDialog.setFontData(FontData fontData)
Deprecated.
use #setFontList (FontData [])
|
void |
FontDialog.setFontList(FontData[] fontData)
Sets the set of FontData objects describing the font to
be selected by default in the dialog, or null to let
the platform choose one.
|
Copyright © 2017. All Rights Reserved.