oleobjectcollection-ag凯发旗舰厅



com.spire.presentation.collections
class oleobjectcollection

java.lang.object
  extended by com.spire.presentation.collections.oleobjectcollection
all implemented interfaces:
com.spire.ms.system.collections.icollection, com.spire.ms.system.collections.ienumerable, java.lang.iterable

public class oleobjectcollection
extends java.lang.object
implements com.spire.ms.system.collections.icollection

a collection of oleobject controls.


constructor summary
oleobjectcollection(activeslide parent)
           
 
method summary
 void clear()
          removes all controls from the collection.
 void copyto(java.lang.object[] array, int index)
          copies the entire collection to the specified array.
 oleobject get(int index)
          gets a control at the specified position.
 int getcount()
          gets a number of objects in the collection.
 java.lang.object getsyncroot()
          gets a synchronization root.
 boolean issynchronized()
          gets a value indicating whether access to the collection is synchronized (thread-safe).
 com.spire.ms.system.collections.ienumerator iterator()
           
 void remove(oleobject item)
          removes an oleobject control from the collection.
 void removeat(int index)
          removes an oleobject control stored at specified position from the collection.
 int size()
          gets the size of the collection.
 
constructor detail

oleobjectcollection

public oleobjectcollection(activeslide parent)
method detail

getcount

public int getcount()
gets a number of objects in the collection.
returns:

remove

public void remove(oleobject item)
removes an oleobject control from the collection.
parameters:
item - a control to remove.

removeat

public void removeat(int index)
removes an oleobject control stored at specified position from the collection.
parameters:
index - index of a control to remove.

clear

public void clear()
removes all controls from the collection.

get

public oleobject get(int index)
gets a control at the specified position.
parameters:
index - index of a control.
returns:

size

public int size()
gets the size of the collection.
returns:

copyto

public void copyto(java.lang.object[] array,
                   int index)
copies the entire collection to the specified array.
parameters:
array - target array
index - 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:

iterator

public com.spire.ms.system.collections.ienumerator iterator()


网站地图