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.
|
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 ITabCollection
public final ITab add(double position, int align)
Adds a Tab to the collection.
add
in interface ITabCollection
position
- Tab position.align
- Tab alignment.public final int add(ITab value)
Adds a Tab to the collection.
add
in interface ITabCollection
value
- 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 ITabCollection
public final void removeAt(int index)
Removes the element at the specified index of the collection.
removeAt
in interface ITabCollection
index
- 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.Object
obj
- The TabsEx to compare with the current TabsEx.<b>true</b>
if the specified TabsEx is equal to the current TabsEx; otherwise, <b>false</b>
.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>
System.Collections.Generic.IEnumerator`1
that can be used to iterate through the 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>