Interface TitlePaneButtonProvider

All Known Implementing Classes:
DefaultTitlePaneButtonsProvider.DefaultCloseButtonProvider, DefaultTitlePaneButtonsProvider.DefaultIconifyButtonProvider, DefaultTitlePaneButtonsProvider.DefaultMaximizeButtonProvider, DefaultTitlePaneButtonsProvider.DefaultRestoreButtonProvider

public interface TitlePaneButtonProvider
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    drawIcon(Graphics2D g, RadianceColorScheme scheme, float alpha, int iconSize)
    Draws the icon for this button.
    getText(JRootPane rootPane)
    Returns the text associated with this button.
  • Method Details

    • getText

      String getText(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(Graphics2D g, RadianceColorScheme scheme, float alpha, int iconSize)
      Draws the icon for this button.