Serializable
, Border
public final class ShadowPopupBorder extends AbstractBorder
Constructor | Description |
---|---|
ShadowPopupBorder() |
Modifier and Type | Method | Description |
---|---|---|
Insets |
getBorderInsets(Component c) |
Returns the insets of the border.
|
Insets |
getBorderInsets(Component c,
Insets insets) |
Reinitializes the insets parameter with this Border's current Insets.
|
static ShadowPopupBorder |
getInstance() |
Returns the singleton instance used to draw all borders.
|
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height) |
Paints the border for the specified component with the specified position
and size.
|
getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle, isBorderOpaque
public static ShadowPopupBorder getInstance()
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)
getBorderInsets
in interface Border
getBorderInsets
in class AbstractBorder
public 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
object