Module java.desktop
Package javax.swing.plaf.metal

# Class MetalBorders.MenuItemBorder

java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.plaf.metal.MetalBorders.MenuItemBorder

All Implemented Interfaces:
  `Serializable`, `Border`, `UIResource`

Enclosing class:
  `MetalBorders`

public static class MetalBorders.MenuItemBorder extends AbstractBorder implements UIResource
The class represents the border of a `JMenuItem`.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected static Insets`
  `borderInsets`
  The border insets.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MenuItemBorder()`
  Constructs a `MenuItemBorder`.

- ## Method Summary

  ### Methods declared in class javax.swing.border.AbstractBorder

  `getBaseline, getBaselineResizeBehavior, getBorderInsets, getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaque, paintBorder`

  ### Methods declared in class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### borderInsets

    protected static Insets borderInsets
    The border insets.

- ## Constructor Details

  - ### MenuItemBorder

    public MenuItemBorder()
    Constructs a `MenuItemBorder`.