com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class Tab

  • All Implemented Interfaces:
    ITab, java.lang.Comparable


    public final class Tab
    extends PVIObject
    implements ITab

    Represents a tabulation for a text.

    • Constructor Detail

      • Tab

        public Tab(double position,
                   int align)

        Creates new Tab

        Parameters:
        position - Tab position.
        align - Align.
    • Method Detail

      • getPosition

        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.

        Specified by:
        getPosition in interface ITab
      • setPosition

        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.

        Specified by:
        setPosition in interface ITab
      • getAlignment

        public final int getAlignment()

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

        Specified by:
        getAlignment in interface ITab
      • setAlignment

        public final void setAlignment(int value)

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

        Specified by:
        setAlignment in interface ITab
      • compareTo

        public final 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>