Package org.robovm.apple.uikit
Class UITextInputAdapter
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.uikit.UITextInputTraitsAdapter
org.robovm.apple.uikit.UIKeyInputAdapter
org.robovm.apple.uikit.UITextInputAdapter
- All Implemented Interfaces:
NSObjectProtocol,UIKeyInput,UITextInput,UITextInputTraits,ObjCProtocol
- Direct Known Subclasses:
UITextDraggableAdapter,UITextDroppableAdapter
public class UITextInputAdapter extends UIKeyInputAdapter implements UITextInput
-
Nested Class Summary
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAINFields inherited from class org.robovm.objc.ObjCObject
customClass -
Constructor Summary
Constructors Constructor Description UITextInputAdapter() -
Method Summary
Methods inherited from class org.robovm.apple.uikit.UIKeyInputAdapter
deleteBackward, hasText, insertTextMethods inherited from class org.robovm.apple.uikit.UITextInputTraitsAdapter
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, setTextContentTypeMethods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRefMethods inherited from class org.robovm.rt.bro.NativeObject
as, getHandle, setHandleMethods 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
-
Constructor Details
-
UITextInputAdapter
public UITextInputAdapter()
-
-
Method Details
-
getSelectedTextRange
- Specified by:
getSelectedTextRangein interfaceUITextInput
-
setSelectedTextRange
- Specified by:
setSelectedTextRangein interfaceUITextInput
-
getMarkedTextRange
- Specified by:
getMarkedTextRangein interfaceUITextInput
-
getMarkedTextStyle
- Specified by:
getMarkedTextStylein interfaceUITextInput
-
setMarkedTextStyle
- Specified by:
setMarkedTextStylein interfaceUITextInput
-
getBeginningOfDocument
- Specified by:
getBeginningOfDocumentin interfaceUITextInput
-
getEndOfDocument
- Specified by:
getEndOfDocumentin interfaceUITextInput
-
getInputDelegate
- Specified by:
getInputDelegatein interfaceUITextInput
-
setInputDelegate
- Specified by:
setInputDelegatein interfaceUITextInput
-
getTokenizer
- Specified by:
getTokenizerin interfaceUITextInput
-
getTextInputView
- Specified by:
getTextInputViewin interfaceUITextInput
-
getSelectionAffinity
- Specified by:
getSelectionAffinityin interfaceUITextInput
-
setSelectionAffinity
- Specified by:
setSelectionAffinityin interfaceUITextInput
-
getInsertDictationResultPlaceholder
- Specified by:
getInsertDictationResultPlaceholderin interfaceUITextInput
-
getText
- Specified by:
getTextin interfaceUITextInput
-
replaceText
- Specified by:
replaceTextin interfaceUITextInput
-
setMarkedText
- Specified by:
setMarkedTextin interfaceUITextInput
-
unmarkText
public void unmarkText()- Specified by:
unmarkTextin interfaceUITextInput
-
getTextRange
- Specified by:
getTextRangein interfaceUITextInput
-
getPosition
- Specified by:
getPositionin interfaceUITextInput
-
getPosition
public UITextPosition getPosition(UITextPosition position, UITextLayoutDirection direction, long offset)- Specified by:
getPositionin interfaceUITextInput
-
comparePositions
- Specified by:
comparePositionsin interfaceUITextInput
-
getOffset
- Specified by:
getOffsetin interfaceUITextInput
-
getPosition
- Specified by:
getPositionin interfaceUITextInput
-
getCharacterRange
- Specified by:
getCharacterRangein interfaceUITextInput
-
getBaseWritingDirection
public NSWritingDirection getBaseWritingDirection(UITextPosition position, UITextStorageDirection direction)- Specified by:
getBaseWritingDirectionin interfaceUITextInput
-
setBaseWritingDirection
- Specified by:
setBaseWritingDirectionin interfaceUITextInput
-
getFirstRect
- Specified by:
getFirstRectin interfaceUITextInput
-
getCaretRect
- Specified by:
getCaretRectin interfaceUITextInput
-
getSelectionRects
- Specified by:
getSelectionRectsin interfaceUITextInput
-
getClosestPosition
- Specified by:
getClosestPositionin interfaceUITextInput
-
getClosestPosition
- Specified by:
getClosestPositionin interfaceUITextInput
-
getCharacterRange
- Specified by:
getCharacterRangein interfaceUITextInput
-
shouldChangeText
- Specified by:
shouldChangeTextin interfaceUITextInput
-
getTextStyling
public UITextInputTextStyle getTextStyling(UITextPosition position, UITextStorageDirection direction)- Specified by:
getTextStylingin interfaceUITextInput
-
getPosition
- Specified by:
getPositionin interfaceUITextInput
-
getCharacterOffset
- Specified by:
getCharacterOffsetin interfaceUITextInput
-
insertDictationResult
- Specified by:
insertDictationResultin interfaceUITextInput
-
dictationRecordingDidEnd
public void dictationRecordingDidEnd()- Specified by:
dictationRecordingDidEndin interfaceUITextInput
-
dictationRecognitionFailed
public void dictationRecognitionFailed()- Specified by:
dictationRecognitionFailedin interfaceUITextInput
-
getDictationResultPlaceholderFrame
- Specified by:
getDictationResultPlaceholderFramein interfaceUITextInput
-
removeDictationResultPlaceholder
- Specified by:
removeDictationResultPlaceholderin interfaceUITextInput
-
insertText
- Specified by:
insertTextin interfaceUITextInput
-
setAttributedMarkedText
- Specified by:
setAttributedMarkedTextin interfaceUITextInput
-
insertTextPlaceholder
- Specified by:
insertTextPlaceholderin interfaceUITextInput
-
removeTextPlaceholder
- Specified by:
removeTextPlaceholderin interfaceUITextInput
-
beginFloatingCursor
- Specified by:
beginFloatingCursorin interfaceUITextInput- Since:
- Available in iOS 9.0 and later.
-
updateFloatingCursor
- Specified by:
updateFloatingCursorin interfaceUITextInput- Since:
- Available in iOS 9.0 and later.
-
endFloatingCursor
public void endFloatingCursor()- Specified by:
endFloatingCursorin interfaceUITextInput- Since:
- Available in iOS 9.0 and later.
-