Lines Matching refs:position
82 * Traverse both forward and backward from a given position in the text.
116 * Sets the position to getBeginIndex() and returns the character at that
117 * position.
124 * Sets the position to getEndIndex()-1 (getEndIndex() if the text is empty)
125 * and returns the character at that position.
132 * Gets the character at the current position (as returned by getIndex()).
133 * @return the character at the current position or DONE if the current
134 * position is off the end of the text.
144 * @return the character at the new position or DONE if the new
145 * position is off the end of the text range.
153 * @return the character at the new position or DONE if the current
154 * position is equal to getBeginIndex().
159 * Sets the position to the specified position in the text and returns that
161 * @param position the position within the text. Valid values range from
164 * @return the character at the specified position or DONE if the specified position is equal to getEndIndex()
166 public char setIndex(int position);