Package com.formdev.flatlaf.ui
Class FlatMenuBarBorder
java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.plaf.basic.BasicBorders.MarginBorder
com.formdev.flatlaf.ui.FlatMarginBorder
com.formdev.flatlaf.ui.FlatMenuBarBorder
- All Implemented Interfaces:
FlatStylingSupport.StyleableBorder
,Serializable
,Border
,UIResource
public class FlatMenuBarBorder
extends FlatMarginBorder
implements FlatStylingSupport.StyleableBorder
Border for
JMenuBar
.- See Also:
-
Field Summary
FieldsFields inherited from class com.formdev.flatlaf.ui.FlatMarginBorder
bottom, left, right, top
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyStyleProperty
(String key, Object value) getBorderInsets
(Component c, Insets insets) getStyleableValue
(String key) void
paintBorder
(Component c, Graphics g, int x, int y, int width, int height) protected boolean
Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaque
-
Field Details
-
borderColor
-
-
Constructor Details
-
FlatMenuBarBorder
public FlatMenuBarBorder()
-
-
Method Details
-
applyStyleProperty
- Specified by:
applyStyleProperty
in interfaceFlatStylingSupport.StyleableBorder
- Since:
- 2
-
getStyleableInfos
- Specified by:
getStyleableInfos
in interfaceFlatStylingSupport.StyleableBorder
-
getStyleableValue
- Specified by:
getStyleableValue
in interfaceFlatStylingSupport.StyleableBorder
- Since:
- 2.5
-
paintBorder
- Specified by:
paintBorder
in interfaceBorder
- Overrides:
paintBorder
in classAbstractBorder
-
getBorderInsets
- Overrides:
getBorderInsets
in classFlatMarginBorder
-
showBottomSeparator
- Since:
- 2
-