com.aspose.slides
Class TabCollection

java.lang.Object
  extended by com.aspose.slides.TabCollection
All Implemented Interfaces:
com.aspose.ms.System.Collections.Generic.IGenericEnumerable<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
 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(ITab[] 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.
 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
 

Method Detail

size

public int size()

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

Specified by:
size in interface IGenericCollection<ITab>

get_Item

public ITab get_Item(int index)

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

Specified by:
get_Item in interface ITabCollection

add

public ITab add(double position,
                int align)

Adds a Tab to the collection.

Specified by:
add in interface ITabCollection
Returns:
Added tab.

add

public 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 void clear()

Removes all elements from the collection.

Specified by:
clear in interface ITabCollection

removeAt

public 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 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 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 T:System.Collections.Generic.IEnumerator`1 that can be used to iterate through the collection.

copyTo

public void copyTo(ITab[] array,
                   int index)

Copies all elements from the collection to the specified array.

Specified by:
copyTo in interface IGenericCollection<ITab>
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). Read-only boolean.

Specified by:
isSynchronized in interface IGenericCollection<ITab>

getSyncRoot

public java.lang.Object getSyncRoot()

Returns a synchronization root. Read-only Object.

Specified by:
getSyncRoot in interface IGenericCollection<ITab>


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.