com.aspose.diagram

Class ControlCollection

  • java.lang.Object
  • All Implemented Interfaces:
    java.lang.Iterable
    public class ControlCollection 
    extends Collection

Control collection.

Property Getters/Setters Summary
intgetCount()
Gets the number of elements actually contained in the collection.
Controlget(int index)
Gets the element at the specified index.
 
Method Summary
intadd(Control item)
Add the Control object in the collection.
voidclear()
Removes all elements from collection.
ControlgetControl(int IX)
Gets the element at the specified index IX.
ControlgetControlFromId(int ID)
Gets the element at the specified ID.
ControlgetControlFromName(java.lang.String name)
Gets the element at the specified name.
booleanisExist(int index)
Is exist item in the collection.
java.util.Iteratoriterator()
Supports a simple iteration over a nongeneric collection.
voidremove(Control item)
Remove the Control object from the collection.
 

    • Property Getters/Setters Detail

      • getCount

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

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

      • add

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

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

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

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

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

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

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

        public void clear()
        Removes all elements from collection.