BottomBorder Class

com.bea.ide.util.swing
BottomBorder Class

public class BottomBorder

    extends AbstractBorder

This class provides a border object that paints a one pixel border at the bottom of an object


Hierarchy
Object
  AbstractBorder
    BottomBorder
All Implemented Interfaces

Border, Serializable

Constructor Summary

BottomBorder()

 

Method Summary

public Insets
getBorderInsets(Component c)
public Insets
getBorderInsets(Component c, Insets insets)
public void
paintBorder(Component c, Graphics g, int x, int y, int width, int height)
Paints a 1 pixel high border along the bottom of the component.
 
Methods from  javax.swing.border.AbstractBorder
getInteriorRectangle, getInteriorRectangle, isBorderOpaque,
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface javax.swing.border.Border
getBorderInsets, isBorderOpaque, paintBorder
 

Constructor Detail

BottomBorder

public BottomBorder()
 

Method Detail

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 bottom of the component. Note that the color is defined in LookAndFeelConstants.MINI_FRAME_INACTIVE_BORDER

Overrides
AbstractBorder.paintBorder(Component, Graphics, int, int, int, int)