public static class MetalBorders.TextFieldBorder extends MetalBorders.Flush3DBorder implements javax.swing.plaf.UIResource
JTextField component.| Constructor and Description |
|---|
MetalBorders.TextFieldBorder()
Creates a new border instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int w,
int h)
Paints the border for the specified component.
|
getBorderInsets, getBorderInsetspublic MetalBorders.TextFieldBorder()
public void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int w, int h)
paintBorder in interface javax.swing.border.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.