Interface SubstanceOverlayPainter
-
- All Superinterfaces:
SubstanceTrait
- All Known Implementing Classes:
BottomLineOverlayPainter,BottomShadowOverlayPainter,TopBezelOverlayPainter,TopLineOverlayPainter,TopShadowOverlayPainter
public interface SubstanceOverlayPainter extends SubstanceTrait
Overlay painter interface for Substance look and feel. This class is part of officially supported API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidpaintOverlay(java.awt.Graphics2D graphics, java.awt.Component comp, SubstanceSlices.DecorationAreaType decorationAreaType, int width, int height, SubstanceSkin skin)Paints the overlay.-
Methods inherited from interface org.pushingpixels.substance.api.trait.SubstanceTrait
getDisplayName
-
-
-
-
Method Detail
-
paintOverlay
void paintOverlay(java.awt.Graphics2D graphics, java.awt.Component comp, SubstanceSlices.DecorationAreaType decorationAreaType, int width, int height, SubstanceSkin 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.
-
-