Package com.independentsoft.office.word

# 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 Summary

  Constructors
  Constructor
  Description
  `Tab()`
  Instantiates a new tab.
  `Tab​(int position)`
  Instantiates a new tab.
  `Tab​(int position, TabType type)`
  Instantiates a new tab.
  `Tab​(int position, TabType type, TabLeaderCharacter leader)`
  Instantiates a new tab.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Tab`
  `clone()`
  `List<IContentElement>`
  `getContentElements()`
  `TabLeaderCharacter`
  `getLeader()`
  Gets the leader.
  `int`
  `getPosition()`
  Gets the position.
  `TabType`
  `getType()`
  Gets the type.
  `void`
  `setLeader​(TabLeaderCharacter leader)`
  Sets the leader.
  `void`
  `setPosition​(int position)`
  Sets the position.
  `void`
  `setType​(TabType type)`
  Sets the type.
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## 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