javax.swing.plaf.metal
Class MetalBorders.TextFieldBorder
java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.plaf.metal.MetalBorders.Flush3DBorder
javax.swing.plaf.metal.MetalBorders.TextFieldBorder
- All Implemented Interfaces:
- Serializable, Border, UIResource
- Enclosing class:
- MetalBorders
public static class MetalBorders.TextFieldBorder
- extends MetalBorders.Flush3DBorder
- implements UIResource
A border used for the JTextField component.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetalBorders.TextFieldBorder
public MetalBorders.TextFieldBorder()
- Creates a new border instance.
paintBorder
public void paintBorder(Component c,
Graphics g,
int x,
int y,
int w,
int h)
- Paints the border for the specified component.
- Specified by:
paintBorder in interface Border- Overrides:
paintBorder in class MetalBorders.Flush3DBorder
- Parameters:
c - the component (ignored).g - the graphics device.x - the x-coordinate.y - the y-coordinate.w - the width.h - the height.