Serializable, Borderpublic 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, isBorderOpaquepublic static ShadowPopupBorder getInstance()
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
paintBorder in interface BorderpaintBorder in class AbstractBorderpublic Insets getBorderInsets(Component c)
getBorderInsets in interface BordergetBorderInsets in class AbstractBorderpublic Insets getBorderInsets(Component c, Insets insets)
getBorderInsets in class AbstractBorderc - the component for which this border insets value appliesinsets - the object to be reinitializedinsets object