|
Header
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jfree.chart.renderer.xy.GradientXYBarPainter
public class GradientXYBarPainter
An implementation of the XYBarPainter
interface that uses several
gradient fills to enrich the appearance of the bars.
Constructor Summary | |
---|---|
GradientXYBarPainter()
Creates a new instance. |
|
GradientXYBarPainter(double g1,
double g2,
double g3)
Creates a new instance. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Tests this instance for equality with an arbitrary object. |
int |
hashCode()
Returns a hash code for this instance. |
void |
paintBar(java.awt.Graphics2D g2,
XYBarRenderer renderer,
int row,
int column,
java.awt.geom.RectangularShape bar,
org.jfree.ui.RectangleEdge base)
Paints a single bar instance. |
void |
paintBarShadow(java.awt.Graphics2D g2,
XYBarRenderer renderer,
int row,
int column,
java.awt.geom.RectangularShape bar,
org.jfree.ui.RectangleEdge base,
boolean pegShadow)
Paints a single bar instance. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GradientXYBarPainter()
public GradientXYBarPainter(double g1, double g2, double g3)
g1
- g2
- g3
- Method Detail |
---|
public void paintBar(java.awt.Graphics2D g2, XYBarRenderer renderer, int row, int column, java.awt.geom.RectangularShape bar, org.jfree.ui.RectangleEdge base)
paintBar
in interface XYBarPainter
g2
- the graphics target.renderer
- the renderer.row
- the row index.column
- the column index.bar
- the barbase
- indicates which side of the rectangle is the base of the
bar.public void paintBarShadow(java.awt.Graphics2D g2, XYBarRenderer renderer, int row, int column, java.awt.geom.RectangularShape bar, org.jfree.ui.RectangleEdge base, boolean pegShadow)
paintBarShadow
in interface XYBarPainter
g2
- the graphics target.renderer
- the renderer.row
- the row index.column
- the column index.bar
- the barbase
- indicates which side of the rectangle is the base of the
bar.pegShadow
- peg the shadow to the base of the bar?public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the obj (null
permitted).
public int hashCode()
hashCode
in class java.lang.Object
|
Footer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |