com.aspose.slides
Class Tab

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

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

Represents a tabulation for a text.


Constructor Summary
Tab(int position, int align)
           Initializes a new instance of the Tab class.
 
Method Summary
 int compareTo(java.lang.Object obj)
           Compares this instance to a specified object.
 int getAlign()
           Returns or sets align style of a tab.
 int getPosition()
           Returns or sets position of a tab.
 void setAlign(int value)
           
 void setPosition(int value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tab

public Tab(int position,
           int align)

Initializes a new instance of the Tab class.

Parameters:
position - Position of the new tab.
align - Align style of the new tab.
Method Detail

getPosition

public int getPosition()

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


setPosition

public void setPosition(int value)

getAlign

public int getAlign()

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


setAlign

public void setAlign(int value)

compareTo

public int compareTo(java.lang.Object obj)

Compares this instance to a specified object.

Specified by:
compareTo in interface java.lang.Comparable
Parameters:
obj - An object to compare, or a null reference.
Returns: