Interface RadianceOutlinePainter
-
- All Superinterfaces:
RadianceTrait
- All Known Implementing Classes:
CompositeOutlinePainter,FlatOutlinePainter,FlatVariantOutlinePainter,FractionBasedOutlinePainter,RadianceTabbedPaneUI.TabOutlinePainterDark,RadianceTabbedPaneUI.TabOutlinePainterLight
public interface RadianceOutlinePainter extends RadianceTrait
Outline painter interface for Radiance look and feel. This class is part of officially supported API.
An outline painter is responsible for painting outlines (borders) of controls such as buttons, check boxes, tabs, scroll bars, etc.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisPaintingInnerOutline()Returns boolean indication whether this outline painter is painting the inner outlines.voidpaintOutline(java.awt.Graphics g, java.awt.Component c, float width, float height, java.awt.Shape outline, java.awt.Shape innerOutline, ContainerColorTokens colorTokens)Paints the outline.-
Methods inherited from interface org.pushingpixels.radiance.theming.api.trait.RadianceTrait
getDisplayName
-
-
-
-
Method Detail
-
paintOutline
void paintOutline(java.awt.Graphics g, java.awt.Component c, float width, float height, java.awt.Shape outline, java.awt.Shape innerOutline, ContainerColorTokens colorTokens)Paints the outline.- Parameters:
g- Graphics.c- Component.width- Width of a UI component.height- Height of a UI component.outline- Primary outline to paint.innerOutline- Optional inner outline to paint. May be ignored if the specific implementation paints only the primary outline.colorTokens- The color tokens.
-
isPaintingInnerOutline
boolean isPaintingInnerOutline()
Returns boolean indication whether this outline painter is painting the inner outlines.- Returns:
trueif this outline painter is painting the inner outlines,falseotherwise.
-
-