org.jfree.chart.renderer.xy
public class XYLine3DRenderer extends XYLineAndShapeRenderer implements Effect3D, Serializable
| Field Summary | |
|---|---|
| static Paint | DEFAULT_WALL_PAINT The default wall paint. |
| static double | DEFAULT_X_OFFSET The default x-offset for the 3D effect. |
| static double | DEFAULT_Y_OFFSET The default y-offset for the 3D effect. |
| Constructor Summary | |
|---|---|
| XYLine3DRenderer()
Creates a new renderer. | |
| Method Summary | |
|---|---|
| protected void | drawFirstPassShape(Graphics2D g2, int pass, int series, int item, Shape shape)
Overrides the method in the subclass to draw a shadow in the first pass.
|
| boolean | equals(Object obj)
Tests this renderer for equality with an arbitrary object.
|
| int | getPassCount()
Returns the number of passes through the data that the renderer requires
in order to draw the chart. |
| Paint | getWallPaint()
Returns the paint used to highlight the left and bottom wall in the plot
background.
|
| double | getXOffset()
Returns the x-offset for the 3D effect.
|
| double | getYOffset()
Returns the y-offset for the 3D effect.
|
| protected boolean | isItemPass(int pass)
Returns true if the specified pass involves drawing items.
|
| protected boolean | isLinePass(int pass)
Returns true if the specified pass involves drawing lines.
|
| protected boolean | isShadowPass(int pass)
Returns true if the specified pass involves drawing shadows.
|
| void | setWallPaint(Paint paint)
Sets the paint used to hightlight the left and bottom walls in the plot
background and sends a RendererChangeEvent to all registered
listeners.
|
| void | setXOffset(double xOffset)
Sets the x-offset and sends a RendererChangeEvent to all
registered listeners.
|
| void | setYOffset(double yOffset)
Sets the y-offset and sends a RendererChangeEvent to all
registered listeners.
|
Parameters: g2 the graphics device. pass the pass. series the series index (zero-based). item the item index (zero-based). shape the shape.
Parameters: obj the object (null permitted).
Returns: A boolean.
Returns: The pass count.
Returns: The paint.
Returns: The 3D effect.
Returns: The 3D effect.
true if the specified pass involves drawing items.
Parameters: pass the pass.
Returns: A boolean.
true if the specified pass involves drawing lines.
Parameters: pass the pass.
Returns: A boolean.
true if the specified pass involves drawing shadows.
Parameters: pass the pass.
Returns: A boolean.
Parameters: paint the paint.
Parameters: xOffset the x-offset.
Parameters: yOffset the y-offset.