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.StyleableObject, Serializable, Border, UIResource
public class FlatMenuBarBorder
extends FlatMarginBorder
implements FlatStylingSupport.StyleableObject
Border for
JMenuBar.- See Also:
- UiDefault:
- MenuBar.borderColor Color
-
Field Summary
FieldsFields inherited from class FlatMarginBorder
bottom, left, right, top -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBorderInsets(Component c, Insets insets) voidpaintBorder(Component c, Graphics g, int x, int y, int width, int height) protected booleanMethods inherited from class AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaqueMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface FlatStylingSupport.StyleableObject
applyStyleProperty, getStyleableInfos, getStyleableValue
-
Field Details
-
borderColor
-
-
Constructor Details
-
FlatMenuBarBorder
public FlatMenuBarBorder()
-
-
Method Details
-
paintBorder
- Specified by:
paintBorderin interfaceBorder- Overrides:
paintBorderin classAbstractBorder
-
getBorderInsets
- Overrides:
getBorderInsetsin classFlatMarginBorder
-
showBottomSeparator
- Since:
- 2
-