Class FontPreferences

java.lang.Object
ca.phon.ui.fonts.FontPreferences

public class FontPreferences extends Object
  • Field Details

    • SUGGESTED_IPA_FONT_NAMES

      public static final String[] SUGGESTED_IPA_FONT_NAMES
    • SUGGESTED_MONOSPACE_FONT_NAMES

      public static final String[] 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

      public static final Float DEFAULT_FONT_SIZE
    • DEFAULT_FONT_SIZE_PROP

      public static final String DEFAULT_FONT_SIZE_PROP
    • TIER_FONT

      public static final String TIER_FONT
      Sans-serif Tier font
    • DEFAULT_TIER_FONT

      public static final String DEFAULT_TIER_FONT
      See Also:
    • TITLE_FONT

      public static final String TITLE_FONT
      Title font
    • DEFAULT_TITLE_FONT

      public static final String DEFAULT_TITLE_FONT
      See Also:
    • MONOSPACE_FONT

      public static final String MONOSPACE_FONT
      Monospace font
    • DEFAULT_MONOSPACE_FONT

      public static final String DEFAULT_MONOSPACE_FONT
      See Also:
    • FONT_SIZE_INCREASE

      public static final String FONT_SIZE_INCREASE
      Font size increase
    • DEFAULT_FONT_SIZE_INCREASE

      public static final Integer DEFAULT_FONT_SIZE_INCREASE
    • UI_IPA_FONT

      @Deprecated public static final String UI_IPA_FONT
      Deprecated.
      UI-IPA font
    • DEFAULT_UI_IPA_FONT

      @Deprecated public static final String DEFAULT_UI_IPA_FONT
      Deprecated.
      See Also:
    • CONTROL_FONT

      @Deprecated public static final String CONTROL_FONT
      Deprecated.
      Control font - used for all dialog controls
    • DEFAULT_CONTROL_FONT

      @Deprecated public static final String DEFAULT_CONTROL_FONT
      Deprecated.
      See Also:
    • DEFAULT_MENU_FONT

      @Deprecated public static final String DEFAULT_MENU_FONT
      Deprecated.
      See Also:
    • MESSAGE_DIALOG_FONT

      @Deprecated public static final String MESSAGE_DIALOG_FONT
      Deprecated.
      Message dialog font
    • DEFAULT_MESSAGE_DIALOG_FONT

      @Deprecated public static final String DEFAULT_MESSAGE_DIALOG_FONT
      Deprecated.
      See Also:
    • SMALL_FONT

      @Deprecated public static final String SMALL_FONT
      Deprecated.
      Small font - used for tool tips
    • DEFAULT_SMALL_FONT

      @Deprecated public static final String DEFAULT_SMALL_FONT
      Deprecated.
      See Also:
    • WINDOW_TITLE_FONT

      @Deprecated public static final String WINDOW_TITLE_FONT
      Deprecated.
      Window title font
    • DEFAULT_WINDOW_TITLE_FONT

      @Deprecated public static final String 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

      public static void registerFont(String filename, Font font)
    • getUIFont

      public static Font getUIFont()
      Font used as default font for application
    • getTierFont

      public static Font getTierFont()
    • setTierFont

      public static void setTierFont(Font font)
    • getTitleFont

      public static Font getTitleFont()
    • setTitleFont

      public static void setTitleFont(Font font)
    • getMonospaceFont

      public static Font getMonospaceFont()
    • setMonospaceFont

      public static void setMonospaceFont(Font font)
    • getFontSizeIncrease

      public static Integer getFontSizeIncrease()
    • setFontSizeIncrease

      public static void setFontSizeIncrease(Integer v)
    • getUIIpaFont

      @Deprecated public static Font getUIIpaFont()
      Deprecated.
    • setUIIpaFont

      @Deprecated public static void setUIIpaFont(Font font)
      Deprecated.
    • getControlFont

      @Deprecated public static Font getControlFont()
      Deprecated.
    • setControlFont

      @Deprecated public static void setControlFont(Font font)
      Deprecated.
    • getMenuFont

      @Deprecated public static Font getMenuFont()
      Deprecated.
    • setMenuFont

      @Deprecated public static void setMenuFont(Font font)
      Deprecated.
    • getMessageDialogFont

      @Deprecated public static Font getMessageDialogFont()
      Deprecated.
    • setMessageDialogFont

      @Deprecated public static void setMessageDialogFont(Font font)
      Deprecated.
    • getSmallFont

      @Deprecated public static Font getSmallFont()
      Deprecated.
    • setSmallFont

      @Deprecated public static void setSmallFont(Font font)
      Deprecated.
    • getWindowTitleFont

      @Deprecated public static Font getWindowTitleFont()
      Deprecated.
    • setWindowTitleFont

      @Deprecated public static void setWindowTitleFont(Font font)
      Deprecated.