public class GradientXYBarPainter extends Object implements XYBarPainter, Serializable
XYBarPainter
interface that uses several
gradient fills to enrich the appearance of the bars.Constructor and Description |
---|
GradientXYBarPainter()
Creates a new instance.
|
GradientXYBarPainter(double g1,
double g2,
double g3)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
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,
org.jfree.ui.RectangleEdge base)
Paints a single bar instance.
|
void |
paintBarShadow(Graphics2D g2,
XYBarRenderer renderer,
int row,
int column,
RectangularShape bar,
org.jfree.ui.RectangleEdge base,
boolean pegShadow)
Paints a single bar instance.
|
public GradientXYBarPainter()
public GradientXYBarPainter(double g1, double g2, double g3)
g1
- the division between regions 1 and 2.g2
- the division between regions 2 and 3.g3
- the division between regions 3 and 4.public void paintBar(Graphics2D g2, XYBarRenderer renderer, int row, int column, 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(Graphics2D g2, XYBarRenderer renderer, int row, int column, 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(Object obj)
Jas4pp 1.5 © Java Analysis Studio for Particle Physics