charvax.swing
Class BorderFactory

java.lang.Object
  extended bycharvax.swing.BorderFactory

public class BorderFactory
extends java.lang.Object

A factory class for creating standard instances of the Border class. In the genuine Swing library, this tries to share instances wherever possible. In the Charva library, all the borders (except TitleBorders) are actually just LineBorders.


Constructor Summary
BorderFactory()
           
 
Method Summary
static Border createLineBorder(Color color_)
           
static Border createLineBorder(Color color_, int thickness_)
          Create a LineBorder - ignore the thickness.
static TitledBorder createTitledBorder(java.lang.String title)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BorderFactory

public BorderFactory()
Method Detail

createLineBorder

public static Border createLineBorder(Color color_)

createLineBorder

public static Border createLineBorder(Color color_,
                                      int thickness_)
Create a LineBorder - ignore the thickness.


createTitledBorder

public static TitledBorder createTitledBorder(java.lang.String title)