Class WindowsDecorationsProvider

java.lang.Object
com.github.weisj.darklaf.platform.windows.WindowsDecorationsProvider
All Implemented Interfaces:
com.github.weisj.darklaf.platform.decorations.DecorationsProvider

public class WindowsDecorationsProvider extends Object implements com.github.weisj.darklaf.platform.decorations.DecorationsProvider
  • Constructor Details

    • WindowsDecorationsProvider

      public WindowsDecorationsProvider() throws com.github.weisj.darklaf.platform.decorations.UnsupportedProviderException
      Throws:
      com.github.weisj.darklaf.platform.decorations.UnsupportedProviderException
  • Method Details

    • createTitlePane

      public com.github.weisj.darklaf.platform.decorations.CustomTitlePane createTitlePane(JRootPane rootPane, int decorationStyle, Window window)
      Specified by:
      createTitlePane in interface com.github.weisj.darklaf.platform.decorations.DecorationsProvider
    • isCustomDecorationSupported

      public boolean isCustomDecorationSupported()
      Specified by:
      isCustomDecorationSupported in interface com.github.weisj.darklaf.platform.decorations.DecorationsProvider
    • initialize

      public void initialize()
      Specified by:
      initialize in interface com.github.weisj.darklaf.platform.decorations.DecorationsProvider
    • installPopupWindow

      public void installPopupWindow(Window window)
      Specified by:
      installPopupWindow in interface com.github.weisj.darklaf.platform.decorations.DecorationsProvider
    • uninstallPopupWindow

      public void uninstallPopupWindow(Window window)
      Specified by:
      uninstallPopupWindow in interface com.github.weisj.darklaf.platform.decorations.DecorationsProvider
    • adjustContentArea

      public void adjustContentArea(JRootPane root, Rectangle rect)
      Specified by:
      adjustContentArea in interface com.github.weisj.darklaf.platform.decorations.DecorationsProvider
    • adjustWindowInsets

      public void adjustWindowInsets(Window window, Insets i)
      Specified by:
      adjustWindowInsets in interface com.github.weisj.darklaf.platform.decorations.DecorationsProvider
    • loadDecorationProperties

      public void loadDecorationProperties(Properties properties, UIDefaults currentDefaults)
      Specified by:
      loadDecorationProperties in interface com.github.weisj.darklaf.platform.decorations.DecorationsProvider