Package com.independentsoft.office.word
Class Tab
java.lang.Object
com.independentsoft.office.word.Tab
- All Implemented Interfaces:
IContentElement,IRunContent
The Class Tab.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the leader.intGets the position.getType()Gets the type.voidsetLeader(TabLeaderCharacter leader)Sets the leader.voidsetPosition(int position)Sets the position.voidSets the type.toString()
-
Constructor Details
-
Tab
public Tab()Instantiates a new tab. -
Tab
public Tab(int position)Instantiates a new tab.- Parameters:
position- the position
-
Tab
Instantiates a new tab.- Parameters:
position- the positiontype- the type
-
Tab
Instantiates a new tab.- Parameters:
position- the positiontype- the typeleader- the leader
-
-
Method Details
-
getContentElements
- Specified by:
getContentElementsin interfaceIContentElement
-
clone
- Specified by:
clonein interfaceIContentElement- Specified by:
clonein interfaceIRunContent- Overrides:
clonein classObject
-
toString
-
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
Gets the type.- Returns:
- the type
-
setType
Sets the type.- Parameters:
type- the new type
-
getLeader
Gets the leader.- Returns:
- the leader
-
setLeader
Sets the leader.- Parameters:
leader- the new leader
-