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.FlatEmptyBorder
-
- com.formdev.flatlaf.ui.FlatRootPaneUI.FlatWindowBorder
-
- All Implemented Interfaces:
java.io.Serializable,javax.swing.border.Border,javax.swing.plaf.UIResource
- Enclosing class:
- FlatRootPaneUI
public static class FlatRootPaneUI.FlatWindowBorder extends FlatEmptyBorder
Window border used for non-native window decorations.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.awt.ColoractiveBorderColorprotected java.awt.ColorbaseBorderColorprotected java.awt.ColorinactiveBorderColor
-
Constructor Summary
Constructors Constructor Description FlatWindowBorder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.InsetsgetBorderInsets(java.awt.Component c, java.awt.Insets insets)protected booleanisWindowMaximized(java.awt.Component c)voidpaintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)private voidpaintImpl(java.awt.Graphics2D g, int x, int y, int width, int height, double scaleFactor)-
Methods inherited from class com.formdev.flatlaf.ui.FlatEmptyBorder
applyStyleProperty, getBorderInsets, getStyleableValue, getUnscaledBorderInsets, scaleInsets
-
-
-
-
Method Detail
-
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component c, java.awt.Insets insets)- Overrides:
getBorderInsetsin classFlatEmptyBorder
-
paintBorder
public void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)- Specified by:
paintBorderin interfacejavax.swing.border.Border- Overrides:
paintBorderin classjavax.swing.border.EmptyBorder
-
paintImpl
private void paintImpl(java.awt.Graphics2D g, int x, int y, int width, int height, double scaleFactor)
-
isWindowMaximized
protected boolean isWindowMaximized(java.awt.Component c)
-
-