com.aspose.cells

Class ProtectedRangeCollection

  • java.lang.Object
  • All Implemented Interfaces:
    java.lang.Iterable
    public class ProtectedRangeCollection 
    extends CollectionBase

Encapsulates a collection of ProtectedRange objects.

Property Getters/Setters Summary
intgetCount()
ProtectedRangeget(int index)
Gets the ProtectedRange element at the specified index.
 
Method Summary
intadd(java.lang.Object value)
Reserved for internal use.
intadd(java.lang.String name, int startRow, int startColumn, int endRow, int endColumn)
Adds a ProtectedRange item to the collection.
voidclear()
booleancontains(java.lang.Object value)
Reserved for internal use.
intindexOf(java.lang.Object value)
Reserved for internal use.
java.util.Iteratoriterator()
voidremoveAt(int index)
 

    • Property Getters/Setters Detail

      • getCount

        public int getCount()
        
      • get

        public ProtectedRange get(int index)
        
        Gets the ProtectedRange element at the specified index.
        Parameters:
        index - The zero based index of the element.
        Returns:
        The element at the specified index.
    • Method Detail

      • add

        public int add(java.lang.String name, int startRow, int startColumn, int endRow, int endColumn)
        Adds a ProtectedRange item to the collection.
        Parameters:
        name - Range title. This is used as a descriptor, not as a named range definition.
        startRow - Start row index of the range.
        startColumn - Start column index of the range.
        endRow - End row index of the range.
        endColumn - End column index of the range.
        Returns:
        object index.
      • clear

        public void clear()
      • removeAt

        public void removeAt(int index)
      • iterator

        public java.util.Iterator iterator()
      • contains

        public boolean contains(java.lang.Object value)
        Reserved for internal use.
      • add

        public int add(java.lang.Object value)
        Reserved for internal use.
      • indexOf

        public int indexOf(java.lang.Object value)
        Reserved for internal use.