public interface UITextInputTokenizer
| Modifier and Type | Method and Description |
|---|---|
boolean |
isPositionAtBoundaryInDirection(UITextPosition position,
long granularity,
long direction)
Returns YES only if a position is at a boundary of a text unit of the specified granularity in the particular direction.
|
boolean |
isPositionWithinTextUnitInDirection(UITextPosition position,
long granularity,
long direction)
Returns YES if position is within a text unit of the given granularity.
|
UITextPosition |
positionFromPositionToBoundaryInDirection(UITextPosition position,
long granularity,
long direction)
Returns the next boundary position of a text unit of the given granularity in the given direction, or nil if there is no such position.
|
UITextRange |
rangeEnclosingPositionWithGranularityInDirection(UITextPosition position,
long granularity,
long direction)
Returns range of the enclosing text unit of the given granularity, or nil if there is no such enclosing unit.
|
boolean isPositionAtBoundaryInDirection(UITextPosition position, long granularity, long direction)
boolean isPositionWithinTextUnitInDirection(UITextPosition position, long granularity, long direction)
UITextPosition positionFromPositionToBoundaryInDirection(UITextPosition position, long granularity, long direction)
UITextRange rangeEnclosingPositionWithGranularityInDirection(UITextPosition position, long granularity, long direction)