Skip to main content

TextTabStop Class

A tab stop in a text paragraph.

Declaration

public final class TextTabStop extends Struct<TextTabStop>

Inherited Members

com.devexpress.system.Struct.equals(java.lang.Object)
com.devexpress.system.Struct.getHashCode()
com.devexpress.system.Struct.hashCode()
java.lang.Object.clone()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.toString()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
com.devexpress.system.Struct
TextTabStop

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

true if the specified object is equal to the current object; otherwise, false.

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

true if the specified tab stop is equal to this instance; otherwise, false.

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.