SubstanceBorderPainter
, SubstanceTrait
public class FlatBorderPainter extends StandardBorderPainter
Constructor | Description |
---|---|
FlatBorderPainter() |
Modifier and Type | Method | Description |
---|---|---|
java.awt.Color |
getBottomBorderColor(SubstanceColorScheme borderScheme) |
Computes the color of the bottom portion of the border.
|
java.lang.String |
getDisplayName() |
Returns the display name of
this trait. |
java.awt.Color |
getMidBorderColor(SubstanceColorScheme borderScheme) |
Computes the color of the middle portion of the border.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTopBorderColor, isPaintingInnerContour, paintBorder
public java.lang.String getDisplayName()
SubstanceTrait
this
trait. This method is part
of officially supported API.getDisplayName
in interface SubstanceTrait
getDisplayName
in class StandardBorderPainter
this
trait.public java.awt.Color getMidBorderColor(SubstanceColorScheme borderScheme)
StandardBorderPainter
getMidBorderColor
in class StandardBorderPainter
borderScheme
- The border color scheme.public java.awt.Color getBottomBorderColor(SubstanceColorScheme borderScheme)
StandardBorderPainter
getBottomBorderColor
in class StandardBorderPainter
borderScheme
- The border color scheme.