Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.jfree.chart.renderer.AbstractRenderer
org.jfree.chart.renderer.category.AbstractCategoryItemRenderer
org.jfree.chart.renderer.category.LineAndShapeRenderer
org.jfree.chart.renderer.category.LineRenderer3D
Field Summary | |
static Paint |
|
static double |
|
static double |
|
Fields inherited from class org.jfree.chart.renderer.AbstractRenderer | |
DEFAULT_OUTLINE_PAINT , DEFAULT_OUTLINE_STROKE , DEFAULT_PAINT , DEFAULT_SHAPE , DEFAULT_STROKE , DEFAULT_VALUE_LABEL_FONT , DEFAULT_VALUE_LABEL_PAINT , ZERO |
Constructor Summary | |
|
Method Summary | |
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
boolean |
|
Paint |
|
double |
|
double |
|
void |
|
void |
|
void |
|
public static final double DEFAULT_X_OFFSET
The default x-offset for the 3D effect.
- Field Value:
- 12.0
public static final double DEFAULT_Y_OFFSET
The default y-offset for the 3D effect.
- Field Value:
- 8.0
public void drawBackground(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea)
Draws the background for the plot.
- Specified by:
- drawBackground in interface CategoryItemRenderer
- Overrides:
- drawBackground in interface AbstractCategoryItemRenderer
- Parameters:
g2
- the graphics device.plot
- the plot.dataArea
- the area inside the axes.
public void drawDomainGridline(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea, double value)
Draws a grid line against the domain axis.
- Specified by:
- drawDomainGridline in interface CategoryItemRenderer
- Overrides:
- drawDomainGridline in interface AbstractCategoryItemRenderer
- Parameters:
g2
- the graphics device.plot
- the plot.dataArea
- the area for plotting data (not yet adjusted for any 3D effect).value
- the Java2D value at which the grid line should be drawn.
public void drawItem(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset, int row, int column, int pass)
Draw a single data item.
- Specified by:
- drawItem in interface CategoryItemRenderer
- Overrides:
- drawItem in interface LineAndShapeRenderer
- Parameters:
g2
- the graphics device.state
- the renderer state.dataArea
- the area in which the data is drawn.plot
- the plot.domainAxis
- the domain axis.rangeAxis
- the range axis.dataset
- the dataset.row
- the row index (zero-based).column
- the column index (zero-based).pass
- the pass index.
public void drawOutline(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea)
Draws the outline for the plot.
- Specified by:
- drawOutline in interface CategoryItemRenderer
- Overrides:
- drawOutline in interface AbstractCategoryItemRenderer
- Parameters:
g2
- the graphics device.plot
- the plot.dataArea
- the area inside the axes.
public void drawRangeGridline(Graphics2D g2, CategoryPlot plot, ValueAxis axis, Rectangle2D dataArea, double value)
Draws a grid line against the range axis.
- Specified by:
- drawRangeGridline in interface CategoryItemRenderer
- Overrides:
- drawRangeGridline in interface AbstractCategoryItemRenderer
- Parameters:
g2
- the graphics device.plot
- the plot.axis
- the value axis.dataArea
- the area for plotting data (not yet adjusted for any 3D effect).value
- the value at which the grid line should be drawn.
public void drawRangeMarker(Graphics2D g2, CategoryPlot plot, ValueAxis axis, Marker marker, Rectangle2D dataArea)
Draws a range marker.
- Specified by:
- drawRangeMarker in interface CategoryItemRenderer
- Overrides:
- drawRangeMarker in interface AbstractCategoryItemRenderer
- Parameters:
g2
- the graphics device.plot
- the plot.axis
- the value axis.marker
- the marker.dataArea
- the area for plotting data (not including 3D effect).
public boolean equals(Object obj)
Checks this renderer for equality with an arbitrary object.
- Overrides:
- equals in interface LineAndShapeRenderer
- Parameters:
obj
- the object (null
permitted).
- Returns:
- A boolean.
public Paint getWallPaint()
Returns the paint used to highlight the left and bottom wall in the plot background.
- Returns:
- The paint.
- See Also:
setWallPaint(Paint)
public double getXOffset()
Returns the x-offset for the 3D effect.
- Specified by:
- getXOffset in interface Effect3D
- Returns:
- The x-offset.
- See Also:
setXOffset(double)
,getYOffset()
public double getYOffset()
Returns the y-offset for the 3D effect.
- Specified by:
- getYOffset in interface Effect3D
- Returns:
- The y-offset.
- See Also:
setYOffset(double)
,getXOffset()
public void setWallPaint(Paint paint)
Sets the paint used to hightlight the left and bottom walls in the plot background, and sends aRendererChangeEvent
to all registered listeners.
- Parameters:
paint
- the paint (null
not permitted).
- See Also:
getWallPaint()
public void setXOffset(double xOffset)
Sets the x-offset and sends aRendererChangeEvent
to all registered listeners.
- Parameters:
xOffset
- the x-offset.
- See Also:
getXOffset()
public void setYOffset(double yOffset)
Sets the y-offset and sends aRendererChangeEvent
to all registered listeners.
- Parameters:
yOffset
- the y-offset.
- See Also:
getYOffset()