Class Overview
An implementation of the XYBarPainter
interface that uses several
gradient fills to enrich the appearance of the bars.
Summary
Public Methods |
boolean
|
equals(Object obj)
Tests this instance for equality with an arbitrary object.
|
int
|
hashCode()
Returns a hash code for this instance.
|
void
|
paintBar(Graphics2D g2, XYBarRenderer renderer, int row, int column, RectangularShape bar, RectangleEdge base)
Paints a single bar instance.
|
void
|
paintBarShadow(Graphics2D g2, XYBarRenderer renderer, int row, int column, RectangularShape bar, RectangleEdge base, boolean pegShadow)
Paints a single bar instance.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
org.jfree.chart.renderer.xy.XYBarPainter
abstract
void
|
paintBar(Graphics2D g2, XYBarRenderer renderer, int row, int column, RectangularShape bar, RectangleEdge base)
Paints a single bar on behalf of a renderer.
|
abstract
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.
|
|
Public Constructors
public
GradientXYBarPainter
()
public
GradientXYBarPainter
(double g1, double g2, double g3)
Public Methods
public
boolean
equals
(Object obj)
Tests this instance for equality with an arbitrary object.
Parameters
obj
| the obj (null permitted). |
public
int
hashCode
()
Returns a hash code for this instance.
public
void
paintBar
(Graphics2D g2, XYBarRenderer renderer, int row, int column, RectangularShape bar, RectangleEdge base)
Paints a single bar instance.
Parameters
g2
| the graphics target. |
renderer
| the renderer. |
row
| the row index. |
column
| the column index. |
bar
| the bar |
base
| indicates which side of the rectangle is the base of the
bar.
|
public
void
paintBarShadow
(Graphics2D g2, XYBarRenderer renderer, int row, int column, RectangularShape bar, RectangleEdge base, boolean pegShadow)
Paints a single bar instance.
Parameters
g2
| the graphics target. |
renderer
| the renderer. |
row
| the row index. |
column
| the column index. |
bar
| the bar |
base
| indicates which side of the rectangle is the base of the
bar. |
pegShadow
| peg the shadow to the base of the bar?
|