TextTabStop Class
A tab stop in a text paragraph.
Declaration
public final class TextTabStop extends Struct<TextTabStop>
Inherited Members
Inheritance
Constructors
TextTabStop() Constructor
Initializes a new instance of the TextTabStop class.
Declaration
public TextTabStop()
TextTabStop(TextTabAlignmentType alignment, float position) Constructor
Initializes a new instance of the TextTabStop class with specified settings.
Declaration
public TextTabStop(TextTabAlignmentType alignment, float position)
Parameters
| Name | Type | Description |
|---|---|---|
| alignment | TextTabAlignmentType | The alignment of the tab stop. |
| position | float | The position of the tab stop. |
Methods
equals(Object obj) Method
Determines whether the specified object is equal to the current object.
Declaration
public boolean equals(Object obj)
Parameters
| Name | Type | Description |
|---|---|---|
| obj | Object | The object to compare with the current object. |
Returns
| Type | Description |
|---|---|
| boolean |
|
equals(TextTabStop other) Method
Determines whether the specified tab stop is equal to this instance.
Declaration
public boolean equals(TextTabStop other)
Parameters
| Name | Type | Description |
|---|---|---|
| other | TextTabStop |
The tab stop to compare with this instance. |
Returns
| Type | Description |
|---|---|
| boolean |
|
getAlignment() Method
Returns the alignment of a tab stop.
Declaration
public TextTabAlignmentType getAlignment()
Returns
| Type | Description |
|---|---|
| TextTabAlignmentType | An enumeration value that indicates the alignment of a tab stop. |
getPosition() Method
Returns the position of a tab stop.
Declaration
public float getPosition()
Returns
| Type | Description |
|---|---|
| float | The position of a tab stop. |
hashCode() Method
Returns a hash code value for this tab stop.
Declaration
public int hashCode()
Returns
| Type | Description |
|---|---|
| int | The hash code. |