public interface XYBarPainter
XYBarRenderer class. When
developing a class that implements this interface, bear in mind the
following:
equals(Object) method should be overridden;PublicCloneable interface, so that a renderer using the
painter can be cloned reliably;
Serializable, otherwise chart
serialization will not be supported.| Modifier and Type | Method and Description |
|---|---|
void |
paintBar(Graphics2D g2,
XYBarRenderer renderer,
int row,
int column,
RectangularShape bar,
RectangleEdge base)
Paints a single bar on behalf of a renderer.
|
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.
|
void paintBar(Graphics2D g2, XYBarRenderer renderer, int row, int column, RectangularShape bar, RectangleEdge base)
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.void paintBarShadow(Graphics2D g2, XYBarRenderer renderer, int row, int column, RectangularShape bar, RectangleEdge base, boolean pegShadow)
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 © 2001–2017 JFree.org. All rights reserved.