| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.presentation.collections.TextRangeList
public class TextRangeList
Represents a collection.
| Constructor Summary | |
|---|---|
| TextRangeList() | |
| Method Summary | |
|---|---|
|  int | append(PortionEx value)Adds a text range to the end of collection. | 
|  void | clear()Removes all elements from the collection. | 
|  PortionEx | get(int index)Gets the element at the specified index. | 
|  int | getCount()Gets the number of elements actually contained in the collection. | 
|  void | insert(int index,
       PortionEx value)Inserts a Portion into the collection at the specified index. | 
|  void | removeAt(int index)Removes the element at the specified index of the collection. | 
| Constructor Detail | 
|---|
public TextRangeList()
| Method Detail | 
|---|
public int getCount()
public PortionEx get(int index)
index - 
public int append(PortionEx value)
           throws DocumentEditException
value - The text range
DocumentEditException
public void insert(int index,
                   PortionEx value)
            throws DocumentEditException
index - The zero-based index at which Portion should be inserted.value - The Portion to insert.
DocumentEditExceptionpublic void clear()
public void removeAt(int index)
index - The zero-based index of the element to remove.| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||