Class Tab

java.lang.Object
com.independentsoft.office.word.Tab
All Implemented Interfaces:
IContentElement, IRunContent

public class Tab extends Object implements IRunContent
The Class Tab.
  • Constructor Details

    • Tab

      public Tab()
      Instantiates a new tab.
    • Tab

      public Tab(int position)
      Instantiates a new tab.
      Parameters:
      position - the position
    • Tab

      public Tab(int position, TabType type)
      Instantiates a new tab.
      Parameters:
      position - the position
      type - the type
    • Tab

      public Tab(int position, TabType type, TabLeaderCharacter leader)
      Instantiates a new tab.
      Parameters:
      position - the position
      type - the type
      leader - the leader
  • Method Details

    • getContentElements

      public List<IContentElement> getContentElements()
      Specified by:
      getContentElements in interface IContentElement
    • clone

      public Tab clone()
      Specified by:
      clone in interface IContentElement
      Specified by:
      clone in interface IRunContent
      Overrides:
      clone in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getPosition

      public int getPosition()
      Gets the position.
      Returns:
      the position
    • setPosition

      public void setPosition(int position)
      Sets the position.
      Parameters:
      position - the new position
    • getType

      public TabType getType()
      Gets the type.
      Returns:
      the type
    • setType

      public void setType(TabType type)
      Sets the type.
      Parameters:
      type - the new type
    • getLeader

      public TabLeaderCharacter getLeader()
      Gets the leader.
      Returns:
      the leader
    • setLeader

      public void setLeader(TabLeaderCharacter leader)
      Sets the leader.
      Parameters:
      leader - the new leader