Uses of Class
org.eclipse.swt.graphics.FontData
Package
Description
Provides a generic debugger user interface that clients may customize via standard
workbench extension points.
Provides a framework for preferences.
Provides support for managing resources such as SWT
fonts and images.
SWT graphics classes.
SWT internal classes
SWT widget public API classes.
Provides a workbench adapter for displaying workbench elements in the UI without
having to know the concrete type of the element, and various label providers for
workbench-specific objects like editors, views, and perspectives.
-
Uses of FontData in org.eclipse.debug.ui
-
Uses of FontData in org.eclipse.e4.ui.css.swt.helpers
Modifier and TypeMethodDescriptionstatic FontData
CSSSWTFontHelper.getFirstFontData
(Font font) Return first FontData from SWT Font.static FontData
CSSSWTFontHelper.getFirstFontData
(Control control) Return first FontData from Control Font.static FontData
CSSSWTFontHelper.getFontData
(CSS2FontProperties fontProperties, FontData oldFontData) Return FontData fromCSS2FontProperties
.Modifier and TypeMethodDescriptionstatic Font
CSSSWTFontHelper.getFont
(CSS2FontProperties fontProperties, FontData oldFontData, Display display) static String
CSSSWTFontHelper.getFontComposite
(FontData fontData) static FontData
CSSSWTFontHelper.getFontData
(CSS2FontProperties fontProperties, FontData oldFontData) Return FontData fromCSS2FontProperties
.static String
CSSSWTFontHelper.getFontFamily
(FontData fontData) static String
CSSSWTFontHelper.getFontSize
(FontData fontData) static String
CSSSWTFontHelper.getFontStyle
(FontData fontData) static String
CSSSWTFontHelper.getFontWeight
(FontData fontData) static int
CSSSWTFontHelper.getSWTStyle
(CSS2FontProperties fontProperties, FontData fontData) Return SWT style Font fromCSS2FontProperties
.static boolean
static boolean
-
Uses of FontData in org.eclipse.jface.preference
Modifier and TypeFieldDescriptionstatic FontData[]
PreferenceConverter.FONTDATA_ARRAY_DEFAULT_DEFAULT
Deprecated.this is not thread-safe and may contain invalid data at startup.static FontData
PreferenceConverter.FONTDATA_DEFAULT_DEFAULT
Deprecated.this is not thread-safe and may contain invalid data at startup.Modifier and TypeMethodDescriptionstatic FontData[]
PreferenceConverter.basicGetFontData
(String value) Helper method to construct aFontData
from the given string.static FontData
PreferenceConverter.getDefaultFontData
(IPreferenceStore store, String name) Returns a single default value for the font-valued preference with the given name in the given preference store.static FontData[]
PreferenceConverter.getDefaultFontDataArray
(IPreferenceStore store, String name) Returns the default value array for the font-valued preference with the given name in the given preference store.static FontData
PreferenceConverter.getFontData
(IPreferenceStore store, String name) Returns the current value of the first entry of the font-valued preference with the given name in the given preference store.static FontData[]
PreferenceConverter.getFontDataArray
(IPreferenceStore store, String name) Returns the current value of the font-valued preference with the given name in the given preference store.static FontData[]
PreferenceConverter.getFontDataArrayDefaultDefault()
The default-default value forFontData[]
preferences.static FontData[]
PreferenceConverter.readFontData
(String fontDataValue) Reads the supplied string and returns its corresponding FontData.Modifier and TypeMethodDescriptionstatic String
PreferenceConverter.getStoredRepresentation
(FontData[] fontData) Returns the stored representation of the given array of FontData objects.static void
PreferenceConverter.putValue
(IPreferenceStore store, String name, FontData[] value) Sets the current value of the preference with the given name in the given preference store.static void
PreferenceConverter.setDefault
(IPreferenceStore store, String name, FontData value) Sets the default value of the preference with the given name in the given preference store.static void
PreferenceConverter.setDefault
(IPreferenceStore store, String name, FontData[] value) Sets the default value of the preference with the given name in the given preference store.static void
PreferenceConverter.setValue
(IPreferenceStore store, String name, FontData value) Sets the current value of the preference with the given name in the given preference store.static void
PreferenceConverter.setValue
(IPreferenceStore store, String name, FontData[] value) Sets the current value of the preference with the given name in the given preference store. -
Uses of FontData in org.eclipse.jface.resource
Modifier and TypeMethodDescriptionstatic FontData
StringConverter.asFontData
(String value) Converts the given value into an SWT font data object.static FontData
StringConverter.asFontData
(String value, FontData dflt) Converts the given value into an SWT font data object.static FontData[]
StringConverter.asFontDataArray
(String value) Convert the given value into an array of SWT font data objects.Deprecated.use bestDataArray in order to support Motif multiple entry fonts.FontData[]
FontRegistry.bestDataArray
(FontData[] fonts, Display display) Deprecated.use filterData in order to preserve multiple entry fonts on Motifstatic FontData
Returns a copy of the original FontDatastatic FontData[]
Returns an array of FontData containing copies of the FontData from the original.FontData[]
FontRegistry.filterData
(FontData[] fonts, Display display) Removes from the list all fonts that do not exist in this system.FontData[]
FontDescriptor.getFontData()
Returns the set of FontData associated with this font.FontData[]
FontRegistry.getFontData
(String symbolicName) Returns the font data associated with the given symbolic font name.Modifier and TypeMethodDescriptionstatic String
StringConverter.asDisplayableString
(FontData value) Deprecated.use asString(FontData)static FontData
StringConverter.asFontData
(String value, FontData dflt) Converts the given value into an SWT font data object.static String
Converts a font data object to a string.static String
Converts a font data array to a string.Deprecated.use bestDataArray in order to support Motif multiple entry fonts.FontData[]
FontRegistry.bestDataArray
(FontData[] fonts, Display display) Deprecated.use filterData in order to preserve multiple entry fonts on Motifstatic FontData
Returns a copy of the original FontDatastatic FontData[]
Returns an array of FontData containing copies of the FontData from the original.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.FontData[]
FontRegistry.filterData
(FontData[] fonts, Display display) Removes from the list all fonts that do not exist in this system.void
Adds (or replaces) a font to this font registry under the given symbolic name. -
Uses of FontData in org.eclipse.swt.graphics
Modifier and TypeMethodDescriptionFontData[]
Font.getFontData()
Returns an array ofFontData
s representing the receiver.FontData[]
Device.getFontList
(String faceName, boolean scalable) ReturnsFontData
objects which describe the fonts that match the given arguments.static FontData
FontData.win32_new
(org.eclipse.swt.internal.win32.LOGFONT data, float height) Invokes platform specific functionality to allocate a new font data.Modifier and TypeMethodDescriptionstatic Font
Invokes platform specific private constructor to allocate a new font.ModifierConstructorDescriptionConstructs a new font given a device and font data which describes the desired font's appearance.Constructs a new font given a device and an array of font data which describes the desired font's appearance. -
Uses of FontData in org.eclipse.swt.internal
-
Uses of FontData in org.eclipse.swt.widgets
Modifier and TypeMethodDescriptionFontDialog.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.FontDialog.open()
Makes the dialog visible and brings it to the front of the display.Modifier and TypeMethodDescriptionvoid
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. -
Uses of FontData in org.eclipse.ui.model