Class FlatBorderPainter
java.lang.Object
org.pushingpixels.substance.api.painter.border.StandardBorderPainter
org.pushingpixels.substance.api.painter.border.FlatBorderPainter
- All Implemented Interfaces:
SubstanceBorderPainter
,SubstanceTrait
Border painter that returns images with flat appearance. This class is part
of officially supported API.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBottomBorderColor
(SubstanceColorScheme borderScheme) Computes the color of the bottom portion of the border.Returns the display name ofthis
trait.getMidBorderColor
(SubstanceColorScheme borderScheme) Computes the color of the middle portion of the border.Methods inherited from class org.pushingpixels.substance.api.painter.border.StandardBorderPainter
getTopBorderColor, isPaintingInnerContour, paintBorder
-
Constructor Details
-
FlatBorderPainter
public FlatBorderPainter()
-
-
Method Details
-
getDisplayName
Description copied from interface:SubstanceTrait
Returns the display name ofthis
trait. This method is part of officially supported API.- Specified by:
getDisplayName
in interfaceSubstanceTrait
- Overrides:
getDisplayName
in classStandardBorderPainter
- Returns:
- The display name of
this
trait.
-
getMidBorderColor
Description copied from class:StandardBorderPainter
Computes the color of the middle portion of the border. Override to provide different visual.- Overrides:
getMidBorderColor
in classStandardBorderPainter
- Parameters:
borderScheme
- The border color scheme.- Returns:
- The color of the middle portion of the border.
-
getBottomBorderColor
Description copied from class:StandardBorderPainter
Computes the color of the bottom portion of the border. Override to provide different visual.- Overrides:
getBottomBorderColor
in classStandardBorderPainter
- Parameters:
borderScheme
- The border color scheme.- Returns:
- The color of the bottom portion of the border.
-