com.stimulsoft.report.chart.view.series
Class StiSeriesCollection

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<IStiSeries>
              extended by com.stimulsoft.report.chart.view.series.StiSeriesCollection
All Implemented Interfaces:
IStiJsonReportObject, IStiApplyStyle, java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<IStiSeries>, java.util.Collection<IStiSeries>, java.util.List<IStiSeries>, java.util.RandomAccess

public class StiSeriesCollection
extends java.util.ArrayList<IStiSeries>
implements IStiApplyStyle, IStiJsonReportObject

See Also:
Serialized Form

Constructor Summary
StiSeriesCollection()
           
 
Method Summary
 void add(int index, IStiSeries element)
           
 boolean add(IStiSeries element)
           
 boolean add(IStiSeries element, boolean allowApplyStyle)
           
 boolean addAll(java.util.Collection<? extends IStiSeries> c)
           
 boolean addAll(int index, java.util.Collection<? extends IStiSeries> c)
           
 void applyStyle(IStiChartStyle style)
          Apply style to component which release this interface.
 StiChart getChart()
           
 IStiSeries getItem(int seriesIndex)
           
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 IStiSeries set(int index, IStiSeries element)
           
 void setChart(StiChart value)
           
 
Methods inherited from class java.util.ArrayList
clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

StiSeriesCollection

public StiSeriesCollection()
Method Detail

getItem

public IStiSeries getItem(int seriesIndex)

applyStyle

public void applyStyle(IStiChartStyle style)
Description copied from interface: IStiApplyStyle
Apply style to component which release this interface.

Specified by:
applyStyle in interface IStiApplyStyle

add

public boolean add(IStiSeries element)
Specified by:
add in interface java.util.Collection<IStiSeries>
Specified by:
add in interface java.util.List<IStiSeries>
Overrides:
add in class java.util.ArrayList<IStiSeries>

add

public boolean add(IStiSeries element,
                   boolean allowApplyStyle)

add

public void add(int index,
                IStiSeries element)
Specified by:
add in interface java.util.List<IStiSeries>
Overrides:
add in class java.util.ArrayList<IStiSeries>

addAll

public boolean addAll(java.util.Collection<? extends IStiSeries> c)
Specified by:
addAll in interface java.util.Collection<IStiSeries>
Specified by:
addAll in interface java.util.List<IStiSeries>
Overrides:
addAll in class java.util.ArrayList<IStiSeries>

addAll

public boolean addAll(int index,
                      java.util.Collection<? extends IStiSeries> c)
Specified by:
addAll in interface java.util.List<IStiSeries>
Overrides:
addAll in class java.util.ArrayList<IStiSeries>

set

public IStiSeries set(int index,
                      IStiSeries element)
Specified by:
set in interface java.util.List<IStiSeries>
Overrides:
set in class java.util.ArrayList<IStiSeries>

getChart

public final StiChart getChart()

setChart

public final void setChart(StiChart value)

SaveToJsonObject

public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
                            throws JSONException
Specified by:
SaveToJsonObject in interface IStiJsonReportObject
Throws:
JSONException

LoadFromJsonObject

public void LoadFromJsonObject(JSONObject jObject)
                        throws JSONException
Specified by:
LoadFromJsonObject in interface IStiJsonReportObject
Throws:
JSONException