public class TabStop extends Object
Represents a custom Tab stop position in a paragraph.
Constructor and Description |
---|
TabStop()
Initializes a new instance of the
TabStop class. |
TabStop(float position)
Initializes a new instance of the
TabStop class with specified position. |
Modifier and Type | Method and Description |
---|---|
int |
getAlignmentType()
Gets or sets a
AlignmentType enum that indicates the tab tab alignment type. |
int |
getLeaderType()
Gets or sets a
TabLeaderType enum that indicates the tab leader type. |
float |
getPosition()
Gets or sets a float value that indicates the tab stop position.
|
boolean |
isReadOnly()
Gets value indicating that this
TabStop instance is already attached to
TextFragment and became readonly
|
void |
setAlignmentType(int value)
Gets or sets a
AlignmentType enum that indicates the tab tab alignment type. |
void |
setLeaderType(int value)
Gets or sets a
TabLeaderType enum that indicates the tab leader type. |
void |
setPosition(float value)
Sets a float value that indicates the tab stop position.
|
public TabStop()
Initializes a new instance of the TabStop
class.
public TabStop(float position)
Initializes a new instance of the TabStop
class with specified position.
position
- The position of the tab stop.public float getPosition()
Gets or sets a float value that indicates the tab stop position.
public void setPosition(float value)
Sets a float value that indicates the tab stop position.
value
- float valuepublic int getLeaderType()
Gets or sets a TabLeaderType
enum that indicates the tab leader type.
TabLeaderType
public void setLeaderType(int value)
Gets or sets a TabLeaderType
enum that indicates the tab leader type.
value
- TabLeaderType elementTabLeaderType
public int getAlignmentType()
Gets or sets a AlignmentType
enum that indicates the tab tab alignment type.
TabAlignmentType
public void setAlignmentType(int value)
Gets or sets a AlignmentType
enum that indicates the tab tab alignment type.
value
- TabAlignmentType elementTabAlignmentType
public boolean isReadOnly()
Gets value indicating that this TabStop
instance is already attached to
TextFragment
and became readonly