com.aspose.slides
Class TabExCollection

java.lang.Object
  extended by com.aspose.slides.TabsEx
      extended by com.aspose.slides.TabExCollection
All Implemented Interfaces:
com.aspose.ms.System.Collections.ICollection<TabEx>, com.aspose.ms.System.Collections.IEnumerable<TabEx>, java.lang.Iterable<TabEx>

public final class TabExCollection
extends TabsEx
implements com.aspose.ms.System.Collections.ICollection<TabEx>

Represents a collection of tabs.


Method Summary
 int add(TabEx value)
           Adds a TabEx 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.
 TabEx get_Item(int index)
           Gets the element at the specified index.
 int getCount()
           Gets the number of elements actually contained in the collection.
 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.IEnumerator<TabEx> iterator()
           Returns an enumerator for the entire collection.
 void removeAt(int index)
           Removes the element at the specified index of the collection.
 int size()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

copyTo

public 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<TabEx>
Parameters:
array - Target array.
index - Starting index in the target array.

isSynchronized

public boolean isSynchronized()

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

Specified by:
isSynchronized in interface com.aspose.ms.System.Collections.ICollection<TabEx>

getSyncRoot

public java.lang.Object getSyncRoot()

Returns a synchronization root. Readonly object.

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

size

public int size()
Specified by:
size in interface com.aspose.ms.System.Collections.ICollection<TabEx>

getCount

public int getCount()
Description copied from class: TabsEx

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

Overrides:
getCount in class TabsEx

get_Item

public TabEx get_Item(int index)
Description copied from class: TabsEx

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

Overrides:
get_Item in class TabsEx

add

public int add(TabEx value)
Description copied from class: TabsEx

Adds a TabEx to the collection.

Overrides:
add in class TabsEx
Parameters:
value - The TabEx object to be added at the end of the collection.
Returns:
The index at which the tab was added.

clear

public void clear()
Description copied from class: TabsEx

Removes all elements from the collection.

Overrides:
clear in class TabsEx

removeAt

public void removeAt(int index)
Description copied from class: TabsEx

Removes the element at the specified index of the collection.

Overrides:
removeAt in class TabsEx
Parameters:
index - The zero-based index of the element to remove.

equals

public boolean equals(java.lang.Object obj)
Description copied from class: TabsEx

Determines whether two TabsEx instances are equal.

Overrides:
equals in class TabsEx
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 com.aspose.ms.System.Collections.IEnumerator<TabEx> iterator()
Description copied from class: TabsEx

Returns an enumerator for the entire collection.

Specified by:
iterator in interface com.aspose.ms.System.Collections.IEnumerable<TabEx>
Specified by:
iterator in interface java.lang.Iterable<TabEx>
Overrides:
iterator in class TabsEx
Returns:
An IEnumerator for the entire collection.