Example usage for Java org.eclipse.swt.graphics FontData fields, constructors, methods, implement or subclass
The text is from its open source code.
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. |
int | getHeight() Returns the height of the receiver in points. |
String | getName() Returns the name of the receiver. |
int | getStyle() Returns the style of the receiver which is a bitwise OR of one or more of the SWT constants NORMAL, BOLD and ITALIC. |
void | setHeight(int height) Sets the height of the receiver. |
void | setName(String name) Sets the name of the receiver. |
void | setStyle(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. |
String | toString() Returns a string representation of the receiver which is suitable for constructing an equivalent instance using the FontData(String) constructor. |