com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class ViewCollection

    • Method Detail

      • add

        public boolean add(View item)
        Adds the specified item to the end of the collection.
        Specified by:
        add in interface Collection<View>
        Overrides:
        add in class AbstractCollection<View>
        Parameters:
        item - View item to be added.
        Returns:
        true if the operation was successful.
      • contains

        public boolean contains(View item)
        Return true if this collection contains the specified item.
        Parameters:
        item - the specified view.
        Returns:
        true if this collection contains the specified item.
      • copyTo

        public void copyTo(View[] array,
                           int arrayIndex)
        Copies all of the elements in the specified collection into the specified array at the specified index.
        Parameters:
        array - the specified array to copy elements to.
        arrayIndex - the specified index to copy elements at.
      • remove

        public boolean remove(View item)
        Removes the specified item.
        Parameters:
        item - the item to be removed.
        Returns:
        true if the operation was successful.
      • toList

        public List<View> toList()

        Converts a view collection to a list of View objects.

        Returns:
        Generic list of View objects.
      • getParentProject

        public Project getParentProject()

        Gets the parent of the Views object. Read-only Project.

        Returns:
        parent project.