Package com.formdev.flatlaf.ui
Class FlatRootPaneUI.FlatWindowTitleBorder
java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.border.EmptyBorder
javax.swing.plaf.BorderUIResource.EmptyBorderUIResource
com.formdev.flatlaf.ui.FlatRootPaneUI.FlatWindowTitleBorder
- All Implemented Interfaces:
Serializable
,Border
,UIResource
- Enclosing class:
FlatRootPaneUI
private static class FlatRootPaneUI.FlatWindowTitleBorder
extends BorderUIResource.EmptyBorderUIResource
-
Field Summary
FieldsFields inherited from class javax.swing.border.EmptyBorder
bottom, left, right, top
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBorderInsets
(Component c, Insets insets) void
paintBorder
(Component c, Graphics g, int x, int y, int width, int height) private boolean
Methods inherited from class javax.swing.border.EmptyBorder
getBorderInsets, isBorderOpaque
Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
-
Field Details
-
borderColor
-
-
Constructor Details
-
FlatWindowTitleBorder
FlatWindowTitleBorder(Color borderColor)
-
-
Method Details
-
paintBorder
- Specified by:
paintBorder
in interfaceBorder
- Overrides:
paintBorder
in classEmptyBorder
-
getBorderInsets
- Overrides:
getBorderInsets
in classEmptyBorder
-
showBorder
-