javax.swing.border
Class LineBorder

javax.swing.border.LineBorder

public class LineBorder

Implements a line border of arbitrary thickness and with a single color.

CSS example:

lineBorder {
    class : "javax.swing.border.LineBorder(lineColor,thickness,roundedCorners)";
    lineColor : "green";
    roundedCorners : "false";
    thickness : "2";
}


Property Summary
 java.lang.String class
          
Create an instance of LineBorder.
 java.awt.Color lineColor
          
The color of the border.
 boolean roundedCorners
          
Whether this border will be drawn with rounded corner.
 int thickness
          
The thickness of the border.
 

Property Detail

class

public java.lang.String class

Create an instance of LineBorder.

CSS example:     class : "javax.swing.border.LineBorder(lineColor,thickness,roundedCorners)";


lineColor

public java.awt.Color lineColor

The color of the border.

CSS example:     lineColor : "green";

A color can either be a string representing a color or else an octal or hexadecimal string that starts with the character "#" or else a comma separated "RGB" value where the integer values are in the range 0..255.


roundedCorners

public boolean roundedCorners

Whether this border will be drawn with rounded corner.

CSS example:     roundedCorners : "false";


thickness

public int thickness

The thickness of the border.

CSS example:     thickness : "2";



Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.