javax.swing.plaf.metal

Class MetalBorders.RolloverButtonBorder

public static class MetalBorders.RolloverButtonBorder extends MetalBorders.ButtonBorder

A button border that is only visible when the mouse pointer is within the button's bounds.
Constructor Summary
RolloverButtonBorder()
Creates a new border instance.
Method Summary
voidpaintBorder(Component c, Graphics g, int x, int y, int w, int h)
Paints the border.

Constructor Detail

RolloverButtonBorder

public RolloverButtonBorder()
Creates a new border instance.

Method Detail

paintBorder

public void paintBorder(Component c, Graphics g, int x, int y, int w, int h)
Paints the border.

Parameters: c the component. g the graphics device. x the x-coordinate. y the y-coordinate. w the width. h the height.