net.sourceforge.java.util.gui.swt
Class FontUtils

java.lang.Object
  extended bynet.sourceforge.java.util.gui.swt.FontUtils

public class FontUtils
extends Object

Contains Font specific constants and utility methods.

Author:
Sebastian Machhausen

Field Summary
static Font SYSTEM_FONT
           The system font
static Font SYSTEM_FONT_BOLD
           The system font in bold style
 
Constructor Summary
FontUtils()
           
 
Method Summary
private static Font makeBold(Font sourceFont)
           Makes the specified Font bold.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SYSTEM_FONT

public static final Font SYSTEM_FONT

The system font


SYSTEM_FONT_BOLD

public static final Font SYSTEM_FONT_BOLD

The system font in bold style

Constructor Detail

FontUtils

public FontUtils()
Method Detail

makeBold

private static Font makeBold(Font sourceFont)

Makes the specified Font bold.

Parameters:
sourceFont - the source Font object
Returns:
Font the Font in Bold