com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class TabStops

  • All Implemented Interfaces:
    com.aspose.ms.System.ICloneable


    public class TabStops
    extends Object
    implements com.aspose.ms.System.ICloneable

    Represents a collection of TabStop objects.

    • Constructor Summary

      Constructors 
      Constructor and Description
      TabStops()
      Initializes a new instance of the TabStops class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      TabStop add()
      Initializes a new instance of the TabStop class and add it to the TabStops collection.
      TabStop add(float position)
      Initializes a new instance of the TabStop class with specified position and add it to the TabStops collection.
      TabStop add(float position, int leaderType)
      Initializes a new instance of the TabStop class with specified position and leader type and add it to the TabStops collection.
      void add(TabStop tabStop)
      Add instance of the TabStop class to the TabStops collection.
      Object deepClone()
      Clones a new TabStops objects.
      TabStop get_Item(int index)
      Gets a TabStop object from the collection according to TabStop index.
      int getCount()
      Returns tabStops Cound
      boolean isReadOnly()
      Gets value indicating that this TabStops instance is already attached to TextFragment and became readonly.
      void set_Item(int index, TabStop value)
      Sets a TabStop object from the collection according to TabStop index.
    • Constructor Detail

      • TabStops

        public TabStops()

        Initializes a new instance of the TabStops class.

    • Method Detail

      • isReadOnly

        public boolean isReadOnly()

        Gets value indicating that this TabStops instance is already attached to TextFragment and became readonly.

        Returns:
        boolean value
      • add

        public TabStop add()

        Initializes a new instance of the TabStop class and add it to the TabStops collection.

        Returns:
        The new TabStop object.
      • add

        public TabStop add(float position)

        Initializes a new instance of the TabStop class with specified position and add it to the TabStops collection.

        Parameters:
        position - The position of the tab stop.
        Returns:
        The new TabStop object.
      • add

        public void add(TabStop tabStop)

        Add instance of the TabStop class to the TabStops collection.

        Parameters:
        tabStop - The TabStop object.
      • getCount

        public int getCount()

        Returns tabStops Cound

        Returns:
        int value
      • add

        public TabStop add(float position,
                           int leaderType)

        Initializes a new instance of the TabStop class with specified position and leader type and add it to the TabStops collection.

        Parameters:
        position - The position of the tab stop.
        leaderType - The leader type of the tab stop.
        Returns:
        The new TabStop object.
      • deepClone

        public Object deepClone()

        Clones a new TabStops objects.

        Specified by:
        deepClone in interface com.aspose.ms.System.ICloneable
        Returns:
        The new TabStops object.
      • get_Item

        public TabStop get_Item(int index)

        Gets a TabStop object from the collection according to TabStop index.

        Parameters:
        index - Zero-based index of element in TabStops collection.
        Returns:
        TabStop object.
      • set_Item

        public void set_Item(int index,
                             TabStop value)

        Sets a TabStop object from the collection according to TabStop index.

        Parameters:
        index - Zero-based index of element in TabStops collection.
        value - TabStop object.