Java Platform 1.2
Beta 4

Class com.sun.java.swing.plaf.BorderUIResource

java.lang.Object
  |
  +--com.sun.java.swing.plaf.BorderUIResource

public class BorderUIResource
extends Object
implements Border, UIResource, Serializable
See Also:
Serialized Form

Inner Class Summary
static  BorderUIResource.BevelBorderUIResource
           
static  BorderUIResource.CompoundBorderUIResource
           
static  BorderUIResource.EmptyBorderUIResource
           
static  BorderUIResource.EtchedBorderUIResource
           
static  BorderUIResource.LineBorderUIResource
           
static  BorderUIResource.MatteBorderUIResource
           
static  BorderUIResource.TitledBorderUIResource
           
 
Constructor Summary
BorderUIResource(Border delegate)
          Creates a UIResource border object which wraps an existing Border instance.
 
Method Summary
static Border getBlackLineBorderUIResource()
           
 Insets getBorderInsets(Component c)
           
static Border getEtchedBorderUIResource()
           
static Border getLoweredBevelBorderUIResource()
           
static Border getRaisedBevelBorderUIResource()
           
 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
 

Constructor Detail

BorderUIResource

public BorderUIResource(Border delegate)
Creates a UIResource border object which wraps an existing Border instance.
Parameters:
delegate - the border being wrapped
Method Detail

getEtchedBorderUIResource

public static Border getEtchedBorderUIResource()

getLoweredBevelBorderUIResource

public static Border getLoweredBevelBorderUIResource()

getRaisedBevelBorderUIResource

public static Border getRaisedBevelBorderUIResource()

getBlackLineBorderUIResource

public static Border getBlackLineBorderUIResource()

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
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
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.
This documentation was generated with a post-Beta4 version of Javadoc.