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 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) voidpaintBorder(Component c, Graphics g, int x, int y, int width, int height) protected booleanMethods inherited from class AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaque
-
Field Details
-
borderColor
-
-
Constructor Details
-
FlatMenuBarBorder
public FlatMenuBarBorder()
-
-
Method Details
-
applyStyleProperty
- Specified by:
applyStylePropertyin interfaceFlatStylingSupport.StyleableBorder- Since:
- 2
-
getStyleableInfos
- Specified by:
getStyleableInfosin interfaceFlatStylingSupport.StyleableBorder
-
getStyleableValue
- Specified by:
getStyleableValuein interfaceFlatStylingSupport.StyleableBorder- Since:
- 2.5
-
paintBorder
- Specified by:
paintBorderin interfaceBorder- Overrides:
paintBorderin classAbstractBorder
-
getBorderInsets
- Overrides:
getBorderInsetsin classFlatMarginBorder
-
showBottomSeparator
- Since:
- 2
-