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 int
first()
Return the index value corresponding to the first element in the logical array.int
getNextIndex()
int
next()
int
next(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:TextCharPropIterator
Return the index value corresponding to the first element in the logical array.- Specified by:
first
in 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:TextCharPropIterator
Obtain the character properties corresponding to the current index value and advance the index.- Specified by:
next
in 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:
next
in interfaceTextCharPropIterator
-
getNextIndex
public int getNextIndex()
- Specified by:
getNextIndex
in interfaceTextCharPropIterator
-
-