public class Font
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static Font |
BOLD
Standard-Schrift, fett gedruckt.
|
static Font |
DEFAULT
Standard-Schrift.
|
static Font |
H1
Schrift fuer Ueberschriften erster Ordnung.
|
static Font |
H2
Schrift fuer Ueberschriften zweiter Ordnung.
|
static Font |
H3
Schrift fuer Ueberschriften dritter Ordnung.
|
static Font |
ITALIC
Standard-Schrift, kursiv gedruckt.
|
static Font |
SMALL
Kleiner Text.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
getHeight(Font font)
Liefert die Hoehe der Schriftart in Pixeln.
|
org.eclipse.swt.graphics.Font |
getSWTFont()
Liefert die Schrift.
|
void |
setSWTFont(org.eclipse.swt.graphics.Font newFont)
Speichert einen neuen Font-Wert.
|
public static final Font H1
public static final Font H2
public static final Font H3
public static final Font SMALL
public static final Font DEFAULT
public static final Font BOLD
public static final Font ITALIC
public final org.eclipse.swt.graphics.Font getSWTFont()
public final void setSWTFont(org.eclipse.swt.graphics.Font newFont)
newFont - die neue Schrift.public static int getHeight(Font font)
font - die Schriftart.