public final class Tab extends PVIObject implements ITab
Represents a tabulation for a text.
| Constructor and Description |
|---|
Tab(double position,
int align)
Creates new Tab
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
long |
getVersion()
Version.
|
void |
setAlignment(int value)
Returns or sets align style of a tab.
|
void |
setPosition(double value)
Returns or sets position of a tab.
|
equals, getParent_Immediate, getParent_IPresentationComponent, getParent_ISlideComponent, getPresentation, getSlide, hashCodepublic Tab(double position,
int align)
Creates new Tab
position - Tab position.align - Align.public long getVersion()
Version.
Read-only long.
getVersion in class PVIObjectpublic final 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 ITabpublic final 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.
setPosition in interface ITabpublic final int getAlignment()
Returns or sets align style of a tab.
Read/write TabAlignment.
getAlignment in interface ITabpublic final void setAlignment(int value)
Returns or sets align style of a tab.
Read/write TabAlignment.
setAlignment in interface ITabpublic final int compareTo(java.lang.Object obj)
Compares the current instance with another object of the same type.
compareTo in interface java.lang.Comparableobj - 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>Copyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.