@Test public void testCloning() throws CloneNotSupportedException { CandlestickRenderer r1 = new CandlestickRenderer(); CandlestickRenderer r2 = (CandlestickRenderer) r1.clone(); assertNotSame(r1, r2); assertSame(r1.getClass(), r2.getClass()); assertEquals(r1, r2); }
@Override public Object clone() throws CloneNotSupportedException { return super.clone(); }
CandlestickRenderer extends AbstractXYItemRenderer implements XYItemRenderer, Cloneable, PublicCloneable, Serializable { @Override public Object clone() throws CloneNotSupportedException { return super.clone(); } }
CandlestickRenderer extends AbstractXYItemRenderer implements XYItemRenderer, Cloneable, PublicCloneable, Serializable { @Override public Object clone() throws CloneNotSupportedException { return super.clone(); } CandlestickRenderer();  CandlestickRenderer(double candleWidth);  CandlestickRenderer(double candleWidth, boolean drawVolume,
                               XYToolTipGenerator toolTipGenerator); }
CandlestickRenderer extends AbstractXYItemRenderer implements XYItemRenderer, Cloneable, PublicCloneable, Serializable { @Override public Object clone() throws CloneNotSupportedException { return super.clone(); } CandlestickRenderer();  CandlestickRenderer(double candleWidth);  CandlestickRenderer(double candleWidth, boolean drawVolume,
                               XYToolTipGenerator toolTipGenerator); double getCandleWidth(); void setCandleWidth(double width); double getMaxCandleWidthInMilliseconds(); void setMaxCandleWidthInMilliseconds(double millis); int getAutoWidthMethod(); void setAutoWidthMethod(int autoWidthMethod); double getAutoWidthFactor(); void setAutoWidthFactor(double autoWidthFactor); double getAutoWidthGap(); void setAutoWidthGap(double autoWidthGap); Paint getUpPaint(); void setUpPaint(Paint paint); Paint getDownPaint(); void setDownPaint(Paint paint); boolean getDrawVolume(); void setDrawVolume(boolean flag); Paint getVolumePaint(); void setVolumePaint(Paint paint); boolean getUseOutlinePaint(); void setUseOutlinePaint(boolean use); @Override Range findRangeBounds(XYDataset dataset); @Override XYItemRendererState initialise(Graphics2D g2,
                                          Rectangle2D dataArea,
                                          XYPlot plot,
                                          XYDataset dataset,
                                          PlotRenderingInfo info); @Override void drawItem(Graphics2D g2,
                         XYItemRendererState state,
                         Rectangle2D dataArea,
                         PlotRenderingInfo info,
                         XYPlot plot,
                         ValueAxis domainAxis,
                         ValueAxis rangeAxis,
                         XYDataset dataset,
                         int series,
                         int item,
                         CrosshairState crosshairState,
                         int pass); @Override boolean equals(Object obj); @Override Object clone(); }
CandlestickRenderer extends AbstractXYItemRenderer implements XYItemRenderer, Cloneable, PublicCloneable, Serializable { @Override public Object clone() throws CloneNotSupportedException { return super.clone(); } CandlestickRenderer();  CandlestickRenderer(double candleWidth);  CandlestickRenderer(double candleWidth, boolean drawVolume,
                               XYToolTipGenerator toolTipGenerator); double getCandleWidth(); void setCandleWidth(double width); double getMaxCandleWidthInMilliseconds(); void setMaxCandleWidthInMilliseconds(double millis); int getAutoWidthMethod(); void setAutoWidthMethod(int autoWidthMethod); double getAutoWidthFactor(); void setAutoWidthFactor(double autoWidthFactor); double getAutoWidthGap(); void setAutoWidthGap(double autoWidthGap); Paint getUpPaint(); void setUpPaint(Paint paint); Paint getDownPaint(); void setDownPaint(Paint paint); boolean getDrawVolume(); void setDrawVolume(boolean flag); Paint getVolumePaint(); void setVolumePaint(Paint paint); boolean getUseOutlinePaint(); void setUseOutlinePaint(boolean use); @Override Range findRangeBounds(XYDataset dataset); @Override XYItemRendererState initialise(Graphics2D g2,
                                          Rectangle2D dataArea,
                                          XYPlot plot,
                                          XYDataset dataset,
                                          PlotRenderingInfo info); @Override void drawItem(Graphics2D g2,
                         XYItemRendererState state,
                         Rectangle2D dataArea,
                         PlotRenderingInfo info,
                         XYPlot plot,
                         ValueAxis domainAxis,
                         ValueAxis rangeAxis,
                         XYDataset dataset,
                         int series,
                         int item,
                         CrosshairState crosshairState,
                         int pass); @Override boolean equals(Object obj); @Override Object clone(); static final int WIDTHMETHOD_AVERAGE; static final int WIDTHMETHOD_SMALLEST; static final int WIDTHMETHOD_INTERVALDATA; }