Interface RadianceDecorationPainter
-
- All Superinterfaces:
RadianceTrait
- All Known Implementing Classes:
ArcDecorationPainter,BrushedMetalDecorationPainter,FlatDecorationPainter,FractionBasedDecorationPainter,Glass3DDecorationPainter,ImageWrapperDecorationPainter,MarbleNoiseDecorationPainter,MatteDecorationPainter
public interface RadianceDecorationPainter extends RadianceTrait
Decoration painter interface for Radiance look and feel. This class is part of officially supported API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidpaintDecorationArea(java.awt.Graphics2D graphics, java.awt.Component comp, RadianceThemingSlices.DecorationAreaType decorationAreaType, int width, int height, RadianceSkin skin)Paints the decoration area as a fully filled rectangle.voidpaintDecorationArea(java.awt.Graphics2D graphics, java.awt.Component comp, RadianceThemingSlices.DecorationAreaType decorationAreaType, java.awt.Shape outline, ContainerColorTokens colorTokens)Paints the decoration area as a specified shape.-
Methods inherited from interface org.pushingpixels.radiance.theming.api.trait.RadianceTrait
getDisplayName
-
-
-
-
Method Detail
-
paintDecorationArea
void paintDecorationArea(java.awt.Graphics2D graphics, java.awt.Component comp, RadianceThemingSlices.DecorationAreaType decorationAreaType, int width, int height, RadianceSkin skin)Paints the decoration area as a fully filled rectangle.- Parameters:
graphics- Graphics context.comp- Component.decorationAreaType- Decoration area type. Must not benull.width- Width.height- Height.skin- Skin for painting the decoration area.
-
paintDecorationArea
void paintDecorationArea(java.awt.Graphics2D graphics, java.awt.Component comp, RadianceThemingSlices.DecorationAreaType decorationAreaType, java.awt.Shape outline, ContainerColorTokens colorTokens)Paints the decoration area as a specified shape.- Parameters:
graphics- Graphics context.comp- Component.decorationAreaType- Decoration area type. Must not benull.outline- Outline to paint.colorTokens- Color tokens for painting the outline.
-
-