cellcollection-ag凯发旗舰厅
com.spire.presentation
class cellcollection
java.lang.object
com.spire.presentation.pptobject
com.spire.presentation.cellcollection
- all implemented interfaces:
- com.spire.ms.system.collections.icollection, com.spire.ms.system.collections.ienumerable, iactivepresentation, islidecomponent, java.lang.iterable
- direct known subclasses:
- tablecolumn, tablerow
public abstract class cellcollection
- extends pptobject
- implements islidecomponent, com.spire.ms.system.collections.icollection
represents a collection of cells.
method summary |
void |
copyto(java.lang.object[] array,
int index)
copies all elements from the collection to the specified array. |
cell |
get(int index)
gets a cell by index. |
int |
getcount()
gets the count of cells in a collection. |
presentation |
getpresentation()
gets the parent presentation of a cellexcollection. |
activeslide |
getslide()
gets the parent slide of a cellexcollection. |
java.lang.object |
getsyncroot()
gets a synchronization root. |
boolean |
issynchronized()
gets a value indicating whether access to the collection is synchronized (thread-safe). |
int |
size()
|
cellcollection
public cellcollection( parent)
get
public cell get(int index)
- gets a cell by index.
read-only .
- parameters:
index
-
- returns:
getcount
public int getcount()
- gets the count of cells in a collection.
read-only .
- returns:
size
public int size()
getslide
public activeslide getslide()
- gets the parent slide of a cellexcollection.
read-only .
- specified by:
getslide
in interface islidecomponent
- returns:
getpresentation
public presentation getpresentation()
- gets the parent presentation of a cellexcollection.
read-only .
- specified by:
getpresentation
in interface iactivepresentation
- returns:
copyto
public void copyto(java.lang.object[] array,
int index)
- copies all elements from the collection to the specified array.
- parameters:
array
- target array.index
- starting index in the target array.
issynchronized
public boolean issynchronized()
- gets a value indicating whether access to the collection is synchronized (thread-safe).
- returns:
getsyncroot
public java.lang.object getsyncroot()
- gets a synchronization root.
readonly .
- returns: