public class PresenterCollection<T extends ChartElementPresenter> extends ObservableCollection<T>
ChartElementPresenter
instances.Constructor and Description |
---|
PresenterCollection(RadChartViewBase control)
Creates an instance of the
PresenterCollection
class with a specified RadChartViewBase as an owner. |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
T object) |
boolean |
add(T obj) |
void |
clear() |
void |
init(RadChartViewBase owner)
Initialises this
PresenterCollection with the
specified RadChartViewBase owner. |
RadChartViewBase |
owner()
Returns the owning
RadChartViewBase instance. |
T |
remove(int index) |
boolean |
remove(Object object) |
void |
reset()
Resets the current owner of this
PresenterCollection |
addAll, addAll, addCollectionChangeListener, beginUpdate, endUpdate, removeAll, removeCollectionChangeListener
clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, removeIf, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
containsAll, equals, hashCode
parallelStream, stream
public PresenterCollection(RadChartViewBase control)
PresenterCollection
class with a specified RadChartViewBase
as an owner.control
- the owning RadChartViewBase
.public void init(RadChartViewBase owner)
PresenterCollection
with the
specified RadChartViewBase
owner.owner
- the owner.public void reset()
PresenterCollection
public RadChartViewBase owner()
RadChartViewBase
instance.public void add(int index, T object)
add
in interface List<T extends ChartElementPresenter>
add
in class ObservableCollection<T extends ChartElementPresenter>
public boolean add(T obj)
add
in interface Collection<T extends ChartElementPresenter>
add
in interface List<T extends ChartElementPresenter>
add
in class ObservableCollection<T extends ChartElementPresenter>
public boolean remove(Object object)
remove
in interface Collection<T extends ChartElementPresenter>
remove
in interface List<T extends ChartElementPresenter>
remove
in class ObservableCollection<T extends ChartElementPresenter>
public T remove(int index)
remove
in interface List<T extends ChartElementPresenter>
remove
in class ObservableCollection<T extends ChartElementPresenter>
public void clear()
clear
in interface Collection<T extends ChartElementPresenter>
clear
in interface List<T extends ChartElementPresenter>
clear
in class ObservableCollection<T extends ChartElementPresenter>