public class FlatLineBorder
extends java.lang.Object
implements javax.swing.border.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 |
---|---|
java.awt.Insets |
getBorderInsets(java.awt.Component c) |
boolean |
isBorderOpaque() |
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height) |
public static final FlatLineBorder INSTANCE
FlatLineBorder
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
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