TabStop
Overview
TabStop is a class in Aspose.Words FOSS for Java.
Inherits from: Cloneable.
Represents a single custom tab stop.
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 10 methods for TabStop objects in Java programs.
Available methods include: TabStop, equals, getAlignment, getLeader, getPosition, hashCode, isClear, setAlignment, setLeader.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: alignment, clear, leader, position.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
position | double | Read | Gets the position of the tab stop in points. |
alignment | int | Read/Write | Gets or sets the alignment of text at this tab stop. |
leader | int | Read/Write | Gets or sets the type of the leader line displayed under the tab character. |
clear | boolean | Read | Returns true if this tab stop clears any existing tab stops in this position. |
Methods
| Signature | Description |
|---|---|
TabStop(position: double) | Initializes a new instance of this class. |
TabStop(position: double, alignment: int, leader: int) | Initializes a new instance of this class. |
equals(rhs: TabStop) → boolean | Compares with the specified TabStop. |
hashCode() → int | Calculates hash code for this object. |
getPosition() → double | Gets the position of the tab stop in points. |
getAlignment() → int | Gets or sets the alignment of text at this tab stop. |
setAlignment(value: int) | Sets the alignment value. |
getLeader() → int | Gets or sets the type of the leader line displayed under the tab character. |
setLeader(value: int) | Sets the leader value. |
isClear() → boolean | Returns true if this tab stop clears any existing tab stops in this position. |