com.ijchart.xychart.render.xy
Class XYLineAndShapeRender

java.lang.Object
  extended by com.ijchart.xychart.render.AbstractRender
      extended by com.ijchart.xychart.render.AbstractWithAxisRender
          extended by com.ijchart.xychart.render.xy.AbstractXYRender
              extended by com.ijchart.xychart.render.xy.XYLineAndShapeRender
All Implemented Interfaces:
IDatasetChangeListener, IRender, IRenderWithAxis, java.io.Serializable, java.lang.Cloneable, java.util.EventListener
Direct Known Subclasses:
DeviationRender

public class XYLineAndShapeRender
extends AbstractXYRender
implements java.lang.Cloneable, java.io.Serializable

Title: IJChart

Description: a chart library for the Java(tm) platform.

A render that draws shapes for each data item, and lines between data items (for use with the XYPlot class).

Copyright: Copyright (c) 2013

Company:

Version:
1.0
Author:
zhang feng min,shanghai china. Contract me by email.
See Also:
Serialized Form

Field Summary
static boolean DEFAULT_BASE_ALLOW_DUPLICATE_XVALUE
           A default flag that control (all rows) whether or not items duplicate x-values are allowed.
static boolean DEFAULT_BASE_ITEM_AUTO_SORT
           A default flag indicating whether or not items are automatically sorted.
static boolean DEFAULT_BASE_ITEM_LINE_VISIBLE
           A default flag indicating whether or not lines are drawn between non-null points.
static boolean DEFAULT_BASE_ITEM_SHAPE_FILLED
           A default flag indicating whether or not shapes are drawn for all points.
static boolean DEFAULT_BASE_ITEM_SHAPE_VISIBLE
           A default flag indicating whether or not shapes are drawn for all points.
 
Fields inherited from class com.ijchart.xychart.render.AbstractRender
borderPaints, borderStrokes, DEFAULT_AUTO_SELECT_BORDER_PAINT, DEFAULT_AUTO_SELECT_BORDER_STROKE, DEFAULT_AUTO_SELECT_FILL_PAINT, DEFAULT_BACKGROUND_IMAGE_ALIGNMENT, DEFAULT_BACKGROUND_PAINT, DEFAULT_BASE_BORDER_PAINT, DEFAULT_BASE_BORDER_STROKE, DEFAULT_BASE_ITEM_FILL, DEFAULT_BASE_ITEM_FILL_PAINT, DEFAULT_BASE_ITEM_FILL_PAINT_TRANSFORMER, DEFAULT_BASE_ITEM_LABEL_FONT, DEFAULT_BASE_ITEM_LABEL_HORIZONTAL_ALIGNMENT, DEFAULT_BASE_ITEM_LABEL_PAINT, DEFAULT_BASE_ITEM_LABEL_VERTICAL_ALIGNMENT, DEFAULT_BASE_ITEM_LABEL_VISIBLE, DEFAULT_BORDER_PAINT, DEFAULT_BORDER_STROKE, DEFAULT_DRAW_BORDER, DEFAULT_DRAWINT_SUPPLIER, DEFAULT_GENERATOR_TOOLTIP, DEFAULT_GENERATOR_URL, DEFAULT_LABEL_GENERATOR, DEFAULT_RENDER_AREA_BORDER_VISIBLE, DEFAULT_TOOLTIP_GENERATOR, fillPaints
 
Constructor Summary
XYLineAndShapeRender(IMatrixDataset dataset)
           constructor.
 
Method Summary
 java.lang.Object clone()
           Creates and returns a copy of this object.
protected  IChartShape createItemShapeOnly(java.awt.geom.Rectangle2D rect, java.lang.String text, java.lang.Object appendParam)
           Create a shape with no attribute specified.
 void drawAllItems(AbstractValueAxis xAxis, RectangleEdge xAxisEdge, AbstractValueAxis yAxis, RectangleEdge yAxisEdge, java.awt.geom.Rectangle2D dataArea, ChartOrientation orientation, RenderShapeCollection renderShapes, float alpha)
           Draws all data items.
 boolean equals(java.lang.Object obj)
           Tests this instance for equality with an arbitrary object.
protected  IChartShape[] getLegendItemShapes(int legendCount)
           Returns the shape array of legend items.
 LegendType getLegendType()
           Return the legend type.
 int hashCode()
           Returns a hash code value for the object.
 boolean isBaseItemAllowDuplicateXvalues()
           Returns a flag that control (all rows) whether or not items duplicate x-values are allowed.
 boolean isBaseItemAutoSort()
           Returns a flag indicating whether or not items are automatically sorted.
 boolean isBaseItemLineVisible()
           Returns the base 'lines visible' attribute.
 boolean isBaseItemShapeFilled()
           Returns the base 'shape filled' attribute.
 boolean isBaseItemShapeVisible()
           Returns the base 'shape visible' attribute.
 boolean isRowItemAllowDuplicateXvalue(int row)
           A table of flags that control (per row) whether or not items duplicate x-values are allowed.
 boolean isRowItemAutoSort(int row)
           Returns a flags that control (per row) whether or not items are automatically sorted.
 boolean isRowItemLineVisible(int row)
           Returns the flag used to control whether or not the lines for a row is visible.
 boolean isRowItemShapeFilled(int row)
           Returns the flag used to control whether or not the shapes for a row is filled.
 boolean isRowItemShapeVisible(int row)
           Returns the flag used to control whether or not the shapes for a row is visible.
 void setBaseItemAllowDuplicateXvalues(boolean flag)
           Sets a boolean flag that control (all rows) whether or not items duplicate x-values are allowed and sends a RenderChangeEvent to all registered listeners.
 void setBaseItemAutoSort(boolean flag)
           A flag indicating whether or not items are automatically sorted and sends a RenderChangeEvent to all registered listeners.
 void setBaseItemLineVisible(boolean flag)
           Sets the base 'lines visible' flag and sends a RenderChangeEvent to all registered listeners.
 void setBaseItemShapeFilled(boolean flag)
           Sets the base 'shapes filled' flag and sends a RenderChangeEvent to all registered listeners.
 void setBaseItemShapeVisible(boolean flag)
           Sets the base 'shapes visible' flag and sends a RenderChangeEvent to all registered listeners.
 void setRowItemAllowDuplicateXvalue(int row, boolean allowDuplicate)
           Sets a flag that control (per row) whether or not items duplicate x-values are allowed, and sends a RenderChangeEvent to all registered listeners.
 void setRowItemAutoSort(int row, boolean autoSort)
           A table of flags that control (per row) whether or not items are automatically sorted,and sends a RenderChangeEvent to all registered listeners.
 void setRowItemLineVisible(int row, boolean flag)
           Sets the 'lines visible' flag for a row and sends a RenderChangeEvent to all registered listeners.
 void setRowItemShapeFilled(int row, boolean filled)
           Sets the 'shapes filled' flag for a row and sends a RenderChangeEvent to all registered listeners.
 void setRowItemShapeVisible(int row, boolean flag)
           Sets the 'shapes visible' flag for a row and sends a RenderChangeEvent.
 java.lang.String toString()
           Returns a string representation of the object.
 
Methods inherited from class com.ijchart.xychart.render.xy.AbstractXYRender
addAnnotation, drawAllAnnotation, getAllAnnotations, removeAllAnnotation
 
Methods inherited from class com.ijchart.xychart.render.AbstractWithAxisRender
createItemShape, createValueMarkerShape, drawIntervalValueMarker, drawValueMarker, getValueAxisOffsetType
 
Methods inherited from class com.ijchart.xychart.render.AbstractRender
add3DShapes, addChangeListener, calculateLegendItemShapes, datasetChanged, drawBackground, drawBackgroundImage, drawDrawAreaBorder, fireRenderChanged, getBackgroundImage, getBackgroundImageAlignment, getBackgroundImageAlpha, getBackgroundPaint, getBaseItemBorderPaint, getBaseItemBorderStroke, getBaseItemFillPaint, getBaseItemFillPaintTransformer, getBaseItemLabelDirection, getBaseItemLabelFont, getBaseItemLabelHorizontalAlignment, getBaseItemLabelPaint, getBaseItemLabelPosition, getBaseItemLabelVerticalAlignment, getBaseItemLabelVisible, getBorderPaints, getBorderStrokes, getChartArea, getColumnItemBorderPaint, getColumnItemBorderStroke, getColumnItemFillPaint, getColumnItemFillPaintTransformer, getColumnItemLabelDirection, getColumnItemLabelFont, getColumnItemLabelHorizontalAlignment, getColumnItemLabelPaint, getColumnItemLabelPosition, getColumnItemLabelVerticalAlignment, getDataset, getDrawingSupplier, getFillPaints, getItemBorderPaint, getItemBorderStroke, getItemFillPaint, getItemFillPaintHelper, getItemFillPaintTransformer, getItemLabelDirection, getItemLabelFont, getItemLabelHorizontalAlignment, getItemLabelPaint, getItemLabelPosition, getItemLabelVerticalAlignment, getLabelGenerator, getLegendItemCount, getLegendItemLabels, getLegendItemLabelsByColumn, getLegendItemLabelsByRow, getLegendPositon, getNegativeItemLabelHorizontalAlignment, getNegativeItemLabelVerticalAlignment, getPositiveItemLabelHorizontalAlignment, getPositiveItemLabelVerticalAlignment, getRenderAreaBorderPaint, getRenderAreaBorderStroke, getRowItemBorderPaint, getRowItemBorderStroke, getRowItemFillPaint, getRowItemFillPaintTransformer, getRowItemLabelDirection, getRowItemLabelFont, getRowItemLabelHorizontalAlignment, getRowItemLabelPaint, getRowItemLabelPosition, getRowItemLabelVerticalAlignment, getToolTipGenerator, hasListener, isAutoSelectBorderPaint, isAutoSelectBorderStroke, isAutoSelectFillPaint, isBaseItemDrawBorder, isBaseItemFill, isColumnItemDrawBorder, isColumnItemFill, isColumnItemLabelVisible, isColumnItemVisible, isGeneratorTooltip, isGeneratorUrl, isItemDrawBorder, isItemFill, isItemLabelVisible, isItemVisible, isRenderAreaBorderVisible, isRowItemDrawBorder, isRowItemFill, isRowItemLabelVisible, isRowItemVisible, notifyListeners, removeAllChangeListener, removeChangeListener, setAutoSelectBorderPaint, setAutoSelectBorderStroke, setAutoSelectFillPaint, setBackgroundImage, setBackgroundImageAlignment, setBackgroundImageAlpha, setBackgroundPaint, setBaseItemBorderPaint, setBaseItemBorderStroke, setBaseItemDrawBorder, setBaseItemFill, setBaseItemFillPaint, setBaseItemFillPaintTransformer, setBaseItemLabelDirection, setBaseItemLabelFont, setBaseItemLabelHorizontalAlignment, setBaseItemLabelPaint, setBaseItemLabelPosition, setBaseItemLabelVerticalAlignment, setBaseItemLabelVisible, setChartArea, setColumnItemBorderPaint, setColumnItemBorderStroke, setColumnItemDrawBorder, setColumnItemFill, setColumnItemFillPaint, setColumnItemFillPaintTransformer, setColumnItemLabelDirection, setColumnItemLabelFont, setColumnItemLabelHorizontalAlignment, setColumnItemLabelPaint, setColumnItemLabelPosition, setColumnItemLabelVerticalAlignment, setColumnItemLabelVisible, setColumnItemVisible, setCustomLegendType, setDataset, setDrawingSupplier, setDrawingSupplier, setGeneratorTooltip, setGeneratorUrl, setItemBorderPaint, setItemBorderStroke, setItemDrawBorder, setItemFill, setItemFillPaint, setItemFillPaintTransformer, setItemLabelDirection, setItemLabelFont, setItemLabelHorizontalAlignment, setItemLabelPaint, setItemLabelPosition, setItemLabelVerticalAlignment, setItemLabelVisible, setItemVisible, setLabelGenerator, setLegendPositon, setNegativeItemLabelHorizontalAlignment, setNegativeItemLabelVerticalAlignment, setPositiveItemLabelHorizontalAlignment, setPositiveItemLabelVerticalAlignment, setRenderAreaBorderPaint, setRenderAreaBorderStroke, setRenderAreaBorderVisible, setRowItemBorderPaint, setRowItemBorderStroke, setRowItemDrawBorder, setRowItemFill, setRowItemFillPaint, setRowItemFillPaintTransformer, setRowItemLabelDirection, setRowItemLabelFont, setRowItemLabelHorizontalAlignment, setRowItemLabelPaint, setRowItemLabelPosition, setRowItemLabelVerticalAlignment, setRowItemLabelVisible, setRowItemVisible, setToolTipGenerator
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ijchart.xychart.render.IRender
addChangeListener, drawBackground, drawBackgroundImage, drawDrawAreaBorder, getBaseItemBorderPaint, getBaseItemBorderStroke, getBaseItemFillPaint, getBaseItemFillPaintTransformer, getBaseItemLabelFont, getBaseItemLabelHorizontalAlignment, getBaseItemLabelPaint, getBaseItemLabelPosition, getBaseItemLabelVerticalAlignment, getBaseItemLabelVisible, getColumnItemBorderPaint, getColumnItemBorderStroke, getColumnItemFillPaint, getColumnItemFillPaintTransformer, getColumnItemLabelFont, getColumnItemLabelHorizontalAlignment, getColumnItemLabelPaint, getColumnItemLabelPosition, getColumnItemLabelVerticalAlignment, getItemBorderPaint, getItemBorderStroke, getItemFillPaint, getItemFillPaintTransformer, getItemLabelFont, getItemLabelHorizontalAlignment, getItemLabelPaint, getItemLabelPosition, getItemLabelVerticalAlignment, getLabelGenerator, getNegativeItemLabelHorizontalAlignment, getNegativeItemLabelVerticalAlignment, getPositiveItemLabelHorizontalAlignment, getPositiveItemLabelVerticalAlignment, getRowItemBorderPaint, getRowItemBorderStroke, getRowItemFillPaint, getRowItemFillPaintTransformer, getRowItemLabelFont, getRowItemLabelHorizontalAlignment, getRowItemLabelPaint, getRowItemLabelPosition, getRowItemLabelVerticalAlignment, getToolTipGenerator, isBaseItemDrawBorder, isBaseItemFill, isColumnItemDrawBorder, isColumnItemFill, isColumnItemLabelVisible, isColumnItemVisible, isItemDrawBorder, isItemFill, isItemLabelVisible, isItemVisible, isRowItemDrawBorder, isRowItemFill, isRowItemLabelVisible, isRowItemVisible, removeAllChangeListener, removeChangeListener, setBaseItemBorderPaint, setBaseItemBorderStroke, setBaseItemDrawBorder, setBaseItemFill, setBaseItemFillPaint, setBaseItemFillPaintTransformer, setBaseItemLabelFont, setBaseItemLabelHorizontalAlignment, setBaseItemLabelPaint, setBaseItemLabelPosition, setBaseItemLabelVerticalAlignment, setBaseItemLabelVisible, setColumnItemBorderPaint, setColumnItemBorderStroke, setColumnItemDrawBorder, setColumnItemFill, setColumnItemFillPaint, setColumnItemFillPaintTransformer, setColumnItemLabelFont, setColumnItemLabelHorizontalAlignment, setColumnItemLabelPaint, setColumnItemLabelPosition, setColumnItemLabelVerticalAlignment, setColumnItemLabelVisible, setColumnItemVisible, setCustomLegendType, setItemBorderPaint, setItemBorderStroke, setItemDrawBorder, setItemFill, setItemFillPaint, setItemFillPaintTransformer, setItemLabelFont, setItemLabelHorizontalAlignment, setItemLabelPaint, setItemLabelPosition, setItemLabelVerticalAlignment, setItemLabelVisible, setItemVisible, setLabelGenerator, setNegativeItemLabelHorizontalAlignment, setNegativeItemLabelVerticalAlignment, setPositiveItemLabelHorizontalAlignment, setPositiveItemLabelVerticalAlignment, setRowItemBorderPaint, setRowItemBorderStroke, setRowItemDrawBorder, setRowItemFill, setRowItemFillPaint, setRowItemFillPaintTransformer, setRowItemLabelFont, setRowItemLabelHorizontalAlignment, setRowItemLabelPaint, setRowItemLabelPosition, setRowItemLabelVerticalAlignment, setRowItemLabelVisible, setRowItemVisible, setToolTipGenerator
 

Field Detail

DEFAULT_BASE_ITEM_LINE_VISIBLE

public static final boolean DEFAULT_BASE_ITEM_LINE_VISIBLE
A default flag indicating whether or not lines are drawn between non-null points.

See Also:
Constant Field Values

DEFAULT_BASE_ITEM_SHAPE_VISIBLE

public static final boolean DEFAULT_BASE_ITEM_SHAPE_VISIBLE
A default flag indicating whether or not shapes are drawn for all points.

See Also:
Constant Field Values

DEFAULT_BASE_ITEM_SHAPE_FILLED

public static final boolean DEFAULT_BASE_ITEM_SHAPE_FILLED
A default flag indicating whether or not shapes are drawn for all points.

See Also:
Constant Field Values

DEFAULT_BASE_ITEM_AUTO_SORT

public static final boolean DEFAULT_BASE_ITEM_AUTO_SORT
A default flag indicating whether or not items are automatically sorted.

See Also:
Constant Field Values

DEFAULT_BASE_ALLOW_DUPLICATE_XVALUE

public static final boolean DEFAULT_BASE_ALLOW_DUPLICATE_XVALUE
A default flag that control (all rows) whether or not items duplicate x-values are allowed.

See Also:
Constant Field Values
Constructor Detail

XYLineAndShapeRender

public XYLineAndShapeRender(IMatrixDataset dataset)
constructor.

Parameters:
dataset - IMatrixDataset The dataset (null not permitted).
Method Detail

isRowItemLineVisible

public boolean isRowItemLineVisible(int row)
Returns the flag used to control whether or not the lines for a row is visible.

Parameters:
row - int The row index (zero-based).
Returns:
boolean The flag (possibly null).

setRowItemLineVisible

public void setRowItemLineVisible(int row,
                                  boolean flag)
Sets the 'lines visible' flag for a row and sends a RenderChangeEvent to all registered listeners.

Parameters:
row - int The row index (zero-based).
flag - boolean The flag (null permitted).

isBaseItemLineVisible

public boolean isBaseItemLineVisible()
Returns the base 'lines visible' attribute.

Returns:
boolean The base flag.

setBaseItemLineVisible

public void setBaseItemLineVisible(boolean flag)
Sets the base 'lines visible' flag and sends a RenderChangeEvent to all registered listeners.

Parameters:
flag - boolean The flag.

isRowItemShapeVisible

public boolean isRowItemShapeVisible(int row)
Returns the flag used to control whether or not the shapes for a row is visible.

Parameters:
row - int The row index (zero-based).
Returns:
boolean A boolean (maybe null).

setRowItemShapeVisible

public void setRowItemShapeVisible(int row,
                                   boolean flag)
Sets the 'shapes visible' flag for a row and sends a RenderChangeEvent.

Parameters:
row - int The row index (zero-based).
flag - boolean The flag (null permitted).

isBaseItemShapeVisible

public boolean isBaseItemShapeVisible()
Returns the base 'shape visible' attribute.

Returns:
boolean The base flag.

setBaseItemShapeVisible

public void setBaseItemShapeVisible(boolean flag)
Sets the base 'shapes visible' flag and sends a RenderChangeEvent to all registered listeners.

Parameters:
flag - boolean The flag.

isRowItemShapeFilled

public boolean isRowItemShapeFilled(int row)
Returns the flag used to control whether or not the shapes for a row is filled.

Parameters:
row - boolean The row index (zero-based).
Returns:
boolean The boolean flag (maybe null).

setRowItemShapeFilled

public void setRowItemShapeFilled(int row,
                                  boolean filled)
Sets the 'shapes filled' flag for a row and sends a RenderChangeEvent to all registered listeners.

Parameters:
row - int The row index (zero-based).
filled - boolean The flag (null permitted).

isBaseItemShapeFilled

public boolean isBaseItemShapeFilled()
Returns the base 'shape filled' attribute.

Returns:
boolean The base flag.

setBaseItemShapeFilled

public void setBaseItemShapeFilled(boolean flag)
Sets the base 'shapes filled' flag and sends a RenderChangeEvent to all registered listeners.

Parameters:
flag - boolean The flag.

setRowItemAutoSort

public void setRowItemAutoSort(int row,
                               boolean autoSort)
A table of flags that control (per row) whether or not items are automatically sorted,and sends a RenderChangeEvent to all registered listeners.

Parameters:
row - int The row index (zero-based).
autoSort - boolean The flag (null permitted).

isRowItemAutoSort

public boolean isRowItemAutoSort(int row)
Returns a flags that control (per row) whether or not items are automatically sorted.

Parameters:
row - boolean The row index (zero-based).
Returns:
boolean The boolean flag (maybe null).

isBaseItemAutoSort

public boolean isBaseItemAutoSort()
Returns a flag indicating whether or not items are automatically sorted.

Returns:
boolean A boolean.

setBaseItemAutoSort

public void setBaseItemAutoSort(boolean flag)
A flag indicating whether or not items are automatically sorted and sends a RenderChangeEvent to all registered listeners.

Parameters:
flag - boolean A boolean.

setRowItemAllowDuplicateXvalue

public void setRowItemAllowDuplicateXvalue(int row,
                                           boolean allowDuplicate)
Sets a flag that control (per row) whether or not items duplicate x-values are allowed, and sends a RenderChangeEvent to all registered listeners.

Parameters:
row - int The row index (zero-based).
allowDuplicate - boolean The flag (null permitted).

isRowItemAllowDuplicateXvalue

public boolean isRowItemAllowDuplicateXvalue(int row)
A table of flags that control (per row) whether or not items duplicate x-values are allowed.

Parameters:
row - boolean The row index (zero-based).
Returns:
boolean The boolean flag (maybe null).

isBaseItemAllowDuplicateXvalues

public boolean isBaseItemAllowDuplicateXvalues()
Returns a flag that control (all rows) whether or not items duplicate x-values are allowed.

Returns:
boolean A boolean.

setBaseItemAllowDuplicateXvalues

public void setBaseItemAllowDuplicateXvalues(boolean flag)
Sets a boolean flag that control (all rows) whether or not items duplicate x-values are allowed and sends a RenderChangeEvent to all registered listeners.

Parameters:
flag - boolean A boolean.

drawAllItems

public void drawAllItems(AbstractValueAxis xAxis,
                         RectangleEdge xAxisEdge,
                         AbstractValueAxis yAxis,
                         RectangleEdge yAxisEdge,
                         java.awt.geom.Rectangle2D dataArea,
                         ChartOrientation orientation,
                         RenderShapeCollection renderShapes,
                         float alpha)
Draws all data items.

Specified by:
drawAllItems in class AbstractXYRender
Parameters:
xAxis - AbstractValueAxis The x value axis (null not permitted).
xAxisEdge - RectangleEdge The x axis edge.
yAxis - AbstractValueAxis The y value axis (null not permitted).
yAxisEdge - RectangleEdge The y axis edge (null not permitted).
dataArea - Rectangle2D The chart data area (null not permitted).
orientation - ChartOrientation The chart orientation (null not permitted).
renderShapes - RenderShapeCollection Collects information about the render (null not permitted).
alpha - float The alpha transparency (in the range 0.0f to 1.0f, where 0.0f is fully transparent, and 1.0f is fully opaque).

getLegendType

public LegendType getLegendType()
Return the legend type.

Specified by:
getLegendType in interface IRender
Overrides:
getLegendType in class AbstractRender
Returns:
LegendType The legend type.

getLegendItemShapes

protected IChartShape[] getLegendItemShapes(int legendCount)
Returns the shape array of legend items.

Overrides:
getLegendItemShapes in class AbstractRender
Parameters:
legendCount - int The legend items count.
Returns:
IChartShape[] The shapes array.

createItemShapeOnly

protected IChartShape createItemShapeOnly(java.awt.geom.Rectangle2D rect,
                                          java.lang.String text,
                                          java.lang.Object appendParam)
Create a shape with no attribute specified.

Overrides:
createItemShapeOnly in class AbstractRender
Parameters:
rect - Rectangle2D The bar rectangle (null not permitted).
text - String The text (null permitted).
appendParam - Object The append parameter,used for special propose (null permitted).
Returns:
IChartShape The shape.

equals

public boolean equals(java.lang.Object obj)
Tests this instance for equality with an arbitrary object.

Overrides:
equals in class AbstractXYRender
Parameters:
obj - the object (null permitted).
Returns:
A boolean.

hashCode

public int hashCode()
Returns a hash code value for the object.

Overrides:
hashCode in class AbstractXYRender
Returns:
int A hash code value for this object.

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Creates and returns a copy of this object.

Overrides:
clone in class AbstractXYRender
Returns:
object a clone of this instance.
Throws:
java.lang.CloneNotSupportedException - if the object's class does not support the Cloneable interface. Subclasses that override the clone method can also throw this exception to indicate that an instance cannot be cloned.

toString

public java.lang.String toString()
Returns a string representation of the object.

Overrides:
toString in class AbstractXYRender
Returns:
a string representation of the object.