com.spire.presentation
Class TabDataEx

java.lang.Object
  extended by com.spire.presentation.TabDataEx
All Implemented Interfaces:
java.lang.Comparable

public final class TabDataEx
extends java.lang.Object
implements java.lang.Comparable

Represents a text's tabulation stop.


Constructor Summary
TabDataEx(TabStop tab)
           
 
Method Summary
 int compareTo(java.lang.Object obj)
          Compares the current instance with another object of the same type.
 TabAlignmentType getAlignment()
          Gets or sets align style of a tab.
 double getPosition()
          Gets or sets position of a tab.
 

Constructor Detail

TabDataEx

public TabDataEx(TabStop tab)
Method Detail

getPosition

public double getPosition()
Gets or sets position of a tab. Assigning this property can change tab's index in collection and invalidate Enumerator.

Returns:

getAlignment

public TabAlignmentType getAlignment()
Gets or sets align style of a tab. Read/write .

Returns:

compareTo

public int compareTo(java.lang.Object obj)
Compares the current instance with another object of the same type.

Parameters:
obj - An object to compare with this instance.
Returns:
A 32-bit integer that indicates the relative order of the comparands. The return value has these meanings: < 0 - This instance is less than obj. = 0 - This instance is equal to obj. > 0 - This instance is greater than obj.