Eclipse Rich Ajax Platform

## Uses of Class
org.eclipse.swt.graphics.Font

Packages that use Font
org.eclipse.rwt.graphics
org.eclipse.rwt.lifecycle
org.eclipse.rwt.theme
org.eclipse.swt.custom
org.eclipse.swt.graphics
org.eclipse.swt.widgets

Uses of Font in org.eclipse.rwt.graphics

Methods in org.eclipse.rwt.graphics that return Font
`static Font` `Graphics.getFont(FontData data)` Returns a new font given a font data which describes the desired font's appearance.
`static Font` `Graphics.getFont(java.lang.String name, int height, int style)` Returns a `Font` object given a font name, the height of the desired font in points, and a font style.

Methods in org.eclipse.rwt.graphics with parameters of type Font
`static float` `Graphics.getAvgCharWidth(Font font)` Returns the average character width of the specified font, measured in pixels.
`static int` `Graphics.getCharHeight(Font font)` Returns the height of the specified font, measured in pixels.
`static Point` `Graphics.stringExtent(Font font, java.lang.String string)` Returns the extent of the given string.
`static Point` `Graphics.textExtent(Font font, java.lang.String string, int wrapWidth)` Returns the extent of the given string.

Uses of Font in org.eclipse.rwt.lifecycle

Methods in org.eclipse.rwt.lifecycle with parameters of type Font
`static void` `WidgetLCAUtil.preserveFont(Widget widget, Font font)` Preserves the value of the property `font` of the specified widget.
`static void` `WidgetLCAUtil.renderFont(Widget widget, Font font)` Determines whether the property `font` of the given widget has changed during the processing of the current request and if so, writes JavaScript code to the response that updates the client-side font property of the specified widget.
`static void` `WidgetLCAUtil.renderProperty(Widget widget, java.lang.String property, Font[] newValue, Font[] defaultValue)` Determines whether the property of the given widget has changed during the processing of the current request and if so, writes a protocol message to the response that updates the client-side property of the specified widget.
`static void` `WidgetLCAUtil.renderProperty(Widget widget, java.lang.String property, Font[] newValue, Font[] defaultValue)` Determines whether the property of the given widget has changed during the processing of the current request and if so, writes a protocol message to the response that updates the client-side property of the specified widget.
`static void` `WidgetLCAUtil.writeFont(Widget widget, Font font)` Deprecated. Use `WidgetLCAUtil.renderFont(Widget, Font)` instead

Uses of Font in org.eclipse.rwt.theme

Methods in org.eclipse.rwt.theme that return Font
`Font` `IControlThemeAdapter.getFont(Control control)` Returns the default font that the specified control will use to paint textual information when no user-defined font has been set using `Control.setFont(Font)`.

Uses of Font in org.eclipse.swt.custom

Methods in org.eclipse.swt.custom that return Font
`Font` `CTabItem.getFont()` Returns the font that the receiver will use to paint textual information.

Methods in org.eclipse.swt.custom with parameters of type Font
`void` `CLabel.setFont(Font font)`
`void` `CTabFolder.setFont(Font font)`
`void` `CTabItem.setFont(Font font)` 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.swt.graphics

Methods in org.eclipse.swt.graphics that return Font
`Font` `GC.getFont()` Returns the font currently being used by the receiver to draw and measure text.
`Font` `Device.getSystemFont()` Returns a reasonable font for applications to use.

Methods in org.eclipse.swt.graphics with parameters of type Font
`void` `GC.setFont(Font font)` Sets the font which will be used by the receiver to draw and measure text to the argument.

Uses of Font in org.eclipse.swt.widgets

Methods in org.eclipse.swt.widgets that return Font
`Font` `Control.getFont()` Returns the font that the receiver will use to paint textual information.
`Font` `TableItem.getFont()` Returns the font that the receiver will use to paint textual information for this item.
`Font` `TreeItem.getFont()` Returns the font that the receiver will use to paint textual information for this item.
`Font` `TableItem.getFont(int index)` Returns the font that the receiver will use to paint textual information for the specified cell in this item.
`Font` `TreeItem.getFont(int index)` Returns the font that the receiver will use to paint textual information for the specified cell in this item.

Methods in org.eclipse.swt.widgets with parameters of type Font
`void` `Control.setFont(Font font)` 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` `DateTime.setFont(Font font)`
`void` `ExpandBar.setFont(Font font)` 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` `List.setFont(Font font)`
`void` `Table.setFont(Font font)`
`void` `TableItem.setFont(Font font)` 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` `ToolBar.setFont(Font font)`
`void` `Tree.setFont(Font font)`
`void` `TreeItem.setFont(Font font)` 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` `TableItem.setFont(int index, Font font)` 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` `TreeItem.setFont(int index, Font font)` 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.

Eclipse Rich Ajax Platform

Copyright (c) EclipseSource and others 2002, 2012. All rights reserved.