Package com.independentsoft.office.word
Class AbsolutePositionTab
java.lang.Object
com.independentsoft.office.word.AbsolutePositionTab
- All Implemented Interfaces:
IContentElement,IRunContent
The Class AbsolutePositionTab.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new absolute position tab.AbsolutePositionTab(AbsolutePositionTabAlignment alignment)Instantiates a new absolute position tab.AbsolutePositionTab(AbsolutePositionTabAlignment alignment, AbsolutePositionTabPositioningBase relativeTo)Instantiates a new absolute position tab.AbsolutePositionTab(AbsolutePositionTabAlignment alignment, AbsolutePositionTabPositioningBase relativeTo, AbsolutePositionTabLeader leader)Instantiates a new absolute position tab. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the alignment.Gets the leader.Gets the relative to.voidsetAlignment(AbsolutePositionTabAlignment alignment)Sets the alignment.voidsetLeader(AbsolutePositionTabLeader leader)Sets the leader.voidsetRelativeTo(AbsolutePositionTabPositioningBase relativeTo)Sets the relative to.toString()
-
Constructor Details
-
AbsolutePositionTab
public AbsolutePositionTab()Instantiates a new absolute position tab. -
AbsolutePositionTab
Instantiates a new absolute position tab.- Parameters:
alignment- the alignment
-
AbsolutePositionTab
public AbsolutePositionTab(AbsolutePositionTabAlignment alignment, AbsolutePositionTabPositioningBase relativeTo)Instantiates a new absolute position tab.- Parameters:
alignment- the alignmentrelativeTo- the relative to
-
AbsolutePositionTab
public AbsolutePositionTab(AbsolutePositionTabAlignment alignment, AbsolutePositionTabPositioningBase relativeTo, AbsolutePositionTabLeader leader)Instantiates a new absolute position tab.- Parameters:
alignment- the alignmentrelativeTo- the relative toleader- the leader
-
-
Method Details
-
getContentElements
- Specified by:
getContentElementsin interfaceIContentElement
-
clone
- Specified by:
clonein interfaceIContentElement- Specified by:
clonein interfaceIRunContent- Overrides:
clonein classObject
-
toString
-
getAlignment
Gets the alignment.- Returns:
- the alignment
-
setAlignment
Sets the alignment.- Parameters:
alignment- the new alignment
-
getLeader
Gets the leader.- Returns:
- the leader
-
setLeader
Sets the leader.- Parameters:
leader- the new leader
-
getRelativeTo
Gets the relative to.- Returns:
- the relative to
-
setRelativeTo
Sets the relative to.- Parameters:
relativeTo- the new relative to
-