public static class BasicBorders.MenuBarBorder extends AbstractBorderimplements UIResource
| Constructor and Description |
|---|
MenuBarBorder(Color
|
| Modifier and Type | Method and Description |
|---|---|
Insets |
getBorderInsets(Component
Reinitializes the insets parameter with this Border's current Insets.
|
void |
paintBorder(Component
This default implementation does no painting.
|
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaquepublic void paintBorder(Componentc, Graphics g, int x, int y, int width, int height)
AbstractBorder
paintBorder in interface
Border
paintBorder in class
AbstractBorder
c - the component for which this border is being painted
g - the paint graphics
x - the x position of the painted border
y - the y position of the painted border
width - the width of the painted border
height - the height of the painted border
public InsetsgetBorderInsets(Component c, Insets insets)
AbstractBorder
getBorderInsets in class
AbstractBorder
c - the component for which this border insets value applies
insets - the object to be reinitialized
insets object