public class LineBorder
extends javax.swing.border.LineBorder
Constructor | 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.
|
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
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