com.ijchart.xychart.chartinfo
Class RenderShapeCollection

java.lang.Object
  extended by com.ijchart.xychart.chartinfo.AbstractShapeCollection
      extended by com.ijchart.xychart.chartinfo.RenderShapeCollection
All Implemented Interfaces:
IShapeCollection, IChartShapeChangeListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener

public class RenderShapeCollection
extends AbstractShapeCollection
implements java.lang.Cloneable, java.io.Serializable

Title: IJChart

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

Collection to be used to store the shapes in render 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 DataBackgroundShapeDrawType DEFAULT_DATA_BACKGROUND_SHAPE_DRAW_TYPE
           The default draw type of data background shape.
 
Fields inherited from class com.ijchart.xychart.chartinfo.AbstractShapeCollection
shapeIdSequence
 
Constructor Summary
RenderShapeCollection()
           No argument constructor.
 
Method Summary
 void addAllTickLabelShape(java.util.List tickLabelShapes)
           Add all tick label shapes.
 void addAllTickLineShape(java.util.List tickLineShapes)
           Add all tick line shapes.
 void addAngleGridlineShape(IChartShape shape)
           Add an angle gridline shape.
 void addBackgroundIntervalMarkerShape(IChartShape markerShape)
           Add a background interval value marker shape.
 void addBackgroundMarkerShape(IChartShape markerShape)
           Add a background value marker shape.
 void addChart3DCloseLinesShape(IChartShape chart3DCloseLines)
           Add a line shape for close render area of 3D chart.
 void addDataItemBackgroundShape(IChartShape shape)
           Add a data item background shape.
 void addDataItemShape(IChartShape shape)
           Add a data item shape.
 void addDeviationShape(IChartShape shape)
           Add a deviation shape.
 void addDifferenceBackgroundShapes(IChartShape shape)
           Add a background shape of difference shape.
 void addDomainGridLineShape(IChartShape gridlineShape)
           Add a domain grid line shape.
 void addForegroundIntervalMarkerShape(IChartShape markerShape)
           Add a foreground interval value marker shape.
 void addForegroundMarkerShape(IChartShape markerShape)
           Add a foreground value marker shape.
 void addGuideLineShape(IChartShape shape)
           Add a guid line shape.
 void addJoinLineShape(IChartShape shape)
           Add a join line shape.
 void addMinMaxShape(IChartShape shape)
           Add a min-max value shape.
 void addMinMaxValueLineShape(IChartShape shape)
           Add a value-line shape.
 void addPie3DEffectShape(IChartShape shape)
           Add a pie 3D effect shape.
 void addPieLabelShape(IChartShape shape)
           Add a pie label shape.
 void addQuadrantBackgroundShape(IChartShape shape)
           Add a quadrant background shape.
 void addRadiusGridlineShape(IChartShape shape)
           Add a radius gridline shape.
 void addShadowShape(IChartShape shape)
           Add a shadow shape.
 void addTickLabelShape(IChartShape tickLabelShape)
           Add a tick label shape.
 void addTickLineShape(IChartShape tickLineShape)
           Add a tick line shape.
 void addValueGridBandShape(IChartShape gridBandShape)
           Add a value grid band shape.
 void addValueGridLineShape(IChartShape gridlineShape)
           Add a value grid line shape.
 void addValueLineShape(IChartShape valueLineShape)
           Add a value line shape.
 void clearAngleGridlines()
           Remove all angle gridline shapes.
 void clearBackgroundIntervalMarkerShapes()
           Remove all background interval value marker shapes.
 void clearBackgroundMarkerShapes()
           Remove all background value marker shapes.
 void clearChart3DCloseLineShapes()
           Remove all line shapes for close render area of 3D chart.
 void clearDataItemBackgroundShapes()
           Remove all data item background shapes.
 void clearDataItemShapes()
           Remove all data item shapes.
 void clearDeviationShapes()
           Remove all deviation shapes.
 void clearDifferenceBackgroundShapes()
           Remove all background shapes of difference shape.
 void clearDomainGridLineShapes()
           Remove all domain grid line shapes.
 void clearForegroundIntervalMarkerShapes()
           Remove all foreground interval value marker shapes.
 void clearForegroundMarkerShapes()
           Remove all foreground value marker shapes.
 void clearGuideLineShapes()
           Remove all guid line shapes.
 void clearJoinLineShapes()
           Remove all join line shapes.
 void clearMinMaxValueLineShapes()
           Remove all value-line shapes.
 void clearMinMaxValueShapes()
           Remove all min-max value shapes.
 void clearPie3DEffectShapes()
           Remove all pie 3D effect shapes.
 void clearPieLabelShapes()
           Remove all pie label shapes.
 void clearQuadrantBackgroundShapes()
           Remove all quadrant background shapes.
 void clearRadiusGridlines()
           Remove all radius gridline shapes.
 void clearSelectedShapes()
           Sets all shapes to unselected.
 void clearShadowShapes()
           Remove all shadow shapes.
 void clearShapesListener()
           Remove all the shapes of the listener.
 void clearTickLabelShapes()
           Remove all tick label shapes.
 void clearTickLineShapes()
           Remove all tick line shapes.
 void clearValueGridBandShapes()
           Remove all value grid band shapes.
 void clearValueGridLineShapes()
           Remove all value grid line shapes.
 void clearValueLineShapes()
           Remove all value line shapes.
 java.lang.Object clone()
           Returns a clone of the axis.
 void draw(java.awt.Graphics2D g2)
           Drawing all ChartShape in this collection.
 boolean equals(java.lang.Object obj)
           Tests this axis for equality with another object.
 IChartShape findChartShape(java.awt.geom.Point2D point, ChartShapeDrawType drawType)
           Returns the IChartShape whose area contains the specified point.
 java.util.List getAngleGridlines()
           Returns the list of angle gridline shapes and is unmodifiable.
 IChartShape getBackgroundImageShape()
           Returns the background image shape.
 java.util.List getBackgroundIntervalMarkerShapes()
           Returns the list of background interval value marker shapes and is unmodifiable.
 java.util.List getBackgroundMarkerShapes()
           Returns the list of background value marker shapes and is unmodifiable.
 IChartShape getBackgroundShape()
           Returns the background shape.
 IChartShape getBorderShape()
           Returns the border shape.
 java.util.List getChart3DCloseLineShapes()
           Returns the list of line shapes for close render area of 3D chart and is unmodifiable.
 DataBackgroundShapeDrawType getDataBackgroundShapeDrawType()
           Returns the draw type of data background shape.
 java.util.List getDataItemBackgroundShapes()
           Returns the list of data item background shapes and is unmodifiable.
 java.util.List getDataItemShapes()
           Returns the list of data item shapes and is unmodifiable.
 IMatrixDataset getDataset()
           Returns the dataset.
 java.util.List getDeviationShapes()
           Returns the list of deviation shapes and is unmodifiable.
 java.util.List getDifferenceBackgroundShapes()
           Returns the list of background shapes of difference shape and is unmodifiable.
 java.util.List getDomainGridLineShapes()
           Returns the list of domain grid line shapes and is unmodifiable.
 java.util.List getForegroundIntervalMarkerShapes()
           Returns the list of foreground interval marker shapes and is unmodifiable.
 java.util.List getForegroundMarkerShapes()
           Returns the list of foreground shapes and is unmodifiable.
 java.util.List getGuideLineShapes()
           Returns the list of guid line shapes and is unmodifiable.
 java.util.List getHotspotAreas(java.util.List drawTypes, IAreaFragment fragment)
           Returns the hotspot areas.
 java.util.List getJoinLineShapes()
           Returns the list of join line shapes and is unmodifiable.
 java.util.List getMeterArcTickLabels()
           The list of meter arc tick labels and is unmodifiable.
 java.util.List getMeterArcTickLines()
           The list of meter arc tick lines and is unmodifiable.
 IChartShape getMeterNeedleShape()
           Returns the needle shape of meter chart.
 IChartShape getMeterUnitShape()
           Returns the unit shape of meter chart.
 java.util.List getMinMaxValueLineShapes()
           Returns the list of value-line shapes and is unmodifiable.
 java.util.List getMinMaxValueShapes()
           Returns the list of min-max value shapes and is unmodifiable.
 java.util.List getPie3DEffectShapes()
           Returns the list of pie 3D effect shapes and is unmodifiable.
 java.util.List getPieLabelShapes()
           Returns the list of pie label shapes and is unmodifiable.
 java.util.List getQuadrantBackgroundShapes()
           Returns the list of quadrant background shapes and is unmodifiable.
 java.util.List getRadiusGridlines()
           Returns the list of radius gridline shapes and is unmodifiable.
 java.util.List getShadowShapes()
           Returns the list of shadow shapes and is unmodifiable.
 java.util.List getTickLabelShapes()
           Returns the list of tick label shapes and is unmodifiable.
 java.util.List getTickLineShapes()
           Returns the list of tick line shapes and is unmodifiable.
 java.util.List getValueGridBandShapes()
           Returns the list of value grid band shapes and is unmodifiable.
 java.util.List getValueGridLineShapes()
           Returns the list of value grid line shapes and is unmodifiable.
 java.util.List getValueLineShapes()
           Returns the list of value line shapes and is unmodifiable.
 int hashCode()
           Returns a hash code value for the object.
 void setBackgroundImageShape(IChartShape shape)
           Sets the background image shape.
 void setBackgroundShape(IChartShape shape)
           Sets the background shape.
 void setBorderShape(IChartShape borderShape)
           Sets the border shape.
 void setDataBackgroundShapeDrawType(DataBackgroundShapeDrawType type)
           Sets the draw type of data background shape.
 void setDataset(IMatrixDataset dataset)
           Sets the dataset.
 void setMeterNeedleShape(IChartShape meterNeedleShape)
           Sets the needle shape of meter chart.
 void setMeterUnitShape(IChartShape meterUnitShape)
           Sets the unit shape of meter chart.
 java.lang.String toString()
           Returns a string representation of the object.
 void translate(double x, double y)
           Translates the origin of the all shape in this chart to the point (x, y) in the current coordinate system.
 
Methods inherited from class com.ijchart.xychart.chartinfo.AbstractShapeCollection
addChangeListener, addHotspotArea, addHotspotArea, chartShapeChanged, clearSelectedShape, clearSelectedShape, clearShapesListener, clip, draw, findShape, fireChartShapeChanged, getDrawArea, hasListener, isDrawAreaContains, notifyListeners, removeAllChangeListener, removeChangeListener, removeShapesListener, resetShapeIdSequence, restoreClip, setDrawArea, translate
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_DATA_BACKGROUND_SHAPE_DRAW_TYPE

public static final DataBackgroundShapeDrawType DEFAULT_DATA_BACKGROUND_SHAPE_DRAW_TYPE
The default draw type of data background shape.

Constructor Detail

RenderShapeCollection

public RenderShapeCollection()
No argument constructor.

Method Detail

getBackgroundShape

public IChartShape getBackgroundShape()
Returns the background shape.

Returns:
IChartShape The background shape (maybe null).

setBackgroundShape

public void setBackgroundShape(IChartShape shape)
Sets the background shape.

Parameters:
shape - IChartShape The background shape (null permitted).

addQuadrantBackgroundShape

public void addQuadrantBackgroundShape(IChartShape shape)
Add a quadrant background shape.

Parameters:
shape - Shape A quadrant background shape.

getQuadrantBackgroundShapes

public java.util.List getQuadrantBackgroundShapes()
Returns the list of quadrant background shapes and is unmodifiable.

Returns:
List The list of quadrant background shapes and is unmodifiable.

clearQuadrantBackgroundShapes

public void clearQuadrantBackgroundShapes()
Remove all quadrant background shapes.


getBackgroundImageShape

public IChartShape getBackgroundImageShape()
Returns the background image shape.

Returns:
IChartShape The background image shape (maybe null).

setBackgroundImageShape

public void setBackgroundImageShape(IChartShape shape)
Sets the background image shape.

Parameters:
shape - IChartShape The background image shape (null permitted).

setBorderShape

public void setBorderShape(IChartShape borderShape)
Sets the border shape.

Parameters:
borderShape - IChartShape The border shape (null permitted).

getBorderShape

public IChartShape getBorderShape()
Returns the border shape.

Returns:
IChartShape The border shape (maybe null).

addDomainGridLineShape

public void addDomainGridLineShape(IChartShape gridlineShape)
Add a domain grid line shape.

Parameters:
gridlineShape - IChartShape A domain grid line shape (null permitted).

getDomainGridLineShapes

public java.util.List getDomainGridLineShapes()
Returns the list of domain grid line shapes and is unmodifiable.

Returns:
List The list of domain grid line shapes and is unmodifiable.

clearDomainGridLineShapes

public void clearDomainGridLineShapes()
Remove all domain grid line shapes.


addValueGridLineShape

public void addValueGridLineShape(IChartShape gridlineShape)
Add a value grid line shape.

Parameters:
gridlineShape - IChartShape A value grid line shape (null permitted).

getValueGridLineShapes

public java.util.List getValueGridLineShapes()
Returns the list of value grid line shapes and is unmodifiable.

Returns:
IChartShape The list of value grid line shapes and is unmodifiable.

clearValueGridLineShapes

public void clearValueGridLineShapes()
Remove all value grid line shapes.


addValueGridBandShape

public void addValueGridBandShape(IChartShape gridBandShape)
Add a value grid band shape.

Parameters:
gridBandShape - IChartShape A value grid band shape (null permitted).

getValueGridBandShapes

public java.util.List getValueGridBandShapes()
Returns the list of value grid band shapes and is unmodifiable.

Returns:
IChartShape The list of value grid band shapes and is unmodifiable.

clearValueGridBandShapes

public void clearValueGridBandShapes()
Remove all value grid band shapes.


addValueLineShape

public void addValueLineShape(IChartShape valueLineShape)
Add a value line shape.

Parameters:
valueLineShape - IChartShape A value line shape (null permitted).

getValueLineShapes

public java.util.List getValueLineShapes()
Returns the list of value line shapes and is unmodifiable.

Returns:
IChartShape The list of value line shapes and is unmodifiable.

clearValueLineShapes

public void clearValueLineShapes()
Remove all value line shapes.


addBackgroundMarkerShape

public void addBackgroundMarkerShape(IChartShape markerShape)
Add a background value marker shape.

Parameters:
markerShape - IChartShape A marker shape (null permitted).

getBackgroundMarkerShapes

public java.util.List getBackgroundMarkerShapes()
Returns the list of background value marker shapes and is unmodifiable.

Returns:
IChartShape The list of background marker shapes and is unmodifiable.

clearBackgroundMarkerShapes

public void clearBackgroundMarkerShapes()
Remove all background value marker shapes.


addForegroundMarkerShape

public void addForegroundMarkerShape(IChartShape markerShape)
Add a foreground value marker shape.

Parameters:
markerShape - IChartShape A marker shape (null permitted).

getForegroundMarkerShapes

public java.util.List getForegroundMarkerShapes()
Returns the list of foreground shapes and is unmodifiable.

Returns:
IChartShape The list of foreground value marker shapes and is unmodifiable.

clearForegroundMarkerShapes

public void clearForegroundMarkerShapes()
Remove all foreground value marker shapes.


addChart3DCloseLinesShape

public void addChart3DCloseLinesShape(IChartShape chart3DCloseLines)
Add a line shape for close render area of 3D chart.

Parameters:
chart3DCloseLines - IChartShape A line shape for close render area of 3D chart.

getChart3DCloseLineShapes

public java.util.List getChart3DCloseLineShapes()
Returns the list of line shapes for close render area of 3D chart and is unmodifiable.

Returns:
IChartShape The list of line shapes for close render area of 3D chart and is unmodifiable.

clearChart3DCloseLineShapes

public void clearChart3DCloseLineShapes()
Remove all line shapes for close render area of 3D chart.


addBackgroundIntervalMarkerShape

public void addBackgroundIntervalMarkerShape(IChartShape markerShape)
Add a background interval value marker shape.

Parameters:
markerShape - IChartShape A interval marker shape (null permitted).

getBackgroundIntervalMarkerShapes

public java.util.List getBackgroundIntervalMarkerShapes()
Returns the list of background interval value marker shapes and is unmodifiable.

Returns:
IChartShape The list of background interval marker shapes and is unmodifiable.

clearBackgroundIntervalMarkerShapes

public void clearBackgroundIntervalMarkerShapes()
Remove all background interval value marker shapes.


addForegroundIntervalMarkerShape

public void addForegroundIntervalMarkerShape(IChartShape markerShape)
Add a foreground interval value marker shape.

Parameters:
markerShape - IChartShape A marker shape (null permitted).

getForegroundIntervalMarkerShapes

public java.util.List getForegroundIntervalMarkerShapes()
Returns the list of foreground interval marker shapes and is unmodifiable.

Returns:
IChartShape The list of foreground interval value marker shapes and is unmodifiable.

clearForegroundIntervalMarkerShapes

public void clearForegroundIntervalMarkerShapes()
Remove all foreground interval value marker shapes.


addDeviationShape

public void addDeviationShape(IChartShape shape)
Add a deviation shape.

Parameters:
shape - IChartShape A deviation shape (null permitted).

getDeviationShapes

public java.util.List getDeviationShapes()
Returns the list of deviation shapes and is unmodifiable.

Returns:
IChartShape The list of deviation shapes and is unmodifiable.

clearDeviationShapes

public void clearDeviationShapes()
Remove all deviation shapes.


addDifferenceBackgroundShapes

public void addDifferenceBackgroundShapes(IChartShape shape)
Add a background shape of difference shape.

Parameters:
shape - IChartShape A background of difference shape (null permitted).

getDifferenceBackgroundShapes

public java.util.List getDifferenceBackgroundShapes()
Returns the list of background shapes of difference shape and is unmodifiable.

Returns:
IChartShape The list of shapes and is unmodifiable.

clearDifferenceBackgroundShapes

public void clearDifferenceBackgroundShapes()
Remove all background shapes of difference shape.


getDataBackgroundShapeDrawType

public DataBackgroundShapeDrawType getDataBackgroundShapeDrawType()
Returns the draw type of data background shape.

Returns:
DataBackgroundShapeDrawType never null.

setDataBackgroundShapeDrawType

public void setDataBackgroundShapeDrawType(DataBackgroundShapeDrawType type)
Sets the draw type of data background shape.

Parameters:
type - DataBackgroundShapeDrawType The draw type (null not permitted).

addDataItemBackgroundShape

public void addDataItemBackgroundShape(IChartShape shape)
Add a data item background shape.

Parameters:
shape - IChartShape A background shape (null permitted).

getDataItemBackgroundShapes

public java.util.List getDataItemBackgroundShapes()
Returns the list of data item background shapes and is unmodifiable.

Returns:
IChartShape The list of shapes and is unmodifiable.

clearDataItemBackgroundShapes

public void clearDataItemBackgroundShapes()
Remove all data item background shapes.


addMinMaxShape

public void addMinMaxShape(IChartShape shape)
Add a min-max value shape.

Parameters:
shape - IChartShape A min-max shape (null permitted).

getMinMaxValueShapes

public java.util.List getMinMaxValueShapes()
Returns the list of min-max value shapes and is unmodifiable.

Returns:
IChartShape The list of min-max value shapes and is unmodifiable.

clearMinMaxValueShapes

public void clearMinMaxValueShapes()
Remove all min-max value shapes.


addMinMaxValueLineShape

public void addMinMaxValueLineShape(IChartShape shape)
Add a value-line shape.

Parameters:
shape - IChartShape A value-line shape (null permitted).

getMinMaxValueLineShapes

public java.util.List getMinMaxValueLineShapes()
Returns the list of value-line shapes and is unmodifiable.

Returns:
IChartShape The list of value-line shapes and is unmodifiable.

clearMinMaxValueLineShapes

public void clearMinMaxValueLineShapes()
Remove all value-line shapes.


addJoinLineShape

public void addJoinLineShape(IChartShape shape)
Add a join line shape.

Parameters:
shape - IChartShape A join line shape (null permitted).

getJoinLineShapes

public java.util.List getJoinLineShapes()
Returns the list of join line shapes and is unmodifiable.

Returns:
IChartShape The list of join line shapes and is unmodifiable.

clearJoinLineShapes

public void clearJoinLineShapes()
Remove all join line shapes.


addGuideLineShape

public void addGuideLineShape(IChartShape shape)
Add a guid line shape.

Parameters:
shape - IChartShape A guid line shape (null permitted).

getGuideLineShapes

public java.util.List getGuideLineShapes()
Returns the list of guid line shapes and is unmodifiable.

Returns:
IChartShape The list of guid line shapes and is unmodifiable.

clearGuideLineShapes

public void clearGuideLineShapes()
Remove all guid line shapes.


addDataItemShape

public void addDataItemShape(IChartShape shape)
Add a data item shape.

Parameters:
shape - IChartShape A data item shape (null permitted).

getDataItemShapes

public java.util.List getDataItemShapes()
Returns the list of data item shapes and is unmodifiable.

Returns:
IChartShape The list of data item shapes and is unmodifiable.

clearDataItemShapes

public void clearDataItemShapes()
Remove all data item shapes.


addTickLineShape

public void addTickLineShape(IChartShape tickLineShape)
Add a tick line shape.

Parameters:
tickLineShape - IChartShape A tick line shape (null permitted).

addAllTickLineShape

public void addAllTickLineShape(java.util.List tickLineShapes)
Add all tick line shapes.

Parameters:
tickLineShapes - List A collection of tick line shapes (null permitted).

getTickLineShapes

public java.util.List getTickLineShapes()
Returns the list of tick line shapes and is unmodifiable.

Returns:
List The list of tick line shapes and is unmodifiable.

clearTickLineShapes

public void clearTickLineShapes()
Remove all tick line shapes.


addTickLabelShape

public void addTickLabelShape(IChartShape tickLabelShape)
Add a tick label shape.

Parameters:
tickLabelShape - IChartShape A tick label shape (null permitted).

addAllTickLabelShape

public void addAllTickLabelShape(java.util.List tickLabelShapes)
Add all tick label shapes.

Parameters:
tickLabelShapes - List A collection of tick label shapes (null permitted).

getTickLabelShapes

public java.util.List getTickLabelShapes()
Returns the list of tick label shapes and is unmodifiable.

Returns:
List The list of tick label shapes and is unmodifiable.

clearTickLabelShapes

public void clearTickLabelShapes()
Remove all tick label shapes.


getMeterNeedleShape

public IChartShape getMeterNeedleShape()
Returns the needle shape of meter chart.

Returns:
IChartShape The shape (maybe null).

setMeterNeedleShape

public void setMeterNeedleShape(IChartShape meterNeedleShape)
Sets the needle shape of meter chart.

Parameters:
meterNeedleShape - IChartShape The shape (maybe null).

getMeterUnitShape

public IChartShape getMeterUnitShape()
Returns the unit shape of meter chart.

Returns:
IChartShape The shape (maybe null).

setMeterUnitShape

public void setMeterUnitShape(IChartShape meterUnitShape)
Sets the unit shape of meter chart.

Parameters:
meterUnitShape - IChartShape The shape (maybe null).

getMeterArcTickLabels

public java.util.List getMeterArcTickLabels()
The list of meter arc tick labels and is unmodifiable.

Returns:
List The list of meter arc tick labels and is unmodifiable.

getMeterArcTickLines

public java.util.List getMeterArcTickLines()
The list of meter arc tick lines and is unmodifiable.

Returns:
List The list of meter arc tick lines and is unmodifiable.

addShadowShape

public void addShadowShape(IChartShape shape)
Add a shadow shape.

Parameters:
shape - IChartShape A shadow shape (null permitted).

getShadowShapes

public java.util.List getShadowShapes()
Returns the list of shadow shapes and is unmodifiable.

Returns:
IChartShape The list of shadow shapes and is unmodifiable.

clearShadowShapes

public void clearShadowShapes()
Remove all shadow shapes.


addPieLabelShape

public void addPieLabelShape(IChartShape shape)
Add a pie label shape.

Parameters:
shape - IChartShape A pie label shape (null permitted).

getPieLabelShapes

public java.util.List getPieLabelShapes()
Returns the list of pie label shapes and is unmodifiable.

Returns:
IChartShape The list of pie label shapes and is unmodifiable.

clearPieLabelShapes

public void clearPieLabelShapes()
Remove all pie label shapes.


addPie3DEffectShape

public void addPie3DEffectShape(IChartShape shape)
Add a pie 3D effect shape.

Parameters:
shape - IChartShape A pie 3D effect shape (null permitted).

getPie3DEffectShapes

public java.util.List getPie3DEffectShapes()
Returns the list of pie 3D effect shapes and is unmodifiable.

Returns:
IChartShape The list of pie 3D effect shapes and is unmodifiable.

clearPie3DEffectShapes

public void clearPie3DEffectShapes()
Remove all pie 3D effect shapes.


addRadiusGridlineShape

public void addRadiusGridlineShape(IChartShape shape)
Add a radius gridline shape.

Parameters:
shape - IChartShape A radius gridline shape (null permitted).

getRadiusGridlines

public java.util.List getRadiusGridlines()
Returns the list of radius gridline shapes and is unmodifiable.

Returns:
IChartShape The list of radius gridline shapes and is unmodifiable.

clearRadiusGridlines

public void clearRadiusGridlines()
Remove all radius gridline shapes.


addAngleGridlineShape

public void addAngleGridlineShape(IChartShape shape)
Add an angle gridline shape.

Parameters:
shape - IChartShape An angle gridline shape (null permitted).

getAngleGridlines

public java.util.List getAngleGridlines()
Returns the list of angle gridline shapes and is unmodifiable.

Returns:
IChartShape The list of angle gridline shapes and is unmodifiable.

clearAngleGridlines

public void clearAngleGridlines()
Remove all angle gridline shapes.


getDataset

public IMatrixDataset getDataset()
Returns the dataset.

Returns:
IMatrixDataset The dataset.

setDataset

public void setDataset(IMatrixDataset dataset)
Sets the dataset.

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

draw

public void draw(java.awt.Graphics2D g2)
Drawing all ChartShape in this collection.

Specified by:
draw in interface IShapeCollection
Parameters:
g2 - Graphics2D The graphics device (null not permitted).

translate

public void translate(double x,
                      double y)
Translates the origin of the all shape in this chart to the point (x, y) in the current coordinate system.

Specified by:
translate in interface IShapeCollection
Overrides:
translate in class AbstractShapeCollection
Parameters:
x - double The x coordinate.
y - double The y coordinate.

clearShapesListener

public void clearShapesListener()
Remove all the shapes of the listener.

Specified by:
clearShapesListener in interface IShapeCollection

clearSelectedShapes

public void clearSelectedShapes()
Sets all shapes to unselected.

Specified by:
clearSelectedShapes in interface IShapeCollection

findChartShape

public IChartShape findChartShape(java.awt.geom.Point2D point,
                                  ChartShapeDrawType drawType)
Returns the IChartShape whose area contains the specified point.

Specified by:
findChartShape in interface IShapeCollection
Parameters:
point - Point2D The point (null not permitted).
drawType - ChartShapeDrawType The shape draw shape (null permitted).
Returns:
IChartShape The chart shape (maybe null).

getHotspotAreas

public java.util.List getHotspotAreas(java.util.List drawTypes,
                                      IAreaFragment fragment)
Returns the hotspot areas.

Specified by:
getHotspotAreas in interface IShapeCollection
Overrides:
getHotspotAreas in class AbstractShapeCollection
Parameters:
drawTypes - List The types of hotspot shape.
fragment - IAreaFragment The IAreaFragment object (maybe null).
Returns:
List The hotspot areas (never null).

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Returns a clone of the axis.

Overrides:
clone in class AbstractShapeCollection
Returns:
A clone.
Throws:
java.lang.CloneNotSupportedException - if some component of the axis does not support cloning.

hashCode

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

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

equals

public boolean equals(java.lang.Object obj)
Tests this axis for equality with another object.

Overrides:
equals in class AbstractShapeCollection
Parameters:
obj - The object (null permitted).
Returns:
true or false.

toString

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

Overrides:
toString in class AbstractShapeCollection
Returns:
A string representation of the object.