Package com.storedobject.chart
Class PolarCoordinate
java.lang.Object
com.storedobject.chart.AbstractPart
com.storedobject.chart.VisiblePart
com.storedobject.chart.CoordinateSystem
com.storedobject.chart.PolarCoordinate
- All Implemented Interfaces:
Component,ComponentPart,ComponentProperty,HasData,HasPolarProperty,HasPosition,VisibleProperty
Representation of polar coordinate system with an angle axis and a radius axis.
- Author:
- Syam
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor.PolarCoordinate(RadiusAxis radiusAxis, AngleAxis angleAxis) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionfinal PolarPropertygetPolarProperty(boolean create) Get the polar property.final voidsetPolarProperty(PolarProperty polarProperty) Set the polar property.voidvalidate()This method is invoked bySOChartto check if the component or part is valid or not.Methods inherited from class com.storedobject.chart.CoordinateSystem
add, addAxis, addParts, declareData, getAxis, getPosition, remove, removeAxis, setPositionMethods inherited from class com.storedobject.chart.VisiblePart
isVisible, setVisibleMethods inherited from class com.storedobject.chart.AbstractPart
encodeJSON, equals, getId, getLabelTag, getName, getSerial, getZ, hashCode, hasId, setSerial, setZMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.storedobject.chart.ComponentPart
className, getId, getName, getRenderingIndex, getSerial, setName, setRenderingIndex, setSerialMethods inherited from interface com.storedobject.chart.ComponentProperty
encodeJSONMethods inherited from interface com.storedobject.chart.HasPolarProperty
setHoleRadius, setRadiusMethods inherited from interface com.storedobject.chart.VisibleProperty
hide, show
-
Constructor Details
-
PolarCoordinate
public PolarCoordinate()Constructor. -
PolarCoordinate
Constructor.- Parameters:
radiusAxis- Radius axis.angleAxis- Angle axis.
-
-
Method Details
-
validate
Description copied from interface:ComponentPartThis method is invoked bySOChartto check if the component or part is valid or not.- Specified by:
validatein interfaceComponentPart- Overrides:
validatein classCoordinateSystem- Throws:
ChartException- Raises exception if the component or part is not valid.
-
getPolarProperty
Description copied from interface:HasPolarPropertyGet the polar property. (Iftrueis passed as the parameter, a new polar property will be created if not already exists).- Specified by:
getPolarPropertyin interfaceHasPolarProperty- Parameters:
create- Whether to create it or not.- Returns:
- Polar property.
-
setPolarProperty
Description copied from interface:HasPolarPropertySet the polar property.- Specified by:
setPolarPropertyin interfaceHasPolarProperty- Parameters:
polarProperty- Polar property to set. It could benull.
-