|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.Tab
public final class Tab
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. |
double |
getPosition()
Returns or sets position of a tab. |
void |
setAlignment(int value)
|
void |
setPosition(double value)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Tab(double position, int align)
Initializes a new instance of the Tab class.
position
- Position of the new tab.align
- Align style of the new tab.Method Detail |
---|
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
.
getPosition
in interface ITab
public void setPosition(double value)
setPosition
in interface ITab
public int getAlignment()
Returns or sets align style of a tab.
Read/write TabAlignment
.
getAlignment
in interface ITab
public void setAlignment(int value)
setAlignment
in interface ITab
public int compareTo(java.lang.Object obj)
Compares the current instance with another object of the same type.
compareTo
in interface java.lang.Comparable
obj
- An object to compare with this instance.
<UL>
<LI> < 0 - This instance is less than obj.</LI>
<LI> = 0 - This instance is equal to obj.</LI>
<LI> > 0 - This instance is greater than obj.</LI>
</UL>
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |