|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ijchart.xychart.chartinfo.AbstractShapeCollection
com.ijchart.xychart.chartinfo.RenderShapeCollection
public class RenderShapeCollection
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:
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 |
---|
public static final DataBackgroundShapeDrawType DEFAULT_DATA_BACKGROUND_SHAPE_DRAW_TYPE
Constructor Detail |
---|
public RenderShapeCollection()
Method Detail |
---|
public IChartShape getBackgroundShape()
public void setBackgroundShape(IChartShape shape)
shape
- IChartShape
The background shape (null permitted).public void addQuadrantBackgroundShape(IChartShape shape)
shape
- Shape
A quadrant background shape.public java.util.List getQuadrantBackgroundShapes()
public void clearQuadrantBackgroundShapes()
public IChartShape getBackgroundImageShape()
public void setBackgroundImageShape(IChartShape shape)
shape
- IChartShape
The background image shape (null permitted).public void setBorderShape(IChartShape borderShape)
borderShape
- IChartShape
The border shape (null permitted).public IChartShape getBorderShape()
public void addDomainGridLineShape(IChartShape gridlineShape)
gridlineShape
- IChartShape
A domain grid line shape (null permitted).public java.util.List getDomainGridLineShapes()
public void clearDomainGridLineShapes()
public void addValueGridLineShape(IChartShape gridlineShape)
gridlineShape
- IChartShape
A value grid line shape (null permitted).public java.util.List getValueGridLineShapes()
public void clearValueGridLineShapes()
public void addValueGridBandShape(IChartShape gridBandShape)
gridBandShape
- IChartShape
A value grid band shape (null permitted).public java.util.List getValueGridBandShapes()
public void clearValueGridBandShapes()
public void addValueLineShape(IChartShape valueLineShape)
valueLineShape
- IChartShape
A value line shape (null permitted).public java.util.List getValueLineShapes()
public void clearValueLineShapes()
public void addBackgroundMarkerShape(IChartShape markerShape)
markerShape
- IChartShape
A marker shape (null permitted).public java.util.List getBackgroundMarkerShapes()
public void clearBackgroundMarkerShapes()
public void addForegroundMarkerShape(IChartShape markerShape)
markerShape
- IChartShape
A marker shape (null permitted).public java.util.List getForegroundMarkerShapes()
public void clearForegroundMarkerShapes()
public void addChart3DCloseLinesShape(IChartShape chart3DCloseLines)
chart3DCloseLines
- IChartShape
A line shape for close render area of 3D chart.public java.util.List getChart3DCloseLineShapes()
public void clearChart3DCloseLineShapes()
public void addBackgroundIntervalMarkerShape(IChartShape markerShape)
markerShape
- IChartShape
A interval marker shape (null permitted).public java.util.List getBackgroundIntervalMarkerShapes()
public void clearBackgroundIntervalMarkerShapes()
public void addForegroundIntervalMarkerShape(IChartShape markerShape)
markerShape
- IChartShape
A marker shape (null permitted).public java.util.List getForegroundIntervalMarkerShapes()
public void clearForegroundIntervalMarkerShapes()
public void addDeviationShape(IChartShape shape)
shape
- IChartShape
A deviation shape (null permitted).public java.util.List getDeviationShapes()
public void clearDeviationShapes()
public void addDifferenceBackgroundShapes(IChartShape shape)
shape
- IChartShape
A background of difference shape (null permitted).public java.util.List getDifferenceBackgroundShapes()
public void clearDifferenceBackgroundShapes()
public DataBackgroundShapeDrawType getDataBackgroundShapeDrawType()
public void setDataBackgroundShapeDrawType(DataBackgroundShapeDrawType type)
type
- DataBackgroundShapeDrawType
The draw type (null not permitted).public void addDataItemBackgroundShape(IChartShape shape)
shape
- IChartShape
A background shape (null permitted).public java.util.List getDataItemBackgroundShapes()
public void clearDataItemBackgroundShapes()
public void addMinMaxShape(IChartShape shape)
shape
- IChartShape
A min-max shape (null permitted).public java.util.List getMinMaxValueShapes()
public void clearMinMaxValueShapes()
public void addMinMaxValueLineShape(IChartShape shape)
shape
- IChartShape
A value-line shape (null permitted).public java.util.List getMinMaxValueLineShapes()
public void clearMinMaxValueLineShapes()
public void addJoinLineShape(IChartShape shape)
shape
- IChartShape
A join line shape (null permitted).public java.util.List getJoinLineShapes()
public void clearJoinLineShapes()
public void addGuideLineShape(IChartShape shape)
shape
- IChartShape
A guid line shape (null permitted).public java.util.List getGuideLineShapes()
public void clearGuideLineShapes()
public void addDataItemShape(IChartShape shape)
shape
- IChartShape
A data item shape (null permitted).public java.util.List getDataItemShapes()
public void clearDataItemShapes()
public void addTickLineShape(IChartShape tickLineShape)
tickLineShape
- IChartShape
A tick line shape (null permitted).public void addAllTickLineShape(java.util.List tickLineShapes)
tickLineShapes
- List
A collection of tick line shapes (null permitted).public java.util.List getTickLineShapes()
public void clearTickLineShapes()
public void addTickLabelShape(IChartShape tickLabelShape)
tickLabelShape
- IChartShape
A tick label shape (null permitted).public void addAllTickLabelShape(java.util.List tickLabelShapes)
tickLabelShapes
- List
A collection of tick label shapes (null permitted).public java.util.List getTickLabelShapes()
public void clearTickLabelShapes()
public IChartShape getMeterNeedleShape()
public void setMeterNeedleShape(IChartShape meterNeedleShape)
meterNeedleShape
- IChartShape
The shape (maybe null).public IChartShape getMeterUnitShape()
public void setMeterUnitShape(IChartShape meterUnitShape)
meterUnitShape
- IChartShape
The shape (maybe null).public java.util.List getMeterArcTickLabels()
public java.util.List getMeterArcTickLines()
public void addShadowShape(IChartShape shape)
shape
- IChartShape
A shadow shape (null permitted).public java.util.List getShadowShapes()
public void clearShadowShapes()
public void addPieLabelShape(IChartShape shape)
shape
- IChartShape
A pie label shape (null permitted).public java.util.List getPieLabelShapes()
public void clearPieLabelShapes()
public void addPie3DEffectShape(IChartShape shape)
shape
- IChartShape
A pie 3D effect shape (null permitted).public java.util.List getPie3DEffectShapes()
public void clearPie3DEffectShapes()
public void addRadiusGridlineShape(IChartShape shape)
shape
- IChartShape
A radius gridline shape (null permitted).public java.util.List getRadiusGridlines()
public void clearRadiusGridlines()
public void addAngleGridlineShape(IChartShape shape)
shape
- IChartShape
An angle gridline shape (null permitted).public java.util.List getAngleGridlines()
public void clearAngleGridlines()
public IMatrixDataset getDataset()
public void setDataset(IMatrixDataset dataset)
dataset
- IMatrixDataset
The dataset (null not permitted).public void draw(java.awt.Graphics2D g2)
draw
in interface IShapeCollection
g2
- Graphics2D
The graphics device (null not permitted).public void translate(double x, double y)
translate
in interface IShapeCollection
translate
in class AbstractShapeCollection
x
- double
The x coordinate.y
- double
The y coordinate.public void clearShapesListener()
clearShapesListener
in interface IShapeCollection
public void clearSelectedShapes()
clearSelectedShapes
in interface IShapeCollection
public IChartShape findChartShape(java.awt.geom.Point2D point, ChartShapeDrawType drawType)
IChartShape
whose area contains the specified point.
findChartShape
in interface IShapeCollection
point
- Point2D
The point (null not permitted).drawType
- ChartShapeDrawType
The shape draw shape (null permitted).
public java.util.List getHotspotAreas(java.util.List drawTypes, IAreaFragment fragment)
getHotspotAreas
in interface IShapeCollection
getHotspotAreas
in class AbstractShapeCollection
drawTypes
- List
The types of hotspot shape.fragment
- IAreaFragment
The IAreaFragment
object (maybe null).
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class AbstractShapeCollection
java.lang.CloneNotSupportedException
- if some component of the axis does
not support cloning.public int hashCode()
hashCode
in class AbstractShapeCollection
public boolean equals(java.lang.Object obj)
equals
in class AbstractShapeCollection
obj
-
The object (null permitted).
public java.lang.String toString()
toString
in class AbstractShapeCollection
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |