public interface IControlCollection extends IGenericCollection<IControl>
A collection of ActiveX controls.
Modifier and Type | Method and Description |
---|---|
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.
|
IControl |
get_Item(int index)
Returns a control at the specified position.
|
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.
|
iteratorJava
iterator
void remove(IControl item)
Removes an ActiveX control from the collection.
item
- A control to remove.void removeAt(int index)
Removes an ActiveX control stored at specified position from the collection.
index
- Index of a control to remove.void clear()
Removes all controls from the collection.
IControl get_Item(int index)
Returns a control at the specified position.
index
- Index of a control.IControl addControl(int controlType, float x, float y, float width, float height)
Creates and adds a new control to the collection.
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.IControl
.