Package com.adobe.xfa.text
Class TextCharPropDataIterator
- java.lang.Object
 - 
- com.adobe.xfa.text.TextCharPropDataIterator
 
 
- 
- All Implemented Interfaces:
 TextCharPropIterator
- Direct Known Subclasses:
 TextCharPropCharIterator
public class TextCharPropDataIterator extends java.lang.Object implements TextCharPropIterator
 
- 
- 
Constructor Summary
Constructors Constructor Description TextCharPropDataIterator(int[] data)TextCharPropDataIterator(int[] data, int startIndex)TextCharPropDataIterator(int[] data, int startIndex, int length) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intfirst()Return the index value corresponding to the first element in the logical array.intgetNextIndex()intnext()intnext(int index)Obtain the character properties corresponding to the current index value and advance the index. 
 - 
 
- 
- 
Method Detail
- 
first
public int first()
Description copied from interface:TextCharPropIteratorReturn the index value corresponding to the first element in the logical array.- Specified by:
 firstin interfaceTextCharPropIterator- Returns:
 - First element's index value. Often zero, but doesn't have to be.
 
 
- 
next
public int next(int index)
Description copied from interface:TextCharPropIteratorObtain the character properties corresponding to the current index value and advance the index.- Specified by:
 nextin interfaceTextCharPropIterator- Parameters:
 index- - Current index value. The call must update this parameter to represent the logical next index value. The caller should treat this as an opaque variable and must not alter it (except through this interface) or infer any meaning from its value.- Returns:
 - True if there were character properties at the given index value; false if past the logical end of the array (if the immediately previous call had returned properties for the last logical position in the array).
 
 
- 
next
public int next()
- Specified by:
 nextin interfaceTextCharPropIterator
 
- 
getNextIndex
public int getNextIndex()
- Specified by:
 getNextIndexin interfaceTextCharPropIterator
 
 - 
 
 -