Package | Description |
---|---|
org.eclipse.rap.rwt.remote | |
org.eclipse.swt.graphics | |
org.eclipse.swt.widgets |
Modifier and Type | Method and Description |
---|---|
static JsonValue |
JsonMapping.toJson(FontData fontData)
Returns the JSON representation for the given FontData.
|
Modifier and Type | Method and Description |
---|---|
FontData[] |
Font.getFontData()
Returns an array of
FontData s representing the receiver. |
FontData[] |
Device.getFontList(java.lang.String faceName,
boolean scalable)
Returns
FontData objects which describe
the fonts that match the given arguments. |
Constructor and Description |
---|
Font(Device device,
FontData fontData)
Constructs a new font given a device and font data
which describes the desired font's appearance.
|
Font(Device device,
FontData[] fontData)
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.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.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 (c) EclipseSource and others 2002, 2015.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0