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

void org::jfree::chart::renderer::xy::AbstractXYItemRenderer::setSeriesToolTipGenerator ( int  series,
XYToolTipGenerator  generator 
) [inline, inherited]

Sets the tool tip generator for a series and sends a RendererChangeEvent to all registered listeners.

Parameters:
series the series index (zero based).
generator the generator (null permitted).

Implements org::jfree::chart::renderer::xy::XYItemRenderer.

Definition at line 492 of file AbstractXYItemRenderer.java.

References org::jfree::chart::renderer::AbstractRenderer::fireChangeEvent(), and org::jfree::chart::renderer::xy::AbstractXYItemRenderer::toolTipGeneratorList.

Referenced by org::jfree::chart::renderer::xy::junit::YIntervalRendererTests::testCloning(), and org::jfree::chart::renderer::xy::junit::YIntervalRendererTests::testEquals().

                                                                        {
        this.toolTipGeneratorList.set(series, generator);
        fireChangeEvent();
    }


Generated by  Doxygen 1.6.0   Back to index