Java Platform 1.2

javax.swing.plaf.basic
Class BasicBorders.SplitPaneBorder

java.lang.Object
  |
  +--javax.swing.plaf.basic.BasicBorders.SplitPaneBorder

public static class BasicBorders.SplitPaneBorder
extends Object
implements Border, UIResource

This border draws the borders around both of the contained components in the the splitter. It is a very odd border.


Field Summary
protected  Color highlight
           
protected  Color shadow
           
 
Constructor Summary
BasicBorders.SplitPaneBorder(Color highlight, Color shadow)
           
 
Method Summary
 Insets getBorderInsets(Component c)
           
 boolean isBorderOpaque()
           
 void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

highlight

protected Color highlight

shadow

protected Color shadow
Constructor Detail

BasicBorders.SplitPaneBorder

public BasicBorders.SplitPaneBorder(Color highlight,
                                    Color shadow)
Method Detail

paintBorder

public void paintBorder(Component c,
                        Graphics g,
                        int x,
                        int y,
                        int width,
                        int height)
Specified by:
paintBorder in interface Border

getBorderInsets

public Insets getBorderInsets(Component c)
Specified by:
getBorderInsets in interface Border

isBorderOpaque

public boolean isBorderOpaque()
Specified by:
isBorderOpaque in interface Border

Java Platform 1.2

Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.