public final class TabCollection extends java.lang.Object implements ITabCollection
Represents a collection of tabs.
| 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.
|
public final int size()
Gets the number of elements actually contained in the collection.
Read-only int.
size in interface com.aspose.ms.System.Collections.ICollection<ITab>public final ITab get_Item(int index)
Gets the element at the specified index.
Read-only Tab.
get_Item in interface ITabCollectionpublic final ITab add(double position, int align)
Adds a Tab to the collection.
add in interface ITabCollectionposition - Tab position.align - Tab alignment.public final int add(ITab value)
Adds a Tab to the collection.
add in interface ITabCollectionvalue - The Tab object to be added at the end of the collection.public final void clear()
Removes all elements from the collection.
clear in interface ITabCollectionpublic final void removeAt(int index)
Removes the element at the specified index of the collection.
removeAt in interface ITabCollectionindex - The zero-based index of the element to remove.public final com.aspose.slides.IDOMObject getParent_Immediate()
Returns Parent_Immediate object.
Read-only IDOMObject.
public boolean equals(java.lang.Object obj)
Determines whether two TabsEx instances are equal.
equals in class java.lang.Objectobj - The TabsEx to compare with the current TabsEx.public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<ITab> iterator()
Returns an enumerator that iterates through the collection.
iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<ITab>iterator in interface com.aspose.ms.System.Collections.IEnumerable<ITab>iterator in interface java.lang.Iterable<ITab>IGenericEnumerator that can be used to iterate through the collection.public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<ITab> iteratorJava()
Returns a java iterator for the entire collection.
iteratorJava in interface IGenericCollection<ITab>Iterator for the entire collection.public final void copyTo(com.aspose.ms.System.Array array,
int index)
Copies all elements from the collection to the specified array.
copyTo in interface com.aspose.ms.System.Collections.ICollection<ITab>array - Target array.index - Starting index in the target array.public final boolean isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe).
Read-only boolean.
isSynchronized in interface com.aspose.ms.System.Collections.ICollection<ITab>public final java.lang.Object getSyncRoot()
Returns a synchronization root.
Read-only Object.
getSyncRoot in interface com.aspose.ms.System.Collections.ICollection<ITab>Copyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.