javax.swing.plaf.metal
public static class MetalBorders.PaletteBorder extends AbstractBorder implements UIResource
Since: 1.3
| Constructor Summary | |
|---|---|
| PaletteBorder()
Creates a new PaletteBorder. | |
| Method Summary | |
|---|---|
| Insets | getBorderInsets(Component c)
Returns the border insets.
|
| Insets | getBorderInsets(Component c, Insets newInsets)
Returns the border insets.
|
| void | paintBorder(Component c, Graphics g, int x, int y, int w, int h)
Paints the border for the specified component.
|
PaletteBorder.Parameters: c the component (ignored).
Returns: The border insets.
Parameters: c the component (ignored). newInsets an existing insets instance, that will be populated
with the border insets and returned as the result
(null not permitted).
Returns: The newInsets reference.
Parameters: c the component (ignored). g the graphics device. x the x-coordinate. y the y-coordinate. w the width. h the height.