com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class ViewCollection

    • Method Detail

      • add

        public boolean add(View item)

        Adds the specified item to this collection.

        Specified by:
        add in interface Collection<View>
        Overrides:
        add in class AbstractCollection<View>
        Parameters:
        item - the specified item to add to this collection.
        Returns:
        true if the operation was successful.
      • contains

        public final boolean contains(View item)

        Returns true if the specified item is found in this collection; otherwise, false.

        Parameters:
        item - the specified item to find.
        Returns:
        true if the specified item is found in this collection; otherwise, false.
      • copyTo

        public final void copyTo(View[] array,
                                 int arrayIndex)

        Copies the elements of this collection to the specified array, starting at the specified array index.

        Parameters:
        array - the specified one-dimensional array to copy elements to
        arrayIndex - the zero-based index of the specified array at which copying begins.
      • getParentProject

        public final Project getParentProject()

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

        Returns:
        the parent of the View object.
      • remove

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

        public final List<View> toList()

        Converts a view collection to a list of View objects.

        Returns:
        Generic list of View objects.