Uses of Class
org.eclipse.swt.graphics.Font
Packages that use Font
Package
Description
Provides support for dialogs.
Provides support for layout generation.
Provides a framework for preferences.
Provides support for managing resources such as SWT
fonts and images.
Provides a framework for creating and manipulating text documents.
Provides a content assist add-on for an
ITextViewer
.Provides a framework for connecting document regions
with annotations and for displaying those.
Provides a framework for viewers, which are model-based
content adapters for SWT widgets.
Provides a general framework for creating and managing
windows.
Provides a framework for wizards.
SWT Custom widgets.
SWT graphics classes.
SWT internal classes
SWT Win32 OLE implementation classes.
SWT widget public API classes.
Contains the team synchronization presentation framework and support
for the Synchronize View.
Application programming interfaces for interaction
with the Eclipse console.
Classes for standard dialogs, wizards, and preference
pages in the Eclipse Platform User Interface.
Custom widgets and controls for forms-based parts.
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.
Provides the standard Property Sheet view which displays
custom properties of the active workbench part's current selection.
-
Uses of Font in org.eclipse.compare.internal
Methods in org.eclipse.compare.internal with parameters of type Font -
Uses of Font in org.eclipse.e4.ui.css.swt.helpers
Methods in org.eclipse.e4.ui.css.swt.helpers that return FontModifier and TypeMethodDescriptionstatic Font
CSSSWTFontHelper.getFont
(CSS2FontProperties fontProperties, FontData oldFontData, Display display) static Font
CSSSWTFontHelper.getFont
(CSS2FontProperties fontProperties, Control control) Get CSS2FontProperties from Font of JComponent and store CSS2FontProperties instance into ClientProperty of JComponent.Methods in org.eclipse.e4.ui.css.swt.helpers with parameters of type FontModifier and TypeMethodDescriptionstatic boolean
On certain platforms, may have two font instances that actually are the samestatic CSS2FontProperties
CSSSWTFontHelper.getCSS2FontProperties
(Font font) Build CSS2FontProperties from SWT Font.static CSS2FontProperties
CSSSWTFontHelper.getCSS2FontProperties
(Font font, CSSElementContext context) static CSS2FontProperties
CSSSWTFontHelper.getCSS2FontProperties
(Widget widget, Font font, CSSElementContext context) Get CSS2FontProperties from Control stored into Data of Control.static FontData
CSSSWTFontHelper.getFirstFontData
(Font font) Return first FontData from SWT Font.static String
CSSSWTFontHelper.getFontComposite
(Font font) Return CSS Value font-family from SWT Fontstatic String
CSSSWTFontHelper.getFontFamily
(Font font) Return CSS Value font-family from SWT Fontstatic String
CSSSWTFontHelper.getFontSize
(Font font) Return CSS Value font-size from SWT Fontstatic String
CSSSWTFontHelper.getFontStyle
(Font font) Return CSS Value font-style from SWT Fontstatic String
CSSSWTFontHelper.getFontWeight
(Font font) Return CSS Value font-weight from Control Fontstatic void
Helper function to avoid setting fonts unnecessarilystatic void
Helper function to avoid setting fonts unnecessarily -
Uses of Font in org.eclipse.e4.ui.dialogs.filteredtree
Methods in org.eclipse.e4.ui.dialogs.filteredtree that return FontModifier and TypeMethodDescriptionstatic Font
FilteredTree.getBoldFont
(Object element, FilteredTree tree, PatternFilter filter) Return a bold font if the given element matches the given pattern. -
Uses of Font in org.eclipse.jface.databinding.swt.typed
Methods in org.eclipse.jface.databinding.swt.typed that return types with arguments of type FontModifier and TypeMethodDescriptionstatic <S extends Control>
IWidgetValueProperty<S,Font> WidgetProperties.font()
Returns a value property for observing the font of aControl
. -
Uses of Font in org.eclipse.jface.dialogs
Methods in org.eclipse.jface.dialogs that return Font -
Uses of Font in org.eclipse.jface.layout
Constructors in org.eclipse.jface.layout with parameters of type FontModifierConstructorDescriptionPixelConverter
(Font font) Create a PixelConverter which will convert device-independent units to pixels using the specified font. -
Uses of Font in org.eclipse.jface.preference
Methods in org.eclipse.jface.preference with parameters of type FontModifier and TypeMethodDescriptionprotected Composite
PreferencePage.createNoteComposite
(Font font, Composite composite, String title, String message) Creates a composite with a highlighted Note entry and a message text.protected void
PreferenceDialog.updateTreeFont
(Font dialogFont) Update the tree to use the specifiedFont
. -
Uses of Font in org.eclipse.jface.resource
Methods in org.eclipse.jface.resource that return FontModifier and TypeMethodDescriptionabstract Font
FontDescriptor.createFont
(Device device) Creates the Font described by this descriptor.final Font
ResourceManager.createFont
(FontDescriptor descriptor) Deprecated.FontRegistry.defaultFont()
Returns the default font data.Returns the font associated with the given symbolic font name.static Font
JFaceResources.getBannerFont()
Returns the JFace's banner font.Returns the bold font associated with the given symbolic font name.static Font
JFaceResources.getDefaultFont()
Returns JFace's standard font.static Font
JFaceResources.getDialogFont()
Returns the JFace's dialog font.static Font
Returns the font in JFace's font registry with the given symbolic font name.static Font
JFaceResources.getHeaderFont()
Returns the JFace's header font.Returns the italic font associated with the given symbolic font name.static Font
JFaceResources.getTextFont()
Returns JFace's text font.static Font
JFaceResources.getViewerFont()
Deprecated.This font is not in useMethods in org.eclipse.jface.resource with parameters of type FontModifier and TypeMethodDescriptionstatic FontDescriptor
FontDescriptor.createFrom
(Font font) Creates a FontDescriptor that describes an existing font.static FontDescriptor
FontDescriptor.createFrom
(Font font, Device originalDevice) Deprecated.abstract void
FontDescriptor.destroyFont
(Font previouslyCreatedFont) Deallocates anything that was allocated by createFont, given a font that was allocated by an equal FontDescriptor. -
Uses of Font in org.eclipse.jface.text
Methods in org.eclipse.jface.text that return FontConstructors in org.eclipse.jface.text with parameters of type FontModifierConstructorDescriptionTextAttribute
(Color foreground, Color background, int style, Font font) Creates a text attribute with the given colors and style. -
Uses of Font in org.eclipse.jface.text.contentassist
Methods in org.eclipse.jface.text.contentassist that return FontModifier and TypeMethodDescriptionBoldStylerProvider.getBoldFont()
Creates (if not already done) and returns the bold font used by the styler to apply the bold style.BoldStylerProvider.getFont()
Returns the font used by the styler to create the bold font.Constructors in org.eclipse.jface.text.contentassist with parameters of type FontModifierConstructorDescriptionBoldStylerProvider
(Font font) Creates aBoldStylerProvider
instance which uses the givenfont
. -
Uses of Font in org.eclipse.jface.text.source
Methods in org.eclipse.jface.text.source that return FontModifier and TypeMethodDescriptionprotected final Font
AbstractRulerColumn.getFont()
Returns the current font.Methods in org.eclipse.jface.text.source with parameters of type FontModifier and TypeMethodDescriptionfinal void
Sets the font of this ruler column.void
void
void
void
Sets the font of this ruler column.void
Sets the font of this vertical ruler.void
void
-
Uses of Font in org.eclipse.jface.viewers
Methods in org.eclipse.jface.viewers that return FontModifier and TypeMethodDescriptionIFontDecorator.decorateFont
(Object element) Return the font for element ornull
if there is not one.BoldStylerProvider.getBoldFont()
Creates (if not already done) and returns the bold font used by the styler to apply the bold style.BoldStylerProvider.getFont()
Returns the font used by the styler to create the bold font.Provides a font for the given element.Provides a font for the given element.Provides a font for the given element at index columnIndex.TableViewerRow.getFont
(int columnIndex) TreeViewerRow.getFont
(int columnIndex) ViewerCell.getFont()
Gets the font of the cell.ViewerLabel.getFont()
Get the font.abstract Font
ViewerRow.getFont
(int columnIndex) Get the font at the columnIndex.CellLabelProvider.getToolTipFont
(Object object) Get theFont
used to display the tool tipMethods in org.eclipse.jface.viewers with parameters of type FontModifier and TypeMethodDescriptionvoid
Set the font for this decoration.void
Set the font.void
void
void
Set the font of the cell.void
Set the font.abstract void
Set theFont
at the columnIndex.Constructors in org.eclipse.jface.viewers with parameters of type FontModifierConstructorDescriptionBoldStylerProvider
(Font font) Creates aBoldStylerProvider
instance which uses the givenfont
. -
Uses of Font in org.eclipse.jface.widgets
Methods in org.eclipse.jface.widgets with parameters of type Font -
Uses of Font in org.eclipse.jface.window
Methods in org.eclipse.jface.window that return FontModifier and TypeMethodDescriptionprotected Font
ApplicationWindow.getFont()
Returns the default font used for this window.protected Font
Methods in org.eclipse.jface.window with parameters of type Font -
Uses of Font in org.eclipse.jface.wizard
Methods in org.eclipse.jface.wizard with parameters of type Font -
Uses of Font in org.eclipse.swt.custom
Methods in org.eclipse.swt.custom that return FontModifier and TypeMethodDescriptionCTabItem.getFont()
Returns the font that the receiver will use to paint textual information.PopupList.getFont()
Gets the widget font.Methods in org.eclipse.swt.custom with parameters of type FontModifier and TypeMethodDescriptionvoid
void
void
void
Sets the font that the receiver will use to paint textual information for this item to the font specified by the argument, or to the default font for that kind of control if the argument is null.void
Sets the widget font.void
Sets a new font to render text with. -
Uses of Font in org.eclipse.swt.graphics
Fields in org.eclipse.swt.graphics declared as FontMethods in org.eclipse.swt.graphics that return FontModifier and TypeMethodDescriptionGC.getFont()
Returns the font currently being used by the receiver to draw and measure text.TextLayout.getFont()
Returns the default font currently being used by the receiver to draw and measure text.Device.getSystemFont()
Returns a reasonable font for applications to use.static Font
Invokes platform specific functionality to allocate a new font.static Font
Invokes platform specific functionality to allocate a new font.static Font
Invokes platform specific private constructor to allocate a new font.static Font
Used to receive a font for the given zoom in the context of the current configuration of SWT at runtime.Methods in org.eclipse.swt.graphics with parameters of type FontModifier and TypeMethodDescriptionvoid
Adds to the receiver the pattern of glyphs generated by drawing the given string using the given font starting at the point (x, y).void
Sets the font which will be used by the receiver to draw and measure text to the argument.void
Sets the default font which will be used by the receiver to draw and measure text.static Font
Used to receive a font for the given zoom in the context of the current configuration of SWT at runtime.Constructors in org.eclipse.swt.graphics with parameters of type Font -
Uses of Font in org.eclipse.swt.internal
Methods in org.eclipse.swt.internal that return FontModifier and TypeMethodDescriptionstatic Font
Provides a font optimally suited for the specified zoom.static Font
SWTFontProvider.getSystemFont
(Device device, int zoom) SWTFontRegistry.getSystemFont
(int zoom) Returns a system font optimally suited for the specified zoom. -
Uses of Font in org.eclipse.swt.ole.win32
Methods in org.eclipse.swt.ole.win32 that return FontMethods in org.eclipse.swt.ole.win32 with parameters of type Font -
Uses of Font in org.eclipse.swt.widgets
Methods in org.eclipse.swt.widgets that return FontModifier and TypeMethodDescriptionCaret.getFont()
Returns the font that the receiver will use to paint textual information.Control.getFont()
Returns the font that the receiver will use to paint textual information.TableItem.getFont()
Returns the font that the receiver will use to paint textual information for this item.TableItem.getFont
(int index) Returns the font that the receiver will use to paint textual information for the specified cell in this item.TreeItem.getFont()
Returns the font that the receiver will use to paint textual information for this item.TreeItem.getFont
(int index) Returns the font that the receiver will use to paint textual information for the specified cell in this item.Display.getSystemFont()
Returns a reasonable font for applications to use.Methods in org.eclipse.swt.widgets with parameters of type FontModifier and TypeMethodDescriptionvoid
void
Sets the font that the receiver will use to paint textual information to the font specified by the argument, or to the default font for that kind of control if the argument is null.void
void
Sets the font that the receiver will use to paint textual information to the font specified by the argument, or to the default font for that kind of control if the argument is null.void
void
void
void
void
void
Sets the font that the receiver will use to paint textual information for the specified cell in this item to the font specified by the argument, or to the default font for that kind of control if the argument is null.void
Sets the font that the receiver will use to paint textual information for this item to the font specified by the argument, or to the default font for that kind of control if the argument is null.void
void
void
void
Sets the font that the receiver will use to paint textual information for the specified cell in this item to the font specified by the argument, or to the default font for that kind of control if the argument is null.void
Sets the font that the receiver will use to paint textual information for this item to the font specified by the argument, or to the default font for that kind of control if the argument is null. -
Uses of Font in org.eclipse.team.ui.synchronize
Methods in org.eclipse.team.ui.synchronize that return Font -
Uses of Font in org.eclipse.ui.console
Methods in org.eclipse.ui.console that return FontMethods in org.eclipse.ui.console with parameters of type Font -
Uses of Font in org.eclipse.ui.dialogs
Methods in org.eclipse.ui.dialogs that return FontModifier and TypeMethodDescriptionstatic Font
FilteredTree.getBoldFont
(Object element, FilteredTree tree, PatternFilter filter) Return a bold font if the given element matches the given pattern. -
Uses of Font in org.eclipse.ui.forms.widgets
Methods in org.eclipse.ui.forms.widgets with parameters of type FontModifier and TypeMethodDescriptionvoid
Sets the fonts of all the custom controls in the expandable.void
Sets the font of the header text.void
Registers the font referenced by the provided key.void
Sets the font to use to render the default text (text that does not have special font property assigned).void
Sets the font of the form. -
Uses of Font in org.eclipse.ui.model
Methods in org.eclipse.ui.model that return Font -
Uses of Font in org.eclipse.ui.views.properties
Methods in org.eclipse.ui.views.properties that return Font
ResourceManager.create(DeviceResourceDescriptor)
instead