Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jvnet.substance.painter.border
Class ClassicBorderPainter

    java.lang.Object
      org.jvnet.substance.painter.border.StandardBorderPainter
          org.jvnet.substance.painter.border.ClassicBorderPainter

All Implemented Interfaces:
  SubstanceTrait, SubstanceBorderPainter

    public class ClassicBorderPainter

extends StandardBorderPainter

Border painter that returns images with classic appearance. This class is part of officially supported API.

Author:
  Kirill Grouchnikov

Constructor Summary
`ClassicBorderPainter()`

Method Summary
`java.awt.Color` | `getBottomBorderColor(SubstanceColorScheme interpolationScheme1, SubstanceColorScheme 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(SubstanceColorScheme interpolationScheme1, SubstanceColorScheme interpolationScheme2, double cycleCoef, boolean useCyclePosAsInterpolation)` Computes the color of the middle portion of the border.
`java.awt.Color` | `getTopBorderColor(SubstanceColorScheme interpolationScheme1, SubstanceColorScheme interpolationScheme2, double cycleCoef, boolean useCyclePosAsInterpolation)` Computes the color of the top portion of the border.

Methods inherited from class org.jvnet.substance.painter.border.StandardBorderPainter
`paintBorder`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ClassicBorderPainter

    public ClassicBorderPainter()

Method Detail

### getDisplayName

    public java.lang.String getDisplayName()

  Description copied from interface: `SubstanceTrait`
  Returns the display name of `this` trait. This method is part of officially supported API.

  Specified by:
    `getDisplayName` in interface `SubstanceTrait`
  Overrides:
    `getDisplayName` in class `StandardBorderPainter`
  Returns:
    The display name of `this` trait.

### getTopBorderColor

    public java.awt.Color getTopBorderColor(SubstanceColorScheme interpolationScheme1,
                                            SubstanceColorScheme interpolationScheme2,
                                            double cycleCoef,
                                            boolean useCyclePosAsInterpolation)

  Description copied from class: `StandardBorderPainter`
  Computes the color of the top portion of the border. Override to provide different visual.

  Overrides:
    `getTopBorderColor` in class `StandardBorderPainter`
  Parameters:
    `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.
  Returns:
    The color of the top portion of the border.

### getMidBorderColor

    public java.awt.Color getMidBorderColor(SubstanceColorScheme interpolationScheme1,
                                            SubstanceColorScheme interpolationScheme2,
                                            double cycleCoef,
                                            boolean useCyclePosAsInterpolation)

  Description copied from class: `StandardBorderPainter`
  Computes the color of the middle portion of the border. Override to provide different visual.

  Overrides:
    `getMidBorderColor` in class `StandardBorderPainter`
  Parameters:
    `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.
  Returns:
    The color of the middle portion of the border.

### getBottomBorderColor

    public java.awt.Color getBottomBorderColor(SubstanceColorScheme interpolationScheme1,
                                               SubstanceColorScheme interpolationScheme2,
                                               double cycleCoef,
                                               boolean useCyclePosAsInterpolation)

  Description copied from class: `StandardBorderPainter`
  Computes the color of the bottom portion of the border. Override to provide different visual.

  Overrides:
    `getBottomBorderColor` in class `StandardBorderPainter`
  Parameters:
    `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.
  Returns:
    The color of the bottom portion of the border.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD