Class MacOSTitlePane

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

public class MacOSTitlePane extends com.github.weisj.darklaf.platform.CustomTitlePane
See Also:
  • 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.CustomTitlePane
    • uninstall

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

      public long windowHandle()
    • 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
    • contains

      public boolean contains(int x, int y)
      Overrides:
      contains in class JComponent
    • doLayout

      public void doLayout()
      Overrides:
      doLayout in class Container