Class MacOSTitlePane

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
com.github.weisj.darklaf.platform.decorations.CustomTitlePane
com.github.weisj.darklaf.platform.macos.ui.MacOSTitlePane
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable

public class MacOSTitlePane extends com.github.weisj.darklaf.platform.decorations.CustomTitlePane
See Also:
Serialized Form
  • Constructor Details

    • MacOSTitlePane

      public MacOSTitlePane(JRootPane rootPane, Window window)
  • Method Details

    • determineColors

      protected void determineColors()
    • getRootPane

      public JRootPane getRootPane()
      Overrides:
      getRootPane in class JComponent
    • paintComponent

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

      public Window getWindow()
    • install

      public void install()
      Specified by:
      install in class com.github.weisj.darklaf.platform.decorations.CustomTitlePane
    • uninstall

      public void uninstall(boolean removeDecorations)
      Specified by:
      uninstall in class com.github.weisj.darklaf.platform.decorations.CustomTitlePane
    • getMinimumSize

      public Dimension getMinimumSize()
      Overrides:
      getMinimumSize in class JComponent
    • getMaximumSize

      public Dimension getMaximumSize()
      Overrides:
      getMaximumSize in class JComponent
    • getPreferredSize

      public Dimension getPreferredSize()
      Overrides:
      getPreferredSize in class JComponent
    • doLayout

      public void doLayout()
      Overrides:
      doLayout in class Container