Class GlassBorderPainter
- java.lang.Object
-
- org.pushingpixels.substance.api.painter.border.StandardBorderPainter
-
- org.pushingpixels.substance.api.painter.border.GlassBorderPainter
-
- All Implemented Interfaces:
SubstanceBorderPainter,SubstanceTrait
public class GlassBorderPainter extends StandardBorderPainter
Border painter that returns images with glass appearance. This class is part of officially supported API.
-
-
Constructor Summary
Constructors Constructor Description GlassBorderPainter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.ColorgetBottomBorderColor(SubstanceColorScheme borderScheme)Computes the color of the bottom portion of the border.java.lang.StringgetDisplayName()Returns the display name ofthistrait.java.awt.ColorgetMidBorderColor(SubstanceColorScheme borderScheme)Computes the color of the middle portion of the border.java.awt.ColorgetTopBorderColor(SubstanceColorScheme borderScheme)Computes the color of the top portion of the border.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from class org.pushingpixels.substance.api.painter.border.StandardBorderPainter
getRepresentativeColor, isPaintingInnerContour, paintBorder
-
-
-
-
Method Detail
-
getDisplayName
public java.lang.String 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
public java.awt.Color getTopBorderColor(SubstanceColorScheme borderScheme)
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
public java.awt.Color getMidBorderColor(SubstanceColorScheme borderScheme)
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
public java.awt.Color getBottomBorderColor(SubstanceColorScheme borderScheme)
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.
-
-