|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.text.TextPainter
lt.monarch.chart.text.RotatedLabelPainter
lt.monarch.chart.text.LabelTextPainter
lt.monarch.chart.chart2D.series.PieSliceLabelEntry
lt.monarch.chart.chart3D.series.Pie3DSliceLabelEntry
public class Pie3DSliceLabelEntry extends PieSliceLabelEntry
Defines label of pie chart slices
| Modifier and Type | Field and Description |
|---|---|
protected double |
height
|
| Fields inherited from class lt.monarch.chart.chart2D.series.PieSliceLabelEntry |
|---|
explode, fmetrics, halfAngle, image, imageMargin, inner, labelPosition, lmargin, radius, rotate, sliceAngle, startAngle |
| Fields inherited from class lt.monarch.chart.text.TextPainter |
|---|
boundingBox, hAlignment, text, vAlignment, xMargin, yMargin |
| Constructor and Description |
|---|
Pie3DSliceLabelEntry()
Constructor the PieSliceLabelEntry |
Pie3DSliceLabelEntry(java.lang.String s,
double radius,
double explode,
double inner,
double startAngle,
double sliceAngle,
Point3D center,
java.awt.FontMetrics fm,
double margin,
double height)
Constructor the PieSliceLabelEntry |
Pie3DSliceLabelEntry(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)
Constructor the PieSliceLabelEntry |
| Modifier and Type | Method and Description |
|---|---|
Point3D |
getCenter()
Return pie center point |
java.awt.Dimension |
getFullSize()
Get full size of label (calculates with setted font metrics) |
double |
getHeight()
|
Polygon3D |
getLine()
Get straight or elbow lines of slices |
java.util.List<java.awt.Shape> |
getSliceShapes2D()
|
double |
getZPosition()
|
void |
refreshSliceLabelEntry(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)
Refreshes the Pie3DSliceLabelEntry values |
void |
setHeight(double height)
|
void |
setLine(Polygon3D line)
Set straight or elbow lines of slices |
void |
setZPosition(double position)
|
| Methods inherited from class lt.monarch.chart.chart2D.series.PieSliceLabelEntry |
|---|
getAngle, getExplodeRadius, getFontMetrics, getFullArea, getHalfAngle, getIndex, getInner, getLabelPosition, getPieMargin, getPreferredBounds, getRadius, getRotate, getSliceLabelConnectorEntity, getSliceLabelEntity, getStartAngle, isOutsideLabel, paint, refreshSliceLabelEntry, setIndex, setLabelPosition, setLine, setOutsideLabel, setRotate |
| Methods inherited from class lt.monarch.chart.text.LabelTextPainter |
|---|
findBounds, getFullArea, getFullSize, getRelativePosition, getRotationAngle, getRotationPoint, setRelativePosition, setRotationAngle, setRotationPoint, setText |
| Methods inherited from class lt.monarch.chart.text.TextPainter |
|---|
dispose, getBounds, getHorizontalAlignment, getHorizontalMargin, getMarginInPixels, getMinimumHeight, getMinimumSize, getMinimumSize, getText, getVerticalAlignment, getVerticalMargin, getWrappingEnabled, setHorizontalAlignment, setHorizontalMargin, setMargin, setText, setVerticalAlignment, setVerticalMargin, setWrappingEnabled |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected double height
| Constructor Detail |
|---|
public Pie3DSliceLabelEntry(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)
s - text of labelradius - radius of slicesexplode - explode of sliceinner - inner radius of slicestartAngle - start angle of slicesliceAngle - angle of slicecenter - center of piefm - font metrics of labelmargin - margin of labelsliceShapes2D - pie slice shapes 2D
public Pie3DSliceLabelEntry(java.lang.String s,
double radius,
double explode,
double inner,
double startAngle,
double sliceAngle,
Point3D center,
java.awt.FontMetrics fm,
double margin,
double height)
s - text of labelradius - radius of slicesexplode - explode of sliceinner - inner radius of slicestartAngle - start angle of slicesliceAngle - angle of slicecenter - center of piefm - font metrics of labelmargin - margin of labelpublic Pie3DSliceLabelEntry()
| Method Detail |
|---|
public void refreshSliceLabelEntry(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)
s - text of labelradius - radius of slicesexplode - explode of sliceinner - inner radius of slicestartAngle - start angle of slicesliceAngle - angle of slicecenter - center of piefm - font metrics of labelmargin - margin of labelsliceShapes2D - pie slice shapes 2Dimage - image of labelpublic Point3D getCenter()
getCenter in class PieSliceLabelEntrypublic Polygon3D getLine()
getLine in class PieSliceLabelEntrypublic void setLine(Polygon3D line)
straight - or elbow polygons of slicespublic double getHeight()
public void setHeight(double height)
height - the height to setpublic double getZPosition()
public void setZPosition(double position)
position - the zPosition to setpublic java.util.List<java.awt.Shape> getSliceShapes2D()
public java.awt.Dimension getFullSize()
PieSliceLabelEntry
getFullSize in class PieSliceLabelEntry
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||