public class StandardBarPainter extends Object implements BarPainter, Serializable
BarPainter
interface that preserves the
behaviour of bar painting that existed prior to the introduction of the
BarPainter
interface.GradientBarPainter
,
Serialized FormConstructor and Description |
---|
StandardBarPainter()
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,
BarRenderer renderer,
int row,
int column,
RectangularShape bar,
org.jfree.ui.RectangleEdge base)
Paints a single bar instance.
|
void |
paintBarShadow(Graphics2D g2,
BarRenderer renderer,
int row,
int column,
RectangularShape bar,
org.jfree.ui.RectangleEdge base,
boolean pegShadow)
Paints a single bar instance.
|
public void paintBar(Graphics2D g2, BarRenderer renderer, int row, int column, RectangularShape bar, org.jfree.ui.RectangleEdge base)
paintBar
in interface BarPainter
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, BarRenderer renderer, int row, int column, RectangularShape bar, org.jfree.ui.RectangleEdge base, boolean pegShadow)
paintBarShadow
in interface BarPainter
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