TabStop

Inheritance: java.lang.Object

public class TabStop

Represents a custom Tab stop position in a paragraph.

Constructors

ConstructorDescription
TabStop()Initializes a new instance of the TabStop class.
TabStop(float position)Initializes a new instance of the TabStop class with specified position.

Methods

MethodDescription
getPosition()Gets or sets a float value that indicates the tab stop position.
setPosition(float value)Sets a float value that indicates the tab stop position.
getLeaderType()Gets or sets a TabLeaderType enum that indicates the tab leader type.
setLeaderType(int value)Gets or sets a TabLeaderType enum that indicates the tab leader type.
getAlignmentType()Gets or sets a AlignmentType enum that indicates the tab tab alignment type.
setAlignmentType(int value)Gets or sets a AlignmentType enum that indicates the tab tab alignment type.
isReadOnly()Gets value indicating that this TabStop instance is already attached to TextFragment and became readonly

TabStop()

public TabStop()

Initializes a new instance of the TabStop class.

TabStop(float position)

public TabStop(float position)

Initializes a new instance of the TabStop class with specified position.

Parameters:

ParameterTypeDescription
positionfloatThe position of the tab stop.

getPosition()

public float getPosition()

Gets or sets a float value that indicates the tab stop position.

Returns: float - float value

setPosition(float value)

public void setPosition(float value)

Sets a float value that indicates the tab stop position.

Parameters:

ParameterTypeDescription
valuefloatfloat value

getLeaderType()

public int getLeaderType()

Gets or sets a TabLeaderType enum that indicates the tab leader type.

Returns: int - TabLeaderType element

setLeaderType(int value)

public void setLeaderType(int value)

Gets or sets a TabLeaderType enum that indicates the tab leader type.

Parameters:

ParameterTypeDescription
valueintTabLeaderType element

getAlignmentType()

public int getAlignmentType()

Gets or sets a AlignmentType enum that indicates the tab tab alignment type.

Returns: int - TabAlignmentType element

setAlignmentType(int value)

public void setAlignmentType(int value)

Gets or sets a AlignmentType enum that indicates the tab tab alignment type.

Parameters:

ParameterTypeDescription
valueintTabAlignmentType element

isReadOnly()

public boolean isReadOnly()

Gets value indicating that this TabStop instance is already attached to TextFragment and became readonly

Returns: boolean - boolean value