TabStopCollection

TabStopCollection

Overview

TabStopCollection is a class in Aspose.Words FOSS for Java. Inherits from: InternableComplexAttr, IExpandableAttr, Cloneable.

TabStopCollection offers methods to add, remove, and query TabStop objects, and supports cloning and expansion of complex attributes.

Edition status of its 13 listed members (a property and its accessor methods are listed separately, overloads once): 13 not yet exercised by a verified example.

This class declares 15 methods for TabStopCollection objects in Java programs. Available methods include: add, after, before, clear, equals, get, getCount, getIndexByPosition, getPositionByIndex, hashCode, removeByIndex, removeByPosition. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: count.

Properties

NameTypeAccessDescription
countintReadGets the number of tab stops in the collection.

Methods

SignatureDescription
equals(rhs: TabStopCollection) → booleanDetermines whether the specified TabStopCollection is equal in value to the current TabStopCollection.
equals(obj: Object) → booleanDetermines whether the specified object is equal in value to the current object.
hashCode() → intServes as a hash function for this type.
getCount() → intGets the number of tab stops in the collection.
get(index: int) → TabStopGets a tab stop at the given index.
get(position: double) → TabStopCalls get(position) on this TabStopCollection instance.
clear()Deletes all tab stop positions.
getPositionByIndex(index: int) → doubleGets the position (in points) of the tab stop at the specified index.
getIndexByPosition(position: double) → intGets the index of a tab stop with the specified position in points.
add(tabStop: TabStop)Adds or replaces a tab stop in the collection.
add(position: double, alignment: int, leader: int)Adds or replaces a tab stop in the collection.
removeByPosition(position: double)Removes a tab stop at the specified position from the collection.
removeByIndex(index: int)Removes a tab stop at the specified index from the collection.
after(position: double) → TabStopGets a first tab stop to the right of the specified position.
before(position: double) → TabStopGets a first tab stop to the left of the specified position.

See Also