com.aspose.slides
Class TabEx

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

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

Represents a tabulation for a text.


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

Constructor Detail

TabEx

public TabEx(double position,
             int align)

Initializes a new instance of the TabEx class.

Parameters:
position - Position of the new tab.
align - Align style of the new tab.
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.


setPosition_Rename_Namesake

public void setPosition_Rename_Namesake(double value)

getAlign

@Deprecated
public int getAlign()
Deprecated. 

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


setAlign_Rename_Namesake

@Deprecated
public void setAlign_Rename_Namesake(int value)
Deprecated. 


getAlignment

public int getAlignment()

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


setAlignment

public void setAlignment(int value)

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>