Class RadianceTitlePane

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
org.pushingpixels.radiance.theming.internal.utils.RadianceTitlePane
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable
Direct Known Subclasses:
RadianceRibbonFrameTitlePane

public class RadianceTitlePane extends JComponent
Title pane for Radiance look and feel.
Author:
Kirill Grouchnikov
See Also:
  • Field Details

    • window

      protected Window window
      Window we're currently in.
    • rootPane

      protected JRootPane rootPane
      JRootPane rendering for.
  • Constructor Details

    • RadianceTitlePane

      public RadianceTitlePane(JRootPane root, RadianceRootPaneUI ui)
      Creates a new title pane.
      Parameters:
      root - Root pane.
      ui - Root pane UI.
  • Method Details

    • uninstall

      public void uninstall()
      Uninstalls the necessary state.
    • getRootPane

      public JRootPane getRootPane()
      Returns the JRootPane this was created for.
      Overrides:
      getRootPane in class JComponent
    • addNotify

      public void addNotify()
      Overrides:
      addNotify in class JComponent
    • removeNotify

      public void removeNotify()
      Overrides:
      removeNotify in class JComponent
    • createLayout

      protected LayoutManager createLayout()
      Returns the LayoutManager that should be installed on the RadianceTitlePane.
      Returns:
      Layout manager.
    • paintComponent

      public void paintComponent(Graphics g)
      Overrides:
      paintComponent in class JComponent
    • getCloseButton

      public AbstractButton getCloseButton()
    • setControlOnlyMode

      public void setControlOnlyMode()
    • setPreferredHeight

      public void setPreferredHeight(int preferredHeight)
    • createControlButton

      public JButton createControlButton()
    • getControlInsets

      public Insets getControlInsets()