Class DefaultTitlePaneButtonsProvider.DefaultIconifyButtonProvider
- java.lang.Object
-
- org.pushingpixels.radiance.theming.api.titlepane.DefaultTitlePaneButtonsProvider.DefaultIconifyButtonProvider
-
- All Implemented Interfaces:
TitlePaneButtonProvider
- Enclosing class:
- DefaultTitlePaneButtonsProvider
public static class DefaultTitlePaneButtonsProvider.DefaultIconifyButtonProvider extends java.lang.Object implements TitlePaneButtonProvider
-
-
Constructor Summary
Constructors Constructor Description DefaultIconifyButtonProvider()
-
Method Summary
All Methods Instance Methods Concrete 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
public java.lang.String getText(javax.swing.JRootPane rootPane)
Description copied from interface:TitlePaneButtonProvider
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.- Specified by:
getText
in interfaceTitlePaneButtonProvider
-
drawIcon
public void drawIcon(java.awt.Graphics2D g, RadianceColorScheme scheme, float alpha, int iconSize)
Description copied from interface:TitlePaneButtonProvider
Draws the icon for this button.- Specified by:
drawIcon
in interfaceTitlePaneButtonProvider
-
-