javax.swing.plaf.metal
public static class MetalBorders.ToggleButtonBorder extends MetalBorders.ButtonBorder
Since: 1.3
| Constructor Summary | |
|---|---|
| ToggleButtonBorder()
Creates a new border instance. | |
| Method Summary | |
|---|---|
| void | paintBorder(Component c, Graphics g, int x, int y, int w, int h)
Paints the toggle button border.
|
Parameters: c the component for which we paint the border g the Graphics context to use x the X coordinate of the upper left corner of c y the Y coordinate of the upper left corner of c w the width of c h the height of c