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.
|
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, getVersion, hashCode, reset_Parent_IPresentationComponent
public Tab(double position, int align)
Creates new Tab
position
- Tab position.align
- Align.public 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 ITab
public 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 ITab
public final int getAlignment()
Returns or sets align style of a tab.
Read/write TabAlignment
.
getAlignment
in interface ITab
public final void setAlignment(int value)
Returns or sets align style of a tab.
Read/write TabAlignment
.
setAlignment
in interface ITab
public final 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>