Package org.robovm.apple.uikit
Interface UITextInput
-
- All Superinterfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
,UIKeyInput
,UITextInputTraits
- All Known Subinterfaces:
UITextDraggable
,UITextDroppable
- All Known Implementing Classes:
UITextDraggableAdapter
,UITextDroppableAdapter
,UITextField
,UITextInputAdapter
,UITextView
public interface UITextInput extends UIKeyInput
-
-
Method Summary
-
Methods inherited from interface org.robovm.apple.uikit.UIKeyInput
deleteBackward, hasText, insertText
-
Methods inherited from interface org.robovm.apple.uikit.UITextInputTraits
enablesReturnKeyAutomatically, getAutocapitalizationType, getAutocorrectionType, getKeyboardAppearance, getKeyboardType, getPasswordRules, getReturnKeyType, getSmartDashesType, getSmartInsertDeleteType, getSmartQuotesType, getSpellCheckingType, getTextContentType, isSecureTextEntry, setAutocapitalizationType, setAutocorrectionType, setEnablesReturnKeyAutomatically, setKeyboardAppearance, setKeyboardType, setPasswordRules, setReturnKeyType, setSecureTextEntry, setSmartDashesType, setSmartInsertDeleteType, setSmartQuotesType, setSpellCheckingType, setTextContentType
-
-
-
-
Method Detail
-
getSelectedTextRange
UITextRange getSelectedTextRange()
-
setSelectedTextRange
void setSelectedTextRange(UITextRange v)
-
getMarkedTextRange
UITextRange getMarkedTextRange()
-
getMarkedTextStyle
UITextInputTextStyle getMarkedTextStyle()
-
setMarkedTextStyle
void setMarkedTextStyle(UITextInputTextStyle v)
-
getBeginningOfDocument
UITextPosition getBeginningOfDocument()
-
getEndOfDocument
UITextPosition getEndOfDocument()
-
getInputDelegate
UITextInputDelegate getInputDelegate()
-
setInputDelegate
void setInputDelegate(UITextInputDelegate v)
-
getTokenizer
UITextInputTokenizer getTokenizer()
-
getTextInputView
UIView getTextInputView()
-
getSelectionAffinity
UITextStorageDirection getSelectionAffinity()
-
setSelectionAffinity
void setSelectionAffinity(UITextStorageDirection v)
-
getInsertDictationResultPlaceholder
NSObject getInsertDictationResultPlaceholder()
-
getText
java.lang.String getText(UITextRange range)
-
replaceText
void replaceText(UITextRange range, java.lang.String text)
-
setMarkedText
void setMarkedText(java.lang.String markedText, NSRange selectedRange)
-
unmarkText
void unmarkText()
-
getTextRange
UITextRange getTextRange(UITextPosition fromPosition, UITextPosition toPosition)
-
getPosition
UITextPosition getPosition(UITextPosition position, long offset)
-
getPosition
UITextPosition getPosition(UITextPosition position, UITextLayoutDirection direction, long offset)
-
comparePositions
NSComparisonResult comparePositions(UITextPosition position, UITextPosition other)
-
getOffset
long getOffset(UITextPosition from, UITextPosition toPosition)
-
getPosition
UITextPosition getPosition(UITextRange range, UITextLayoutDirection direction)
-
getCharacterRange
UITextRange getCharacterRange(UITextPosition position, UITextLayoutDirection direction)
-
getBaseWritingDirection
UITextWritingDirection getBaseWritingDirection(UITextPosition position, UITextStorageDirection direction)
-
setBaseWritingDirection
void setBaseWritingDirection(UITextWritingDirection writingDirection, UITextRange range)
-
getFirstRect
CGRect getFirstRect(UITextRange range)
-
getCaretRect
CGRect getCaretRect(UITextPosition position)
-
getSelectionRects
NSArray<UITextSelectionRect> getSelectionRects(UITextRange range)
- Since:
- Available in iOS 6.0 and later.
-
getClosestPosition
UITextPosition getClosestPosition(CGPoint point)
-
getClosestPosition
UITextPosition getClosestPosition(CGPoint point, UITextRange range)
-
getCharacterRange
UITextRange getCharacterRange(CGPoint point)
-
shouldChangeText
boolean shouldChangeText(UITextRange range, java.lang.String text)
- Since:
- Available in iOS 6.0 and later.
-
getTextStyling
UITextInputTextStyle getTextStyling(UITextPosition position, UITextStorageDirection direction)
-
getPosition
UITextPosition getPosition(UITextRange range, long offset)
-
getCharacterOffset
long getCharacterOffset(UITextPosition position, UITextRange range)
-
insertDictationResult
void insertDictationResult(NSArray<UIDictationPhrase> dictationResult)
-
dictationRecordingDidEnd
void dictationRecordingDidEnd()
-
dictationRecognitionFailed
void dictationRecognitionFailed()
-
removeDictationResultPlaceholder
void removeDictationResultPlaceholder(NSObject placeholder, boolean willInsertResult)
-
beginFloatingCursor
void beginFloatingCursor(CGPoint point)
- Since:
- Available in iOS 9.0 and later.
-
updateFloatingCursor
void updateFloatingCursor(CGPoint point)
- Since:
- Available in iOS 9.0 and later.
-
endFloatingCursor
void endFloatingCursor()
- Since:
- Available in iOS 9.0 and later.
-
-