Class WindowsDecorationsProvider
java.lang.Object
com.github.weisj.darklaf.platform.windows.WindowsDecorationsProvider
- All Implemented Interfaces:
com.github.weisj.darklaf.platform.DecorationsProvider
public class WindowsDecorationsProvider
extends Object
implements com.github.weisj.darklaf.platform.DecorationsProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadjustContentArea(JRootPane root, Rectangle rect) com.github.weisj.darklaf.platform.CustomTitlePanecreateTitlePane(JRootPane rootPane, int decorationStyle, Window window) voidvoidinstallPopupWindow(Window window) booleancom.github.weisj.darklaf.platform.TitlePaneLayoutInfotitlePaneLayoutInfo(com.github.weisj.darklaf.platform.CustomTitlePane customTitlePane) voiduninstallPopupWindow(Window window) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.weisj.darklaf.platform.DecorationsProvider
supportsNativeTitleLabel
-
Constructor Details
-
WindowsDecorationsProvider
public WindowsDecorationsProvider() throws com.github.weisj.darklaf.platform.UnsupportedProviderException- Throws:
com.github.weisj.darklaf.platform.UnsupportedProviderException
-
-
Method Details
-
createTitlePane
public com.github.weisj.darklaf.platform.CustomTitlePane createTitlePane(JRootPane rootPane, int decorationStyle, Window window) - Specified by:
createTitlePanein interfacecom.github.weisj.darklaf.platform.DecorationsProvider
-
isCustomDecorationSupported
public boolean isCustomDecorationSupported()- Specified by:
isCustomDecorationSupportedin interfacecom.github.weisj.darklaf.platform.DecorationsProvider
-
initialize
public void initialize()- Specified by:
initializein interfacecom.github.weisj.darklaf.platform.DecorationsProvider
-
installPopupWindow
- Specified by:
installPopupWindowin interfacecom.github.weisj.darklaf.platform.DecorationsProvider
-
uninstallPopupWindow
- Specified by:
uninstallPopupWindowin interfacecom.github.weisj.darklaf.platform.DecorationsProvider
-
adjustContentArea
- Specified by:
adjustContentAreain interfacecom.github.weisj.darklaf.platform.DecorationsProvider
-
titlePaneLayoutInfo
public com.github.weisj.darklaf.platform.TitlePaneLayoutInfo titlePaneLayoutInfo(com.github.weisj.darklaf.platform.CustomTitlePane customTitlePane) - Specified by:
titlePaneLayoutInfoin interfacecom.github.weisj.darklaf.platform.DecorationsProvider
-
getPropertyResourcePaths
- Specified by:
getPropertyResourcePathsin interfacecom.github.weisj.darklaf.platform.DecorationsProvider
-