public class PartialLineBorder extends javax.swing.border.LineBorder implements PartialSide
ALL, EAST, HORIZONTAL, NORTH, SOUTH, VERTICAL, WEST| Constructor and Description |
|---|
PartialLineBorder(java.awt.Color color) |
PartialLineBorder(java.awt.Color color,
int thickness) |
PartialLineBorder(java.awt.Color color,
int thickness,
boolean roundedCorners) |
PartialLineBorder(java.awt.Color color,
int thickness,
boolean roundedCorners,
int roundedCornerSize) |
PartialLineBorder(java.awt.Color color,
int thickness,
int side) |
| Modifier and Type | Method and Description |
|---|---|
java.awt.Insets |
getBorderInsets(java.awt.Component c) |
java.awt.Insets |
getBorderInsets(java.awt.Component c,
java.awt.Insets insets) |
int |
getRoundedCornerSize() |
int |
getSides() |
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height) |
void |
setRoundedCornerSize(int roundedCornerSize) |
void |
setSides(int sides) |
createBlackLineBorder, createGrayLineBorder, getLineColor, getRoundedCorners, getThickness, isBorderOpaquepublic PartialLineBorder(java.awt.Color color)
public PartialLineBorder(java.awt.Color color,
int thickness)
public PartialLineBorder(java.awt.Color color,
int thickness,
boolean roundedCorners)
public PartialLineBorder(java.awt.Color color,
int thickness,
boolean roundedCorners,
int roundedCornerSize)
public PartialLineBorder(java.awt.Color color,
int thickness,
int side)
public int getSides()
public void setSides(int sides)
public int getRoundedCornerSize()
public void setRoundedCornerSize(int roundedCornerSize)
public void paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
paintBorder in interface javax.swing.border.BorderpaintBorder in class javax.swing.border.LineBorderpublic java.awt.Insets getBorderInsets(java.awt.Component c)
getBorderInsets in interface javax.swing.border.BordergetBorderInsets in class javax.swing.border.AbstractBorderpublic java.awt.Insets getBorderInsets(java.awt.Component c,
java.awt.Insets insets)
getBorderInsets in class javax.swing.border.LineBorder