T
- An ExcelDrawing
derived type.
ExcelPictureCollection
ExcelChartCollection
public abstract class ExcelDrawingCollectionImpl<T extends ExcelDrawing> extends Object implements com.gembox.spreadsheet.internal.ExcelDrawingCollection, List<T>
drawings
(pictures, charts, etc.) in the worksheet.ExcelWorksheet pictures
,
ExcelWorksheet charts
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
T element)
Inserting/setting object into collection is not supported.
|
boolean |
add(T t)
Inserting/setting object into collection is not supported.
|
boolean |
addAll(Collection<? extends T> c)
Inserting/setting object into collection is not supported.
|
boolean |
addAll(int index,
Collection<? extends T> c)
Inserting/setting object into collection is not supported.
|
T |
addCopy(T item)
Adds a copy of the drawing (picture, chart, etc.) to the worksheet.
|
void |
clear() |
boolean |
contains(Object objectValue) |
boolean |
containsAll(Collection<?> c) |
T |
get(int index)
Gets the element at the specified index.
|
int |
indexOf(Object objectValue) |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
void |
move(int oldIndex,
int newIndex)
Moves the
ExcelDrawing at the specified index to a new location in the collection thus affecting its Z-index. |
T |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
T |
set(int index,
T item)
Inserting/setting object into collection is not supported.
|
int |
size() |
Object[] |
toArray() |
<T1> T1[] |
toArray(T1[] a) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addExcelDrawing, addExcelDrawing, getExcelDrawingCollectionWorksheet, getLastRowColumn, getObjectIterable
equals, hashCode, lastIndexOf, listIterator, listIterator, replaceAll, retainAll, sort, spliterator, subList
parallelStream, removeIf, stream
public void add(int index, T element)
add
in interface List<T extends ExcelDrawing>
public boolean add(T t)
add
in interface Collection<T extends ExcelDrawing>
add
in interface List<T extends ExcelDrawing>
public boolean addAll(Collection<? extends T> c)
addAll
in interface Collection<T extends ExcelDrawing>
addAll
in interface List<T extends ExcelDrawing>
public boolean addAll(int index, Collection<? extends T> c)
addAll
in interface List<T extends ExcelDrawing>
public final T addCopy(T item)
item
- The drawing (picture, chart, etc.) which will be copied to the worksheet.public final void clear()
clear
in interface Collection<T extends ExcelDrawing>
clear
in interface List<T extends ExcelDrawing>
public final boolean contains(Object objectValue)
contains
in interface Collection<T extends ExcelDrawing>
contains
in interface List<T extends ExcelDrawing>
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<T extends ExcelDrawing>
containsAll
in interface List<T extends ExcelDrawing>
public final T get(int index)
get
in interface List<T extends ExcelDrawing>
index
- The zero-based index of the element to get.public final int indexOf(Object objectValue)
indexOf
in interface List<T extends ExcelDrawing>
public boolean isEmpty()
isEmpty
in interface Collection<T extends ExcelDrawing>
isEmpty
in interface List<T extends ExcelDrawing>
public final Iterator<T> iterator()
iterator
in interface Iterable<T extends ExcelDrawing>
iterator
in interface Collection<T extends ExcelDrawing>
iterator
in interface List<T extends ExcelDrawing>
public final void move(int oldIndex, int newIndex)
Moves the ExcelDrawing
at the specified index to a new location in the collection thus affecting its Z-index.
Drawings at the lower location in the collection have a lower Z-index and are drawn before drawings at the higher location in the collection.
oldIndex
- The zero-based index specifying the location of the ExcelDrawing
to be moved.newIndex
- The zero-based index specifying the new location of the ExcelDrawing
.public final T remove(int index)
remove
in interface List<T extends ExcelDrawing>
public final boolean remove(Object o)
remove
in interface Collection<T extends ExcelDrawing>
remove
in interface List<T extends ExcelDrawing>
public boolean removeAll(Collection<?> c)
removeAll
in interface Collection<T extends ExcelDrawing>
removeAll
in interface List<T extends ExcelDrawing>
public final T set(int index, T item)
set
in interface List<T extends ExcelDrawing>
public final int size()
size
in interface com.gembox.spreadsheet.internal.ExcelDrawingCollection
size
in interface Collection<T extends ExcelDrawing>
size
in interface List<T extends ExcelDrawing>
public Object[] toArray()
toArray
in interface Collection<T extends ExcelDrawing>
toArray
in interface List<T extends ExcelDrawing>
public <T1> T1[] toArray(T1[] a)
toArray
in interface Collection<T extends ExcelDrawing>
toArray
in interface List<T extends ExcelDrawing>
© GemBox Ltd. — All rights reserved.