TopBorder Class
- public class TopBorder
extends AbstractBorder
This class provides a border object that paints a one pixel border at the top of an object
-
Hierarchy
-
Object
AbstractBorder
TopBorder
-
All Implemented Interfaces
-
Border
, Serializable
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TopBorder
public TopBorder()
getBorderInsets(Component) Method
public Insets
getBorderInsets(Component
c)
-
Overrides
-
AbstractBorder.getBorderInsets(Component)
getBorderInsets(Component, Insets) Method
public Insets
getBorderInsets(Component
c,
Insets
insets)
-
Overrides
-
AbstractBorder.getBorderInsets(Component, Insets)
paintBorder(Component, Graphics, int, int, int, int) Method
public void paintBorder(Component
c,
Graphics
g,
int x,
int y,
int width,
int height)
Paints a 1 pixel high border along the top of the component. Note that the color is
defined in LookAndFeelConstants.MINI_FRAME_INACTIVE_BORDER
-
Overrides
-
AbstractBorder.paintBorder(Component, Graphics, int, int, int, int)