com.aspose.slides
Class Tab

java.lang.Object
  extended by com.aspose.slides.Tab

public final class Tab
extends java.lang.Object

Represents the tabulation for a text.


Constructor Summary
Tab(int position, int align)
          Initializes a new instance of the Tab class.
 
Method Summary
 int getAlign()
          Returns the align style of a tab.
 int getPosition()
          Returns the position of a tab.
 void setAlign(int value)
          Sets the align style of a tab.
 void setPosition(int value)
          Sets the position of a tab.
 
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. See TabAlignment.
Method Detail

getPosition

public int getPosition()
Returns the position of a tab.

Returns:
The tab position.

setPosition

public void setPosition(int value)
Sets the position of a tab.

Parameters:
value - new tab position.

getAlign

public int getAlign()
Returns the align style of a tab.

Returns:
The tab alignment. See TabAlignment.

setAlign

public void setAlign(int value)
Sets the align style of a tab.

Parameters:
value - new tab alignment. See TabAlignment.