javax.swing.plaf.metal

Class MetalBorders.TextFieldBorder

Enclosing Class:
MetalBorders
Implemented Interfaces:
Border, Serializable, UIResource

public static class MetalBorders.TextFieldBorder
extends MetalBorders.Flush3DBorder

See Also:
Serialized Form

Method Summary

void
paintBorder(Component c, Graphics g, int x, int y, int w, int h)
This default implementation does no painting.

Methods inherited from class javax.swing.plaf.metal.MetalBorders.Flush3DBorder

getBorderInsets, getBorderInsets, paintBorder

Methods inherited from class javax.swing.border.AbstractBorder

getBorderInsets, getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaque, paintBorder

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Details

paintBorder

public void paintBorder(Component c,
                        Graphics g,
                        int x,
                        int y,
                        int w,
                        int h)
This default implementation does no painting.
Specified by:
paintBorder in interface Border
Overrides:
paintBorder in interface MetalBorders.Flush3DBorder
Parameters:
c - the component for which this border is being painted
g - the paint graphics
x - the x position of the painted border
y - the y position of the painted border