Interface FontChooser.Builder<B extends Builder<B>>

All Superinterfaces:
BuilderInterface
All Known Implementing Classes:
FontButton.Builder, FontChooserDialog.Builder, FontChooserWidget.Builder
Enclosing interface:
FontChooser

public static interface FontChooser.Builder<B extends Builder<B>> extends BuilderInterface
  • Method Details

    • setFont

      @Deprecated default B setFont(String font)
      Deprecated.
      The font description as a string, e.g. "Sans Italic 12".
      Parameters:
      font - the value for the font property
      Returns:
      the Builder instance is returned, to allow method chaining
    • setFontDesc

      @Deprecated default B setFontDesc(FontDescription fontDesc)
      Deprecated.
      The font description as a PangoFontDescription.
      Parameters:
      fontDesc - the value for the font-desc property
      Returns:
      the Builder instance is returned, to allow method chaining
    • setLanguage

      @Deprecated default B setLanguage(String language)
      Deprecated.
      The language for which the font features were selected.
      Parameters:
      language - the value for the language property
      Returns:
      the Builder instance is returned, to allow method chaining
    • setLevel

      @Deprecated default B setLevel(Set<FontChooserLevel> level)
      Deprecated.
      The level of granularity to offer for selecting fonts.
      Parameters:
      level - the value for the level property
      Returns:
      the Builder instance is returned, to allow method chaining
    • setPreviewText

      @Deprecated default B setPreviewText(String previewText)
      Deprecated.
      The string with which to preview the font.
      Parameters:
      previewText - the value for the preview-text property
      Returns:
      the Builder instance is returned, to allow method chaining
    • setShowPreviewEntry

      @Deprecated default B setShowPreviewEntry(boolean showPreviewEntry)
      Deprecated.
      Whether to show an entry to change the preview text.
      Parameters:
      showPreviewEntry - the value for the show-preview-entry property
      Returns:
      the Builder instance is returned, to allow method chaining
    • setLevel

      @Deprecated default B setLevel(FontChooserLevel... level)
      Deprecated.
      The level of granularity to offer for selecting fonts.
      Parameters:
      level - the value for the level property
      Returns:
      the Builder instance is returned, to allow method chaining