Class Fonts
- java.lang.Object
-
- com.realtime.crossfire.jxclient.gui.log.Fonts
-
public class Fonts extends java.lang.ObjectManage a set of fonts.
-
-
Constructor Summary
Constructors Constructor Description Fonts(@NotNull java.awt.Font fontPrint, @NotNull java.awt.Font fontFixed, @NotNull java.awt.Font fontFixedBold, @NotNull java.awt.Font fontArcane)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull java.awt.FontgetFontArcane()Returns the font to use forFontID.ARCANEtext.@NotNull java.awt.FontgetFontFixed()Returns the font to use forFontID.FIXEDtext.@NotNull java.awt.FontgetFontFixedBold()Returns the font to use forFontID.FIXEDtext which has bold enabled.@NotNull java.awt.FontgetFontPrint()
-
-
-
Constructor Detail
-
Fonts
public Fonts(@NotNull @NotNull java.awt.Font fontPrint, @NotNull @NotNull java.awt.Font fontFixed, @NotNull @NotNull java.awt.Font fontFixedBold, @NotNull @NotNull java.awt.Font fontArcane)Creates a new instance.- Parameters:
fontPrint- the font to use forFontID.PRINT,FontID.HAND, andFontID.STRANGEtextfontFixed- the font to use forFontID.FIXEDtextfontFixedBold- the font to use forFontID.FIXEDtext which has bold enabledfontArcane- the font to use forFontID.ARCANEtext
-
-
Method Detail
-
getFontPrint
@NotNull public @NotNull java.awt.Font getFontPrint()
- Returns:
- the font
-
getFontFixed
@NotNull public @NotNull java.awt.Font getFontFixed()
Returns the font to use forFontID.FIXEDtext.- Returns:
- the font
-
getFontFixedBold
@NotNull public @NotNull java.awt.Font getFontFixedBold()
Returns the font to use forFontID.FIXEDtext which has bold enabled.- Returns:
- the font
-
getFontArcane
@NotNull public @NotNull java.awt.Font getFontArcane()
Returns the font to use forFontID.ARCANEtext.- Returns:
- the font
-
-