Package com.jgoodies.looks.plastic
Class PlasticBorders.MenuBarHeaderBorder
java.lang.Object
javax.swing.border.AbstractBorder
com.jgoodies.looks.plastic.PlasticBorders.MenuBarHeaderBorder
- All Implemented Interfaces:
Serializable
,Border
,UIResource
- Enclosing class:
PlasticBorders
private static final class PlasticBorders.MenuBarHeaderBorder
extends AbstractBorder
implements UIResource
A border used for menu bars in
HeaderStyle.BOTH
.
The menu bar and tool bar are wrapped by a thin raised border,
both together are wrapped by a thin lowered border.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
paintBorder
(Component c, Graphics g, int x, int y, int w, int h) Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaque
-
Field Details
-
INSETS
-
-
Constructor Details
-
MenuBarHeaderBorder
private MenuBarHeaderBorder()
-
-
Method Details
-
paintBorder
- Specified by:
paintBorder
in interfaceBorder
- Overrides:
paintBorder
in classAbstractBorder
-
getBorderInsets
- Specified by:
getBorderInsets
in interfaceBorder
- Overrides:
getBorderInsets
in classAbstractBorder
-