Java org.eclipse.swt.graphics FontData fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.swt.graphics FontData fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.swt.graphics FontData.

The text is from its open source code.

Constructor

FontData(String name, int height, int style)
Constructs a new font data given a font name, the height of the desired font in points, and a font style.
FontData()
Constructs a new uninitialized font data.

Method

intgetHeight()
Returns the height of the receiver in points.
StringgetName()
Returns the name of the receiver.
intgetStyle()
Returns the style of the receiver which is a bitwise OR of one or more of the SWT constants NORMAL, BOLD and ITALIC.
voidsetHeight(int height)
Sets the height of the receiver.
voidsetName(String name)
Sets the name of the receiver.
voidsetStyle(int style)
Sets the style of the receiver to the argument which must be a bitwise OR of one or more of the SWT constants NORMAL, BOLD and ITALIC.
StringtoString()
Returns a string representation of the receiver which is suitable for constructing an equivalent instance using the FontData(String) constructor.