public class LineBorder
extends javax.swing.border.LineBorder
Constructor and Description |
---|
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.
|
createBlackLineBorder, createGrayLineBorder, getBorderInsets, getLineColor, getRoundedCorners, getThickness, isBorderOpaque, paintBorder
public LineBorder(java.awt.Color color)
color
- the color for the borderpublic LineBorder(java.awt.Color color, int thickness)
color
- the color of the borderthickness
- the thickness of the borderpublic LineBorder(java.awt.Color color, int thickness, boolean roundedCorners)
color
- the color of the borderthickness
- the thickness of the borderroundedCorners
- whether or not border corners should be round