|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jvnet.substance.border.StandardBorderPainter
org.jvnet.substance.border.SimplisticSoftBorderPainter
public class SimplisticSoftBorderPainter
Border painter that returns images with classic appearance. This class is for internal use only.
Constructor Summary | |
---|---|
SimplisticSoftBorderPainter()
|
Method Summary | |
---|---|
java.awt.Color |
getBottomBorderColor(ColorScheme interpolationScheme1,
ColorScheme interpolationScheme2,
double cycleCoef,
boolean useCyclePosAsInterpolation)
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(ColorScheme interpolationScheme1,
ColorScheme interpolationScheme2,
double cycleCoef,
boolean useCyclePosAsInterpolation)
Computes the color of the middle portion of the border. |
java.awt.Color |
getTopBorderColor(ColorScheme interpolationScheme1,
ColorScheme interpolationScheme2,
double cycleCoef,
boolean useCyclePosAsInterpolation)
Computes the color of the top portion of the border. |
Methods inherited from class org.jvnet.substance.border.StandardBorderPainter |
---|
paintBorder |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimplisticSoftBorderPainter()
Method Detail |
---|
public java.lang.String getDisplayName()
SubstanceTrait
this
trait. This method is
part of officially supported API.
getDisplayName
in interface SubstanceBorderPainter
getDisplayName
in interface SubstanceTrait
getDisplayName
in class StandardBorderPainter
this
trait.public java.awt.Color getTopBorderColor(ColorScheme interpolationScheme1, ColorScheme interpolationScheme2, double cycleCoef, boolean useCyclePosAsInterpolation)
StandardBorderPainter
getTopBorderColor
in class StandardBorderPainter
interpolationScheme1
- The first interpolation scheme.interpolationScheme2
- The second interpolation scheme.cycleCoef
- Cycle coefficient.useCyclePosAsInterpolation
- Indicates whether the cycle coefficient should be used as the
interpolation parameter.
public java.awt.Color getMidBorderColor(ColorScheme interpolationScheme1, ColorScheme interpolationScheme2, double cycleCoef, boolean useCyclePosAsInterpolation)
StandardBorderPainter
getMidBorderColor
in class StandardBorderPainter
interpolationScheme1
- The first interpolation scheme.interpolationScheme2
- The second interpolation scheme.cycleCoef
- Cycle coefficient.useCyclePosAsInterpolation
- Indicates whether the cycle coefficient should be used as the
interpolation parameter.
public java.awt.Color getBottomBorderColor(ColorScheme interpolationScheme1, ColorScheme interpolationScheme2, double cycleCoef, boolean useCyclePosAsInterpolation)
StandardBorderPainter
getBottomBorderColor
in class StandardBorderPainter
interpolationScheme1
- The first interpolation scheme.interpolationScheme2
- The second interpolation scheme.cycleCoef
- Cycle coefficient.useCyclePosAsInterpolation
- Indicates whether the cycle coefficient should be used as the
interpolation parameter.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |