com.aspose.slides.pptx
Class TabEx

java.lang.Object
  extended by com.aspose.slides.pptx.TabEx

public final class TabEx
extends java.lang.Object

Represents a tabulation for a text.


Constructor Summary
TabEx(double position, TabAlignmentEx 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.
 TabAlignmentEx getAlign()
          Deprecated. 
 TabAlignmentEx getAlignment()
          Returns the align style of a tab.
 double getPosition()
          Returns the position of a tab.
 void setAlign(TabAlignmentEx value)
          Deprecated. 
 void setAlignment(TabAlignmentEx value)
          Sets the align style of a tab.
 void setPosition(double 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

TabEx

public TabEx(double position,
             TabAlignmentEx 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 the position of a tab.


setPosition

public void setPosition(double value)
Sets the position of a tab. This can change tab's index in the collection and invalidate Iterator.

Parameters:
value - new tab position.

getAlign

@Deprecated
public TabAlignmentEx getAlign()
Deprecated. 

Returns the align style of a tab.

Returns:
See TabAlignmentEx.

setAlign

@Deprecated
public void setAlign(TabAlignmentEx value)
Deprecated. 

Sets the align style of a tab.

Parameters:
value - See TabAlignmentEx.

getAlignment

public TabAlignmentEx getAlignment()
Returns the align style of a tab.

Returns:
See TabAlignmentEx.

setAlignment

public void setAlignment(TabAlignmentEx value)
Sets the align style of a tab.

Parameters:
value - See TabAlignmentEx.

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