Class GlassBorderPainter
java.lang.Object
org.pushingpixels.substance.api.painter.border.StandardBorderPainter
org.pushingpixels.substance.api.painter.border.GlassBorderPainter
- 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 ofthis
trait.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
-
GlassBorderPainter
public GlassBorderPainter()
-
-
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.
-
getTopBorderColor
Description copied from class:StandardBorderPainter
Computes the color of the top portion of the border. Override to provide different visual.- Overrides:
getTopBorderColor
in classStandardBorderPainter
- Parameters:
borderScheme
- The border color scheme.- Returns:
- The color of the top portion of the border.
-
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.
-