class SynthBorder extends AbstractBorder implements UIResource
Copied from core
Modifier and Type | Field and Description |
---|---|
private Insets |
insets |
private SynthUI |
ui |
Constructor and Description |
---|
SynthBorder(SynthUI ui) |
SynthBorder(SynthUI ui,
Insets insets) |
Modifier and Type | Method and Description |
---|---|
Insets |
getBorderInsets(Component c)
This default implementation returns a new
Insets
instance where the top , left ,
bottom , and
right fields are set to 0 . |
Insets |
getBorderInsets(Component c,
Insets insets)
Reinitializes the insets parameter with this Border's current Insets.
|
boolean |
isBorderOpaque()
This default implementation returns false.
|
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height) |
getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle
SynthBorder(SynthUI ui, Insets insets)
SynthBorder(SynthUI ui)
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
paintBorder
in interface Border
paintBorder
in class AbstractBorder
public Insets getBorderInsets(Component c)
Insets
instance where the top
, left
,
bottom
, and
right
fields are set to 0
.getBorderInsets
in interface Border
getBorderInsets
in class AbstractBorder
c
- the component for which this border insets value appliesInsets
object initialized to 0public Insets getBorderInsets(Component c, Insets insets)
getBorderInsets
in class AbstractBorder
c
- the component for which this border insets value appliesinsets
- the object to be reinitializedinsets
objectpublic boolean isBorderOpaque()
isBorderOpaque
in interface Border
isBorderOpaque
in class AbstractBorder
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses