Interface RadianceOverlayPainter
- All Superinterfaces:
RadianceTrait
- All Known Implementing Classes:
BottomLineOverlayPainter
,BottomShadowOverlayPainter
,TopBezelOverlayPainter
,TopLineOverlayPainter
,TopShadowOverlayPainter
Overlay painter interface for Radiance look and feel. This class is
part of officially supported API.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
paintOverlay
(Graphics2D graphics, Component comp, RadianceThemingSlices.DecorationAreaType decorationAreaType, int width, int height, RadianceSkin skin) Paints the overlay.Methods inherited from interface org.pushingpixels.radiance.theming.api.trait.RadianceTrait
getDisplayName
-
Method Details
-
paintOverlay
void paintOverlay(Graphics2D graphics, Component comp, RadianceThemingSlices.DecorationAreaType decorationAreaType, int width, int height, RadianceSkin skin) Paints the overlay.- Parameters:
graphics
- Graphics context.comp
- Component.decorationAreaType
- Decoration area type. Must not benull
.width
- Width.height
- Height.skin
- Skin for painting the overlay.
-