Package org.robovm.apple.uikit
Interface UITextDocumentProxy
- All Superinterfaces:
NSObjectProtocol,ObjCProtocol,UIKeyInput,UITextInputTraits
- All Known Implementing Classes:
UITextDocumentProxyAdapter
public interface UITextDocumentProxy extends UIKeyInput
-
Method Summary
Modifier and Type Method Description voidadjustTextPosition(long offset)StringgetDocumentContextAfterInput()StringgetDocumentContextBeforeInput()NSUUIDgetDocumentIdentifier()UITextInputModegetDocumentInputMode()StringgetSelectedText()voidsetMarkedText(String markedText, NSRange selectedRange)voidunmarkText()Methods inherited from interface org.robovm.apple.uikit.UIKeyInput
deleteBackward, hasText, insertTextMethods 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 Details
-
getDocumentContextBeforeInput
String getDocumentContextBeforeInput() -
getDocumentContextAfterInput
String getDocumentContextAfterInput() -
getSelectedText
String getSelectedText()- Since:
- Available in iOS 11.0 and later.
-
getDocumentInputMode
UITextInputMode getDocumentInputMode()- Since:
- Available in iOS 10.0 and later.
-
getDocumentIdentifier
NSUUID getDocumentIdentifier()- Since:
- Available in iOS 11.0 and later.
-
adjustTextPosition
void adjustTextPosition(long offset) -
setMarkedText
- Since:
- Available in iOS 13.0 and later.
-
unmarkText
void unmarkText()- Since:
- Available in iOS 13.0 and later.
-