com.aspose.slides
Class TabDataEx

java.lang.Object
  extended by com.aspose.slides.TabDataEx
All Implemented Interfaces:
java.lang.Comparable

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

Immutable object which represents a text's tabulation stop.


Method Summary
 int compareTo(java.lang.Object obj)
           Compares the current instance with another object of the same type.
 int getAlignment()
           Returns or sets align style of a tab.
 double getPosition()
           Returns or sets position of a tab.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPosition

public 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.


getAlignment

public int getAlignment()

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


compareTo

public int compareTo(java.lang.Object obj)

Compares the current instance with another object of the same type.

Specified by:
compareTo in interface java.lang.Comparable
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: <UL> <LI> &lt; 0 - This instance is less than obj.</LI> <LI> = 0 - This instance is equal to obj.</LI> <LI> &gt; 0 - This instance is greater than obj.</LI> </UL>