com.aspose.slides
Class Tab

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

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

Represents a tabulation for a text.


Constructor Summary
Tab(double position, int align)
           Initializes a new instance of the Tab class.
 
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.
 com.aspose.slides.IDOMObject getParent_Immediate()
           Returns Parent_Immediate object.
 double getPosition()
           Returns or sets position of a tab.
 void setAlignment(int value)
           Returns or sets align style of a tab.
 void setPosition(double value)
           Returns or sets 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(double 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 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.

Specified by:
getPosition in interface ITab

setPosition

public void setPosition(double value)

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

Specified by:
setPosition in interface ITab

getAlignment

public int getAlignment()

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

Specified by:
getAlignment in interface ITab

setAlignment

public void setAlignment(int value)

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

Specified by:
setAlignment in interface ITab

getParent_Immediate

public com.aspose.slides.IDOMObject getParent_Immediate()

Returns Parent_Immediate object. Read-only IDOMObject.


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>


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.