ITab

All Implemented Interfaces: java.lang.Comparable

public interface ITab extends Comparable

Represents a tabulation for a text.

Methods

MethodDescription
getPosition()Returns or sets position of a tab.
setPosition(double value)Returns or sets position of a tab.
getAlignment()Returns or sets align style of a tab.
setAlignment(int value)Returns or sets align style of a tab.

getPosition()

public abstract double getPosition()

Returns or sets position of a tab. Assigning this property can change tab’s index in collection and invalidate Enumerator. Read/write double.

Returns: double

setPosition(double value)

public abstract void setPosition(double value)

Returns or sets position of a tab. Assigning this property can change tab’s index in collection and invalidate Enumerator. Read/write double.

Parameters:

ParameterTypeDescription
valuedouble

getAlignment()

public abstract int getAlignment()

Returns or sets align style of a tab. Read/write TabAlignment.

Returns: int

setAlignment(int value)

public abstract void setAlignment(int value)

Returns or sets align style of a tab. Read/write TabAlignment.

Parameters:

ParameterTypeDescription
valueint