lt.monarch.chart.chart3D.series
Class Pie3DLabelsAutoLayouter

java.lang.Object
  extended by lt.monarch.chart.chart3D.series.AbstractPie3DLabelsLayouter
      extended by lt.monarch.chart.chart3D.series.Pie3DLabelsAutoLayouter
All Implemented Interfaces:
java.io.Serializable

public class Pie3DLabelsAutoLayouter
extends AbstractPie3DLabelsLayouter

Pie labels layouter, when labels is inside the pie

See Also:
Serialized Form

Field Summary
Modifier and Type Field and Description
 
Fields inherited from class lt.monarch.chart.chart3D.series.AbstractPie3DLabelsLayouter
labelAlignment, pieLabelList
 
Constructor Summary
Constructor and Description
Pie3DLabelsAutoLayouter(Pie3DLabelsOutsideLayouter outsideLayouter)
           
 
Method Summary
Modifier and Type Method and Description
 void layout(java.util.ArrayList<Pie3DSliceLabelEntry> labelList, Projector projector)
           
 void setPieLabelAlignment(Pie3DLabelAlignment alignment)
          Sets alignment type of pie labels
 
Methods inherited from class lt.monarch.chart.chart3D.series.AbstractPie3DLabelsLayouter
calculateLabelPosition, getPieLabelAlignment, isPieDifficult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pie3DLabelsAutoLayouter

public Pie3DLabelsAutoLayouter(Pie3DLabelsOutsideLayouter outsideLayouter)
Method Detail

layout

public void layout(java.util.ArrayList<Pie3DSliceLabelEntry> labelList,
                   Projector projector)
Specified by:
layout in class AbstractPie3DLabelsLayouter
Parameters:
labelList - list of labels
projector - projector of charts

setPieLabelAlignment

public void setPieLabelAlignment(Pie3DLabelAlignment alignment)
Description copied from class: AbstractPie3DLabelsLayouter
Sets alignment type of pie labels

Overrides:
setPieLabelAlignment in class AbstractPie3DLabelsLayouter
Parameters:
alignment - alignment type