DynamicPDF by ceTe Software

com.cete.dynamicpdf.pageelements.charting.series
Class PieSeriesElementList

java.lang.Object
  extended by com.cete.dynamicpdf.pageelements.charting.series.PieSeriesElementList

public class PieSeriesElementList
extends java.lang.Object

This class represents list of elements in a pie series.

Licensing:
This is a DynamicPDF Generator Enterprise Edition feature. One of the following licenses is required for non-evaluation usage:


Method Summary
 PieSeriesElement add(float value)
          Adds a PieSeriesElement to the end of the PieSeriesElementList object.
 PieSeriesElement[] add(float[] value)
          Adds a array of PieSeriesElement objects to the end of the PieSeriesElementList object.
 PieSeriesElement add(float value, java.lang.String name)
          Adds a PieSeriesElement to the end of the PieSeriesElementList object.
 void add(PieSeriesElement pieSeriesElement)
          Adds a PieSeriesElement to the end of the PieSeriesElementList object.
 PieSeriesElement getElement(int index)
          Gets the PieSeriesElement object at the given index.
 int size()
          Gets the number of pie series elements actually contained in the pie series element list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

add

public void add(PieSeriesElement pieSeriesElement)
Adds a PieSeriesElement to the end of the PieSeriesElementList object.

Parameters:
pieSeriesElement - PieSeriesElement object to be added.
See Also:
PieSeriesElement, PieSeriesElementList

add

public PieSeriesElement add(float value)
Adds a PieSeriesElement to the end of the PieSeriesElementList object.

Parameters:
value - Value of the pie series element.
Returns:
a PieSeriesElement object.
See Also:
PieSeriesElement

add

public PieSeriesElement add(float value,
                            java.lang.String name)
Adds a PieSeriesElement to the end of the PieSeriesElementList object.

Parameters:
value - Value of the pie series element.
name - Name of the pie series element
Returns:
a PieSeriesElement object.
See Also:
PieSeriesElement

add

public PieSeriesElement[] add(float[] value)
Adds a array of PieSeriesElement objects to the end of the PieSeriesElementList object.

Parameters:
value - Value of the pie series elements.
Returns:
array of PieSeriesElement objects.
See Also:
PieSeriesElement

size

public int size()
Gets the number of pie series elements actually contained in the pie series element list.

Returns:
the size of the list.

getElement

public PieSeriesElement getElement(int index)
Gets the PieSeriesElement object at the given index.

Parameters:
index - position of the required pie series element.
Returns:
the PieSeriesElement object.
See Also:
PieSeriesElement

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.04 for Java generated on September 25, 2019
© Copyright 2019, ceTe Software