java.lang.Object com.realtime.crossfire.jxclient.gui.log.Fonts
public class Fonts
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 |
---|
@NotNull private final java.awt.Font fontArcane
FontID.ARCANE
text.
@NotNull private final java.awt.Font fontFixed
FontID.FIXED
text.
@NotNull private final java.awt.Font fontFixedBold
FontID.FIXED
text which has bold enabled.
@NotNull private final java.awt.Font fontPrint
FontID.PRINT
, FontID.HAND
, and FontID.STRANGE
text.
Constructor Detail |
---|
public Fonts(@NotNull java.awt.Font fontPrint, @NotNull java.awt.Font fontFixed, @NotNull java.awt.Font fontFixedBold, @NotNull java.awt.Font fontArcane)
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 |
---|
@NotNull public java.awt.Font getFontArcane()
FontID.ARCANE
text.
@NotNull public java.awt.Font getFontFixed()
FontID.FIXED
text.
@NotNull public java.awt.Font getFontFixedBold()
FontID.FIXED
text which has bold
enabled.
@NotNull public java.awt.Font getFontPrint()
FontID.PRINT
, FontID.HAND
, and
FontID.STRANGE
text.