public class ColoredSideBorder
extends java.lang.Object
implements javax.swing.border.Border
Constructor and Description |
---|
ColoredSideBorder(java.awt.Color topColor,
java.awt.Color leftColor,
java.awt.Color bottomColor,
java.awt.Color rightColor,
int thickness) |
Modifier and Type | Method and Description |
---|---|
java.awt.Insets |
getBorderInsets(java.awt.Component component) |
int |
getThickness() |
boolean |
isBorderOpaque() |
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height) |
public ColoredSideBorder(java.awt.Color topColor, java.awt.Color leftColor, java.awt.Color bottomColor, java.awt.Color rightColor, int thickness)
public java.awt.Insets getBorderInsets(java.awt.Component component)
getBorderInsets
in interface javax.swing.border.Border
public boolean isBorderOpaque()
isBorderOpaque
in interface javax.swing.border.Border
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.Border
public int getThickness()