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

NameTypeAccessDescription
positiondoubleReadGets the position of the tab stop in points.
alignmentintRead/WriteGets or sets the alignment of text at this tab stop.
leaderintRead/WriteGets or sets the type of the leader line displayed under the tab character.
clearbooleanReadReturns true if this tab stop clears any existing tab stops in this position.

Methods

SignatureDescription
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) → booleanCompares with the specified TabStop.
hashCode() → intCalculates hash code for this object.
getPosition() → doubleGets the position of the tab stop in points.
getAlignment() → intGets or sets the alignment of text at this tab stop.
setAlignment(value: int)Sets the alignment value.
getLeader() → intGets or sets the type of the leader line displayed under the tab character.
setLeader(value: int)Sets the leader value.
isClear() → booleanReturns true if this tab stop clears any existing tab stops in this position.

See Also