lt.monarch.chart.chart3D.series
Class Pie3DLabelsOutsideLayouter

java.lang.Object
  extended by lt.monarch.chart.chart3D.series.AbstractPie3DLabelsLayouter
      extended by lt.monarch.chart.chart3D.series.Pie3DLabelsOutsideLayouter
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Pie3DLabelsOutsideWithElbowLayouter, Pie3DLabelsOutsideWithLineLayouter

public class Pie3DLabelsOutsideLayouter
extends AbstractPie3DLabelsLayouter

Pie labels layouter, when labels is outside the pie and don't have pointers to the segment.

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
Pie3DLabelsOutsideLayouter()
           
 
Method Summary
Modifier and Type Method and Description
protected  void corectLabel(Projector projector)
          Correct labels, when overlap
 void layout(java.util.ArrayList<Pie3DSliceLabelEntry> labelList, Projector projector)
           
protected  void layoutCircular(Projector projector)
          Layout label, when alignment is CIRCULAR
protected  void layoutLeftRight(Projector projector)
          Layout label, when alignment is LEFT_RIGHT
 
Methods inherited from class lt.monarch.chart.chart3D.series.AbstractPie3DLabelsLayouter
calculateLabelPosition, getPieLabelAlignment, isPieDifficult, setPieLabelAlignment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pie3DLabelsOutsideLayouter

public Pie3DLabelsOutsideLayouter()
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

layoutCircular

protected void layoutCircular(Projector projector)
Layout label, when alignment is CIRCULAR

Parameters:
projector - projector of chart

layoutLeftRight

protected void layoutLeftRight(Projector projector)
Layout label, when alignment is LEFT_RIGHT

Parameters:
projector - projector of chart

corectLabel

protected void corectLabel(Projector projector)
Correct labels, when overlap

Parameters:
projector - projector of chart