public class PartialLineBorder
extends javax.swing.border.AbstractBorder
Constructor and Description |
---|
PartialLineBorder(java.awt.Color color,
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 component,
java.awt.Graphics g,
int x,
int y,
int width,
int height) |
public boolean isBorderOpaque()
isBorderOpaque
in interface javax.swing.border.Border
isBorderOpaque
in class javax.swing.border.AbstractBorder
public java.awt.Insets getBorderInsets(java.awt.Component component)
getBorderInsets
in interface javax.swing.border.Border
getBorderInsets
in class javax.swing.border.AbstractBorder
public int getThickness()
public void paintBorder(java.awt.Component component, java.awt.Graphics g, int x, int y, int width, int height)
paintBorder
in interface javax.swing.border.Border
paintBorder
in class javax.swing.border.AbstractBorder