Package com.formdev.flatlaf.ui
Class FlatRootPaneUI.FlatWindowBorder
- java.lang.Object
-
- javax.swing.border.AbstractBorder
-
- javax.swing.border.EmptyBorder
-
- javax.swing.plaf.BorderUIResource.EmptyBorderUIResource
-
- com.formdev.flatlaf.ui.FlatRootPaneUI.FlatWindowBorder
-
- All Implemented Interfaces:
Serializable,Border,UIResource
- Enclosing class:
- FlatRootPaneUI
public static class FlatRootPaneUI.FlatWindowBorder extends BorderUIResource.EmptyBorderUIResource
Window border used for non-native window decorations.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ColoractiveBorderColorprotected ColorbaseBorderColorprotected ColorinactiveBorderColor-
Fields inherited from class javax.swing.border.EmptyBorder
bottom, left, right, top
-
-
Constructor Summary
Constructors Constructor Description FlatWindowBorder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InsetsgetBorderInsets(Component c, Insets insets)protected booleanisWindowMaximized(Component c)voidpaintBorder(Component c, Graphics g, int x, int y, int width, int height)-
Methods inherited from class javax.swing.border.EmptyBorder
getBorderInsets, isBorderOpaque
-
Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
-
-
-
-
Method Detail
-
getBorderInsets
public Insets getBorderInsets(Component c, Insets insets)
- Overrides:
getBorderInsetsin classEmptyBorder
-
paintBorder
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
- Specified by:
paintBorderin interfaceBorder- Overrides:
paintBorderin classEmptyBorder
-
isWindowMaximized
protected boolean isWindowMaximized(Component c)
-
-