java.lang.Object
org.monte.media.swing.border.BackdropBorder
- All Implemented Interfaces:
Border
BackdropBorder has a foreground border and a background border.
The foreground border is drawn, when paintBorder() is invoked.
The background border can be retrieved using getBackgroundBorder().
- Author:
- Werner Randelshofer
-
Constructor Summary
ConstructorsConstructorDescriptionBackdropBorder(Border backdropBorder) Creates a new instance.BackdropBorder(Border foregroundBorder, Border backdropBorder) -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidpaintBorder(Component c, Graphics g, int x, int y, int width, int height)
-
Constructor Details
-
BackdropBorder
Creates a new instance. -
BackdropBorder
-
-
Method Details
-
paintBorder
- Specified by:
paintBorderin interfaceBorder
-
getBackgroundBorder
-
getBorderInsets
- Specified by:
getBorderInsetsin interfaceBorder
-
isBorderOpaque
public boolean isBorderOpaque()- Specified by:
isBorderOpaquein interfaceBorder
-