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:
Serializable,Border,UIResource
public class FlatMenuBarBorder extends FlatMarginBorder
Border forJMenuBar.- See Also:
- Serialized Form
- UiDefault:
- MenuBar.borderColor Color
-
-
Constructor Summary
Constructors Constructor Description FlatMenuBarBorder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InsetsgetBorderInsets(Component c, Insets insets)voidpaintBorder(Component c, Graphics g, int x, int y, int width, int height)-
Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaque
-
-
-
-
Method Detail
-
paintBorder
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
- Specified by:
paintBorderin interfaceBorder- Overrides:
paintBorderin classAbstractBorder
-
getBorderInsets
public Insets getBorderInsets(Component c, Insets insets)
- Overrides:
getBorderInsetsin classFlatMarginBorder
-
-