|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.sqlpower.wabit.report.chart.ChartGradientPainter
public class ChartGradientPainter
Helper class for making charts look nicer.
| Constructor Summary | |
|---|---|
ChartGradientPainter()
|
|
| Method Summary | |
|---|---|
static void |
paintChartGradient(java.awt.Graphics2D g,
java.awt.geom.Rectangle2D bounds,
int baseline)
Paints two gradients which, together, entirely fill the given rectangle. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChartGradientPainter()
| Method Detail |
|---|
public static void paintChartGradient(java.awt.Graphics2D g,
java.awt.geom.Rectangle2D bounds,
int baseline)
g - The graphics to paint intobounds - The rectangle to fill with gradientsbaseline - The cutoff point from the top gradient to the bottom gradient.
This is normally set to line up with the X-axis of the chart.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||