TabStops
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.ms.System.ICloneable
public class TabStops implements System.ICloneable
Represents a collection of TabStop objects.
Constructors
| Constructor | Description |
|---|---|
| TabStops() | Initializes a new instance of the TabStops class. |
Methods
| Method | Description |
|---|---|
| isReadOnly() | Gets value indicating that this TabStops instance is already attached to TextFragment and became readonly. |
| add() | Initializes a new instance of the TabStop class and add it to the TabStops collection. |
| add(float position) | Initializes a new instance of the TabStop class with specified position and add it to the TabStops collection. |
| add(TabStop tabStop) | Add instance of the TabStop class to the TabStops collection. |
| getCount() | Returns tabStops Cound |
| add(float position, int leaderType) | Initializes a new instance of the TabStop class with specified position and leader type and add it to the TabStops collection. |
| deepClone() | Clones a new TabStops objects. |
| get_Item(int index) | Gets a TabStop object from the collection according to TabStop index. |
| set_Item(int index, TabStop value) | Sets a TabStop object from the collection according to TabStop index. |
TabStops()
public TabStops()
Initializes a new instance of the TabStops class.
isReadOnly()
public boolean isReadOnly()
Gets value indicating that this TabStops instance is already attached to TextFragment and became readonly.
Returns: boolean - boolean value
add()
public TabStop add()
Initializes a new instance of the TabStop class and add it to the TabStops collection.
Returns: TabStop - The new TabStop object.
add(float position)
public TabStop add(float position)
Initializes a new instance of the TabStop class with specified position and add it to the TabStops collection.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| position | float | The position of the tab stop. |
Returns: TabStop - The new TabStop object.
add(TabStop tabStop)
public void add(TabStop tabStop)
Add instance of the TabStop class to the TabStops collection.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| tabStop | TabStop | The TabStop object. |
getCount()
public int getCount()
Returns tabStops Cound
Returns: int - int value
add(float position, int leaderType)
public TabStop add(float position, int leaderType)
Initializes a new instance of the TabStop class with specified position and leader type and add it to the TabStops collection.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| position | float | The position of the tab stop. |
| leaderType | int | The leader type of the tab stop. |
Returns: TabStop - The new TabStop object.
deepClone()
public Object deepClone()
Clones a new TabStops objects.
Returns: java.lang.Object - The new TabStops object.
get_Item(int index)
public TabStop get_Item(int index)
Gets a TabStop object from the collection according to TabStop index.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | int | Zero-based index of element in TabStops collection. |
Returns: TabStop - TabStop object.
set_Item(int index, TabStop value)
public void set_Item(int index, TabStop value)
Sets a TabStop object from the collection according to TabStop index.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | int | Zero-based index of element in TabStops collection. |
| value | TabStop | TabStop object. |