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 Color
activeBorderColor
protected Color
baseBorderColor
protected Color
inactiveBorderColor
-
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 Insets
getBorderInsets(Component c, Insets insets)
protected boolean
isWindowMaximized(Component c)
void
paintBorder(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:
getBorderInsets
in classEmptyBorder
-
paintBorder
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
- Specified by:
paintBorder
in interfaceBorder
- Overrides:
paintBorder
in classEmptyBorder
-
isWindowMaximized
protected boolean isWindowMaximized(Component c)
-
-