|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.ControlCollection
public class ControlCollection
A collection of ActiveX controls.
Method Summary | |
---|---|
IControl |
addControl(int controlType,
float x,
float y,
float width,
float height)
Creates and adds a new control to the collection. |
void |
clear()
Removes all controls from the collection. |
void |
copyTo(IControl[] array,
int index)
Copies the entire collection to the specified array. |
IControl |
get_Item(int index)
Returns a control at the specified position. |
com.aspose.slides.IDOMObject |
getParent_Immediate()
Returns Parent_Immediate object. |
java.lang.Object |
getSyncRoot()
Returns a synchronization root. |
boolean |
isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe). |
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IControl> |
iterator()
Returns an enumerator that iterates through the collection. |
void |
remove(IControl item)
Removes an ActiveX control from the collection. |
void |
removeAt(int index)
Removes an ActiveX control stored at specified position from the collection. |
int |
size()
Returns a number of objects in the collection. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int size()
Returns a number of objects in the collection.
Read-only int
.
size
in interface IGenericCollection<IControl>
public IControl addControl(int controlType, float x, float y, float width, float height)
Creates and adds a new control to the collection.
addControl
in interface IControlCollection
controlType
- Type of a control to add.x
- The X-coordinate for a left side of shape's frame.y
- The Y-coordinate for a top side of shape's frame.width
- The width of shape's frame.height
- The height of shape's frame.
public void remove(IControl item)
Removes an ActiveX control from the collection.
remove
in interface IControlCollection
item
- A control to remove.public void removeAt(int index)
Removes an ActiveX control stored at specified position from the collection.
removeAt
in interface IControlCollection
index
- Index of a control to remove.public void clear()
Removes all controls from the collection.
clear
in interface IControlCollection
public IControl get_Item(int index)
Returns a control at the specified position.
get_Item
in interface IControlCollection
index
- Index of a control.public com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IControl> iterator()
Returns an enumerator that iterates through the collection.
iterator
in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IControl>
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<IControl>
iterator
in interface java.lang.Iterable<IControl>
T:System.Collections.Generic.IEnumerator`1
that can be used to iterate through the collection.public void copyTo(IControl[] array, int index)
Copies the entire collection to the specified array.
copyTo
in interface IGenericCollection<IControl>
array
- Target arrayindex
- Index in the target array.public boolean isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe).
Read-only boolean
.
isSynchronized
in interface IGenericCollection<IControl>
public java.lang.Object getSyncRoot()
Returns a synchronization root.
Read-only Object
.
getSyncRoot
in interface IGenericCollection<IControl>
public com.aspose.slides.IDOMObject getParent_Immediate()
Returns Parent_Immediate object.
Read-only IDOMObject
.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |