javax.swing.plaf.metal
public static class MetalBorders.RolloverButtonBorder extends MetalBorders.ButtonBorder
borderInsets
Constructor and Description |
---|
MetalBorders.RolloverButtonBorder()
Creates a new border instance.
|
Modifier and Type | Method and Description |
---|---|
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
getBorderInsets, getBorderInsets
getInteriorRectangle, getInteriorRectangle, isBorderOpaque
public MetalBorders.RolloverButtonBorder()
public void paintBorder(Component c, Graphics g, int x, int y, int w, int h)
paintBorder
in interface Border
paintBorder
in class MetalBorders.ButtonBorder
c
- the component.g
- the graphics device.x
- the x-coordinate.y
- the y-coordinate.w
- the width.h
- the height.