|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
com.steema.teechart.styles.SeriesCollection
public final class SeriesCollection
Title: SeriesCollection class
Description: The SeriesCollection class, a collection of Series objects, is manipulated via the TChart TChart.getSeries() method.
Copyright (c) 2005-2008 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
TChart.getSeries()
,
Serialized FormField Summary | |
---|---|
IBaseChart |
chart
|
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
SeriesCollection()
|
|
SeriesCollection(IBaseChart c)
|
Method Summary | |
---|---|
boolean |
activeUseAxis()
|
Series |
add(java.lang.Class type)
|
Series |
add(Series s)
Adds a new Series instance to Chart. |
void |
clear()
Removes and disposes all Series. |
void |
clear(boolean dispose)
Removes (and optionally disposes) all Series. |
void |
exchange(int series1,
int series2)
Changes the Series order, swapping one Series Z position with another. |
void |
fillSampleValues()
Adds random values to all series in the collection to help visualize the Series. |
void |
fillSampleValues(int numValues)
Adds the specified NumValues random points to all series in the collection. |
boolean |
getApplyZOrder()
Sets multiple Series on same Chart in different Z spaces when true. |
IBaseChart |
getChart()
Defines the Chart component. |
Series |
getSeries(int index)
|
int |
indexOf(Series s)
Returns the corresponding point index which has the specified Value. |
void |
insert(int index,
Series s)
|
void |
internalAdd(Series s)
|
void |
moveTo(Series s,
int index)
|
void |
remove(Series s)
Deletes the specified Series from the Chart list of series. |
void |
removeAllSeries()
Removes all Series from the Chart but does not dispose of (destroy) them. |
void |
setApplyZOrder(boolean value)
Sets multiple Series on same Chart in different Z spaces when true. |
void |
setChart(IBaseChart chart)
|
void |
setSeries(int index,
Series value)
|
Series |
withTitle(java.lang.String title)
|
Methods inherited from class java.util.ArrayList |
---|
add, add, addAll, addAll, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, 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 |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
Field Detail |
---|
public transient IBaseChart chart
Constructor Detail |
---|
public SeriesCollection()
public SeriesCollection(IBaseChart c)
Method Detail |
---|
public void internalAdd(Series s)
public Series add(java.lang.Class type) throws java.lang.InstantiationException, java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.IllegalAccessException
public Series add(Series s)
s
- Series The Series instance to add.
public Series getSeries(int index)
public void setSeries(int index, Series value)
public void insert(int index, Series s)
public void moveTo(Series s, int index)
public int indexOf(Series s)
s
- Series
public Series withTitle(java.lang.String title)
public void remove(Series s)
s
- Seriespublic void removeAllSeries()
public void exchange(int series1, int series2)
series1
- intseries2
- intpublic void clear(boolean dispose)
dispose
- booleanpublic void clear()
clear
in interface java.util.Collection
clear
in interface java.util.List
clear
in class java.util.ArrayList
public IBaseChart getChart()
public boolean activeUseAxis()
public boolean getApplyZOrder()
public void setApplyZOrder(boolean value)
value
- booleanpublic void fillSampleValues()
public void fillSampleValues(int numValues)
numValues
- int the number of sample values to add.public void setChart(IBaseChart chart)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |