Class LineBorder

All Implemented Interfaces:
Serializable, Border

public class LineBorder extends 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:
  • Constructor Details

    • LineBorder

      public LineBorder(Color color)
      Creates a line border with the specified color and a thickness = 1.
      Parameters:
      color - the color for the border
    • LineBorder

      public LineBorder(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(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