Java Platform 1.2
Beta 4

Class com.sun.java.swing.BorderFactory

java.lang.Object
  |
  +--com.sun.java.swing.BorderFactory

public class BorderFactory
extends Object
Factory class for vending standard Border objects. Whereever possible, this factory will hand out references to shared Border instances.


Method Summary
static Border createBevelBorder(int type, Color highlightOuter, Color highlightInner, Color shadowOuter, Color shadowInner)
           
static Border createBevelBorder(int type, Color highlight, Color shadow)
           
static Border createBevelBorder(int type)
           
static CompoundBorder createCompoundBorder()
           
static CompoundBorder createCompoundBorder(Border outsideBorder, Border insideBorder)
           
static Border createEmptyBorder()
           
static Border createEmptyBorder(int top, int left, int bottom, int right)
           
static Border createEtchedBorder()
           
static Border createEtchedBorder(Color highlight, Color shadow)
           
static Border createLineBorder(Color color, int thickness)
           
static Border createLineBorder(Color color)
           
static Border createLoweredBevelBorder()
           
static MatteBorder createMatteBorder(int top, int left, int bottom, int right, Color color)
           
static MatteBorder createMatteBorder(int top, int left, int bottom, int right, Icon tileIcon)
           
static Border createRaisedBevelBorder()
           
static TitledBorder createTitledBorder(Border border, String title, int titleJustification, int titlePosition, Font titleFont, Color titleColor)
           
static TitledBorder createTitledBorder(Border border, String title, int titleJustification, int titlePosition, Font titleFont)
           
static TitledBorder createTitledBorder(Border border, String title, int titleJustification, int titlePosition)
           
static TitledBorder createTitledBorder(Border border, String title)
           
static TitledBorder createTitledBorder(Border border)
           
static TitledBorder createTitledBorder(String title)
           
 
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
 

Method Detail

createLineBorder

public static Border createLineBorder(Color color)

createLineBorder

public static Border createLineBorder(Color color,
                                      int thickness)

createRaisedBevelBorder

public static Border createRaisedBevelBorder()

createLoweredBevelBorder

public static Border createLoweredBevelBorder()

createBevelBorder

public static Border createBevelBorder(int type)

createBevelBorder

public static Border createBevelBorder(int type,
                                       Color highlight,
                                       Color shadow)

createBevelBorder

public static Border createBevelBorder(int type,
                                       Color highlightOuter,
                                       Color highlightInner,
                                       Color shadowOuter,
                                       Color shadowInner)

createEtchedBorder

public static Border createEtchedBorder()

createEtchedBorder

public static Border createEtchedBorder(Color highlight,
                                        Color shadow)

createTitledBorder

public static TitledBorder createTitledBorder(String title)

createTitledBorder

public static TitledBorder createTitledBorder(Border border)

createTitledBorder

public static TitledBorder createTitledBorder(Border border,
                                              String title)

createTitledBorder

public static TitledBorder createTitledBorder(Border border,
                                              String title,
                                              int titleJustification,
                                              int titlePosition)

createTitledBorder

public static TitledBorder createTitledBorder(Border border,
                                              String title,
                                              int titleJustification,
                                              int titlePosition,
                                              Font titleFont)

createTitledBorder

public static TitledBorder createTitledBorder(Border border,
                                              String title,
                                              int titleJustification,
                                              int titlePosition,
                                              Font titleFont,
                                              Color titleColor)

createEmptyBorder

public static Border createEmptyBorder()

createEmptyBorder

public static Border createEmptyBorder(int top,
                                       int left,
                                       int bottom,
                                       int right)

createCompoundBorder

public static CompoundBorder createCompoundBorder()

createCompoundBorder

public static CompoundBorder createCompoundBorder(Border outsideBorder,
                                                  Border insideBorder)

createMatteBorder

public static MatteBorder createMatteBorder(int top,
                                            int left,
                                            int bottom,
                                            int right,
                                            Color color)

createMatteBorder

public static MatteBorder createMatteBorder(int top,
                                            int left,
                                            int bottom,
                                            int right,
                                            Icon tileIcon)

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.