public class SideBorder
extends javax.swing.border.LineBorder
| Modifier and Type | Class and Description |
|---|---|
static interface |
SideBorder.SideMask |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALL |
static int |
BOTTOM |
static int |
LEFT |
static int |
NONE |
static int |
RIGHT |
static int |
TOP |
| Constructor and Description |
|---|
SideBorder(java.awt.Color color,
int mask) |
SideBorder(java.awt.Color color,
int mask,
int thickness) |
| Modifier and Type | Method and Description |
|---|---|
java.awt.Insets |
getBorderInsets(java.awt.Component component) |
java.awt.Insets |
getBorderInsets(java.awt.Component component,
java.awt.Insets insets) |
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height) |
createBlackLineBorder, createGrayLineBorder, getLineColor, getRoundedCorners, getThickness, isBorderOpaquepublic static final int NONE
public static final int LEFT
public static final int TOP
public static final int RIGHT
public static final int BOTTOM
public static final int ALL
public SideBorder(java.awt.Color color,
int mask)
public SideBorder(java.awt.Color color,
int mask,
int thickness)
public java.awt.Insets getBorderInsets(java.awt.Component component)
getBorderInsets in interface javax.swing.border.BordergetBorderInsets in class javax.swing.border.AbstractBorderpublic java.awt.Insets getBorderInsets(java.awt.Component component,
java.awt.Insets insets)
getBorderInsets in class javax.swing.border.LineBorderpublic 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.LineBorder