com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class TabCollection

  • java.lang.Object
    • com.aspose.slides.TabCollection
  • All Implemented Interfaces:
    com.aspose.ms.System.Collections.Generic.IGenericEnumerable<ITab>, com.aspose.ms.System.Collections.ICollection<ITab>, com.aspose.ms.System.Collections.IEnumerable<ITab>, IGenericCollection<ITab>, ITabCollection, java.lang.Iterable<ITab>


    public final class TabCollection
    extends java.lang.Object
    implements ITabCollection

    Represents a collection of tabs.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      ITab add(double position, int align)
      Adds a Tab to the collection.
      int add(ITab value)
      Adds a Tab to the collection.
      void clear()
      Removes all elements from the collection.
      void copyTo(com.aspose.ms.System.Array array, int index)
      Copies all elements from the collection to the specified array.
      boolean equals(java.lang.Object obj)
      Determines whether two TabsEx instances are equal.
      ITab get_Item(int index)
      Gets the element at the specified index.
      com.aspose.slides.IDOMObject getParent_Immediate()
      Returns Parent_Immediate object.
      java.lang.Object getSyncRoot()
      Returns a synchronization root.
      boolean isSynchronized()
      Returns a value indicating whether access to the collection is synchronized (thread-safe).
      com.aspose.ms.System.Collections.Generic.IGenericEnumerator<ITab> iterator()
      Returns an enumerator that iterates through the collection.
      com.aspose.ms.System.Collections.Generic.IGenericEnumerator<ITab> iteratorJava()
      Returns a java iterator for the entire collection.
      void removeAt(int index)
      Removes the element at the specified index of the collection.
      int size()
      Gets the number of elements actually contained in the collection.
      • Methods inherited from class java.lang.Object

        getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Method Detail

      • size

        public final int size()

        Gets the number of elements actually contained in the collection. Read-only int.

        Specified by:
        size in interface com.aspose.ms.System.Collections.ICollection<ITab>
      • get_Item

        public final ITab get_Item(int index)

        Gets the element at the specified index. Read-only Tab.

        Specified by:
        get_Item in interface ITabCollection
      • add

        public final ITab add(double position,
                              int align)

        Adds a Tab to the collection.

        Specified by:
        add in interface ITabCollection
        Parameters:
        position - Tab position.
        align - Tab alignment.
        Returns:
        Added tab.
      • add

        public final int add(ITab value)

        Adds a Tab to the collection.

        Specified by:
        add in interface ITabCollection
        Parameters:
        value - The Tab object to be added at the end of the collection.
        Returns:
        The index at which the tab was added.
      • clear

        public final void clear()

        Removes all elements from the collection.

        Specified by:
        clear in interface ITabCollection
      • removeAt

        public final void removeAt(int index)

        Removes the element at the specified index of the collection.

        Specified by:
        removeAt in interface ITabCollection
        Parameters:
        index - The zero-based index of the element to remove.
      • getParent_Immediate

        public final com.aspose.slides.IDOMObject getParent_Immediate()

        Returns Parent_Immediate object. Read-only IDOMObject.

      • equals

        public boolean equals(java.lang.Object obj)

        Determines whether two TabsEx instances are equal.

        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - The TabsEx to compare with the current TabsEx.
        Returns:
        <b>true</b> if the specified TabsEx is equal to the current TabsEx; otherwise, <b>false</b>.
      • iterator

        public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<ITab> iterator()

        Returns an enumerator that iterates through the collection.

        Specified by:
        iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<ITab>
        Specified by:
        iterator in interface com.aspose.ms.System.Collections.IEnumerable<ITab>
        Specified by:
        iterator in interface java.lang.Iterable<ITab>
        Returns:
        A System.Collections.Generic.IEnumerator`1 that can be used to iterate through the collection.
      • iteratorJava

        public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<ITab> iteratorJava()

        Returns a java iterator for the entire collection.

        Specified by:
        iteratorJava in interface IGenericCollection<ITab>
        Returns:
        An Iterator for the entire collection.
      • copyTo

        public final void copyTo(com.aspose.ms.System.Array array,
                                 int index)

        Copies all elements from the collection to the specified array.

        Specified by:
        copyTo in interface com.aspose.ms.System.Collections.ICollection<ITab>
        Parameters:
        array - Target array.
        index - Starting index in the target array.
      • isSynchronized

        public final boolean isSynchronized()

        Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only boolean.

        Specified by:
        isSynchronized in interface com.aspose.ms.System.Collections.ICollection<ITab>
      • getSyncRoot

        public final java.lang.Object getSyncRoot()

        Returns a synchronization root. Read-only Object.

        Specified by:
        getSyncRoot in interface com.aspose.ms.System.Collections.ICollection<ITab>