public static class MetalBorders.ToolBarBorder extends AbstractBorderimplements UIResource , SwingConstants
| Modifier and Type | Field and Description |
|---|---|
protected javax |
bumps
|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST| Constructor and Description |
|---|
ToolBarBorder()
|
| 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 w, int h)
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
w - the width of the painted border
h - the height of the painted border
public InsetsgetBorderInsets(Component c, Insets newInsets)
AbstractBorder
getBorderInsets in class
AbstractBorder
c - the component for which this border insets value applies
newInsets - the object to be reinitialized
insets object