Package com.storedobject.chart
Class CirclePart
java.lang.Object
com.storedobject.chart.AbstractPart
com.storedobject.chart.Shape
com.storedobject.chart.CirclePart
- All Implemented Interfaces:
Component,ComponentPart,ComponentProperty,HasPosition,VisibleProperty
Shape that partially defines a circle.
- Author:
- Syam
-
Nested Class Summary
Nested classes/interfaces inherited from class com.storedobject.chart.Shape
Shape.Point, Shape.Style -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidEncode the JSON string with the properties of this.protected voidEncode shape details.final Shape.PointGet center.final NumberGet radius.voidsetCenter(Shape.Point center) Set center.voidSet radius.Methods inherited from class com.storedobject.chart.Shape
encode, encodePoint, encodePoint, getPosition, getStyle, getType, isDraggable, isVisible, setDraggable, setPosition, setPosition, setPosition, setStyle, setVisible, validateMethods inherited from class com.storedobject.chart.AbstractPart
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.VisibleProperty
hide, show
-
Constructor Details
-
CirclePart
-
-
Method Details
-
encodeJSON
Description copied from interface:ComponentPropertyEncode the JSON string with the properties of this.- Specified by:
encodeJSONin interfaceComponentProperty- Overrides:
encodeJSONin classShape- Parameters:
sb- Encoded JSON string to be appended to this.
-
encodeShape
Description copied from class:ShapeEncode shape details.- Overrides:
encodeShapein classShape- Parameters:
sb- Encoded JSON string to be appended to this.
-
getCenter
-
setCenter
-
getRadius
-
setRadius
-