public static class MetalBorders.ToggleButtonBorder extends MetalBorders.ButtonBorder
JToggleButton component.borderInsets| Constructor and Description |
|---|
MetalBorders.ToggleButtonBorder()
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 toggle button border.
|
getBorderInsets, getBorderInsetsgetInteriorRectangle, getInteriorRectangle, isBorderOpaquepublic MetalBorders.ToggleButtonBorder()
public void paintBorder(Component c, Graphics g, int x, int y, int w, int h)
paintBorder in interface BorderpaintBorder in class MetalBorders.ButtonBorderc - the component for which we paint the borderg - the Graphics context to usex - the X coordinate of the upper left corner of cy - the Y coordinate of the upper left corner of cw - the width of ch - the height of c