public class FlatLineBorder extends Object implements Border
FlatButtonTitle
if the button is not selected or active. This border paints
only a thin, nearly invisible line around a Component
.Modifier and Type | Field and Description |
---|---|
static FlatLineBorder |
INSTANCE
a constant instance of
FlatLineBorder |
Constructor and Description |
---|
FlatLineBorder() |
Modifier and Type | Method and Description |
---|---|
Insets |
getBorderInsets(Component c) |
boolean |
isBorderOpaque() |
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height) |
public static final FlatLineBorder INSTANCE
FlatLineBorder
public Insets getBorderInsets(Component c)
getBorderInsets
in interface Border
public boolean isBorderOpaque()
isBorderOpaque
in interface Border
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
paintBorder
in interface Border