Class SunFontAccessorImpl

java.lang.Object
org.fernice.reflare.internal.impl.SunFontAccessorImpl
All Implemented Interfaces:
org.fernice.reflare.internal.SunFontHelper.SunFontAccessor

public class SunFontAccessorImpl extends Object implements org.fernice.reflare.internal.SunFontHelper.SunFontAccessor
  • Constructor Details

    • SunFontAccessorImpl

      public SunFontAccessorImpl()
  • Method Details

    • findFont

      @Nullable public @Nullable Font findFont(@NotNull @NotNull String family, int weight, boolean italic)
      Specified by:
      findFont in interface org.fernice.reflare.internal.SunFontHelper.SunFontAccessor
    • registerFontExtension

      public boolean registerFontExtension(@NotNull @NotNull Font font, boolean override)
      Specified by:
      registerFontExtension in interface org.fernice.reflare.internal.SunFontHelper.SunFontAccessor
    • unregisterFontExtension

      public boolean unregisterFontExtension(@NotNull @NotNull Font font)
      Specified by:
      unregisterFontExtension in interface org.fernice.reflare.internal.SunFontHelper.SunFontAccessor
    • refresh

      public void refresh()
      Specified by:
      refresh in interface org.fernice.reflare.internal.SunFontHelper.SunFontAccessor
    • getFontWeight

      public int getFontWeight(@NotNull @NotNull Font font)
      Specified by:
      getFontWeight in interface org.fernice.reflare.internal.SunFontHelper.SunFontAccessor
    • isFontItalic

      public boolean isFontItalic(@NotNull @NotNull Font font)
      Specified by:
      isFontItalic in interface org.fernice.reflare.internal.SunFontHelper.SunFontAccessor