Class ClassicBorderPainter
java.lang.Object
org.pushingpixels.substance.api.painter.border.StandardBorderPainter
org.pushingpixels.substance.api.painter.border.ClassicBorderPainter
- All Implemented Interfaces:
SubstanceBorderPainter,SubstanceTrait
Border painter that returns images with classic 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 ofthistrait.getMidBorderColor(SubstanceColorScheme borderScheme) Computes the color of the middle portion of the border.getTopBorderColor(SubstanceColorScheme borderScheme) Computes the color of the top portion of the border.Methods inherited from class org.pushingpixels.substance.api.painter.border.StandardBorderPainter
isPaintingInnerContour, paintBorder
-
Constructor Details
-
ClassicBorderPainter
public ClassicBorderPainter()
-
-
Method Details
-
getDisplayName
Description copied from interface:SubstanceTraitReturns the display name ofthistrait. This method is part of officially supported API.- Specified by:
getDisplayNamein interfaceSubstanceTrait- Overrides:
getDisplayNamein classStandardBorderPainter- Returns:
- The display name of
thistrait.
-
getTopBorderColor
Description copied from class:StandardBorderPainterComputes the color of the top portion of the border. Override to provide different visual.- Overrides:
getTopBorderColorin classStandardBorderPainter- Parameters:
borderScheme- The border color scheme.- Returns:
- The color of the top portion of the border.
-
getMidBorderColor
Description copied from class:StandardBorderPainterComputes the color of the middle portion of the border. Override to provide different visual.- Overrides:
getMidBorderColorin classStandardBorderPainter- Parameters:
borderScheme- The border color scheme.- Returns:
- The color of the middle portion of the border.
-
getBottomBorderColor
Description copied from class:StandardBorderPainterComputes the color of the bottom portion of the border. Override to provide different visual.- Overrides:
getBottomBorderColorin classStandardBorderPainter- Parameters:
borderScheme- The border color scheme.- Returns:
- The color of the bottom portion of the border.
-