Class DefaultTitlePaneButtonsProvider.DefaultMaximizeButtonProvider
java.lang.Object
org.pushingpixels.radiance.theming.api.titlepane.DefaultTitlePaneButtonsProvider.DefaultMaximizeButtonProvider
- All Implemented Interfaces:
TitlePaneButtonProvider
- Enclosing class:
DefaultTitlePaneButtonsProvider
public static class DefaultTitlePaneButtonsProvider.DefaultMaximizeButtonProvider
extends Object
implements TitlePaneButtonProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
drawIcon
(Graphics2D g, RadianceColorScheme scheme, float alpha, int iconSize) Draws the icon for this button.Returns the text associated with this button.
-
Constructor Details
-
DefaultMaximizeButtonProvider
public DefaultMaximizeButtonProvider()
-
-
Method Details
-
getText
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
Description copied from interface:TitlePaneButtonProvider
Draws the icon for this button.- Specified by:
drawIcon
in interfaceTitlePaneButtonProvider
-