Interface TitlePaneButtonProvider
-
- All Known Implementing Classes:
DefaultTitlePaneButtonsProvider.DefaultCloseButtonProvider
,DefaultTitlePaneButtonsProvider.DefaultIconifyButtonProvider
,DefaultTitlePaneButtonsProvider.DefaultMaximizeButtonProvider
,DefaultTitlePaneButtonsProvider.DefaultRestoreButtonProvider
public interface TitlePaneButtonProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
drawIcon(java.awt.Graphics2D g, RadianceColorScheme scheme, float alpha, int iconSize)
Draws the icon for this button.java.lang.String
getText(javax.swing.JRootPane rootPane)
Returns the text associated with this button.
-
-
-
Method Detail
-
getText
java.lang.String getText(javax.swing.JRootPane rootPane)
Returns the text associated with this button. This is used as the button tooltip, as well as the menu item text in the menu displayed when the user clicks on the application icon in the title pane.
-
drawIcon
void drawIcon(java.awt.Graphics2D g, RadianceColorScheme scheme, float alpha, int iconSize)
Draws the icon for this button.
-
-