|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.chart2D.series.PieChartSlice
lt.monarch.chart.chart3D.series.Pie3DChartSlice
public class Pie3DChartSlice extends PieChartSlice implements java.io.Serializable
Pie class representing single pie segment.
| Modifier and Type | Field and Description |
|---|
| Fields inherited from class lt.monarch.chart.chart2D.series.PieChartSlice |
|---|
endAngle, entireValues, explodeRadius, innerRadius, isCloseOutside, overallAngle, percents, sliceAngle, sliceHalfAngle, sliceLabelEntry, sliceRadius, startAngle, value |
| Constructor and Description |
|---|
Pie3DChartSlice(Chart3D chart)
Constructs PieChartSegment |
| Modifier and Type | Method and Description |
|---|---|
Point3D |
calculateHalfSlicePoint(double radius)
Return calculated point of specify radius |
java.util.List<java.awt.Shape> |
draw(AbstractGraphics g,
int index,
Style style,
Projector projector,
PaintMode paintMode)
Draws the slice of pie |
Point3D |
getCenterPoint()
Returns the center of pie |
double |
getHeight()
Returns pie slice height. |
java.util.ArrayList<java.awt.Shape> |
getOutlines()
|
PieSlice3D |
getSlice3D()
|
PieSliceLabelEntry |
getSliceLabelEntry(java.lang.String s,
double radius,
double explode,
double inner,
double startAngle,
double sliceAngle,
Point2D center,
java.awt.FontMetrics fm,
double margin,
java.awt.Image image)
|
Pie3DSliceLabelEntry |
getSliceLabelEntry(java.lang.String s,
double radius,
double explode,
double inner,
double startAngle,
double sliceAngle,
Point3D center,
java.awt.FontMetrics fm,
double margin,
double height,
java.util.List<java.awt.Shape> sliceShapes2D,
java.awt.Image image)
|
void |
setCenterPoint(Point3D centerPoint)
Set center of pie chart |
void |
setExplodeRadius(double radius)
Sets pie slice explode radius. |
void |
setHeight(double height)
Set pie slice height. |
| Methods inherited from class lt.monarch.chart.chart2D.series.PieChartSlice |
|---|
calculateAngles, getEndAngle, getEntireValue, getExplodeRadius, getInnerRadius, getOuterAngle, getOutlineClose, getOverallAngle, getPercentage, getSlice, getSliceEntity, getSliceHalfAngle, getSliceRadius, getStartAngle, getValue, setCenterPoint, setEntireValue, setInnerRadius, setOutlineClose, setOverallAngle, setSliceRadius, setStartAngle, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Pie3DChartSlice(Chart3D chart)
| Method Detail |
|---|
public void setExplodeRadius(double radius)
setExplodeRadius in class PieChartSliceradius - explode radius of pie slice in range [0,0.5]public double getHeight()
public void setHeight(double height)
height - the piepublic void setCenterPoint(Point3D centerPoint)
centerPoint - point of the center the piepublic Point3D getCenterPoint()
getCenterPoint in class PieChartSlicepublic Point3D calculateHalfSlicePoint(double radius)
calculateHalfSlicePoint in class PieChartSliceradius - radius of calculated point
public java.util.List<java.awt.Shape> draw(AbstractGraphics g,
int index,
Style style,
Projector projector,
PaintMode paintMode)
draw in class PieChartSliceg - graphics contextindex - slice indexstyle - style objectprojector - projector instancepaintMode - paint mode of slicepublic PieSlice3D getSlice3D()
public PieSliceLabelEntry getSliceLabelEntry(java.lang.String s,
double radius,
double explode,
double inner,
double startAngle,
double sliceAngle,
Point2D center,
java.awt.FontMetrics fm,
double margin,
java.awt.Image image)
getSliceLabelEntry in class PieChartSlice
public Pie3DSliceLabelEntry getSliceLabelEntry(java.lang.String s,
double radius,
double explode,
double inner,
double startAngle,
double sliceAngle,
Point3D center,
java.awt.FontMetrics fm,
double margin,
double height,
java.util.List<java.awt.Shape> sliceShapes2D,
java.awt.Image image)
public java.util.ArrayList<java.awt.Shape> getOutlines()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||