Package org.gnome.gtk
Interface FontChooser.Builder<B extends Builder<B>>
- All Superinterfaces:
BuilderInterface
- All Known Implementing Classes:
FontButton.Builder
,FontChooserDialog.Builder
,FontChooserWidget.Builder
- Enclosing interface:
FontChooser
-
Method Summary
Modifier and TypeMethodDescriptiondefault B
Deprecated.default B
setFontDesc
(FontDescription fontDesc) Deprecated.UseFontDialog
andFontDialogButton
insteaddefault B
setLanguage
(String language) Deprecated.UseFontDialog
andFontDialogButton
insteaddefault B
setLevel
(Set<FontChooserLevel> level) Deprecated.UseFontDialog
andFontDialogButton
insteaddefault B
setLevel
(FontChooserLevel... level) Deprecated.UseFontDialog
andFontDialogButton
insteaddefault B
setPreviewText
(String previewText) Deprecated.UseFontDialog
andFontDialogButton
insteaddefault B
setShowPreviewEntry
(boolean showPreviewEntry) Deprecated.UseFontDialog
andFontDialogButton
insteadMethods inherited from interface org.javagi.gobject.BuilderInterface
addBuilderProperty, connect, connect, getArena
-
Method Details
-
setFont
Deprecated.UseFontDialog
andFontDialogButton
insteadThe font description as a string, e.g. "Sans Italic 12".- Parameters:
font
- the value for thefont
property- Returns:
- the
Builder
instance is returned, to allow method chaining
-
setFontDesc
Deprecated.UseFontDialog
andFontDialogButton
insteadThe font description as aPangoFontDescription
.- Parameters:
fontDesc
- the value for thefont-desc
property- Returns:
- the
Builder
instance is returned, to allow method chaining
-
setLanguage
Deprecated.UseFontDialog
andFontDialogButton
insteadThe language for which the font features were selected.- Parameters:
language
- the value for thelanguage
property- Returns:
- the
Builder
instance is returned, to allow method chaining
-
setLevel
Deprecated.UseFontDialog
andFontDialogButton
insteadThe level of granularity to offer for selecting fonts.- Parameters:
level
- the value for thelevel
property- Returns:
- the
Builder
instance is returned, to allow method chaining
-
setPreviewText
Deprecated.UseFontDialog
andFontDialogButton
insteadThe string with which to preview the font.- Parameters:
previewText
- the value for thepreview-text
property- Returns:
- the
Builder
instance is returned, to allow method chaining
-
setShowPreviewEntry
Deprecated.UseFontDialog
andFontDialogButton
insteadWhether to show an entry to change the preview text.- Parameters:
showPreviewEntry
- the value for theshow-preview-entry
property- Returns:
- the
Builder
instance is returned, to allow method chaining
-
setLevel
Deprecated.UseFontDialog
andFontDialogButton
insteadThe level of granularity to offer for selecting fonts.- Parameters:
level
- the value for thelevel
property- Returns:
- the
Builder
instance is returned, to allow method chaining
-
FontDialog
andFontDialogButton
instead