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 Object
implements TitlePaneButtonProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddrawIcon(Graphics2D g, ContainerColorTokens colorTokens, float alpha, int iconSize) Draws the icon for this button.Returns the text associated with this button.
-
Constructor Details
-
DefaultIconifyButtonProvider
public DefaultIconifyButtonProvider()
-
-
Method Details
-
getText
Description copied from interface:TitlePaneButtonProviderReturns 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:
getTextin interfaceTitlePaneButtonProvider
-
drawIcon
Description copied from interface:TitlePaneButtonProviderDraws the icon for this button.- Specified by:
drawIconin interfaceTitlePaneButtonProvider
-