|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.chart3D.series.AbstractPie3DLabelsLayouter
public abstract class AbstractPie3DLabelsLayouter extends java.lang.Object implements java.io.Serializable
Abstract pie labels layouter class. It defines what methods the pie labels layouter should implement and implements common methods for all layouter in it.
| Modifier and Type | Field and Description |
|---|---|
protected Pie3DLabelAlignment |
labelAlignment
|
protected java.util.ArrayList<Pie3DSliceLabelEntry> |
pieLabelList
|
| Constructor and Description |
|---|
AbstractPie3DLabelsLayouter()
|
| Modifier and Type | Method and Description |
|---|---|
protected Point3D |
calculateLabelPosition(double radius,
double angle,
Point3D center,
double height)
Calculate label position in pie charts |
Pie3DLabelAlignment |
getPieLabelAlignment()
Gets alignment type of pie labels |
protected boolean |
isPieDifficult()
If labels angle is smaller minAngle, than pie is difficult |
abstract void |
layout(java.util.ArrayList<Pie3DSliceLabelEntry> labelList,
Projector projector)
|
void |
setPieLabelAlignment(Pie3DLabelAlignment alignment)
Sets alignment type of pie labels |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.ArrayList<Pie3DSliceLabelEntry> pieLabelList
protected Pie3DLabelAlignment labelAlignment
| Constructor Detail |
|---|
public AbstractPie3DLabelsLayouter()
| Method Detail |
|---|
public void setPieLabelAlignment(Pie3DLabelAlignment alignment)
alignment - alignment typepublic Pie3DLabelAlignment getPieLabelAlignment()
protected Point3D calculateLabelPosition(double radius,
double angle,
Point3D center,
double height)
radius - radius of pieangle - angle of slicecenter - point of the pieprotected boolean isPieDifficult()
public abstract void layout(java.util.ArrayList<Pie3DSliceLabelEntry> labelList,
Projector projector)
labelList - list of labelsprojector - projector of charts
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||