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 ClassicInnerBorderPainter

    java.lang.Object
      org.jvnet.substance.painter.border.InnerDelegateBorderPainter
          org.jvnet.substance.painter.border.ClassicInnerBorderPainter

All Implemented Interfaces:
  SubstanceTrait, SubstanceBorderPainter

    public class ClassicInnerBorderPainter

extends InnerDelegateBorderPainter

Implementation of border painter that uses the `ClassicBorderPainter` gradients and paints the inner contour of the border in addition to the outer contour.

Author:
  Kirill Grouchnikov

Field Summary

Fields inherited from class org.jvnet.substance.painter.border.InnerDelegateBorderPainter
`delegate, painterName, shiftCoef, shiftKind, shiftMap`

Constructor Summary
`ClassicInnerBorderPainter()` Creates a new inner border painter based on a `ClassicBorderPainter`.
`ClassicInnerBorderPainter(float shiftCoef, SubstanceConstants.ColorShiftKind shiftKind)` Creates a new inner border painter based on a `ClassicBorderPainter`.

Method Summary
`java.lang.String` | `getDisplayName()` Returns the display name of `this` trait.

Methods inherited from class org.jvnet.substance.painter.border.InnerDelegateBorderPainter
`getDelegate, paintBorder`

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

Constructor Detail

### ClassicInnerBorderPainter

    public ClassicInnerBorderPainter()

  Creates a new inner border painter based on a `ClassicBorderPainter`.

### ClassicInnerBorderPainter

    public ClassicInnerBorderPainter(float shiftCoef,
                                     SubstanceConstants.ColorShiftKind shiftKind)

  Creates a new inner border painter based on a `ClassicBorderPainter`.

  Parameters:
    `shiftCoef` - Shift coefficient. Must be in 0.0-1.0 range.
    `shiftKind` - Shift kind.

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 `InnerDelegateBorderPainter`
  Returns:
    The display name of `this` trait.

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

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