Module is.codion.swing.common.ui
Package is.codion.swing.common.ui.icon
Interface FontImageIcon.Builder
- Enclosing interface:
- FontImageIcon
public static interface FontImageIcon.Builder
A builder for a FontImageIcon.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
iconPainter
(FontImageIcon.IconPainter iconPainter) imageIconFactory
(FontImageIcon.ImageIconFactory imageIconFactory) size
(int size)
-
Method Details
-
size
- Parameters:
size
- the font size- Returns:
- this builder
-
color
- Parameters:
color
- the font color- Returns:
- this builder
-
iconPainter
- Parameters:
iconPainter
- the font painter- Returns:
- this builder
-
imageIconFactory
- Parameters:
imageIconFactory
- the icon factory- Returns:
- this builder
-
build
FontImageIcon build()- Returns:
- a new font imge icon
-