de.willuhn.jameica.gui.util
Class Font

java.lang.Object
  extended by de.willuhn.jameica.gui.util.Font

public class Font
extends java.lang.Object

Schrift-Informationen. Wir haben die SWT-Fonts hier nochmal gekapselt, damit wir sie in Properties-Dateien speichern koennen.


Field Summary
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.
 
Method Summary
 org.eclipse.swt.graphics.Font getSWTFont()
          Liefert die Schrift.
 void setSWTFont(org.eclipse.swt.graphics.Font newFont)
          Speichert einen neuen Font-Wert.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

H1

public static final Font H1
Schrift fuer Ueberschriften erster Ordnung.


H2

public static final Font H2
Schrift fuer Ueberschriften zweiter Ordnung.


H3

public static final Font H3
Schrift fuer Ueberschriften dritter Ordnung.


SMALL

public static final Font SMALL
Kleiner Text.


DEFAULT

public static final Font DEFAULT
Standard-Schrift.


BOLD

public static final Font BOLD
Standard-Schrift, fett gedruckt.


ITALIC

public static final Font ITALIC
Standard-Schrift, kursiv gedruckt.

Method Detail

getSWTFont

public final org.eclipse.swt.graphics.Font getSWTFont()
Liefert die Schrift.

Returns:
die zugehoerige SWT-Schrift.

setSWTFont

public final void setSWTFont(org.eclipse.swt.graphics.Font newFont)
Speichert einen neuen Font-Wert.

Parameters:
newFont - die neue Schrift.