javax.swing.plaf.metal
public static class MetalBorders.ToolBarBorder extends AbstractBorder implements UIResource, SwingConstants
Constructor Summary | |
---|---|
ToolBarBorder()
Creates a new border instance. |
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.
|
Parameters: c the component (ignored).
Returns: The border insets.
Parameters: c the component (ignored).
Returns: The border insets.
Parameters: c the component. g the graphics device. x the x-coordinate. y the y-coordinate. w the width. h the height.