Interface FontSet
-
public interface FontSetReturns the Fonts used by a Look&Feel or theme. These Fonts must implement the UIResource marker interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.swing.plaf.FontUIResourcegetControlFont()Returns the font used for all dialog components.javax.swing.plaf.FontUIResourcegetMenuFont()Returns the font used for the menu.javax.swing.plaf.FontUIResourcegetMessageFont()Returns the font used for message dialogs.javax.swing.plaf.FontUIResourcegetSmallFont()Returns the font used for tool tips.javax.swing.plaf.FontUIResourcegetTitleFont()Returns the font used for the title label in TitledBorders.javax.swing.plaf.FontUIResourcegetWindowTitleFont()Returns the font used for frame titles.
-
-
-
Method Detail
-
getControlFont
javax.swing.plaf.FontUIResource getControlFont()
Returns the font used for all dialog components.- Returns:
- the font used for all dialog components.
-
getMenuFont
javax.swing.plaf.FontUIResource getMenuFont()
Returns the font used for the menu.- Returns:
- the font used for the menu.
-
getTitleFont
javax.swing.plaf.FontUIResource getTitleFont()
Returns the font used for the title label in TitledBorders. This font is also used by JGoodies Forms titles, and titled separators.- Returns:
- the font used for TitledBorder titles.
-
getWindowTitleFont
javax.swing.plaf.FontUIResource getWindowTitleFont()
Returns the font used for frame titles.- Returns:
- the font used for frame titles.
-
getSmallFont
javax.swing.plaf.FontUIResource getSmallFont()
Returns the font used for tool tips.- Returns:
- the tool tip font.
-
getMessageFont
javax.swing.plaf.FontUIResource getMessageFont()
Returns the font used for message dialogs.- Returns:
- the font used for message dialogs.
-
-