public class CustomLineBorder
extends java.lang.Object
implements javax.swing.border.Border
Constructor and Description |
---|
CustomLineBorder(java.awt.Color color,
java.awt.Insets insets) |
CustomLineBorder(java.awt.Color color,
int top,
int left,
int bottom,
int right) |
CustomLineBorder(java.awt.Insets insets) |
CustomLineBorder(int top,
int left,
int bottom,
int right) |
Modifier and Type | Method and Description |
---|---|
java.awt.Insets |
getBorderInsets(java.awt.Component c) |
protected java.awt.Color |
getColor() |
boolean |
isBorderOpaque() |
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int w,
int h) |
public CustomLineBorder(java.awt.Color color, java.awt.Insets insets)
public CustomLineBorder(java.awt.Color color, int top, int left, int bottom, int right)
public CustomLineBorder(java.awt.Insets insets)
public CustomLineBorder(int top, int left, int bottom, int right)
public void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int w, int h)
paintBorder
in interface javax.swing.border.Border
protected java.awt.Color getColor()
public java.awt.Insets getBorderInsets(java.awt.Component c)
getBorderInsets
in interface javax.swing.border.Border
public boolean isBorderOpaque()
isBorderOpaque
in interface javax.swing.border.Border