T
- A ChartSeries
derived type.public abstract class ChartSeriesCollectionGeneric<T extends ChartSeries> extends ChartSeriesCollection implements List<T>
ChartSeries
type.Modifier and Type | Method and Description |
---|---|
T |
add()
Adds a new empty series to the chart.
|
void |
add(int index,
T element)
Not supported.
|
T |
add(String name,
Iterable values)
Adds a new series with specified name and values to the chart.
|
T |
add(String name,
Object... values)
Adds a new series with specified name and values to the chart.
|
T |
add(String name,
String valuesReference)
Adds a new series with specified name and values reference to the chart.
|
boolean |
add(T item)
Not supported.
|
T |
get(int index)
Gets the item that is stored at the zero-based index of the
ChartSeriesCollectionGeneric<T> . |
Iterator<T> |
iterator() |
void |
move(int oldIndex,
int newIndex)
Moves the series at the specified index to a new location in the collection.
|
T |
set(int index,
T element)
Not supported.
|
int |
size() |
addAll, clear, contains, indexOf, isEmpty, lastIndexOf, listIterator, listIterator, remove, remove, subList, toArray
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
public final T add()
add
in class ChartSeriesCollection
public void add(int index, T element)
ChartSeriesCollection<T>.add
method or one of its overloads.add
in interface List<T extends ChartSeries>
index
- The zero-based index at which item
should be inserted.element
- The item to add into the List
.UnsupportedOperationException
- Not supported. Use one of ChartSeriesCollection<T>.add
method or one of its overloads.public final T add(String name, Iterable values)
add
in class ChartSeriesCollection
name
- The series name.values
- The series values.public final T add(String name, Object... values)
add
in class ChartSeriesCollection
name
- The series name.values
- The series values.public final T add(String name, String valuesReference)
add
in class ChartSeriesCollection
name
- The series name.valuesReference
- The series values reference.public final boolean add(T item)
ChartSeriesCollection<T>.add
method or one of its overloads.add
in interface Collection<T extends ChartSeries>
add
in interface List<T extends ChartSeries>
item
- item to add to the List
.UnsupportedOperationException
- Not supported. Use one of ChartSeriesCollection<T>.add
method or one of its overloads.public final T get(int index)
ChartSeriesCollectionGeneric<T>
.get
in interface List<T extends ChartSeries>
get
in class ChartSeriesCollection
index
- The zero-based index of the ChartSeriesCollectionGeneric<T>
from which to get the item.ChartSeriesCollectionGeneric<T>
.public final Iterator<T> iterator()
iterator
in interface Iterable<T extends ChartSeries>
iterator
in interface Collection<T extends ChartSeries>
iterator
in interface List<T extends ChartSeries>
public final void move(int oldIndex, int newIndex)
move
in class ChartSeriesCollection
oldIndex
- The zero-based index specifying the location of the item to be moved.newIndex
- The zero-based index specifying the new location of the item.public T set(int index, T element)
ChartSeriesCollection<T>.add
method or one of its overloads.set
in interface List<T extends ChartSeries>
index
- The zero-based index at which item
should be inserted.element
- The item to add into the List
.UnsupportedOperationException
- Not supported. Use one of ChartSeriesCollection<T>.add
method or one of its overloads.public final int size()
size
in interface Collection<T extends ChartSeries>
size
in interface List<T extends ChartSeries>
size
in class ChartSeriesCollection
© GemBox d.o.o. — All rights reserved.