Class WindowsTitlePane

    • Constructor Detail

      • WindowsTitlePane

        public WindowsTitlePane​(JRootPane root,
                                int decorationStyle,
                                Window window)
    • Method Detail

      • uninstall

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

        protected void uninstallDecorations​(boolean removeDecorations)
      • install

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

        public void setDecorationsStyle​(int style)
        Overrides:
        setDecorationsStyle in class com.github.weisj.darklaf.platform.decorations.CustomTitlePane
      • addMenuBar

        protected void addMenuBar​(JMenuBar menuBar)
      • removeMenuBar

        protected void removeMenuBar()
      • createWindowIcon

        protected JButton createWindowIcon()
      • setButtonActive

        protected void setButtonActive​(JButton button,
                                       boolean active)
      • isDrawBorder

        protected boolean isDrawBorder()
      • updateResizeBehaviour

        protected void updateResizeBehaviour()
      • isResizable

        protected boolean isResizable()
      • isLeftToRight

        protected boolean isLeftToRight​(Window window)