com.l2fprod.gui.border
Class LineBorder

java.lang.Object
  extended by javax.swing.border.AbstractBorder
      extended by javax.swing.border.LineBorder
          extended by com.l2fprod.gui.border.LineBorder
All Implemented Interfaces:
java.io.Serializable, javax.swing.border.Border

public class LineBorder
extends javax.swing.border.LineBorder

LineBorder.
This class extends the standard line border but allows the user to customize the LineBorder roundedCorners variable which was not public in jdk1.2.2.

Version:
$Revision: 1.1 $, $Date: 2003/08/13 20:49:11 $
Author:
$Author: l2fprod $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.border.LineBorder
lineColor, roundedCorners, thickness
 
Constructor Summary
LineBorder(java.awt.Color color)
          Creates a line border with the specified color and a thickness = 1.
LineBorder(java.awt.Color color, int thickness)
          Creates a line border with the specified color and thickness.
LineBorder(java.awt.Color color, int thickness, boolean roundedCorners)
          Creates a line border with the specified color, thickness, and corner shape.
 
Method Summary
 
Methods inherited from class javax.swing.border.LineBorder
createBlackLineBorder, createGrayLineBorder, getBorderInsets, getBorderInsets, getLineColor, getRoundedCorners, getThickness, isBorderOpaque, paintBorder
 
Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineBorder

public LineBorder(java.awt.Color color)
Creates a line border with the specified color and a thickness = 1.

Parameters:
color - the color for the border

LineBorder

public LineBorder(java.awt.Color color,
                  int thickness)
Creates a line border with the specified color and thickness.

Parameters:
color - the color of the border
thickness - the thickness of the border

LineBorder

public LineBorder(java.awt.Color color,
                  int thickness,
                  boolean roundedCorners)
Creates a line border with the specified color, thickness, and corner shape.

Parameters:
color - the color of the border
thickness - the thickness of the border
roundedCorners - whether or not border corners should be round