|
Blackjack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.amoebacode.blackjack.display.FontFactory
FontFactory creates all display fonts.
| Field Summary | |
private static int |
BUTTON_FONT_SIZE
The button font size |
private static java.awt.Font |
buttonFont
The game button font |
private static int |
COMBO_BOX_FONT_SIZE
The select box font size |
private static java.awt.Font |
comboBoxFont
The select box font |
private static java.lang.String |
FONT_NAME
The standard font face (Verdana) |
private static int |
LABEL_FONT_SIZE
The text label font size |
private static java.awt.Font |
labelFont
The text label font |
private static int |
STRATEGY_LABEL_FONT_SIZE
The basic strategy tip font size |
private static java.awt.Font |
strategyLabelFont
The basic strategy tip font |
| Constructor Summary | |
FontFactory()
|
|
| Method Summary | |
static java.awt.Font |
getButtonFont()
Returns the font used on game buttons. |
static java.awt.Font |
getComboBoxFont()
Returns the font used on select boxes. |
static java.awt.Font |
getLabelFont()
Returns the font used on text labels. |
static java.awt.Font |
getStrategyLabelFont()
Returns the font used on the basic strategy tip. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private static final java.lang.String FONT_NAME
private static final int BUTTON_FONT_SIZE
private static final int LABEL_FONT_SIZE
private static final int STRATEGY_LABEL_FONT_SIZE
private static final int COMBO_BOX_FONT_SIZE
private static final java.awt.Font buttonFont
private static final java.awt.Font labelFont
private static final java.awt.Font strategyLabelFont
private static final java.awt.Font comboBoxFont
| Constructor Detail |
public FontFactory()
| Method Detail |
public static java.awt.Font getButtonFont()
public static java.awt.Font getLabelFont()
public static java.awt.Font getStrategyLabelFont()
public static java.awt.Font getComboBoxFont()
|
Blackjack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||