Package com.adobe.xfa.text
Class TextCharPropDataIterator
java.lang.Object
com.adobe.xfa.text.TextCharPropDataIterator
- All Implemented Interfaces:
TextCharPropIterator
- Direct Known Subclasses:
TextCharPropCharIterator
-
Constructor Summary
ConstructorsConstructorDescriptionTextCharPropDataIterator(int[] data) TextCharPropDataIterator(int[] data, int startIndex) TextCharPropDataIterator(int[] data, int startIndex, int length) -
Method Summary
-
Constructor Details
-
TextCharPropDataIterator
public TextCharPropDataIterator(int[] data) -
TextCharPropDataIterator
public TextCharPropDataIterator(int[] data, int startIndex) -
TextCharPropDataIterator
public TextCharPropDataIterator(int[] data, int startIndex, int length)
-
-
Method Details
-
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
-