javax.swing.plaf.metal
public static class MetalBorders.ScrollPaneBorder extends AbstractBorder implements UIResource
| Constructor Summary | |
|---|---|
| ScrollPaneBorder()
Constructs a new ScrollPaneBorder. | |
| Method Summary | |
|---|---|
| Insets | getBorderInsets(Component c)
Returns the insets of the border for the Component c.
|
| void | paintBorder(Component c, Graphics g, int x, int y, int w, int h)
Paints the border.
|
c.
Parameters: c the Component for which we return the border insets
Parameters: c the Component for which the border is painted g the Graphics context x the X coordinate of the upper left corner of the border y the Y coordinate of the upper left corner of the border w the width of the border h the height of the border