org.jfree.chart.renderer.xy

Interface XYBarPainter

public interface XYBarPainter

The interface for plugin painter for the XYBarRenderer class. When developing a class that implements this interface, bear in mind the following:

Since: 1.0.11

Method Summary
voidpaintBar(Graphics2D g2, XYBarRenderer renderer, int row, int column, RectangularShape bar, RectangleEdge base)
Paints a single bar on behalf of a renderer.
voidpaintBarShadow(Graphics2D g2, XYBarRenderer renderer, int row, int column, RectangularShape bar, RectangleEdge base, boolean pegShadow)
Paints the shadow for a single bar on behalf of a renderer.

Method Detail

paintBar

public void paintBar(Graphics2D g2, XYBarRenderer renderer, int row, int column, RectangularShape bar, RectangleEdge base)
Paints a single bar on behalf of a renderer.

Parameters: g2 the graphics target. renderer the renderer. row the row index for the item. column the column index for the item. bar the bounds for the bar. base the base of the bar.

paintBarShadow

public void paintBarShadow(Graphics2D g2, XYBarRenderer renderer, int row, int column, RectangularShape bar, RectangleEdge base, boolean pegShadow)
Paints the shadow for a single bar on behalf of a renderer.

Parameters: g2 the graphics target. renderer the renderer. row the row index for the item. column the column index for the item. bar the bounds for the bar. base the base of the bar. pegShadow peg the shadow to the base of the bar?

Copyright © 2000-2009 by Object Refinery Limited. All Rights Reserved.