Logo Search packages:      
Sourcecode: libjfreechart-java version File versions  Download package

void org::jfree::chart::LegendItem::setFillPaintTransformer ( GradientPaintTransformer  transformer  )  [inline]

Sets the transformer used when the fill paint is an instance of GradientPaint.

Parameters:
transformer the transformer (null not permitted).
Since:
1.0.4
See also:
getFillPaintTransformer()

Definition at line 785 of file LegendItem.java.

References fillPaintTransformer.

Referenced by org::jfree::chart::renderer::xy::XYBarRenderer::getLegendItem(), org::jfree::chart::renderer::category::BarRenderer::getLegendItem(), and org::jfree::chart::junit::LegendItemTests::testEquals().

                                                                              {
        if (transformer == null) {
            throw new IllegalArgumentException("Null 'transformer' attribute.");
        }
        this.fillPaintTransformer = transformer;
    }


Generated by  Doxygen 1.6.0   Back to index