Package ca.phon.ui.fonts
Class FontPreferences
java.lang.Object
ca.phon.ui.fonts.FontPreferences
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Deprecated.static final String
Deprecated.static final Float
static final Integer
static final String
static final String
Deprecated.static final String
Deprecated.static final String
static final String
Deprecated.static final String
static final String
static final String
Deprecated.static final String
Deprecated.static final String
Font size increasestatic final float
static final String
Deprecated.static final String
Deprecated.static final float
static final String
Monospace fontstatic final String
Deprecated.static final String[]
static final String[]
static final String
Sans-serif Tier fontstatic final String
Title fontstatic final String
Deprecated.static final String
Deprecated. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Font
Deprecated.static float
static Integer
static Font
Deprecated.static Font
Deprecated.static Font
static Font
Deprecated.static Font
static Font
static Font
Font used as default font for applicationstatic Font
Deprecated.static Font
Deprecated.static void
registerFont
(String filename, Font font) static void
resetAll()
Reset all font preferencesstatic void
setControlFont
(Font font) Deprecated.static void
setDefaultFontSize
(float fontSize) static void
static void
setMenuFont
(Font font) Deprecated.static void
setMessageDialogFont
(Font font) Deprecated.static void
setMonospaceFont
(Font font) static void
setSmallFont
(Font font) Deprecated.static void
setTierFont
(Font font) static void
setTitleFont
(Font font) static void
setUIIpaFont
(Font font) Deprecated.static void
setWindowTitleFont
(Font font) Deprecated.
-
Field Details
-
SUGGESTED_IPA_FONT_NAMES
-
SUGGESTED_MONOSPACE_FONT_NAMES
-
MIN_FONT_SIZE
public static final float MIN_FONT_SIZE- See Also:
-
MAX_FONT_SIZE
public static final float MAX_FONT_SIZE- See Also:
-
DEFAULT_FONT_SIZE
-
DEFAULT_FONT_SIZE_PROP
-
TIER_FONT
Sans-serif Tier font -
DEFAULT_TIER_FONT
- See Also:
-
TITLE_FONT
Title font -
DEFAULT_TITLE_FONT
- See Also:
-
MONOSPACE_FONT
Monospace font -
DEFAULT_MONOSPACE_FONT
- See Also:
-
FONT_SIZE_INCREASE
Font size increase -
DEFAULT_FONT_SIZE_INCREASE
-
UI_IPA_FONT
Deprecated.UI-IPA font -
DEFAULT_UI_IPA_FONT
Deprecated.- See Also:
-
CONTROL_FONT
Deprecated.Control font - used for all dialog controls -
DEFAULT_CONTROL_FONT
Deprecated.- See Also:
-
MENU_FONT
Deprecated.Menu font -
DEFAULT_MENU_FONT
Deprecated.- See Also:
-
MESSAGE_DIALOG_FONT
Deprecated.Message dialog font -
DEFAULT_MESSAGE_DIALOG_FONT
Deprecated.- See Also:
-
SMALL_FONT
Deprecated.Small font - used for tool tips -
DEFAULT_SMALL_FONT
Deprecated.- See Also:
-
WINDOW_TITLE_FONT
Deprecated.Window title font -
DEFAULT_WINDOW_TITLE_FONT
Deprecated.- See Also:
-
-
Constructor Details
-
FontPreferences
public FontPreferences()
-
-
Method Details
-
getDefaultFontSize
public static float getDefaultFontSize() -
setDefaultFontSize
public static void setDefaultFontSize(float fontSize) -
resetAll
public static void resetAll()Reset all font preferences -
registerFont
-
getUIFont
Font used as default font for application -
getTierFont
-
setTierFont
-
getTitleFont
-
setTitleFont
-
getMonospaceFont
-
setMonospaceFont
-
getFontSizeIncrease
-
setFontSizeIncrease
-
getUIIpaFont
Deprecated. -
setUIIpaFont
Deprecated. -
getControlFont
Deprecated. -
setControlFont
Deprecated. -
getMenuFont
Deprecated. -
setMenuFont
Deprecated. -
getMessageDialogFont
Deprecated. -
setMessageDialogFont
Deprecated. -
getSmallFont
Deprecated. -
setSmallFont
Deprecated. -
getWindowTitleFont
Deprecated. -
setWindowTitleFont
Deprecated.
-