|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jgoodies.looks.Fonts
public final class Fonts
Provides static access to popular Windows fonts The sizes of the font constants are specified i typographic points, approximately 1/72 of an inch.
FontSet,
FontSets,
FontPolicy,
FontPolicies| Field Summary | |
|---|---|
static Font |
SEGOE_UI_12PT
This is Segoe UI 9pt, the default font on western Vista with 96dpi. |
static Font |
SEGOE_UI_13PT
Ascent=14, descent=4, height=18, dbuX=8, dbuY=14, 13dluY=22.75px. |
static Font |
SEGOE_UI_15PT
Ascent=16, descent=5, height=21, dbuX=9, dbuY=16, 13dluY=26px. |
static String |
SEGOE_UI_NAME
The name of the default dialog font on western Windows Vista. |
static Font |
TAHOMA_11PT
This is the default font on western XP with 96dpi and normal fonts. |
static Font |
TAHOMA_13PT
Ascent=13, descent=3, height=16, dbuX=8, dbuY=13, 14dluY=22.75px. |
static Font |
TAHOMA_14PT
Ascent=14, descent=3, height=17, dbuX=8, dbuY=14, 14dluY=24.5px. |
static String |
TAHOMA_NAME
The name of the default dialog font on western Windows XP. |
static Font |
WINDOWS_VISTA_120DPI_NORMAL
The default icon font on western Windows Vista with 120dp and the dialog font desktop setting "Normal". |
static Font |
WINDOWS_VISTA_96DPI_LARGE
The default icon font on western Windows Vista with 96dp and the dialog font desktop setting "Large". |
static Font |
WINDOWS_VISTA_96DPI_NORMAL
The default icon font on western Windows Vista with 96dp and the dialog font desktop setting "Normal". |
static Font |
WINDOWS_XP_120DPI_DEFAULT_GUI
The default GUI font on western Windows XP with 120dp and the dialog font desktop setting "Normal". |
static Font |
WINDOWS_XP_120DPI_NORMAL
The default icon font on western Windows XP with 120dp and the dialog font desktop setting "Normal". |
static Font |
WINDOWS_XP_96DPI_DEFAULT_GUI
The default GUI font on western Windows XP with 96dp and the dialog font desktop setting "Normal". |
static Font |
WINDOWS_XP_96DPI_LARGE
The default icon font on western Windows XP with 96dp and the dialog font desktop setting "Large". |
static Font |
WINDOWS_XP_96DPI_NORMAL
The default icon font on western Windows XP with 96dp and the dialog font desktop setting "Normal". |
| Method Summary | |
|---|---|
static Boolean |
canDisplayLocalizedText(Font font,
Locale locale)
Checks and answers whether the given font can display tex that is localized for the specified locale. |
static Font |
getWindowsControlFont()
Looks up and returns the Windows control font. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String TAHOMA_NAME
public static final String SEGOE_UI_NAME
public static final Font TAHOMA_11PT
public static final Font TAHOMA_13PT
public static final Font TAHOMA_14PT
public static final Font SEGOE_UI_12PT
public static final Font SEGOE_UI_13PT
public static final Font SEGOE_UI_15PT
public static final Font WINDOWS_XP_96DPI_NORMAL
public static final Font WINDOWS_XP_96DPI_DEFAULT_GUI
public static final Font WINDOWS_XP_96DPI_LARGE
public static final Font WINDOWS_XP_120DPI_NORMAL
public static final Font WINDOWS_XP_120DPI_DEFAULT_GUI
public static final Font WINDOWS_VISTA_96DPI_NORMAL
public static final Font WINDOWS_VISTA_96DPI_LARGE
public static final Font WINDOWS_VISTA_120DPI_NORMAL
| Method Detail |
|---|
public static Font getWindowsControlFont()
UnsupportedOperationException - on non-Windows platforms
public static Boolean canDisplayLocalizedText(Font font,
Locale locale)
null if we can't test it.null is returned to indicate that we don't kno whether the font can display text in the given locale.
font - the font to be testedlocale - the locale to be used
Boolean.TRUE if the font can display the locale's text
Boolean.FALSE if not
null if we don't know
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||