com.realtime.crossfire.jxclient.gui.log
Class Fonts

java.lang.Object
  extended by com.realtime.crossfire.jxclient.gui.log.Fonts

public class Fonts
extends java.lang.Object

Manage a set of fonts.


Field Summary
private  java.awt.Font fontArcane
          The font to use for FontID.ARCANE text.
private  java.awt.Font fontFixed
          The font to use for FontID.FIXED text.
private  java.awt.Font fontFixedBold
          The font to use for FontID.FIXED text which has bold enabled.
private  java.awt.Font fontPrint
          The font to use for FontID.PRINT, FontID.HAND, and FontID.STRANGE text.
 
Constructor Summary
Fonts(java.awt.Font fontPrint, java.awt.Font fontFixed, java.awt.Font fontFixedBold, java.awt.Font fontArcane)
          Create a new instance.
 
Method Summary
 java.awt.Font getFontArcane()
          Return the font to use for FontID.ARCANE text.
 java.awt.Font getFontFixed()
          Return the font to use for FontID.FIXED text.
 java.awt.Font getFontFixedBold()
          Return the font to use for FontID.FIXED text which has bold enabled.
 java.awt.Font getFontPrint()
          Return the font to use for FontID.PRINT, FontID.HAND, and FontID.STRANGE text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fontArcane

@NotNull
private final java.awt.Font fontArcane
The font to use for FontID.ARCANE text.


fontFixed

@NotNull
private final java.awt.Font fontFixed
The font to use for FontID.FIXED text.


fontFixedBold

@NotNull
private final java.awt.Font fontFixedBold
The font to use for FontID.FIXED text which has bold enabled.


fontPrint

@NotNull
private final java.awt.Font fontPrint
The font to use for FontID.PRINT, FontID.HAND, and FontID.STRANGE text.

Constructor Detail

Fonts

public Fonts(@NotNull
             java.awt.Font fontPrint,
             @NotNull
             java.awt.Font fontFixed,
             @NotNull
             java.awt.Font fontFixedBold,
             @NotNull
             java.awt.Font fontArcane)
Create a new instance.

Parameters:
fontPrint - The font to use for FontID.PRINT, FontID.HAND, and FontID.STRANGE text.
fontFixed - The font to use for FontID.FIXED text.
fontFixedBold - The font to use for FontID.FIXED text which has bold enabled.
fontArcane - The font to use for FontID.ARCANE text.
Method Detail

getFontArcane

@NotNull
public java.awt.Font getFontArcane()
Return the font to use for FontID.ARCANE text.

Returns:
The font.

getFontFixed

@NotNull
public java.awt.Font getFontFixed()
Return the font to use for FontID.FIXED text.

Returns:
The font.

getFontFixedBold

@NotNull
public java.awt.Font getFontFixedBold()
Return the font to use for FontID.FIXED text which has bold enabled.

Returns:
The font.

getFontPrint

@NotNull
public java.awt.Font getFontPrint()
Return the font to use for FontID.PRINT, FontID.HAND, and FontID.STRANGE text.

Returns:
The font.