asposediagram.api

Class ControlCollection

Control collection.

Property Getters/Setters Summary
methodgetCount()
Gets the number of elements actually contained in the collection.
methodget(index)
Gets the element at the specified index.
 
Method Summary
methodadd(item)
Add the Control object in the collection.
methodclear()
Removes all elements from collection.
methodgetControl(IX)
Gets the element at the specified index IX.
methodgetControlFromId(ID)
Gets the element at the specified ID.
methodgetControlFromName(name)
Gets the element at the specified name.
methodisExist(index)
Is exist item in the collection.
methoditerator()
Supports a simple iteration over a nongeneric collection.
methodremove(item)
Remove the Control object from the collection.
 

    • Property Getters/Setters Detail

      • getCount : int 

        int getCount()
        
        Gets the number of elements actually contained in the collection.
      • get : Control 

        Control get(index)
        
        Gets the element at the specified index.
        Parameters:
        index -
        Returns:
    • Method Detail

      • add

        int add(item)
        Add the Control object in the collection.
        Returns:
      • remove

         remove(item)
        Remove the Control object from the collection.
      • getControl

        Control getControl(IX)
        Gets the element at the specified index IX.
        Parameters:
        IX: int -
        Returns:
      • getControlFromId

        Control getControlFromId(ID)
        Gets the element at the specified ID.
        Parameters:
        ID: int -
        Returns:
      • getControlFromName

        Control getControlFromName(name)
        Gets the element at the specified name.
        Parameters:
        name: String -
        Returns:
      • iterator

        Iterator iterator()
        Supports a simple iteration over a nongeneric collection.
        Returns:
      • isExist

        boolean isExist(index)
        Is exist item in the collection.
        Parameters:
        index: int - index of element.
        Returns:
      • clear

         clear()
        Removes all elements from collection.