com.zwares.base.gui.panels
Class EBorder

java.lang.Object
  |
  +--com.zwares.base.gui.panels.EBorder

public class EBorder
extends java.lang.Object

This class is used to generate differnet types of border. Static calls to the overloaded border method generates the borders.


Field Summary
static int COLOREDCOMPOUND
           
static int COMPOUND
           
static int DEFAULT
           
static int EMPTY
           
static int ETCHED
           
static int LINE
           
 
Constructor Summary
EBorder()
           
 
Method Summary
static javax.swing.border.Border border()
          Creates an empty border with DEFAULTCOLOR and no title.
static javax.swing.border.Border border(int type)
          Creates a border of type with DEFAULTCOLOR and no title.
static javax.swing.border.Border border(int type, java.awt.Color color)
          Creates a border of type with color and no title.
static javax.swing.border.Border border(java.lang.String title, int type)
          Creates a border of type with DEFAULTCOLOR and a title.
static javax.swing.border.Border border(java.lang.String title, int type, java.awt.Color color)
          Creates a border of type with color and a title.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final int DEFAULT
See Also:
Constant Field Values

EMPTY

public static final int EMPTY
See Also:
Constant Field Values

LINE

public static final int LINE
See Also:
Constant Field Values

ETCHED

public static final int ETCHED
See Also:
Constant Field Values

COMPOUND

public static final int COMPOUND
See Also:
Constant Field Values

COLOREDCOMPOUND

public static final int COLOREDCOMPOUND
See Also:
Constant Field Values
Constructor Detail

EBorder

public EBorder()
Method Detail

border

public static javax.swing.border.Border border()
Creates an empty border with DEFAULTCOLOR and no title.


border

public static javax.swing.border.Border border(int type)
Creates a border of type with DEFAULTCOLOR and no title.


border

public static javax.swing.border.Border border(int type,
                                               java.awt.Color color)
Creates a border of type with color and no title.


border

public static javax.swing.border.Border border(java.lang.String title,
                                               int type)
Creates a border of type with DEFAULTCOLOR and a title.


border

public static javax.swing.border.Border border(java.lang.String title,
                                               int type,
                                               java.awt.Color color)
Creates a border of type with color and a title.