FileDocCategorySizeDatePackage
UnifiedContentBorder.javaAPI DocAndroid 1.5 API1571Wed May 06 22:41:10 BST 2009com.android.hierarchyviewer.laf

UnifiedContentBorder

public class UnifiedContentBorder extends AbstractBorder

Fields Summary
private static final Color
BORDER_TOP_COLOR1
private static final Color
BORDER_BOTTOM_COLOR1
private static final Color
BORDER_BOTTOM_COLOR2
Constructors Summary
Methods Summary
public java.awt.InsetsgetBorderInsets(java.awt.Component component)

        return new Insets(1, 0, 2, 0);
    
public booleanisBorderOpaque()

        return true;
    
public voidpaintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)


                  
        g.setColor(BORDER_TOP_COLOR1);
        g.drawLine(x, y, x + width, y);
        g.setColor(BORDER_BOTTOM_COLOR1);
        g.drawLine(x, y + height - 2, x + width, y + height - 2);
        g.setColor(BORDER_BOTTOM_COLOR2);
        g.drawLine(x, y + height - 1, x + width, y + height - 1);