com.aspose.slides
Class TabCollection

java.lang.Object
  extended by com.aspose.slides.Tabs
      extended by com.aspose.slides.TabCollection
All Implemented Interfaces:
com.aspose.ms.System.Collections.ICollection<Tab>, com.aspose.ms.System.Collections.IEnumerable<Tab>, java.lang.Iterable<Tab>

public final class TabCollection
extends Tabs
implements com.aspose.ms.System.Collections.ICollection<Tab>

Represents a collection of a tabs.


Method Summary
 int add(Tab 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.
 Tab 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<Tab> 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
equals, 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<Tab>
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<Tab>

getSyncRoot

public java.lang.Object getSyncRoot()

Returns a synchronization root. Readonly object.

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

size

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

getCount

public int getCount()
Description copied from class: Tabs

Gets the number of elements actually contained in the collection.

Overrides:
getCount in class Tabs

get_Item

public Tab get_Item(int index)
Description copied from class: Tabs

Gets the element at the specified index.

Overrides:
get_Item in class Tabs

add

public int add(Tab value)
Description copied from class: Tabs

Adds a Tab to the collection.

Overrides:
add in class Tabs
Parameters:
value - The Tab to be added to the end of the collection.
Returns:
The index at which the tab has been added.

clear

public void clear()
Description copied from class: Tabs

Removes all elements from the collection.

Overrides:
clear in class Tabs

removeAt

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

Removes the element at the specified index of the collection.

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

iterator

public com.aspose.ms.System.Collections.IEnumerator<Tab> iterator()
Description copied from class: Tabs

Returns an enumerator for the entire collection.

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