public static class MetalBorders.TextFieldBorder extends MetalBorders.Flush3DBorder implements UIResource
JTextField component.| Constructor and Description |
|---|
MetalBorders.TextFieldBorder()
Creates a new border instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border for the specified component.
|
getBorderInsets, getBorderInsetsgetInteriorRectangle, getInteriorRectangle, isBorderOpaquepublic MetalBorders.TextFieldBorder()
public void paintBorder(Component c, Graphics g, int x, int y, int w, int h)
paintBorder in interface BorderpaintBorder in class MetalBorders.Flush3DBorderc - the component (ignored).g - the graphics device.x - the x-coordinate.y - the y-coordinate.w - the width.h - the height.