Uses of Class
org.eclipse.swt.graphics.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
-
Uses of Font in org.eclipse.e4.ui.css.swt.helpers
Modifier 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.Modifier 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
Modifier 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
Modifier 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
-
Uses of Font in org.eclipse.jface.layout
ModifierConstructorDescriptionPixelConverter
(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
Modifier 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
Modifier 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 useModifier 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
ModifierConstructorDescriptionTextAttribute
(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
Modifier 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.ModifierConstructorDescriptionBoldStylerProvider
(Font font) Creates aBoldStylerProvider
instance which uses the givenfont
. -
Uses of Font in org.eclipse.jface.text.source
Modifier and TypeMethodDescriptionprotected final Font
AbstractRulerColumn.getFont()
Returns the current font.Modifier 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
Modifier 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 tipModifier 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.ModifierConstructorDescriptionBoldStylerProvider
(Font font) Creates aBoldStylerProvider
instance which uses the givenfont
. -
Uses of Font in org.eclipse.jface.widgets
-
Uses of Font in org.eclipse.jface.window
-
Uses of Font in org.eclipse.jface.wizard
-
Uses of Font in org.eclipse.swt.custom
Modifier and TypeMethodDescriptionCTabItem.getFont()
Returns the font that the receiver will use to paint textual information.PopupList.getFont()
Gets the widget font.Modifier 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
Modifier 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.Modifier 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. -
Uses of Font in org.eclipse.swt.internal
Modifier 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
-
Uses of Font in org.eclipse.swt.widgets
Modifier 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.Modifier 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
-
Uses of Font in org.eclipse.ui.console
-
Uses of Font in org.eclipse.ui.dialogs
Modifier 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
Modifier 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
-
Uses of Font in org.eclipse.ui.views.properties
ResourceManager.create(DeviceResourceDescriptor)
instead