org.jvnet.substance.painter.border
Class FlatInnerBorderPainter

java.lang.Object
  extended by org.jvnet.substance.painter.border.InnerDelegateBorderPainter
      extended by org.jvnet.substance.painter.border.FlatInnerBorderPainter
All Implemented Interfaces:
SubstanceTrait, SubstanceBorderPainter

Deprecated. Will be removed in version 6.0. Use CompositeBorderPainter and DelegateBorderPainter instead.

@Deprecated
public class FlatInnerBorderPainter
extends InnerDelegateBorderPainter

Implementation of border painter that uses the FlatBorderPainter 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
FlatInnerBorderPainter()
          Deprecated. Creates a new inner border painter based on a FlatBorderPainter.
FlatInnerBorderPainter(float shiftCoef, SubstanceConstants.ColorShiftKind shiftKind)
          Deprecated. Creates a new inner border painter based on a FlatBorderPainter.
 
Method Summary
 java.lang.String getDisplayName()
          Deprecated. Returns the display name of this trait.
 
Methods inherited from class org.jvnet.substance.painter.border.InnerDelegateBorderPainter
getDelegate, getShiftScheme, isPaintingInnerContour, paintBorder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlatInnerBorderPainter

public FlatInnerBorderPainter()
Deprecated. 
Creates a new inner border painter based on a FlatBorderPainter.


FlatInnerBorderPainter

public FlatInnerBorderPainter(float shiftCoef,
                              SubstanceConstants.ColorShiftKind shiftKind)
Deprecated. 
Creates a new inner border painter based on a FlatBorderPainter.

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

getDisplayName

public java.lang.String getDisplayName()
Deprecated. 
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.